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:
Locked Topic
  • Pages:
  • 1
[ C ] Is there a code for "Reply to see hidden message"
Topic Started: May 16 2013, 03:05 AM (1,413 Views)
i2pm
Member
[ *  * ]
Board Address: http://w11.zetaboards.com/iTheTime/index/
Board Software: ZetaBoards
Description: I want my code to make users have to reply to a topic to see a hidden message which contains a link or something. I have seen other zetaboards that can do this, I seen some tutorials but it's not working for me, not sure if I completely understand it or the code no longer works.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Can you link us to the code you tried?

If you already posted in the thread then it should be displaying the message normally.
Offline Profile Goto Top
 
i2pm
Member
[ *  * ]
http://if.invisionfree.com/topic/5079161/1/#new
I tried to follow that but I failed. I went to board template, then pasted the code below "below the board section".

http://z3.invisionfree.com/xaniktest5/index.php?showtopic=31
This forum they used it and it works. Logged into that test account and I was able to see the message.


http://if.invisionfree.com/topic/5017031/1/
Another forum trying to explain it.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code:
 
<script src='http://i1.ifrm.com/6877/58/upload/p6695766.ibf'></script><script>
<script src='http://z3.ifrm.com/217/61/0/p180760/'></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",'sml',"Reply");</script><script src='http://z3.ifrm.com/179/115/0/p70819/'></script>
Remove that from the Javascripts wrapper.
Code:
 
<script type="text/javascript" src='http://z1.ifrm.com/0/2/0/p401849/bbtags31_xanik.js'></script><script type="text/javascript">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",'sml',"Reply");</script><script type="text/javascript" src='http://z3.ifrm.com/63/1/0/f673651/hidden.js'></script>
Add that to the Below the Board wrapper.
Offline Profile Goto Top
 
i2pm
Member
[ *  * ]
Posted Image

So I removed the the code in the javascript and pasted the one you gave me "below the board" section. Everything is correct right?

http://w11.zetaboards.com/iTheTime/topic/8802817/1/#new
So I pasted out the code into a new post but it doesn't work. Sorry I'am really confused.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
At the moment, you have duplicate of the same code and some of the InvisionFree coding in your page source. Make sure you're only using the coding I posted.

After doing so, do you see a 'Reply' BBCode button on the posting page?
Offline Profile Goto Top
 
i2pm
Member
[ *  * ]
Do you mean I duplicated the code into the new post? Or are you saying the code in my board template under the "below the board" is wrong?

Also when I post a new topic I can see a reply button. It says "Hide a message until user replies undefined"
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Yes, the coding in your Board Template is incorrect.
Offline Profile Goto Top
 
i2pm
Member
[ *  * ]
<script type="text/javascript" src='http://z1.ifrm.com/0/2/0/p401849/bbtags31_xanik.js'></script><script type="text/javascript">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",'sml',"Reply");</script><script type="text/javascript" src='http://z3.ifrm.com/63/1/0/f673651/hidden.js'></script>

This is the exact code I pasted into the board.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
Code:
 
<script src='http://i1.ifrm.com/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://i1.ifrm.com/6877/58/upload/p3104418.ibf'></script>
I'm seeing that in your page source as well. It's not needed.
Offline Profile Goto Top
 
i2pm
Member
[ *  * ]
<script src='http://i1.ifrm.com/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://i1.ifrm.com/6877/58/upload/p3104418.ibf'></script>

This is the code you want me to copy? Just did and now I don't see the Reply button.
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
In this post, use the code in the second code block.
Offline Profile Goto Top
 
i2pm
Member
[ *  * ]
That was the code I posted earlier where you said that "it was not needed".
Offline Profile Goto Top
 
Cory
Member Avatar
Member
[ *  *  *  *  *  *  *  *  * ]
You're getting confused, so I'll make this simple for you:

Replace all contents in your Below the Board wrapper with the following coding:
Code:
 
<script type="text/javascript" src='http://z1.ifrm.com/0/2/0/p401849/bbtags31_xanik.js'></script><script type="text/javascript">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",'sml',"Reply");</script><script type="text/javascript" src='http://z3.ifrm.com/63/1/0/f673651/hidden.js'></script>
Do not use any other coding. The above code is the ZetaBoards version, the InvisionFree version is not compatible on ZetaBoards and vice versa.
Offline Profile Goto Top
 
i2pm
Member
[ *  * ]
Ok nevermind fixed problem! Thank you very much for helping me out.
I stupidly pasted some code into my Theme layout which is why the code wasn't working. Thank you for you time, really appreciated it :)
Edited by i2pm, May 17 2013, 01:10 PM.
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Closed Requests · Next Topic »
Locked Topic
  • Pages:
  • 1