• 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

#1
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.

Thanks,
Alex
 

Brogan

XenForo moderator
Staff member
#2
If you mean you want to restrict guests from viewing links in posts, that would require custom development/an add-on.
 
#3
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>
</p>


</xen:if>
 
Last edited: