The Arcive of vBulletin Modifications Site. |
|
Hide BB Code Content From Unregistered Users Details »»
|
|||||||||||||||||||||||||||||
|
Hide BB Code Content From Unregistered Users
Developer Last Online: Dec 2014
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']"> <pre class="bbcode_code">{vb:rawphrase hide_code}</pre> <vb:else /> HTML Code:
</vb:if>
HTML Code:
<div class="bbcode_description">{vb:rawphrase html_code}:</div> HTML Code:
<vb:if condition="$show['guest']"> <pre class="bbcode_code">{vb:rawphrase hide_code}</pre> <vb:else /> HTML Code:
</vb:if>
HTML Code:
<div class="bbcode_description">{vb:rawphrase php_code}:</div> HTML Code:
<vb:if condition="$show['guest']"> <pre class="bbcode_code">{vb:rawphrase hide_code}</pre> <vb:else /> HTML Code:
</vb:if>
Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Thanks for this nice addon. I was looking for that.
|
|
#3
|
|||
|
|||
|
Thanks Bro great job.....
|
|
#4
|
||||
|
||||
|
How do you decide which content to hide? Which bbcode do you use?
|
|
#5
|
|||
|
|||
|
I used a hack for 3.8 or 3.5 (I don't remember XD) but this, is the same
awesome men thanks ![]() installed + MOTM + 5 stars
|
|
#6
|
|||
|
|||
|
Thanks a lot for This
|
|
#7
|
|||
|
|||
|
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 ?
|
|
#8
|
|||
|
|||
|
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? |
|
#10
|
|||
|
|||
|
ok
...... I'm using other style, I'm going to try if continue this problem or not ![]() thanks anyway
|
![]() |
|
|