Erdrick Holmes
08-15-2004, 05:20 AM
I just downloaded a hack to get a spoiler tag for my IPB board. I can't make heads or tails out of this. Any idea how I can set this up on my board?
![]() | |
IPB Spioiler tagErdrick Holmes 08-15-2004, 05:20 AM I just downloaded a hack to get a spoiler tag for my IPB board. I can't make heads or tails out of this. Any idea how I can set this up on my board? Yamaneko 08-15-2004, 05:30 AM It tells you what to do there. First open <b>/sources/lib/post_parser.php</b> and find <b>if ( $in['CODE'] == 1 ) {</b> in the file. Below that add <b>$txt = preg_replace( "#\[spoiler\](.+?)\[/spoiler\]#ies", "\$this->regex_spoiler_tag('\\1')", $txt );</b> Etc... Just do what it says. Add after, add before, replace. Those are the basic procedures. Can't get much simpler. Erdrick Holmes 08-15-2004, 06:04 AM I'm editing the php just like it's telling me and it's still not working, I'm even copying and pasting to see if I can get it right. Can somebody edit this for me? It's not going well for me. | |
| This Final Fantasy website is copyright 2000 - 2007 Eyes on Final Fantasy. | |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum