![]() |
Welcome to our newest member
I'm trying to move this to just under the login at the top of the page. It's been a while since I've done vbulletin, I think version 3.0. I can get the "Welcome to our newest member" text to show up but the user name does not appear after it.
Any suggestion are welcome. |
You would have to copy the code to create the variable for the newest member into a plugin that gets called before the header template is rendered (I think the login is in the header.) And, of course, you'd have to preregister the variable for use also.
|
Wow. That seems like a round about way to do it. Has it changed that much that this is the best way to do it? I don't mean to be disrespectful, but can you explain why the plugin and not just copying the code?
--------------- Added [DATE]1265079867[/DATE] at [TIME]1265079867[/TIME] --------------- I created this plugin with these details... http://www.aparentsheart.com/images/pluginimage.png Then I put this code in the header, just under the login... Quote:
This is much different than the version I'm used to working with. I can see this will take a bit to learn. Can you offer some advice here? |
That is probaby the wrong hook location to use. I don't think that hook is on every page.
After you find the correct hook location (look for where the header is rendered and find a hook 'above' that), you will have to preregister the variable for use in that template: PHP Code:
|
All times are GMT. The time now is 04:49 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|