|
Post by tunescool on Jan 8, 2010 6:53:03 GMT -8
the code brings back logged
<script type="text/javascript"> <!-- /* Quick links in post area
|
|
|
Post by Wormopolis on Jan 8, 2010 9:15:08 GMT -8
swap the order of the codes.
|
|
|
Post by tunescool on Jan 8, 2010 9:33:14 GMT -8
i think did try that on my test site a couple hours ago, but anyway the code doesnt show up now
|
|
|
Post by Wormopolis on Jan 8, 2010 10:07:07 GMT -8
they both seem to rely on something that the other code gets rid of. I dont think these codes will work with each other.
|
|
|
Post by Wormopolis on Jan 8, 2010 22:02:11 GMT -8
its going to take something drastic.
remove the code that removes the "logged". logged will have to be struck from the nemesis code.
replace this (in the nemesis code):
if(location.href.indexOf("action=display")!=-1){ var iFont = document.getElementsByTagName("Font") for(t=0;t<iFont.length;t++){ with(iFont[t]){ if(size=="1" && innerHTML.match(/\/ip\.gif/i) && (innerHTML.match(/Logged/i) || innerHTML.match(/\d+.\d+/))){ innerHTML = '<a href="#"><font size="1">Back To Top </font></a> ' + innerHTML } } } } if(location.href.indexOf("action=display")!=-1){ var iFont = document.getElementsByTagName("Font") for(t=0;t<iFont.length;t++){ with(iFont[t]){ if(size=="1" && innerHTML.match(/\/ip\.gif/i) && (innerHTML.match(/Logged/i) || innerHTML.match(/\d+.\d+/))){ innerHTML = '<a href= "#bottom"><font size="1">Down To Bottom - </font></a> ' + innerHTML } } } } if(location.href.indexOf("action=display")!=-1){ var iFont = document.getElementsByTagName("Font") for(t=0;t<iFont.length;t++){ with(iFont[t]){ if(size=="1" && innerHTML.match(/\/ip\.gif/i) && (innerHTML.match(/Logged/i) || innerHTML.match(/\d+.\d+/))){ innerHTML = '<a href="javascript:post_pop();"><font size="1">Report Missing Pics Or Vids - </font></a> ' + innerHTML } } } }
with:
if(location.href.indexOf("action=display")!=-1){ var iFont = document.getElementsByTagName("Font") for(t=0;t<iFont.length;t++){ with(iFont[t]){ if(size=="1" && innerHTML.match(/\/ip\.gif/i) && (innerHTML.match(/Logged/i) || innerHTML.match(/\d+.\d+/))){ innerHTML = '<a href="#"><font size="1">Back To Top </font></a> ' + '<a href= "#bottom"><font size="1">Down To Bottom - </font></a> ' + '<a href="javascript:post_pop();"><font size="1">Report Missing Pics Or Vids - </font></a> '; } } } }
|
|
|
Post by tunescool on Jan 8, 2010 23:43:24 GMT -8
you moved stuff around which i like better, i didnt like that big report missing pics and vids link hanging out on the left. logged is gone and you must have done something that eton once did to mod the remove logged code once cause i dont see it all? alot got done today, ive been looking for stuff and i found it all on one site yesterday, it wasnt even a proboards site. thanks wormo
|
|
|
Post by Wormopolis on Jan 9, 2010 0:31:10 GMT -8
excellent!
|
|
|
Post by tunescool on Mar 28, 2010 20:27:08 GMT -8
i seen a back to board link but it needs some other action i cant do, and can you put just space between the links, as much as the ones below them. i tried several different ways celebnook.proboards.com/index.cgi?board=tizzie&action=display&thread=3360<script type="text/Javascript"> /* Link to Index in Threads by Devin Copyright Sans Pareil @ PB 102 - Don't redistribute */ if(location.href.match(/thread=/)){ document.write('<center><a href="index.cgi">Back To Board Index</a></center>'); } </script>
<a name="bottom"></a> <script type="text/javascript"> <!-- /* Quick links in post area Written By Nemesis: Copyright 2006, All Rights Reserved. This code may not be reposted anywhere else. */ function post_pop() { window.open('?action=pmsend&to=admin&subject=Reporting Missing Pics To Admin','Popup','width=900,height=800,resizable=yes,scrollbars=yes'); } if(location.href.indexOf("action=display")!=-1){ var iFont = document.getElementsByTagName("Font") for(t=0;t<iFont.length;t++){ with(iFont[t]){ if(size=="1" && innerHTML.match(/\/ip\.gif/i) && (innerHTML.match(/Logged/i) || innerHTML.match(/\d+.\d+/))){ innerHTML = '<a href="index.cgi"><font size="1"><b>To Board List - </b></font></a> ' + '<a href="#"><font size="1"><b>To Top - </b></font></a> ' + '<a href= "#bottom"><font size="1"><b>To Bottom - </b></font></a> ' + '<a href="javascript:post_pop();"><font size="1"><b>Report Missing Pics Or Vids </b></font></a> '; } } } }
//--> </script>
if its possible do you think someday you could work these links to the left of my Reply Quote Modify Delete, on the same line so it looks nicer
|
|
|
Post by Wormopolis on Mar 30, 2010 19:14:58 GMT -8
innerHTML = '<a href="index.cgi"><font size="1"><b>To Board List</b></font></a>&nb'+'sp;&nb'+'sp;&nb'+'sp;' + '<a href="#"><font size="1"><b>To Top</b></font></a>&nb'+'sp;&nb'+'sp;&nb'+'sp;' + '<a href= "#bottom"><font size="1"><b>To Bottom</b></font></a>&nb'+'sp;&nb'+'sp;&nb'+'sp;' + '<a href="javascript:post_pop();"><font size="1"><b>Report Missing Pics Or Vids </b></font></a> ';
|
|
|
Post by Wormopolis on Mar 30, 2010 19:24:11 GMT -8
you want the quick links on the left and the "Reply Quote" on the right then?
|
|
|
Post by Wormopolis on Mar 30, 2010 19:36:28 GMT -8
back to board script should be:
<script type="text/Javascript"> /* Link to Index in Threads by Devin Copyright Sans Pareil @ PB 102 - Don't redistribute */ if(location.href.match(/thread=/)){ document.write('<center><a href="\index.cgi?">Back To Board Index</a></center>'); } </script>
|
|
|
Post by tunescool on Mar 30, 2010 20:07:03 GMT -8
ok i originally thought that it was a link to the thread list of the forum the thread is in. is that possible, i have so many links to everything its starting to look ridiculous to me but they all make sense being there anyway if someone wants to use them.
i was thinking just to the left of the reply and quote
|
|
|
Post by Wormopolis on Mar 30, 2010 23:37:51 GMT -8
<script type="text/Javascript"> /* Link to Index in Threads by Devin Copyright Sans Pareil @ PB 102 - Don't redistribute */ // board indexing mod
if(location.href.match(/thread=/)){ bsave=location.href.match(/board=(.*?)/) ? RegExp.$1 : 'invalid'; document.write('<center><a href="\index.cgi?board='+bsave+'">Back To Board Index</a></center>'); } </script>
|
|
|
Post by tunescool on Mar 31, 2010 1:18:05 GMT -8
doesnt it have to go in the quicklinks code , the main page link is still in that code
|
|
|
Post by Wormopolis on Mar 31, 2010 8:45:46 GMT -8
oh I get it.. you wanted to combine that one into the quick links script. ok...
if(size=="1" && innerHTML.match(/\/ip\.gif/i) && (innerHTML.match(/Logged/i) || innerHTML.match(/\d+.\d+/))){ bsave=location.href.match(/board=(.*?)/) ? RegExp.$1 : 'invalid'; innerHTML = '<a href="/index.cgi?board='+bsave+'"><font size="1"><b>To Board List</b></font></a>&nb'+'sp;&nb'+'sp;&nb'+'sp;' + '<a href="#"><font size="1"><b>To Top</b></font></a>&nb'+'sp;&nb'+'sp;&nb'+'sp;' + '<a href= "#bottom"><font size="1"><b>To Bottom</b></font></a>&nb'+'sp;&nb'+'sp;&nb'+'sp;' + '<a href="javascript:post_pop();"><font size="1"><b>Report Missing Pics Or Vids </b></font></a> '; }
|
|