View Full Version : help me in modifying 'Welcome, <a href="{2}">{1}</a>'
sajid09
Thu 24th Sep '09, 10:29am
i have a custom field5 i want to show it in the place of {1} how can i do that ?
Lynne
Thu 24th Sep '09, 11:01am
If you look in the navbar, you should find this line:
<phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase>
Try passing your field as phrase 1:
<phrase 1="$bbuserinfo[field5]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase>
sajid09
Thu 24th Sep '09, 11:18am
lynne u r genius :), it worked like a charm....now i want to replace throughout the forum
$bbuserinfo[username] with $bbuserinfo[field5] how i'll do that ??
Lynne
Thu 24th Sep '09, 11:26am
lynne u r genius :), it worked like a charm....now i want to replace throughout the forum
$bbuserinfo[username] with $bbuserinfo[field5] how i'll do that ??
Replace it throught the site? Well, you'd have to go and replace it everywhere, I guess. Luckily, you can do a Search in Templates for all the places that variable is used.
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.