Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Best BB Tag Code EVER v3.1 [ZB]; Most customisable, can do ANYTHING!
Topic Started: Jun 3 2009, 08:42 AM (4,268 Views)
chaosilluminatus
Member
[ * ]
Xanikseo
Jul 20 2009, 11:55 AM
Thanks, Paper ^_^ , I've changed the first post.
chaosilluminatus, it seems to me that you are using an incorrect address for your media embed, please post what address you are trying to use.
no media will work....

i am really burnt out on this man

:ph34r:
Offline Profile Quote Post Goto Top
 
FOS
Member
[ *  *  * ]
Xanikseo
Jul 15 2009, 12:09 PM
Code:
 
<script src='http://209.85.62.24/217/61/0/p185917/'></script>

If you want it to ask "Enter text to be centred", not just "Center text", change the center BBCode script to this:
Code:
 
ubb_tag("Center","center",0,0,"Center text||Enter text to be centred");
Thank you! ^_^ Apologies for the late response. :$

EDIT: There's a bit of a snag - it removes line breaks. So if you post more than one paragraph, it will appear as one. or if you posted say 3 images like this:

[img]image1[/img]

[img]image 2[/img] [img]image 3[/img]

You'll end up with this:

[img]image1[/img] [img]image 2[/img] [img]image 3[/img]
Edited by FOS, Jul 30 2009, 11:12 PM.
Offline Profile Quote Post Goto Top
 
Xanikseo
Member Avatar
Xanik Says "Oh"
[ *  *  * ]
FOS
Jul 30 2009, 10:51 PM
Xanikseo
Jul 15 2009, 12:09 PM
Code:
 
<script src='http://209.85.62.24/217/61/0/p185917/'></script>

If you want it to ask "Enter text to be centred", not just "Center text", change the center BBCode script to this:
Code:
 
ubb_tag("Center","center",0,0,"Center text||Enter text to be centred");
Thank you! ^_^ Apologies for the late response. :$

EDIT: There's a bit of a snag - it removes line breaks. So if you post more than one paragraph, it will appear as one. or if you posted say 3 images like this:

[img]image1[/img]

[img]image 2[/img] [img]image 3[/img]

You'll end up with this:

[img]image1[/img] [img]image 2[/img] [img]image 3[/img]
I'm afraid this is the problem with prompt boxes... The prompt box only has one line, I suppose it depends on the browser how they are handled... Sorry :-/ , this is why I prefer not to use prompt boxes...

Or do you mean that when you have this in the actual post:
Quote:
 
[center][img]http://www.google.de/options/icons/chrome.gif[/img]

[img]http://www.google.de/options/icons/chrome.gif[/img] [img]http://www.google.de/options/icons/chrome.gif[/img][/center]
You'll end up with this:
Quote:
 
Posted Image Posted Image Posted Image
? That shouldn't happen, because ZB is actually left to parse the BB code with the center code I gave you, the center code I gave you only adds the button to the posting page, and does the prompt box, and afterwards enters the BB code into the post depending on what was entered in the prompt box.
Edited by Xanikseo, Aug 4 2009, 09:33 AM.
Offline Profile Quote Post Goto Top
 
chaosilluminatus
Member
[ * ]
chaosilluminatus
Jul 28 2009, 10:07 PM
Xanikseo
Jul 20 2009, 11:55 AM
Thanks, Paper ^_^ , I've changed the first post.
chaosilluminatus, it seems to me that you are using an incorrect address for your media embed, please post what address you are trying to use.
no media will work....

i am really burnt out on this man

:ph34r:
<table bgcolor="#000000" cellpadding="0" cellspacing="0"><tr><td><embed quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#000" width="328" height="94" src="http://www.esnips.com//escentral/images/widgets/flash/esnips_player.swf" flashvars="theTheme=blue&autoPlay=no&theFile=http://www.esnips.com//nsdoc/004c67c6-d500-4bf0-84df-6303bd9c722c&theName=Mishra Kafi - Aalap in Sitar&thePlayerURL=http://www.esnips.com//escentral/images/widgets/flash/mp3WidgetPlayer.swf"></embed></td></tr><tr><td><table cellpadding="2" style="font-family:Verdana, Arial, Helvetica, sans-serif; padding-left:2px; color:#FFFFFF; text-decoration:none ; ; font-size:10px; font-weight:bold"><tr><td><a style="color:#FFFFFF; text-decoration:none " href="http://www.esnips.com/CreateWidgetAction.ns?type=0&objectid=004c67c6-d500-4bf0-84df-6303bd9c722c"> Get this widget </a></td><td style="font-size:7px; font-weight:normal;">|</td><td align="center"><a align="center" style="color:#FFFFFF; text-decoration:none " href="http://www.esnips.com/doc/004c67c6-d500-4bf0-84df-6303bd9c722c/Mishra-Kafi---Aalap-in-Sitar/?widget=flash_player_esnips_blue"> Track details </a></td><td style="font-size:7px; font-weight:normal;">|</td><td><a align="center" style="color:#FF6600; text-decoration:none" href="http://www.esnips.com//adserver/?action=visit&cid=player_dna&url=/socialdna"> eSnips Social DNA </a></td></tr></table></td></tr></table>

:arr:
Offline Profile Quote Post Goto Top
 
Xanikseo
Member Avatar
Xanik Says "Oh"
[ *  *  * ]
The URL:
Quote:
 

Size: 328x94
Offline Profile Quote Post Goto Top
 
chaosilluminatus
Member
[ * ]
"Heavens to Murgutroid.... Who wooda thunk it!!!..it WORKS!!

You are the Man hands down!!

:)
Offline Profile Quote Post Goto Top
 
FOS
Member
[ *  *  * ]
Xanikseo
Aug 4 2009, 09:31 AM
I'm afraid this is the problem with prompt boxes... The prompt box only has one line, I suppose it depends on the browser how they are handled... Sorry :-/ , this is why I prefer not to use prompt boxes...

Or do you mean that when you have this in the actual post:
Quote:
 
[center][img]http://www.google.de/options/icons/chrome.gif[/img]

[img]http://www.google.de/options/icons/chrome.gif[/img] [img]http://www.google.de/options/icons/chrome.gif[/img][/center]
You'll end up with this:
Quote:
 
Posted Image Posted Image Posted Image
? That shouldn't happen, because ZB is actually left to parse the BB code with the center code I gave you, the center code I gave you only adds the button to the posting page, and does the prompt box, and afterwards enters the BB code into the post depending on what was entered in the prompt box.
Yes, that is what happens to images. It bunches them all together. Although my test involved slightly larger images, that wouldn't fit side by side. So what you end up with is something like this:

Posted Image

Instead of this:

Posted Image
Edited by FOS, Aug 7 2009, 09:51 PM.
Offline Profile Quote Post Goto Top
 
Xanikseo
Member Avatar
Xanik Says "Oh"
[ *  *  * ]
What is the actual content of the post? The center code I gave you can't remove line breaks between the [center] tags because it does nothing to them, it lets ZB do the work because ZB already does it anyway, it only adds the button to the posting page. The only thing I can think of that is causing this problem is the actual content of the post...
Offline Profile Quote Post Goto Top
 
Eleventh Echo
Member Avatar
Member
[ * ]
This is what I have:

Code:
 
var rainbow_colors = new Array('Red','Maroon','Red','Maroon','Red','Maroon','Red','Maroon','Red','Maroon','Red','Maroon','Red','Maroon','Red','Maroon','Red','Maroon','Red','Maroon','Red','Maroon','Red','Maroon');function xbbb_rainbow() {var x = document.getElementsByTagName('span');for(i=0;i<x.length;i++) {if(x[i].className == 'rainbow_text') {if(x[i].id==11) {x[i].style.color = 'red';x[i].id = "-1";}x[i].style.color = rainbow_colors[parseInt(x[i].id)+1];x[i].id = parseInt(x[i].id)+1;}}setTimeout("xbbb_rainbow()",100);}ubb_tag("Alert","alert","<b><span id='-1' class='rainbow_text'><% INNER %></span></b>",0,"Make text blink dark and bright red",0,"<span id='-1' class='rainbow_text'>Alert</span>");xbbb_rainbow()


(Reason for so many colors of the same colors is because it will flash red, and then sit on maroon for about a second, then flash red, then sit on maroon. I need a code that flashes Red and Maroon back and forth without pause. But I can't seem to Enable the use in announcements and disable the button. I only want admins to know about this function.)
Edited by Eleventh Echo, Oct 27 2009, 11:41 AM.
Offline Profile Quote Post Goto Top
 
99mangoes
Member
[ * ]
speaking of the rainbow tag, mind suddenly just stopped working.

code in below the board
 
<script src='http://209.85.62.24/217/61/0/p167144/'></script><script>
ubb_tag("Marquee","marq","<marquee direction='<% VAR %>'><% INNER %></marquee>",1,"Make text scroll (move)||Enter the text you want to move across the page||Enter the direction you want the text to move",0,'<marquee>Marquee</marquee>');var rainbow_colors = new Array('Red','Orange','Yellow','Green','Blue','Indigo','Violet','Indigo','Blue','Green','Yellow','Orange');function xbbb_rainbow() {var x = document.getElementsByTagName('span');for(i=0;i<x.length;i++) {if(x.className == 'rainbow_text') {if(x.id==11) {x.style.color = 'red';x.id = "-1";}x.style.color = rainbow_colors[parseInt(x.id)+1];x.id = parseInt(x.id)+1;}}setTimeout("xbbb_rainbow()",100);}ubb_tag("Rainbow","rainbow","<span id='-1' class='rainbow_text'><% INNER %></span>",0,"Make text blink the colors of the rainbow",0,"<span id='-1' class='rainbow_text'>Rainbow</span>");xbbb_rainbow();
</script>
Anyone know what the problem could be?
Offline Profile Quote Post Goto Top
 
Chessi
Member
[ * ]
Sorry to edit every couple of minutes... sorry to bother you but the "hide" tag when you have a slow internet you can see a glimpse (much rather everything) of the content of the hidden message, there's anyway to fix that? and... the PM tag is not working for me... neither the admins the mods or the user see the message

this is the whole code with all the other codes I grabbed from the list (which are awesome by the way)

Code:
 
<script src='http://209.85.12.227/6877/58/upload/p6695766.ibf'></script><script>ubb_tag("Reply to see","hide","<span id='reply_to_see_section'><span><font color='red'>Mensaje Oculto por favor postear para ver</font></span><span style='display: none;'>Mensaje Oculto:<br /><% INNER %></span></span>",0,"Hide a message until user replies||Enter message to hide",2,1,"Reply");</script>
<script src='http://209.85.12.227/6877/58/upload/p3104418.ibf'></script><script>function xbb_pm() {x = document.getElementsByTagName('span');for(i=0;i<x.length;i++) {if(x[i].id == 'xbb_hid_pm_') {if(x[i].getElementsByTagName('span')[0].innerHTML.match(new RegExp("(\\[\\[|, *?)" + document.getElementById('top_info').getElementsByTagName('a')[0].innerHTML + "( *,| *\\]\\])",'i') ) || $("select[name='modopts_menu']").html() || document.getElementById('menu_acp') ) {x[i].style.display = '';}}}}ubb_tag("PM","pm","<span id='xbb_hid_pm_' style='display:none'><span style='display: none;'>[[<% VAR %>]]</span><span><% INNER %></span></span>",1,"Show message only to 1+ person||Enter message to show to member(s)||Enter member(s) seperated by commas if necessary",'f');
var rainbow_colors = new Array('Red','Orange','Yellow','Green','Blue','Indigo','Violet','Indigo','Blue','Green','Yellow','Orange');function xbbb_rainbow() {var x = document.getElementsByTagName('span');for(i=0;i<x.length;i++) {if(x[i].className == 'rainbow_text') {if(x[i].id==11) {x[i].style.color = 'red';x[i].id = "-1";}x[i].style.color = rainbow_colors[parseInt(x[i].id)+1];x[i].id = parseInt(x[i].id)+1;}}setTimeout("xbbb_rainbow()",100);}ubb_tag("Rainbow","rainbow","<span id='-1' class='rainbow_text'><% INNER %></span>",0,"Make text blink the colors of the rainbow",0,"<span id='-1' class='rainbow_text'>Rainbow</span>");xbbb_rainbow()
ubb_tag("Horizontal Line","hr","",-1,"Draws horizontal line",0,'HR');
</script>


oh and you have the code for
Code:
 
[s][/s]
? i can't seem to find it (I been lookig at codes for two days and I feel useless at programing everytimes I search for a new one jajajaja) thanks!!!!
Edited by Chessi, Nov 13 2009, 09:57 AM.
Offline Profile Quote Post Goto Top
 
ravenadik
Member
[ * ]
pls check the table code.. its not working now..
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Code & Modification Database · Next Topic »
Add Reply