Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
[CODE] Hidden message - reply to see; In conjunction with: Best BB Code Ever!
Topic Started: Mar 29 2007, 02:31 PM (6,603 Views)
Xanikseo
Member Avatar
Xanik Says "Oh"
 *   *   *  
Mod name: Xanikseo's message hider
Preview: http://z3.invisionfree.com/xaniktest5/index.php?showtopic=31
Description: This is a script that allows you to hide a message in a topic, if a user has not posted in the topic. It works in conjunction with "Best BB Code Ever v2", also made by me, so if you already have that installed, refer to that topic. If you haven't got it installed, check that page out, it really is the Best BB Script Ever in my opinion (I'm not being biased). Anyway, if you don't want to use Best BB Code ever because you can't be bothered or for religious reasons or whatever, look below for installation instructions. The reason I created a whole new topic for this is: this is good enough to be a script in it's own right. Completely cross-browser, works on all internet browsers.
Installation:

Put this into your footer:
Quote:
 
<script src='http://209.85.12.227/6877/58/upload/p6695766.ibf'></script><script>ubb_tag("Reply to see","reply","<span id='reply_to_see_section'><span><font color='red'>HIDDEN MESSAGE! REPLY TO SEE!</font></span><span style='display: none;'>Hidden message:<br /><% INNER %></span></span>",0,"Hide a message until user replies||Enter message to hide",2,1,"Reply");</script>
<script src='http://209.85.12.227/6877/58/upload/p3104418.ibf'></script>

It's as simple as that!

f you want to change the message that informs the reader that the message is hidden, change the highlighted red text. To change what the tags are between the "[" and the "]" change the highlighted green text. This code is disabled in signatures but enabled in post and poll options. To change this, change the purple number: To enable the bb code in posts, signatures and polls, enter 3, to enable the code in signatures and posts but disable it in polls enter 1. To enable it only in posts, enter 0.
For more information on how to customise this go to http://if.invisionfree.com/topic/333298/1/
Edited by Xanikseo, Oct 12 2008, 11:41 AM.
Offline Profile Quote Post Goto Top
 
b4u
Member
 *  
OMG i love this code ur the best thx for this awsome codeee u rock!!!!!!
Offline Profile Quote Post Goto Top
 
rajmysterio
Member
 *   *  
thanks i just requested for this code.
Offline Profile Quote Post Goto Top
 
Let Your Head Go
Member Avatar
Rachel Stevens | I Said Never Again
 *   *   *  
lemme test it :P

thx
Offline Profile Quote Post Goto Top
 
Let Your Head Go
Member Avatar
Rachel Stevens | I Said Never Again
 *   *   *  
when you quote something

you can see it :(
Offline Profile Quote Post Goto Top
 
Mike.
Member
 *   *   *  
what
Offline Profile Quote Post Goto Top
 
Trix.
Member Avatar
Galliant
 *   *   *   *   *  
Hey cool! I like that! Great code.
Offline Profile Quote Post Goto Top
 
alfalahi
Member
 *  
dosent work :-/
Offline Profile Quote Post Goto Top
 
Nancy Drew
Member
 *  
Gaaahh, none of the spoiler codes work!
Offline Profile Quote Post Goto Top
 
penk_88
Member
 *  
it's not working T^T
Offline Profile Quote Post Goto Top
 
Yhohanes
Member
 *  
Hey man, I had one problem.
The tags got added, but when someone replys, nothing happens.
Can you make it works? Or it's a problem with my codes?

Thanks!
Farewell~
Offline Profile Quote Post Goto Top
 
pimpboricua
Member
 *  
:frantics: :wub: :wub: i love it and it work 4 me but one this can u change [reply][/reply] to [hide][/hide] please :frantics:
Offline Profile Quote Post Goto Top
 
H2O
Member
 *  
I love this code so much! I've been looking for a code that works, and this does it! :) Question, does this code have any disadvantages, like say, if the user eases the board's cookies, would they have to reply again to see the same post?
Offline Profile Quote Post Goto Top
 
DNCK
Member Avatar
...EmPtY.
 *  
wow, i want to have this code.
Haha, I have been looking for this code since I created my forum.
Thanks for sharing.
Offline Profile Quote Post Goto Top
 
Xanikseo
Member Avatar
Xanik Says "Oh"
 *   *   *  
pimpboricua
April 30, 2007 08:21 AM
:frantics:  :wub:  :wub: i love it and it work 4 me but one this can u change [reply][/reply] to [hide][/hide] please  :frantics:

It says how to do that in the first post. With the green highlighted text.

H2O
May 10, 2007 09:32 PM
love this code so much! I've been looking for a code that works, and this does it! :) Question, does this code have any disadvantages, like say, if the user eases the board's cookies, would they have to reply again to see the same post?

No, it doesn't use cookies, it just checks who has posted in the topic and if the user has, they will see the hidden message. :)

Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Code Snippets · Next Topic »
Add Reply