![]() |
BB-code [noguest] - text not readable for guests
Small modification.
[noguest]This is a text[/noguest] Will not be readable by guests. Warning There might be 2 issues with this hack: - Text showing for all on last post of forum display - Text could be shown if post is in postcache I didn't have time to check these 2 issues or resolve them if they turn out to be a real issue. Please stay tuned for a possible update Update: THIS HACK HAS BEEN WITHDRAWN This hack has been replaced by: https://vborg.vbsupport.ru/showthread.php?t=75228 |
does it work with quoted text? how about on mouseover?
|
Quote:
|
quoted messages are aswell not viewable by guests! thanks a lot marco for this great hack!
by the way, what do you mean with mouseover? if you want to see it in action, go to this post in my forum: http://www.kawaiination.com/communit...ad.php?p=41471 |
Quote:
|
i see, thats a problem. sounds also like there is no easy solution to avoid the hidden message to appear in the preview. but since i deactivted the preview anyway the hack works 1+ for me!
|
Hmm it acts like any other standard BB-code.
Will test tomorrow what happens on the index pages, never looked how it will react. Thanks for pointing me to it. |
Quote:
|
then it must be stupid me, but anything i (if i am a guest) see in the progress bar is as much as what i want my guests to see. maybe you can show me exactly what you mean? :)
|
for the preview to be effective, simply filter the preview with the hack itself... the BBcode regex can be applyed to the preview - that's not done usually.
|
Quote:
http://img162.exs.cx/img162/1297/progressbar3et.jpg |
i see. but thats not really a problem to me. :)
|
got another question.
i got here a little modified code so that registered users with 0 posts become an error message aswell. but it does not work. can you check it please? :) Code:
function handle_bbcode_noguest($code) i even tried this one: Code:
function handle_bbcode_noguest($code) |
should it not be
PHP Code:
|
I have been trying to find a good icon for the "no guests" bbcode, and these are the best I could come up with. Any other ideas?
|
Quote:
and here is the icon i am using: http://img186.exs.cx/img186/637/attention6ir.gif |
|
All times are GMT. The time now is 11:48 PM. |
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:
|