|
Post by tunescool on Jan 30, 2010 12:28:29 GMT -8
im using this code but its all scattered around the page Nuclear's UBBC in Personal Text Area - V2.0 and this,(main footer) but none of them enter in the ubbc UBBC or smilies with signature
|
|
|
Post by Wormopolis on Jan 30, 2010 14:42:58 GMT -8
dear lord that thing is a mess....
|
|
|
Post by tunescool on Jan 30, 2010 23:10:50 GMT -8
i just noticed chris has a code for the signature so forget about that one. i plan on getting new buttons for ubbc so i can add tags, text buttons that look like the drop downs. im gonna ask chris to move the buttons above the field cause itll look too weird on the side. can you just get rid of the message the personal text code leaves, and this Smilies/UBBC/Fonts/Color. and obviously put the buttons on top of the personal text field. im gonna need an easy way to change the lines because of the different lengths of each button. ill stop making new threads for awhile
|
|
|
Post by Wormopolis on Jan 31, 2010 11:34:28 GMT -8
if you have a code that added something to the personal text field, and you removed the code, you have to actually edit all the personal text fields to get rid of it. or is the code itself leaving it there?
|
|
|
Post by tunescool on Jan 31, 2010 11:46:01 GMT -8
i didnt take the code out, this message it leaves next to the personal text field. Click the UBBC Buttons to add UBBC to the Personal Text Area. its to the rite of the avatar message but i wouldnt want it anyway
|
|
|
Post by Wormopolis on Jan 31, 2010 13:00:04 GMT -8
oh THAT message... yeah that can be done.. hold on a sec...
|
|
|
Post by tunescool on Feb 4, 2010 20:10:32 GMT -8
i decided to keep the buttons on the rite
1. remove message (Click the UBBC Buttons to add UBBC to the Personal Text Area.)
2. remove (Smilies/UBBC/Fonts/Color)
3. buttons under (Your personal text will be displayed underneath your avatar.)
|
|
|
Post by Wormopolis on Feb 5, 2010 3:54:10 GMT -8
replace this:
if(document.modifyForm){ var myRow = document.modifyForm.getElementsByTagName("table")[1].insertRow(8); with(myRow.insertCell(0)){ width = "160"; vAlign = "middle"; innerHTML = '<font size="-1">Add Tags:</font>'; } with(myRow.insertCell(1)){ width = "245"; vAlign = "top"; innerHTML = tabContent; } with(myRow.insertCell(2)){ width = "245"; vAlign = "top"; innerHTML = '<font size="-2">Click the UBBC Buttons to add UBBC to the Personal Text Area.</font>'; }}
with this:
if(document.modifyForm){ with(modifyForm.personaltext.parentNode.parentNode.nextSibling.firstChild){ innerHTML += "<br>" + tabContent; } }
|
|
|
Post by tunescool on Feb 5, 2010 5:01:22 GMT -8
everything was removed and the buttons moved too. i tried to make a third line to see if it worked but nothing shows. i did exactly as the two there but they wont show up
ubbcLine[0] = [ /* First Line of UBBC ("TAG", "URL OF TAG IMAGE", "ALT MESSAGE") */ new ubbc("[b][/b]","http://www.4d5.net/v4images/bold.gif","Bold"), new ubbc("[i][/i]","http://www.4d5.net/v4images/italicize.gif","Italicize"), new ubbc("[u][/u]","http://www.4d5.net/v4images/underline.gif","Underline"), new ubbc("[s][/s]","http://www.4d5.net/v4images/strike.gif","Strikethrough"), new ubbc("[glow=FF0000][/glow]","http://www.4d5.net/v4images/glow.gif","Glow"), new ubbc("[shadow=FF0000][/shadow]","http://www.4d5.net/v4images/shadow.gif","Shadow"), new ubbc("[size=2][/size]","http://www.4d5.net/v4images/size.gif","Font Size"), new ubbc("[color=black][/color]","http://www.socal-files.com/resources/images/colorubbc.gif","Font Color") ];
ubbcLine[1] = []; /* Second Line of UBBC ("TAG", "URL OF TAG IMAGE", "ALT MESSAGE") */ new ubbc("[font=Verdana][/font]","http://www.4d5.net/v4images/face.gif","Font Face") ];
ubbcLine[2] = [ /* Third Line of UBBC ("TAG", "URL OF TAG IMAGE", "ALT MESSAGE") */ new ubbc("[b"+"r]","http://www.socal-files.com/resources/images/breakubbc.gif","Line Brake"), new ubbc("[hr]","","Horizontal Rule"), new ubbc("[url][/url]","http://www.4d5.net/v4images/url.gif","Insert Hyperlink"), new ubbc("[img][/img]","http://www.4d5.net/v4images/img.gif","Insert Image"), new ubbc("[sup][/sup]","http://www.4d5.net/v4images/sup.gif","Superscript"), new ubbc("[sub][/sub]","http://www.4d5.net/v4images/sub.gif","Subscript"), new ubbc("[move][/move]","http://www.4d5.net/v4images/move.gif","Marquee"), new ubbc("[left][/left]","http://www.4d5.net/v4images/left.gif","Align Left"), new ubbc("[right][/right]","http://www.4d5.net/v4images/right.gif","Align Right") ];
|
|
|
Post by Wormopolis on Feb 5, 2010 10:11:04 GMT -8
so.. it worked then you broke it again. bad tunes!
change this
ubbcLine[1] = [];
to this
ubbcLine[1] = [
|
|
|
Post by tunescool on Feb 5, 2010 11:29:57 GMT -8
guess i was focused on the wrong thing. i added alot cause it looked like it was just changing lines by itself anyway and it does. but why would it change lines one button before chris'
|
|
|
Post by Wormopolis on Feb 5, 2010 21:49:07 GMT -8
its written a completely different way is why. Im not entirely sure how Chris's code even is doing multiple lines because nothing is in there to tell it to.
but we can fix nuclear's
change this:
if(l == 0) tabContent += '<br />';
to this:
if(l <ubbcLine.length) tabContent += '<br />';
|
|
|
Post by tunescool on Feb 5, 2010 22:27:35 GMT -8
im probably not gonna make sense here cause i dont really understand why its doing all this so the first pic is before i added the last line, and the second is with. so i wouldnt really need this? ]; ubbcLine[1] = []; /* Second Line of UBBC ("TAG", "URL OF TAG IMAGE", "ALT MESSAGE") */ new ubbc(" ","http://www.4d5.net/v4images/face.gif","Font Face") ]; ubbcLine[2] = [ /* Third Line of UBBC ("TAG", "URL OF TAG IMAGE", "ALT MESSAGE") */ new ubbc("[b"+"r]","http://www.socal-files.com/resources/images/breakubbc.gif","Line Brake"), new ubbc("
","","Horizontal Rule and you can see it still skips that one before a next line
|
|
|
Post by Wormopolis on Feb 6, 2010 12:33:41 GMT -8
ubbcLine[1] = []; /* Second Line of UBBC ("TAG", "URL OF TAG IMAGE", "ALT MESSAGE") */ new ubbc("","http://www.4d5.net/v4images/face.gif","Font Face") ];
that is a syntax error. you close the array before you put anything in it.
|
|
|
Post by Wormopolis on Feb 6, 2010 12:47:52 GMT -8
looking at the source, its doing exactly what you are telling it to do. what are you wanting the buttons to look like? are you trying to make it look like the ones next to signature?
|
|