Announcement

Collapse
No announcement yet.

Where do I find this in the template?

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

  • Where do I find this in the template?

    Hello,

    I am doing a little bit of modification on my vBulletin and Im new to vB and all the template scripting stuff or whatever you call that

    Whenever visitors who are not registered view a thread they should get to see the Quick Register Form (http://www.vbulletin.org/forum/showthread.php?t=114342)

    In the "showthread_quickreply" template I found the part for the WYSIWYG-Quick-Reply-Editor and it starts with <if condition="$show['editor_toolbar']">.

    What do I have to put in if I want the quick register form only to appear when the user who views it is not logged in?

  • #2
    Code:
    <if condition="is_member_of($bbuserinfo, X, Y, Z)">
    Change the X, Y, and Z to the unregistered usergroup ID(s).

    Add that code to before the custom coding, and add </if> to the end.

    Please note that we try to help with customization questions, however the appropriate site to request custom help is atwww.vbulletin.org.
    Jelsoft does not support installations running modified code.
    Regards,
    Nick

    Comment


    • #3
      Great, thank you!

      Comment

      Loading...
      Working...
      X