Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Spoiler Tag Links
 New Topic  Reply to Topic
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

leatherlips
Senior Member

USA
1838 Posts

Posted - 14 June 2008 :  07:30:56  Show Profile  Visit leatherlips's Homepage  Reply with Quote
If you place a link inside of a spoiler tag, it is not hidden. I am trying to figure out how to make links hidden like the regular text is. I've tried a couple of things so far but they are not working.

Here is one thing I've tried (the part in red is what I've added():

fString = doCode(fString, "[spoiler ]", "[/spoiler ]", "<font color=""" & CColor & """>", "</font id=""" & CColor & """>", "<a:link=""" & CColor & """>")

It doesn't work. Can a link be hidded in a spoiler tag? If so, how can it be done?

Edit: I had to put a space after the two spoiler references above to keep them visible. My code does not have those spaces in them.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 14 June 2008 07:35:37

leatherlips
Senior Member

USA
1838 Posts

Posted - 14 June 2008 :  07:58:22  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I've found a variation on Snitz that has a cool spoiler tag feature that hides everything and also includes a Show/Hide button.

The link for it is here:

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=64934&SearchTerms=spoiler

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 14 June 2008 :  08:04:33  Show Profile  Reply with Quote
Apparently the URL decoding occurs AFTER the spoiler decoding and thus takes precedence.
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 14 June 2008 :  08:20:34  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I'm using a new spoiler tag.

It hides everything. You can see it here:

http://www.mangionemagic.com/forumbeta/topic.asp?TOPIC_ID=893

I've renamed the original spoiler tag to spoiler2 and called the new one spoiler. Now I need to find a good button to place it among the other format code buttons.

Log in is demo/demo

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 14 June 2008 08:30:10
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 14 June 2008 :  08:33:32  Show Profile  Visit leatherlips's Homepage  Reply with Quote
Does anyone already have a spoiler button they have made?

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 14 June 2008 :  08:49:29  Show Profile  Reply with Quote
The css coding isn't my forte. Has anyone converted the css coding from Leather's link to Response Write standard?
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 14 June 2008 :  09:40:17  Show Profile  Visit leatherlips's Homepage  Reply with Quote
I've made myself a button now:

Now I'm trying to add it along with the other format buttons. I've got it in place but I can't get it to work. I think I am doing the spots in inc_func_common.asp wrong.

Here is what I have:

fString = doCode(fString, "[spoiler ]", "[/spoiler ]", "[spoiler ]", "[/spoiler ]")

But that doesn't work. What should I do here?

Edit: Turns out I don't need to add any of the above. I removed it and now it works.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 14 June 2008 09:43:41
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 16 June 2008 :  11:12:01  Show Profile  Reply with Quote
I added the extra tags (RegEx Hidden & ModNote) but they do not function - is there another call I need to add like the one for the keywords md?
Go to Top of Page

Giumer
Junior Member

Italy
163 Posts

Posted - 24 January 2012 :  10:21:00  Show Profile  Send Giumer an ICQ Message  Reply with Quote
I'm trying to install the mod spoiler but does not work I tried searching but can not find the mod if someone can help me thanks

=======================
http://www.Giumer.it/forum

=======================
Go to Top of Page

Giumer
Junior Member

Italy
163 Posts

Posted - 24 January 2012 :  14:53:57  Show Profile  Send Giumer an ICQ Message  Reply with Quote
mate plz

=======================
http://www.Giumer.it/forum

=======================
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 24 January 2012 :  18:29:51  Show Profile  Visit HuwR's Homepage  Reply with Quote
Isn't the spoiler tag part of 3.4.07 base code

MVC .net dev/test site | MVC .net running on Raspberry Pi
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 24 January 2012 :  19:52:52  Show Profile  Reply with Quote
Yes, HuwR, but Giumer uses the Italian form of Image's portal which hasn't been updated by Image probably since it was created.
Go to Top of Page

Giumer
Junior Member

Italy
163 Posts

Posted - 25 January 2012 :  02:03:47  Show Profile  Send Giumer an ICQ Message  Reply with Quote
ok now it works I had the problem of code in the file I had to create inc_code.asp the code and put it like this:

spoiler function () {
var text = getText ();
if (helpstat) {
alert ("<% = flange (" strLangInc_Code00250 ") %>");
} Else if (basic) {
AddTxt = "[spoiler]" + text + "[/ spoiler]";
AddText (AddTxt);
Else {}
if (text) {
txt = prompt ("<% = flange (" strLangInc_Code00260 ")%>", text);
Else {}
txt = prompt ("<% = flange (" strLangInc_Code00260 ") %>"," Text");
}
if (txt! = null) {
AddTxt = "[spoiler]" + txt + "[/ spoiler]";
AddText (AddTxt);
}
}
}


and then ask that the function and possible spoilers only registered members can see it? and non-registered bait must register to see the writing!
ESS : Response.Write "<a href=""policy.asp""><B>Not registered? Then you're not seeing all there is to see. Register now by clicking HERE!</A></B></DIV></DIV><BR>" & vbNewLine


inc_func_common.asp the code in the file so it included:


extratags function (fstring)
fstring doCode = (fstring, "[spoiler2]", "[/ spoiler2]", "<font color=""" & CColor """> &", "</ font id =" "" & & CColor "" ">")
fstring doCode = (fstring, "[spoiler]", "[/ spoiler]", "<div style=""margin:1em auto; width: 100%;"">" & & vbNewline "<div> <b> spoiler: </ b> <input type = "" button "," value = "" Show "" style = "" width: 45px; font-size: 10px; margin: 0px; padding: 0px; "" onclick = "" if ! ='') {=''; This.innerText =''; this.value = 'Hide';} else {= 'None'; this.innerText =''; this.value = 'show';} "" /> </ div> "& & vbNewline" <div style = "" margin: 0px; padding: 0px; border: 1px solid; border-color: # 333399;"">" vbNewline & & "<div style=""display: none;"">" & vbNewline, "</ div>" & vbNewline & "</ div>" vbNewline & & "</ div>" & vbNewline)
extratags = fstring
end function

=======================
http://www.Giumer.it/forum

=======================

Edited by - Giumer on 25 January 2012 05:53:21
Go to Top of Page

Giumer
Junior Member

Italy
163 Posts

Posted - 26 January 2012 :  00:45:06  Show Profile  Send Giumer an ICQ Message  Reply with Quote
Can anyone help me please? thanks

=======================
http://www.Giumer.it/forum

=======================
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 26 January 2012 :  05:26:14  Show Profile  Reply with Quote
Thought you had it working, Giumer.
Go to Top of Page

Giumer
Junior Member

Italy
163 Posts

Posted - 26 January 2012 :  05:52:27  Show Profile  Send Giumer an ICQ Message  Reply with Quote
quote:
Originally posted by Giumer

Can anyone help me please? thanks



I do not finish, I wanted to know if the file inc code.asp and just so the code:

spoiler function () {
var text = getText ();
if (helpstat) {
alert ("<% = flange (" strLangInc_Code00250 ") %>");
} Else if (basic) {
AddTxt = "[spoiler]" + text + "[/ spoiler]";
AddText (AddTxt);
Else {}
if (text) {
txt = prompt ("<% = flange (" strLangInc_Code00260 ")%>", text);
Else {}
txt = prompt ("<% = flange (" strLangInc_Code00260 ") %>"," Text");
}
if (txt! = null) {
AddTxt = "[spoiler]" + txt + "[/ spoiler]";
AddText (AddTxt);
}
}
}


and then if it was possible that this' covering the spoiler and you can make it visible only forum members

ESS: yuo not login and clik show spoiler and then if it was possible that this' covering the spoiler and you can make it visible only forum members




and do not see what they conceal and maybe get out the message that you need to register to see the link

=======================
http://www.Giumer.it/forum

=======================
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07