The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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. |
#2
|
||||
|
||||
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.
|
#3
|
|||
|
|||
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... 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? |
#4
|
||||
|
||||
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:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|