vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=325638

Hide bb_codes for unregistered users vb 5.2 and 5.3.3
by Chicoynano
02 Oct 2017 17:04

First of all, I apologize for my english because I use google translate.I found a solution for BBcodes to be invisible to the unregistered.It is tested both in VB 5.2 and 5.3.3.
Admincp Languages & Phrases Phrase Manager Add New Phrase
Phrase Type : GLOBAL
Product : vBulletin
Varname : hide_code
Text : Please Login or <a href="register.php">Register</a> to see codes
Go to your Admincp Styles & Templates Style Manager Your Style BB Code Layout Templates

Open bbcode_code will see this code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Substitute for this one. Always remember that the id of users will be the ones of your forum. (Usually unregistered ID: 1) (For other users you choose who has permission)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


The same code can be used for html_code and php_code. Changing of course {vb: rawphrase code} for the corresponding one in each case for html {vb: rawphrase html_code} and for php {vb: rawphrase php_code}

Any doubts or clarifications in comments, as well as if they were useful, I did several hours to find this solution and I hope it will be useful

raverchr 25 Oct 2017 07:53

Hello I have it adjusted exactly the same but with me does not work unfortunately there is still another solution?

Chicoynano 26 Oct 2017 15:21

Quote:

Originally Posted by raverchr (Post 2590741)
Hello I have it adjusted exactly the same but with me does not work unfortunately there is still another solution?

Try this on the template bbcode_code
In my work I 5.2 and 5.3.3


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Chicoynano 27 Oct 2017 16:05

Quote:

Originally Posted by raverchr (Post 2590741)
Hello I have it adjusted exactly the same but with me does not work unfortunately there is still another solution?

You must clear the system cache as well as the browser cache.

Zweeper 03 Nov 2017 20:49

It also unfortunately wont work for me :(
I am using 5.3.3

Wayne Luke 08 Nov 2017 19:42

Try this code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After altering the template, make sure to clear your system cache.

shneler2010 27 Nov 2017 17:11

is it work for 5.3.4 ?

shneler2010 15 Dec 2017 12:35

Quote:

Originally Posted by shneler2010 (Post 2591278)
is it work for 5.3.4 ?

any news ?

Chicoynano 21 Dec 2017 17:00

Quote:

Originally Posted by shneler2010 (Post 2591622)
any news ?


For me it works perfect for 5.3.3 to 5.3.4 I have no news

Zweeper 30 Dec 2017 18:34

Works perfect for me. Is it possible to extend this to all Links in a Forum?

Chicoynano 05 Jan 2018 16:53

Quote:

Originally Posted by Zweeper (Post 2591956)
Works perfect for me. Is it possible to extend this to all Links in a Forum?

It's not possible


All times are GMT. The time now is 02:43.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.