|
Post by tunescool on Feb 6, 2010 12:56:13 GMT -8
well yea
|
|
|
Post by Wormopolis on Feb 6, 2010 18:17:36 GMT -8
try this.
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("[move][/move]","http://www.4d5.net/v4images/move.gif","Marquee"), new ubbc("[pre][/pre]","http://www.4d5.net/v4images/pre.gif","Preformatted"), new ubbc("[left][/left]","http://www.4d5.net/v4images/left.gif","Align Left"), new ubbc("[center][/center]","http://www.4d5.net/v4images/center.gif","Align Center") ];
ubbcLine[1] = [ /* Second Line of UBBC ("TAG", "URL OF TAG IMAGE", "ALT MESSAGE") */ new ubbc("[right][/right]","http://www.4d5.net/v4images/right.gif","Align Right"), new ubbc("[hr]","http://www.4d5.net/v4images/underline.gif","Horizontal Rule"), new ubbc("[size=2][/size]","http://www.4d5.net/v4images/size.gif","Font Size"), new ubbc("[font=Verdana][/font]","http://www.4d5.net/v4images/underline.gif","Font Face"), new ubbc("[blockquote][/blockquote]","http://www.4d5.net/v4images/blockquote.gif","Blockquote"), new ubbc("[a href=""][/a]","http://www.4d5.net/v4images/url.gif","Insert Hyperlink"), new ubbc("[ftp][/ftp]","http://www.4d5.net/v4images/ftp.gif","FTP"), new ubbc("[img][/img]","http://www.4d5.net/v4images/img.gif","Insert Image"), new ubbc("[email][/email]","http://www.4d5.net/v4images/email.gif","Email"), new ubbc("[table][/table]","http://www.4d5.net/v4images/table.gif","Insert Table") ];
ubbcLine[2] = [ /* Third Line of UBBC ("TAG", "URL OF TAG IMAGE", "ALT MESSAGE") */ new ubbc("[tr][/tr]","http://www.4d5.net/v4images/tr.gif","Insert Row"), new ubbc("[td][/td]","http://www.4d5.net/v4images/td.gif","Insert Cell"), 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("[tt][/tt]","http://www.4d5.net/v4images/tt.gif","Teletype"), new ubbc("[code][/code]","http://www.4d5.net/v4images/code.gif","Code"), new ubbc("[quote][/quote]","http://www.4d5.net/v4images/quote.gif","Quote"), new ubbc("[ul][/ul]","http://www.4d5.net/v4images/list.gif","List") ];
ubbcLine[3] = [ /* Fourth Line of UBBC ("TAG", "URL OF TAG IMAGE", "ALT MESSAGE") */ new ubbc("[color=black][/color]","http://www.4d5.net/v4images/color.gif","Font Color"), new ubbc("[b"+"r]","http://www.4d5.net/v4images/underline.gif","Line Break") ];
I would remove the ones you dont want. you had some crazy ass edits in the version on your site. you had multiple buttons of the same thing.
|
|
|
Post by tunescool on Feb 6, 2010 23:09:37 GMT -8
it still doesnt extend as far as chris'. yea i just threw them in there to see
|
|
|
Post by Wormopolis on Feb 7, 2010 15:13:40 GMT -8
var tabContent = '<br>'; for(l=0; l<ubbcLine.length; l++){ for(u=0; u<ubbcLine[l].length; u++){ tabContent += '<a href="#" onclick="qradd(\''+ubbcLine[l].tag+'\'); return false;"><img src="'+ubbcLine[l].url+'" alt="'+ubbcLine[l].alt+'" border="0"/></a>'; } //if(l <ubbcLine.length) tabContent += '<br />'; } tabContent += '<br>';
|
|
|
Post by tunescool on Feb 7, 2010 18:06:37 GMT -8
itworks
|
|
|
Post by Wormopolis on Feb 7, 2010 18:47:11 GMT -8
excellent. the missing images I cant help you iwth. but you could probably figure out where the other code is getting them and change the URL in the array.
|
|
|
Post by tunescool on Jul 10, 2010 4:07:18 GMT -8
do i need a ubbc in personal text code along with this code. the buttons work and it shows up in the modify profile page but it doesnt work, it just shows up as [.u]Thats Funny[./u] in the mini profile
|
|
|
Post by Wormopolis on Jul 10, 2010 21:54:13 GMT -8
I would stay away from UBBC in personal text code. It has a tendency to make other codes stop functioning and Polls no longer work.
|
|
|
Post by tunescool on Jul 13, 2010 14:55:12 GMT -8
i put it above all my mini profile codes and it works. i have so many problems that are always showing up with codes not working with other codes i dont think its that big of a deal, i always have problems. my polls havent worked for like a year, someday maybe ill take codes out one by one to see whats making them not work. i put all the new PB buttons in and it looks good in the modify profile page
|
|
|
Post by Wormopolis on Jul 13, 2010 19:15:25 GMT -8
It was just an FYI. I know for a fact THAT particular code causes polls to stop working. It has never been updated to make it compatible.
|
|