![]() |
[QUOTE]Originally posted by trilOByte
You can put whatever you like in the p_themeheader, but much of the code will need to be changed. The avatar part wont work, but there are alternative which work a little differently. To answer your question, if you just place the welcomepanel code into p_themeheader without any changes, no it wont work. |
[QUOTE]Originally posted by trilOByte
Welcome $username |
So you want to add the word "back" into the welcome statement, if the user is a member?
So instead of ... Welcome user1234 Welcome You want... Welcome back user1234 Welcome guest Yes, it's possible, I think you need to create a new $var though, some code hacking and a couple of new template options, one for each option. Seems like a lot of trouble for a simple syntax preference. It would need to be something along the lines of a new $welcometext and new $unregwelcomemessage, so two new templates at least. Though there might be an easier option, I honestly dont know. |
Yeah i think i'll just add
"Welcome Back username" (for logged in members) And just leave it as "Welcome" (for guests.) Seems a lot simpler. Thanks trilOByte. ;) |
OK, I think this works.....
Open forum/index.php (make a backup copy) and find.... PHP Code:
PHP Code:
Find... PHP Code:
PHP Code:
PHP Code:
PHP Code:
Open your templates and add a new template called... forumhome_newunregmessage Inside that put.... Code:
<b>Guest</b> forumhome_newwelcometext Inside that put.... Code:
back, <b>$username</b> Find where it says Welcome and replace it with... Code:
Welcome $newwelcometext $newunregwelcomemessage I must say, it's a lot of trouble for a simple syntax modification. |
Yep that works perfect.Thanks.
I know it seems like a lot of trouble for a simple modification,but i think it gives members or guests a more welcoming and personal greeting. I actually saw it on a welcome panel hack for another bulletin board software. |
[QUOTE]Originally posted by Reverend
I actually saw it on a welcome panel hack for another bulletin board software. |
great hack, works like a charm!
|
Great hack. BTW is thereanywayto have this appear on my homepage and link it to my vb as well
|
[QUOTE]Originally posted by Tony DiMera
Great hack. BTW is thereanywayto have this appear on my homepage and link it to my vb as well |
All times are GMT. The time now is 09:58 AM. |
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:
|