Author |
Topic |
|
Datasnille
Starting Member
2 Posts |
Posted - 21 March 2002 : 04:31:14
|
Hi!!
I Want To Use A Hide Function So U Must Reply To See The Text How Can I Do That?
|
|
crash
Advanced Member
Netherlands
2064 Posts |
Posted - 21 March 2002 : 18:03:00
|
write a mod for it. as far as i know, this is not (yet) done.
Crash's Site | Crash is from
|
|
|
Datasnille
Starting Member
2 Posts |
Posted - 27 March 2002 : 13:41:34
|
quote:
write a mod for it. as far as i know, this is not (yet) done.
Crash's Site | Crash is from
ok
but i can't do it =( too bad at asp
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 28 March 2002 : 00:12:56
|
Good excuse to learn!
Nathan Bales - Romans 15:13 ---------------------------------- Snitz Exchange | Do's and Dont's |
|
|
milki
Junior Member
Israel
320 Posts |
Posted - 30 March 2002 : 09:14:38
|
I serch for it too ! can some one build it maybe ? tanx!
|
|
|
blackinwhite
Average Member
Turkey
657 Posts |
Posted - 30 March 2002 : 10:11:07
|
this may help
<% app = "template" apptitle = "Das ist der Titel" strShow = "strShow" & app strSize = "strSize" & app window = app & "Window"
strSize = (request.querystring(app)) if strSize <> "" then '#### Set Cookies For Menu Window Response.Cookies(strUniqueID)(window)=(strSize) '#### End of Set Cookies For Window end if
if (Request.Cookies(strUniqueID)(Window)= "1") then '### Check Cookie For Minimize Status ' here is the code for the closed window display %>
<TABLE BORDER=0 bgcolor="<% =strTableBorderColor %>" cellspacing="1" cellpadding="2" width="100%"> <tr> <td bgcolor="<% =strHeadCellColor %>"> <table> <tr> <td width="99%"> <font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>" size="+1"> <b><%= apptitle %></b> </font> </td> <td align="left"><a href="test.asp?<%= app %>=0"><img src="<%=strImageURL %>icon_on.gif" border="0"></a> </td> </tr> </table> </td> </tr> <tr> <td align="left" bgcolor="<%= strForumCellColor %>"> Here is the code of the closed Window</td> </tr> </table> <% else ' and here comes the code of the open window. %>
<TABLE BORDER=0 bgcolor="<% =strTableBorderColor %>" cellspacing="1" cellpadding="2" width="100%"> <tr> <td bgcolor="<% =strHeadCellColor %>"> <table> <tr> <td width="99%"> <font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>" color="<% =strHeadFontColor %>" size="+1"> <b><%= apptitle %></b> </font> </td> <td align="left"><a href="test.asp?<%= app %>=1"><img src="<%=strImageURL %>icon_off.gif" border="0"></a> </td> </tr> </table> </td> </tr> <tr> <td align="left" bgcolor="<%= strForumCellColor %>"> Here is the code of the open Window</td> </tr> </table> <% end if %>
it's used in the huwr's (I think tschive's portal mod) implementation of snitz.
|
|
|
milki
Junior Member
Israel
320 Posts |
Posted - 30 March 2002 : 18:42:05
|
10x but waher i pot it ?
|
|
|
Image
Average Member
Canada
574 Posts |
Posted - 31 March 2002 : 03:41:13
|
It's what he wants.
1. In post button
H = hide button
2. after the post in topic
::This message contains a hidden text. You should post in this subject and mean seeing the present message to see the contents of it::
3. after reply
Here is the hidden message:
Milki! Your forget to put your at the end in your post. hihihi
Image
|
|
|
milki
Junior Member
Israel
320 Posts |
Posted - 31 March 2002 : 11:37:24
|
quote:
It's what he wants.
1. In post button
H = hide button
2. after the post in topic
::This message contains a hidden text. You should post in this subject and mean seeing the present message to see the contents of it::
3. after reply
Here is the hidden message:
Milki! Your forget to put your at the end in your post. hihihi
Image
yes ! this waht im loking for ...
onyone ?
|
|
|
milki
Junior Member
Israel
320 Posts |
Posted - 02 April 2002 : 22:50:19
|
some one ??
|
|
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 03 April 2002 : 21:56:34
|
yeah, I have a definate use for this... anyone up to creating this?? I see the example is from an Ikon Board...
____________ dayve@burningsouls.com
http://www.nineinchnailz.com - your source for everything nine inch nails ! |
|
|
milki
Junior Member
Israel
320 Posts |
Posted - 03 April 2002 : 23:28:08
|
on one do it some one can plaese ?
|
|
|
Aaron S.
Average Member
USA
985 Posts |
Posted - 09 June 2002 : 11:43:22
|
Did anyone ever work on this?
I actually could use some code that hides the replies people have made, until you reply yourself.
Basically, I have a trivia game as the topic, and you should have to answer before seeing others' answers.
Or maybe hide all replies for a period of time, then show them.
--Aaron
DOWNLOAD GREAT NEW MODS HERE |
|
|
Aaron S.
Average Member
USA
985 Posts |
Posted - 09 June 2002 : 11:53:19
|
Ok for the idea I had... which I think Milki has mentioned before also, here is what I did:
In topic.asp, where you see:
strActivePrefix & "REPLY.R_MESSAGE, " & _ strActivePrefix & "REPLY.R_STATUS, " & _ strActivePrefix & "REPLY.R_DATE " & _ " FROM " & strMemberTablePrefix & "MEMBERS, " & strActivePrefix & "REPLY " & _ " WHERE " & strMemberTablePrefix & "MEMBERS.MEMBER_ID = " & strActivePrefix & "REPLY.R_AUTHOR " &_ " AND TOPIC_ID = " & Topic_ID & " "
Change it to:
strActivePrefix & "REPLY.R_MESSAGE, " & _ strActivePrefix & "REPLY.R_STATUS, " & _ strActivePrefix & "REPLY.R_DATE " & _ " FROM " & strMemberTablePrefix & "MEMBERS, " & strActivePrefix & "REPLY " & _ " WHERE " & strMemberTablePrefix & "MEMBERS.MEMBER_ID = " & strActivePrefix & "REPLY.R_AUTHOR " '########### HIDE MOD ############# if topic_id = XXX then strSql = strSql & " AND TOPIC_ID = -1 " else strSql = strSql & " AND TOPIC_ID = " & Topic_ID & " " end if
The XXX would be the topic_id that you want to hide all replies.
It will still show the reply count which is ok for me.
I think this is all that needs to be done, but someone please let me know if I am wrong.
--Aaron
DOWNLOAD GREAT NEW MODS HERE |
|
|
|
Topic |
|