MyBB Community Forums

Full Version: Variable for Newest Member
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2012-05-21, 07:48 AM)Leefish Wrote: [ -> ]No db queries at all Wink

Install plugin and add "newbiemember" (without quotes) to footer

ok starting to look like i am stalking you leefish. but your plugin made me realise how simple it is to replace words with variables thanks.
(2012-05-20, 10:04 AM)crazy4cs Wrote: [ -> ]Try:

{$newestmember}
Doesn't this work?
Its this:

{$stats['lastusername']}
It is indeed Frank - that was what I "queried" in the plugin. But how do you get that variable to be called on a page outside index? OP wants it in his footer.
Use a hook, I guess thats what you did in your plugin ?
Well, of course, but I thought you meant you were able to call it direct, which I could not. Thanks for the clarification.

The code I posted has no profile link, but I guess it could be added.

* Leefish goes and works it up into a proper plugin.
Pages: 1 2