|
Post by tunescool on Oct 10, 2010 21:38:36 GMT -8
im putting new tables in my boards so i dont have to deal with all those tables i needed in the footers because it screwed safari up, and i put my displayname in it for a moderators list and colorsmear doesnt show up now in the board page
it also affects New Thread in the sub boards but ill put that in its thread in a couple days
<style type="text/css"> .stickytable {background-image: url(http://i709.photobucket.com/albums/ww95/tunescool/nook/grey12.jpg);} </style>
<table align="center" border="0" width="92%" cellspacing="0" cellpadding="0" class="bordercolor"> <tr> <td> <table cellpadding="4" cellspacing="1" border="0" width="100%"> <tr> <td width="25%" valign="top" class="windowbg"> <center> <b>
<i><u><a href="http://celebnook.proboards.com/index.cgi?board=ass&action=display&thread=3473"<font color="#00138E">Rules - Thread Titles </font></a></u></i> <br />
</b> </center> </td> <td width="50%" class="windowbg2" valign="top">
</td> <td width="25%" valign="top" class="windowbg"> <center> <b>
<i><u>Board Moderators</u><br/> <a href="http://celebnook.proboards.com/index.cgi?action=viewprofile&user=admin"<font color="#FF03DD">tunescool <i><br/>
</b> </center> </td> </tr> </table> </td> </tr> </table>
|
|
wildgoosespeeder
Code Helper
Tiers are for strangers!
Posts: 530
wildgoosespeeder said 161 great things
|
Post by wildgoosespeeder on Oct 10, 2010 22:02:51 GMT -8
You have some improperly formatted tags. Make sure to put a ">" at the end of the each "a" tag. Side note: Just a tip, go here.
|
|
|
Post by tunescool on Oct 10, 2010 22:33:20 GMT -8
yea thanks i had one in there when i copied it from the other table but i took it out on accident it had a class rite before it and didnt think of it
|
|
|
Post by Wormopolis on Oct 11, 2010 3:14:04 GMT -8
you also opened a font tag right before your name, didnt close it, and then opened a <i> tag without closing it.
|
|
Flame
Not New Member
I don't know much about the codes and terms of the computer world. Please be patient with me.[Sj1:0]
Posts: 20
Flame said 0 great things
|
Post by Flame on Oct 15, 2010 2:06:39 GMT -8
Can you make a coloursmear code that smears your signature?
|
|
|
Post by Wormopolis on Oct 15, 2010 7:19:04 GMT -8
What happens if you try?
|
|
Flame
Not New Member
I don't know much about the codes and terms of the computer world. Please be patient with me.[Sj1:0]
Posts: 20
Flame said 0 great things
|
Post by Flame on Oct 16, 2010 1:29:40 GMT -8
It just stays the same. Click here
|
|
wildgoosespeeder
Code Helper
Tiers are for strangers!
Posts: 530
wildgoosespeeder said 161 great things
|
Post by wildgoosespeeder on Oct 16, 2010 10:05:41 GMT -8
Well Wormo's code only allows posts for the tags to parse. I took iAlex's Spoiler Tag code and extracted the good parts and here's the code I came up with: <script language="javascript"> // Revised colorSmear UBBC Tag by wildgoosespeeder // Original Concept By Wormopolis - [url]www.wormocodes.com[/url] // must have colorSmear function in Global Header above this script
if(!location.href.match(/action=(headersfooters|boardmodify|categorymodify|settings|membergroupmodify|modifyprofile&user=|modifycalendarentry)/)) { var tds=document.getElementsByTagName("td"); var i=tds.length; while(--i) { if(!document.postForm && tds[i].innerHTML.match(/\[smear:(.+?)\](.+?)\[\/smear:(.+?)\]/gi) || document.postForm && (tds[i].width=="100%" && tds[i].className.match(/windowbg2/) && tds[i].innerHTML.match(/\[smear:(.+?)\](.+?)\[\/smear:(.+?)\]/gi) && tds[i].parentNode.parentNode.parentNode.cellPadding=="4" || tds[i].height=="100%" && tds[i].width=="80%" && tds[i].vAlign=="top" && tds[i].align=="left" && tds[i].className.match(/windowbg(2)?/) && tds[i].innerHTML.match(/\[smear:(.+?)\](.+?)\[\/smear:(.+?)\]/gi))) { tds[i].innerHTML = tds[i].innerHTML.replace(/\[smear:(.+?)\](.+?)\[\/smear:(.+?)\]/gi,colorSmear(RegExp.$1,RegExp.$2.replace(/<br>/gi,'\n'),RegExp.$3).replace(/\n/g,'<br>')); } } } </script> See if that works better. Original post here.
|
|
|
Post by Wormopolis on Oct 16, 2010 10:56:08 GMT -8
Would it be better to keep the signature module seperate from the post module?
Flame test that out and report back if it works for you.
|
|
wildgoosespeeder
Code Helper
Tiers are for strangers!
Posts: 530
wildgoosespeeder said 161 great things
|
Post by wildgoosespeeder on Oct 16, 2010 11:19:27 GMT -8
Would it be better to keep the signature module seperate from the post module? Well I think where do standard ProBoards UBBC tags parse not where do I want my tag to parse.
|
|
|
Post by Wormopolis on Oct 16, 2010 12:25:54 GMT -8
how about a compromise.. a variable that can be set true/false so admins can control signature content from utilizing smear. an example would be someone who has 200 characters in their signature and the entire page of posts is all by them.. smear would run on every signature.. potentially slowing down the page.
|
|
Flame
Not New Member
I don't know much about the codes and terms of the computer world. Please be patient with me.[Sj1:0]
Posts: 20
Flame said 0 great things
|
Post by Flame on Oct 19, 2010 21:58:44 GMT -8
I tried the code and its not working
|
|
|
Post by Wormopolis on Oct 19, 2010 22:19:25 GMT -8
end color needs to be after end smear tag:
[smear:color]content[/smear:color]
|
|
Flame
Not New Member
I don't know much about the codes and terms of the computer world. Please be patient with me.[Sj1:0]
Posts: 20
Flame said 0 great things
|
Post by Flame on Oct 19, 2010 22:24:47 GMT -8
Let me try
|
|
Flame
Not New Member
I don't know much about the codes and terms of the computer world. Please be patient with me.[Sj1:0]
Posts: 20
Flame said 0 great things
|
Post by Flame on Oct 19, 2010 22:27:13 GMT -8
Nope. Not working
|
|