View Matt Beckett's plugins
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
@tunist - forgot to set the context in the first upload. That's what I get for challenging myself to a speed-write. Still all done in 51 loc :)
don't we need like.. the 'beckwerkframewerk' to make this werk popperly ?
ah ok, thanks, tis working here now.
ease first, then speed. much less challenging. ;0)
How about (base)/(titlename)/
Pared this down to 35 loc / 27 sloc - it's like poetry - is that worthy of a version bump? ;)
@TahoeBilly - not sure what 'titlename' is but the method can work for pretty much any profile url where you can reliably link 'titlename' to a user. May need more loc to create that link though...
@Dhrup - when I'm ready to release beckwerkframewerk on the world (and of course convert every single one of my plugins to require it) it's going to blow you mind
@matts: no1 no version bump ! i not gonna D/L 3x in 1 day ;-P lolz ;-oO) i luvvvvs 'framwankx' ! and i'd just livv 2b a teanie weanie part of 'some' framework, plZ lemme code just a little little bitty in there !;-P 'blow mind' ?? tee hee, no ThX i already get my kickx @4hrly @oxycodones !oO;) @bully: has posted thatta project requirement almost everywhere else ;-P he might as well goto post @professional services group ;oO;X;P PS: i reckin i wrote the shortest plugin code ever, timezone -> 6 lines of php in init() ;-P that = funz coding!
@Matt Beckett dear i really love ur work.my plugin that is already developed is the same way as team web galli adviced me to do like...
@DhrupDe ur just a jelous guy nothing else except a mess creater.
if it was on my profile i would have been getting copy rights and bla bla advices and just a crap posts... but i with open heart like and reccomend Matt's work
Good going matt keep it up :)
http://en.wikipedia.org/wiki/Jealous_Guy
no need to jail us... see?
Haha, I knew this plugin would start a fire :)
Really, I just wanted to prove to myself that it could be done with a relatively small amount of code. That's all.
no fire as m happy u did it.. as with ur and team web gilli help i did :P ur the Guru :) already contributer in mine one :)
Liang lee 里昂 李 I liked your comment hahahaha thumps up for that !!!
Finally I found a very nice bug :)
I hope Matt Beckett you will try to fix the bug I found, I will give u an example, say if a username is david_anthony plugins works fine, if the username is david.anthony then plugin does not work :) and page gives Not Found error. I have tested worked for all profiles but for those did not work which had a dot between usernames. Please try to fix that and revert :)
Many thanks in advance
Regards
I see, yes, that will never work with a dot because the htaccess rules parse that as looking for a file called dave.anthony. I consider .htaccess part of the core, as it can break on upgrade, so I won't be issuing any instructions for that. There are two possibilities then - disallow dots in usernames and/or rewrite dots in the url to something else that will get passed to Elggs page handling system.
@Matt Beckett thanks a lot for your reply, how I can disallow dots in usernames? or how I can or rewrite dots in the url to something else? I did not understand. I am sure there will be a way to fix that thing. Please try to figure that out.
Many thanks
Easy, str_replace the dot with a hyphen. There's two places to do it, but I'm out with my wife for her birthday so I'll give you some time to try it yourself ;)
There's only 27 lines to choose from, so I'm sure you can get it.