![]() |
Hide BB Code Content From Unregistered Users
1 Attachment(s)
I couldn't find any addon for vb 4 to hide the bbcode content from unregistered users and showing a register message instead as here on vbulletin.org,so i have just fixed manualy on my forum.
add a new phrase first from Admincp ? Languages & Phrases ? Phrase Manager ? Add New Phrase
Open the bbcode_code template and find: HTML Code:
<div class="bbcode_description">{vb:rawphrase code}:</div> HTML Code:
<vb:if condition="$show['guest']"> HTML Code:
</vb:if> HTML Code:
<div class="bbcode_description">{vb:rawphrase html_code}:</div> HTML Code:
<vb:if condition="$show['guest']"> HTML Code:
</vb:if> HTML Code:
<div class="bbcode_description">{vb:rawphrase php_code}:</div> HTML Code:
<vb:if condition="$show['guest']"> HTML Code:
</vb:if> |
Thanks for this nice addon. I was looking for that. :)
|
Thanks Bro great job.....
|
How do you decide which content to hide? Which bbcode do you use?
|
I used a hack for 3.8 or 3.5 (I don't remember XD) but this, is the same :D awesome men :D thanks :D
installed + MOTM + 5 stars :D |
Thanks a lot for This
|
can I change the word ? "Please Login or <a href="register.php">Register</a> to see codes" i try but it didnot change any suggestion ?
|
I've a little problem... sometimes when I put my codes in the bbc tags , or even the registers users it appear the message "Please Login or Register to see the code"
How I can fix it? |
|
ok :)...... I'm using other style, I'm going to try if continue this problem or not ;)
thanks anyway :D |
All times are GMT. The time now is 03:22 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|