|
Post by tunescool on Aug 28, 2009 1:15:17 GMT -8
there is no new thread, just reply and add poll
|
|
|
Post by Wormopolis on Aug 28, 2009 15:23:46 GMT -8
alright... that took a bit of logic pondering but...
<script type="text/javascript"> <!-- /* 'new thread' button next to reply */
if(location.href.match(/board=(\w+)&(action|thread)=/)) { var img = document.getElementsByTagName('img'); for(l=0; l<img.length; l++) { if(img[l].alt == '[Reply]') { nwlnk=document.createElement('a'); nwlnk.href = '/index.cgi?&board='+RegExp.$1+'&action=post'; nwlnk.appendChild(document.createElement('font')); nwlnk.firstChild.appendChild(document.createTextNode("New Thread")); nwlnk.firstChild.className="button"; if (img[l].parentNode.previousSibling && img[l].parentNode.previousSibling.previousSibling && img[l].parentNode.previousSibling.previousSibling.href.match(/createpoll/)) { img[l].parentNode.parentNode.insertBefore(img[l].parentNode.previousSibling, img[l].parentNode.nextSibling); img[l].parentNode.parentNode.insertBefore(img[l].parentNode.previousSibling, img[l].parentNode.nextSibling.nextSibling); l--; } img[l].parentNode.parentNode.insertBefore(nwlnk,img[l].parentNode.nextSibling); img[l].parentNode.parentNode.insertBefore(document.createTextNode(' '),img[l].parentNode.nextSibling);
} } }
//-->
</script>
|
|
|
Post by tunescool on Aug 28, 2009 18:55:50 GMT -8
that works
|
|
|
Post by tunescool on Aug 29, 2009 1:55:44 GMT -8
you didnt forget about the reply next to modify and quote above the signature? and the pm button
do it whenever. sometimes you guys just forget
|
|
|
Post by Wormopolis on Aug 29, 2009 11:01:12 GMT -8
reply next to modify?
this will change that new reply button you added inside the post: find this:
buttons.innerHTML='<a href="'+location.href.replace('=display','=post')+ '"><img src="'+replyButton+'" border="0" alt="[ Reply ]" /></a> '+ td.firstChild.innerHTML;
change to:
buttons.innerHTML='<a href="'+location.href.replace('=display','=post')+ '">Reply</a> '+ td.firstChild.innerHTML;
|
|
|
Post by Wormopolis on Aug 29, 2009 11:04:34 GMT -8
that PM thing is frustrating...
try adding .pmbutton:link into the CSS
|
|
|
Post by tunescool on Aug 29, 2009 12:50:15 GMT -8
it changed to text, but not the modify text pm button turned to black
|
|
|
Post by Wormopolis on Aug 29, 2009 14:58:51 GMT -8
sorry.. forgot you had that CSS:
buttons.innerHTML='<a href="'+location.href.replace('=display','=post')+'"><font class="button">Reply</font></a> '+ td.firstChild.innerHTML;
|
|
|
Post by tunescool on Aug 29, 2009 15:24:21 GMT -8
that worked, i got a pm and it turned back to blue
|
|
|
Post by Wormopolis on Aug 29, 2009 15:41:36 GMT -8
is it supposed to do that?
|
|
|
Post by Wormopolis on Aug 29, 2009 15:46:43 GMT -8
you have this CSS repeated:
<style type="text/css"> .menubg .button{ margin: 2px; color: #000000; font-family:tahoma; font-weight: bold; font-size: 10pt; } .pmbutton, .pmbutton a{ margin: 2px; color: #000000; font-family:tahoma; font-weight: bold; font-size: 10pt; } .titletext{ margin: 2px; color: #000000; font-family:tahoma; font-weight: bold; font-size: 8pt; } .button{ margin: 2px; color: #000000; font-family:tahoma; font-weight: bold; font-size: 9pt; } </style>
get rid of the second one. its overriding the first one.
|
|
|
Post by tunescool on Aug 29, 2009 16:05:54 GMT -8
i took it out but its still blue, why is there a pop up when i get a pm, i looked in general settings and skins and didnt see it, is it a code i put in?
is there a better way to get pms in the menu bar, i dont want to have another bar, but i dont like the total pms thing
|
|
|
Post by Wormopolis on Aug 29, 2009 18:14:03 GMT -8
pop up? like an alert? did you turn that on in your PM preferences maybe?
THAT DAMN BLUE!
ok.. lets put this into that CSS then
.pmbutton:link, .pmbutton:vlink, .pmbutton:alink
|
|
|
Post by tunescool on Aug 29, 2009 19:19:35 GMT -8
that made it back to just regular default text
|
|
|
Post by Wormopolis on Aug 29, 2009 20:34:48 GMT -8
Im trying to figure out the PM thing in the thread called Tunescool PM test
|
|