The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
bb code modification
hello,
here's one for you. i'd like to have a bb-code which works like this: [noguest]this text won't appear to guests even if they are allowed to view a thread[/noguest] i think the bb code speaks for itself. the idea is to have a bb code which hides text or pictures and anything within the text to guests. i think thats not possible with just adding a complicated bb-code in the bb-code manager. i hope that someone else also finds this useful and is encouraged to make a modification for it. if it is possible without modifying any code or if there already is a hack, please tell me where to find it. thanks a lot. ps: would be cool instead of displaying nothing to guests showing text telling them to register to view the hidden message. |
#2
|
|||
|
|||
anyone?
|
#3
|
|||
|
|||
tralalala.
|
#4
|
|||
|
|||
Just a quick solution, not tested!!!
Open file includes/functions_bbcodeparse.php. Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
#5
|
||||
|
||||
Quote:
Edit: now that I think about it, I do... have a look at the hide hacks floating around. What you want to do should be rather similiar, except that it's a different condition. |
#6
|
|||
|
|||
No need to think Colin, just read back
|
#7
|
|||
|
|||
wow. thanks a lot! works perfectly fine! you may want to publish it as a hack! i like it!
and thanks colin too for being helpful. |
#8
|
|||
|
|||
Quote:
|
#9
|
||||
|
||||
Hmm, I wonder if this won't cause problems with the postcache ...
|
#10
|
|||
|
|||
Why would it Kirby?
Am i missing something? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|