View Full Version : Minor bug - welcome block
ogetbilo
05-17-2004, 04:22 AM
In the welcome block, when an unregistered user wants to register he needs to click on
Not a member yet? Register Now! ( --> $not_a_member_yet_register_now)
But this link is broken, as one cannot use the syntax
<a href="$vboptions[bburl]/register.php">Register Now!</a>
in language phrases. T
here are lots of ways to get this work correctly but I'll leave it to Brian for correction.:)
Brian
05-17-2004, 11:07 AM
To fix this, edit your "adv_portal_welcomeblock" template and look for:
$vbphrase[not_a_member_yet_register_now]
Replace that with:
<phrase 1="$vboptions[bburl]">$vbphrase[not_a_member_yet_register_now]</phrase>
Then edit your "not_a_member_yet_register_now" phrase and replace the content with this:
Not a member yet?<br />
<a href="{1}/register.php">Register Now!</a>
And that will fix the problem. :)
ogetbilo
05-17-2004, 09:01 PM
another little thing.
For the next version, can you make a language phrase for the Login! button? Thanks!:)
Brian
05-17-2004, 09:40 PM
I didn't realize that wasn't phrased, but it will be in the next version. If you find anything else that isn't phrased please let me know. :)
chrisvonc
05-17-2004, 11:20 PM
Then edit your "not_a_member_yet_register_now" phrase and replace the content with this:
Not a member yet?<br />
<a href="{1}/register.php">Register Now!</a>Hi, where is this? It's not listed in my phrase manager. Am I looking in the wrong place?
Thanks,
Chris
ogetbilo
05-18-2004, 05:50 AM
Hi, where is this? It's not listed in my phrase manager. Am I looking in the wrong place?
Thanks,
Chris
Go to phrase manager. choose phrase type: vBadvanced CMPS. There it is!:)
I didn't realize that wasn't phrased, but it will be in the next version. If you find anything else that isn't phrased please let me know. :)
ok another one that came to my attention is the 'Attached Files' in the newsbits. That needs to be phrased. i'll let you know if i encounter more:)
chrisvonc
05-18-2004, 08:30 AM
Go to phrase manager. choose phrase type: vBadvanced CMPS. There it is!:)Oopps, got it, thank you! :)
Any idea why, when I searched all phrases for "not_a_member_yet_register_now" it could not find it, but yet, there it was right where you said? Odd.
Thank you again,
Chris
ogetbilo
05-18-2004, 09:03 AM
When you are doing the search you should select: Phrase Variable Name Only OR Phrase Text and Phrase Variable Name
by default it only searches thru Phrase Texts. (not_a_member_yet_register_now is a phrase variable)
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.