Announcement

Collapse
No announcement yet.

help me in modifying 'Welcome, <a href="{2}">{1}</a>'

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • help me in modifying 'Welcome, <a href="{2}">{1}</a>'

    i have a custom field5 i want to show it in the place of {1} how can i do that ?

  • #2
    If you look in the navbar, you should find this line:
    HTML Code:
    <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:
    HTML Code:
    <phrase 1="$bbuserinfo[field5]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase>

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools &lt;- awesome site for html/css help

    Comment


    • #3
      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 ??

      Comment


      • #4
        Originally posted by sajid09 View Post
        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.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools &lt;- awesome site for html/css help

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X