PDA

View Full Version : New Posting Features - Wabuf BB Code Pack!


Wabuf
12 Sep 2006, 00:07
WaBuF BB Code Pack!!!
---Since V1.0---
Included BB codes:

Background colors
Strike through
Scrolling Marquee
Acronym

---New in V2.0---

Glow
Drop Shadow
Rainbow
Blur

Updated instructions to fix gif to GIF also!
Instructions in Zip

Don't forget to click install!

DEMO: http://www.wabuf.com/forums/misc.php?do=bbcode

thablewprnt
12 Sep 2006, 00:25
Is anyone else addicted to bbcodes? Thanks...I may come back for theses. ;)

beduino
12 Sep 2006, 05:11
Hello,
tks for share this bbcodes!
all the best
beduino

bchertov
12 Sep 2006, 05:13
A screen shot would be helpful!

Snake
12 Sep 2006, 08:11
Thankies!

Luggruff
12 Sep 2006, 09:37
can't really see what's so special about these, just basic tags =\

Borgs8472
12 Sep 2006, 10:19
^ ^
full selection of codes here :)
Borgs' BBcode Pack (http://www.vbulletin.org/forum/showthread.php?s=&threadid=103257)

Wabuf
12 Sep 2006, 12:08
A screen shot would be helpful!
http://www.wabuf.com/forums/misc.php?do=bbcode
I'll post screens later.

juan71287
12 Sep 2006, 15:06
thankx man.. Installed :)

y2krazy
12 Sep 2006, 16:14
Have you released Glow and Rainbow yet (from your BB Code page)? :)

Wabuf
13 Sep 2006, 12:16
Have you released Glow and Rainbow yet (from your BB Code page)? :)
not yet, but I will if you guys want it.

lasto
14 Sep 2006, 19:09
do these still work on vb3.5.4

Wabuf
15 Sep 2006, 02:40
do these still work on vb3.5.4
yes they do!

Nathan2006
20 Sep 2006, 21:16
Thanks Wabuf

Background colors is my fave :D

Install

Wabuf
22 Sep 2006, 14:25
Your welcome :)

iran.gs
23 Sep 2006, 23:17
Installed a reminder ur code saying gif but in the server showing GIF for those ppl can see the gif just rename them to gif from GIF :>

Wabuf
27 Sep 2006, 02:04
Installed a reminder ur code saying gif but in the server showing GIF for those ppl can see the gif just rename them to gif from GIF :>
sorry, forgot about that... thanks for pointing it out!

Wabuf
13 Mar 2007, 23:59
Added 4 new codes and fixed the instructions!

ninjamaster
14 Mar 2007, 08:28
thanks m8 :)

Repentless
14 Mar 2007, 17:33
These are horrible, most of them are basic and the rest are ones that only work on the bloated +++++ of Internet Explorer. What a waste of space.

Wabuf
14 Mar 2007, 20:22
These are horrible, most of them are basic and the rest are ones that only work on the bloated +++++ of Internet Explorer. What a waste of space.

I don't think they're a waste of space... BB Codes are addicting! Also, IE is more commonly found than Firefox I think.

And don't worry, I'm planning on getting some far advanced ones for V3.0 in the near future. It's just people need basic ones now. Later comes advanced ones (some are getting snatched up left and right, so it may take a while)

Repentless
14 Mar 2007, 23:29
It's not a matter of which is more commonly found. It's a matter of coding. If you write IE-proprietary code, you're shunning 25 to 75 percent of the users on your site, and it also means you're both writing pathetic, sloppy code and supporting Microsoft.

Fail.

Necrosaro420
19 Mar 2007, 00:48
What is all of this stuff below, and what/where do I do with it??? Thanks

These:

Title: Marquee
tag: Marquee
Replacement: <marquee>{param}</marquee>
Example: Scrolling text
Description: Makes text scroll from right to left
Use {option}: no
Button Image: /"your forum root"/images/marquee.GIF

Title: Strike Through
Tag: Strike
Replacement: <span style="text-decoration: line-through;">{param}</span>
Example: Text goes here
Description: Makes a line through text.
Use {option} no
Button Image: /"your forum root"/images/strike.GIF

Title: Background Color
Tag: Bgcolor
Replacement: <div style="width: 100%; background-color:{option}">{param}</div>
Example: text goes here
Description: Adds background color to your posts.
Use {option} yes
Button Image: /"your forum root"/images/bg.GIF

smoovie
19 Mar 2007, 01:22
Can anyone tell me where I would have to place the code from some of these to use them for UserGroup names? Like, I want to make Admons names show in rainbow text. Where would I place the code for that. Thank you.

thincom2000
19 Mar 2007, 03:57
Installed for the [rainbow] tag. I didn't think much of BB-codes at first, but recently I've been making plenty of bb-codes and replacement variables that are really helping out in my forum (most forum specific, sorry guys).

Like for example, I have a logo image that I use over and over again in posts, and it has gotten REALLY annoying to type out every time, and even worse to fix all the posts whenever we move to a different server or whatnot. So I now have a Replacement Variable {logo}.

Thanks for sharing!

harlita
19 Mar 2007, 07:18
It's not a matter of which is more commonly found. It's a matter of coding. If you write IE-proprietary code, you're shunning 25 to 75 percent of the users on your site, and it also means you're both writing pathetic, sloppy code and supporting Microsoft.

Fail.

Hey seriously, if you don't like the hack - you don't need to slam the creator of it for what he is/isn't doing.


Besides, you're making the rest of us anti-microsoft people look like jerks. So chill, yeah?


Wabuf - *installed* =)

marc2005
19 Mar 2007, 07:30
Thanks man, great work!

Wabuf
19 Mar 2007, 14:37
What is all of this stuff below, and what/where do I do with it??? Thanks

These:

Title: Marquee
tag: Marquee
Replacement: <marquee>{param}</marquee>
Example: Scrolling text
Description: Makes text scroll from right to left
Use {option}: no
Button Image: /"your forum root"/images/marquee.GIF

Title: Strike Through
Tag: Strike
Replacement: <span style="text-decoration: line-through;">{param}</span>
Example: Text goes here
Description: Makes a line through text.
Use {option} no
Button Image: /"your forum root"/images/strike.GIF

Title: Background Color
Tag: Bgcolor
Replacement: <div style="width: 100%; background-color:{option}">{param}</div>
Example: text goes here
Description: Adds background color to your posts.
Use {option} yes
Button Image: /"your forum root"/images/bg.GIF

you go into your admin control panel, click on "custom BB codes" and add custom BB Code.
You would then fill in the fields as they are listed (i.e. where it says "Tag" you would put what I put after the colon)

as for the admin name being rainbowed colored, I don't know that javascript would work in username HTML markup.

thincom2000
19 Mar 2007, 16:53
as for the admin name being rainbowed colored, I don't know that javascript would work in username HTML markup.

It required a little tweaking, but I got it to work: http://www.crackedeggstudios.com/showpost.php?p=1556&postcount=2

Create a file in your clientscript folder called rainbow.js (would also make the BB-code replacement text simpler):

function MakeArray(n){
this.length=n;
for(var i=1; i<=n; i++) this[i]=i-1;
return this
}

hex=new MakeArray(16);
hex[11]="A"; hex[12]="B"; hex[13]="C"; hex[14]="D";
hex[15]="E"; hex[16]="F";

function ToHex(x){ // Changes a int to hex (in the range 0 to 255)
var high=x/16;
var s=high+""; //1
s=s.substring(0,2); //2 the combination of these = trunc funct.
high=parseInt(s,10); //3
var left=hex[high+1]; // left part of the hex-value
var low=x-high*16; // calculate the rest of the values
s=low+""; //1
s=s.substring(0,2); //2 the combination of these = trunc funct.
low=parseInt(s,10); //3
var right=hex[low+1]; // right part of the hex-value
var string=left+""+right; // add the high and low together
return string;
}

function fadeout(text){
text=text.substring(4,text.length);
// gets rid of the HTML-comment-tags
color_d1=255; // any value in 'begin' 0 to 255
mul=color_d1/text.length;
var j=1;
for(i=0;i<text.length;i++){
color_d1=255*Math.sin(i/(text.length/3));
// some other things you can try>>
// "=255-mul*i" to fade out, "=mul*i" to fade in,
// or try "255*Math.sin(i/(text.length/3))"
color_h1=ToHex(color_d1);
color_d2=mul*i;
color_h2=ToHex(color_d2);
color_d3=mul*(text.length-i);
color_h3=ToHex(color_d3);

j = i;

if (text.substring(i,i+1) == '&')
{
for (j = i+1; j < text.length; j++)
{
if (text.substring(j,j+1) == ';') { break; }
}
if (j == text.length) { j = i; }
}

if (text.substring(i,i+1) == '<')
{
for (j = i+1; j < text.length; j++)
{
if (text.substring(j,j+1) == '>') { break; }
}
if (j == text.length) { j = i; }
}

document.write('<span style="color:#'+color_h3+color_h1+color_h2+'">'+
text.substring(i,j+1)+'</span>');
i = j;
}
}

Add the following to your headinclude template:
<script type="text/javascript" src="$vboptions[bburl]/clientscript/rainbow.js"></script>

Then for your Usergroup Markup -
Opening tag:
<script type="text/javascript">fadeout("//-->
Closing tag:
");</script>

Note that the javascript code is NOT surrounded by HTML comment tags. While not W3C, if you add the comment tags, the usernames of this group will seem to disappear.

MDK-Indy
19 Mar 2007, 19:43
Salü,

wie geht das mit dem Marquee right Code?

Gruß Indy

Wabuf
20 Mar 2007, 18:16
Find:
<marquee></marquee>

replace with:

<marquee direction="right"></marquee>

putergirl
01 Apr 2007, 04:11
Thank you! I have four of them are working in Firefox. Is there any way to get them to work in the shoutbox too?

putergirl
03 Apr 2007, 01:51
anyone know how to do that? :)

Wabuf
05 Apr 2007, 20:20
anyone know how to do that? :)

you have to have BB Codes enables in order for them to work.

itorrents
06 Apr 2007, 02:39
Kewl, thanks m8 :)

putergirl
15 Apr 2007, 04:43
you have to have BB Codes enables in order for them to work.

It is enabled, just double checked to be sure. Other smilies work in there, just not these codes. Any other ideas?

11Uriel11
24 May 2009, 16:23
Got this to see what I was doing wrong with my coding. I'm quite upset because we have the same coding. The rainbow coding doesn't work on big posts.

imbonez9
05 Mar 2010, 20:23
Found this through google. Move bg.gif to images/editor instead of just images/ and then make the path for the image the same and the bgcolor bbcode will work with 4.0.x .. did not test others.