![]() |
BBCode for Registered Members Only Hack
This has been requested a couple of times, so here it is!
With this hack, you can deny certain usergroups to see the following BB Codes:
It's a very easy mod, it requires 1 new template, and a couple of new lines in 1 file. (Optionally an edit in a 2nd file, depending on your settings) Find instructions in the install.html file. If the results are displayed wrong, try making the changes in fixerror.txt |
Doest this hack also hide code etc in the preview balloons?
|
If you make the last(optional) edit, I believe it does hide it.
|
its like what you have here at vb.org right?
|
Yes, it is.
|
hi, I was actually trying to modify this hack a bit using conditionals. I want to make the tag visible only for people with +10 posts and more. So added the following code(In place of the code actually given
Code:
if ($bbuserinfo[posts] > 10) Now the prob is that while the code is working normally, If a user quotes the text or sees archive, He can see the code. I reckon that while replying i will have to strip code based on <if> conditional. Any help with making that strip function? |
Thank you for pointing that out.
Updated the first post with the fix. |
Nice hack, will instal.
|
Glad I could be of help :).
|
any update on this for vb3.5?
|
this doesn't work with vB 3.0.9.
|
All times are GMT. The time now is 11:04 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:
|