|
Post by rhondairv on Apr 25, 2010 15:56:31 GMT -8
I reeeeally need a code that will direct you to your post after you have submitted it.
Now, it goes back to top post. The code i tried that is supposed to do that does not work.
Thanks! ;D
|
|
|
Post by Wormopolis on Apr 25, 2010 20:52:34 GMT -8
What code did you use?
|
|
|
Post by rhondairv on Apr 27, 2010 17:24:19 GMT -8
Go to your post after posting [CB] Code description: After posting, it will take you directly to your post. TOS Check: OK Cross Browser Check: Firefox 1.5+ and Internet Explorer 6.0+ | Google Chrome not supported Global Footers:
<script type='text/javascript'> /* Go to your post after posting. created by CrAzY_J do not redistribute this code*/ if( this.location.href.match(/display&board=/) && document.referrer.match(/post/) ) { var Font = document.body.getElementsByTagName('font'); for( var f = Font.length-1 ; f > 0 ; f -- ) { if( Font[f].size == '1' && Font[f].firstChild && Font[f].firstChild.href && Font[f].firstChild.href.match(/action=gotopost/) && Font[f].firstChild.firstChild.data.match(/^Link\sto\sPost$/) ) { this.location = Font[f].firstChild.href; break; } }
} </script>
|
|
|
Post by Wormopolis on Apr 27, 2010 19:56:50 GMT -8
<script type='text/javascript'> <!-- // Go to post /* Go to your post after posting. created by CrAzY_J - Fixed by Wormo do not redistribute this code*/ if( location.href.match(/display&board=/)) { if (document.referrer.match(/post=/)) { postNum=document.referrer.split("post=")[1]; this.location=this.location+"#"+postNum } else { if (!location.href.match('#')) { var Font = document.body.getElementsByTagName('font'); for( var f = Font.length-1 ; f > 0 ; f -- ) { if( Font[f].size == '1' && Font[f].firstChild && Font[f].firstChild.href && Font[f].firstChild.href.match(/action=gotopost/) && Font[f].firstChild.firstChild.data.match(/^Link\sto\sPost$/) && Font[f].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.display!='none') { this.location = Font[f].firstChild.href; break; } } } } } // --> </script>
|
|
|
Post by rhondairv on Apr 27, 2010 22:35:56 GMT -8
This is still not working for me. Maybe i have a conflict with another mod.
|
|
|
Post by Wormopolis on Apr 28, 2010 8:33:54 GMT -8
entirely possible. what is the URL?
|
|
|
Post by rhondairv on Apr 28, 2010 13:58:16 GMT -8
mypogohookup.com
|
|
|
Post by Wormopolis on Apr 28, 2010 20:31:47 GMT -8
advanced hack manager has a way of rendering some codes inoperable. try removing it from hack manager and putting it directly into the global footers.
|
|
|
Post by rhondairv on Apr 28, 2010 21:25:33 GMT -8
OMG, I think i messed up HORRIBLY!!!
1st i removed each mod to see if it was conflicting, none did. Then i came here to say. I saw what you said.... i tried moving the advanced from global (which it was in ) to main just to see and i have nothing but code. I can't even get to home page!! HELP PLEASE!!
|
|
|
Post by Wormopolis on Apr 28, 2010 21:47:35 GMT -8
|
|
|
Post by rhondairv on Apr 28, 2010 21:57:38 GMT -8
THANK YOU!!!!! I got in...omg, i have GOT to read better and not try to do this at 1am!!
I owe ya!
|
|
|
Post by Wormopolis on Apr 28, 2010 22:10:05 GMT -8
once you get to admin panel, click headers/footers. if it goes bad, add the NOHEADERS=1 to the end of it and it will let you choose which header to edit again. then put back in the hack manager code you took out.
if it still doesnt work, I would remove everything from all headers and footers and start over. hack manager is a tough code to work with.
|
|
|
Post by rhondairv on Apr 28, 2010 22:13:56 GMT -8
I got it going... i modified the above post because you hadn't replied just yet.
That scared the crap outta me!
edited: this mod still does not work with this out of hack manager and into the regular global, but at this point i am fine with it. lol
|
|
|
Post by Wormopolis on Apr 28, 2010 23:06:53 GMT -8
well its easier to see the problem with it out of hack manager. the last post code looks for certain things in the post itself, so I have to see if those items still exist.
|
|
|
Post by Wormopolis on Apr 28, 2010 23:11:06 GMT -8
in this line:
if( Font[f].size == '1' && Font[f].firstChild && Font[f].firstChild.href && Font[f].firstChild.href.match(/action=gotopost/) && Font[f].firstChild.firstChild.data.match(/^Link\sto\sPost$/) && Font[f].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.style.d isplay!='none') {
see how there is a space in the word "display"? get rid of the space.
|
|