1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 BBCode Link template

Discussion in 'Styling and Customization Questions' started by AlexKim, Sep 23, 2014.

  1. AlexKim

    AlexKim Member

    Hi all,

    I'm wondering which template to edit the link.

    I want to able to do this:

    Guest = will direct them to register link.
    Member = will allow them to view the link on post.

  2. Brogan

    Brogan XenForo Moderator Staff Member

    If you mean you want to restrict guests from viewing links in posts, that would require custom development/an add-on.
  3. AlexKim

    AlexKim Member

    Yes Brogan,

    Restrict the guests from viewing the links in post was what I mean. It will auto change link to www.mysite.com/register.php. I don't want to use add-ons like [HIDE]www.mysite.com[/HIDE].

    I was able to do it in vBulletin by just adding if statement in the view post template.

    <xen:if is="!{$visitor.user_id}">

    <p class='bbc_center'>Register to view link</p>

    Last edited: Sep 23, 2014
  4. cclaerhout

    cclaerhout Well-Known Member

    Use the Bbm.

Share This Page