Username:   Password:   
   
   Is it in your blood?
Index  FAQ  Search  Memberlist  Usergroups  Profile  Join! (free)
 Log in to check your private messages
Welcome
Guest
Current Time
Log in
   Username:
   Password:
   Log me on automatically each visit
  
Top Posters
Badie05 6237
Phatkav 3685
bashmo 2678
Zaraki Kenpachi 1597
Deat401 822
HungryHungryHippo 721
rasengan232 694
Latest Articles
How to Rickroll an Entire Country
Goodbye HCG?
Mamba Wireless Gaming Mouse
2009 Gaming Wishlist
Well I am back...
New Modern Warfare 2 Release
Internal PSP Camera Mod
We Will Return
Battlefield Returns with Two New Games
Uncharted 2 Mega Blog SNEAK PEAK


  Spoiler Tags
Jump to:    
  Post new topic   Reply to topic HardCore Gamer Networks Forum Index » Support & Suggestions     
Author Message
Badie05
Administrator
Administrator



Joined: 15 Oct 2006
Posts: 6237
Credits: 825.9


Location: Ottawa, Canada
PostPosted: Thu May 22, 2008 9:30 pm Reply with quote

Quote:
Follow the instructions below and this will add a spoiler tag to your forum.

What is a spoiler tag Question Look in the reply below

First of all you must have created your own template how to do this is explained here http://howtodoit.myfreeforum.org/ftopic18.php

OK Lets take it that you have created your own template, now goto

Admin Panel - Styles Admin - Edit Templates/Logos

And open up your template ( please remember that if you change templates you must add this to every template that you may use)

Now follow the instructions in the correct order

Go to

Choose File to Edit

and then open each file in order

PLease Ignorge The Part in quotes this has already been done for you


Quote:
Code:

#-----[ OPEN ]------------------------------------------
bbcode.tpl

#-----[ FIND ]----------------------
#
<!-- BEGIN b_open --><span style="font-weight: bold"><!-- END b_open -->
<!-- BEGIN b_close --></span><!-- END b_close -->

#
#-----[ BEFORE, ADD ]------------------
#
<!-- BEGIN spoiler_open -->
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
  <td>
<span style="font-size: 11px;">
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">
Spoiler: <input type="button" value="Show" style="width:45px;font-size:10px;margin:0px;padding:0px;" onClick="if (this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != '') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = ''; this.innerText = ''; this.value = 'Hide'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value = 'Show'; }">
</div>
<p>
<div class="alt2" style="margin: 0px; padding: 6px; border: 1px inset; background-color: #FAFAFA; border: #D1D7DC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px">
<div style="display: none;">
<!-- END spoiler_open -->
<!-- BEGIN spoiler_close -->
</div>
</p>
</div>
</div>
</span>
</td>
</tr>
</table>
<!-- END spoiler_close -->


This part you can do for yourself

Code:


#-----[ OPEN ]-------------------------
#
#
# These edits will add spoiler to the icons available when you post.
# This is not needed in order for spoiler to work as you can just type
#
Spoiler:


# The edits here are hard to do, so please make a copy of the file before
# making the edits.
#
#
#

posting_body.tpl

#
#-----[ FIND ]---------------------------
#
f_help = "{L_BBCODE_F_HELP}";

#
#-----[ AFTER, ADD ]------------------------------------------
#
r_help = "{L_BBCODE_R_HELP}";

#
#-----[ FIND ]---------------------------
#
('','','','',

#
#-----[IN-LINE FIND ]-------------------------
#
'[/url]'
#
#-----[ IN-LINE AFTER, ADD ]-----------------------------
# If you have other added BBcode then move this to the last place.
,'
Spoiler:

','

'

-----------------------------------------------------
So it looks like this

('','','','','','','
Quote:
','
','
Code:
','
','
    ','
','[list=]','[/list]','[img]','[/img]','[url]','[/url]','
Spoiler:

','

' );


#
#-----[ FIND ]------------------------------------------
#
        <td><span class="genmed">
          <input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(16)" onMouseOver="helpline('w')" />
          </span></td>

#
#-----[ AFTER, ADD ]------------------------------------------
#If you already have an '18' BBcode, manually change '18' to the next even number that you haven't got. e.g. '20'
        <td><span class="genmed">
          <input type="button" class="button" accesskey="r" name="addbbcode18" value="Spoiler" style="width: 60px" onClick="bbstyle(1Cool" onMouseOver="helpline('r')" />
          </span></td>

#
#-----[ FIND ]------------------------------------------
#
              <select name="addbbcode18" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">

#
#-----[ REPLACE WITH ]-------------------------------
#If you already have an '20' or above as the number, manually change '20' to the next even number that you haven't got. e.g. '22'
              <select name="addbbcode20" onChange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode20.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onMouseOver="helpline('s')">

#
#-----[ FIND ]------------------------------------------
#
              </select> &nbsp;{L_FONT_SIZE}:<select name="addbbcode20" onChange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">


#
#-----[ REPLACE WITH ]---------------------------------
#If you already have an '22' or above as a number, manually change '22' to the next even number that you haven't got. e.g. '24'
              </select> &nbsp;{L_FONT_SIZE}:<select name="addbbcode22" onChange="bbfontstyle('[size=' + this.form.addbbcode22.options[this.form.addbbcode22.selectedIndex].value + ']', '[/size]')" onMouseOver="helpline('f')">



#
#-----[ SAVE/CLOSE ALL FILES ]---------------------------


Looks pretty complex XD...I will do this on the weekend.



_________________

PLAYING:
GTA IV (PC)
Halo 3 (X360)
COD4: MW (PC)
Fallout 3 (PC)
Prince of Persia (PC)
AIM Address Yahoo Messenger MSN Messenger ICQ Number
View user's profile Send private message Send e-mail Visit poster's website
venom
Level 3: Second Class
Level 3: Second Class



Joined: 02 Nov 2006
Posts: 169
Credits: 6.24


Location: Ottawa, Ontario
PostPosted: Thu May 22, 2008 10:05 pm Reply with quote

I honestly thought we had spoiler tags, must have been another forum.   scratch

_________________


MSN Messenger
View user's profile Send private message Visit poster's website
Zaraki Kenpachi
Extreme User 2
Extreme User 2



Joined: 07 May 2007
Posts: 1597
Credits: 287.6



PostPosted: Fri May 23, 2008 5:03 am Reply with quote

oh wow I couldn't do that for the life of me >_<

_________________
I'm obssessed now over something you'll never find out =P
MSN Messenger
View user's profile Send private message Send e-mail
Phatkav
Main Moderator
Main Moderator



Joined: 10 Jan 2007
Posts: 3685
Credits: 444.72


Location: Ontario, Canada
PostPosted: Fri May 23, 2008 4:18 pm Reply with quote

So today or tomorrow?

_________________
"Anything that humans can imagine is a possibility in reality" - Physicist Willy Karen
Yahoo Messenger MSN Messenger
View user's profile Send private message Send e-mail
Badie05
Administrator
Administrator



Joined: 15 Oct 2006
Posts: 6237
Credits: 825.9


Location: Ottawa, Canada
PostPosted: Fri May 23, 2008 5:21 pm Reply with quote

Weekend.



_________________

PLAYING:
GTA IV (PC)
Halo 3 (X360)
COD4: MW (PC)
Fallout 3 (PC)
Prince of Persia (PC)
AIM Address Yahoo Messenger MSN Messenger ICQ Number
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
  Post new topic   Reply to topic HardCore Gamer Networks Forum Index » Support & Suggestions     

    

  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
 

phpBB skin developed by: John Olson
Powered by phpBB © 2001, 2005 phpBB Group
 

[ Copy this | Start New | Full Size ]