PDA

View Full Version : New BBcode Packs Rainbow,search engine,yahoo status,warning,download,paypal ect


HaYLaZ
03-15-2006, 10:00 PM
Hello Friends ı will give you some BBcodes you can use them in your forum easly.

Rainbow text effect

Name:rainbow text effect

tag:rainbow

Replacement:<script language="JavaScript">
<!-- Hide the script from old browsers --
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(3,text.length-4);
// 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("<FONT COLOR='#"+color_h3+color_h1+color_h2+"'>"+
text.substring(i,j+1)+'</FONT>');
i = j;
}
}
// --End Hiding Here -->
</script>

<script language="JavaScript"><!--
{fadeout("-->{param}<!__");}
//--></script>

Example:your text

Description:What you want

Use Option:No

Button image:images/editor/rainbow.gif

using:your text

https://vborg.vbsupport.ru/external/2006/03/7.jpg


Search in search engines

Name:Search in search engines

Tag:search

Replacement:<b>Search {param} in search engines</b>:<br><br>
<a href='http://www.google.com/search?q={param}'>Search in Google</a><br><br>
<a href='http://search.yahoo.com/search?p={param}'>Search in Yahoo</a><br><Br>
<a href='http://search.msn.com/results.aspx?q={param}'>Search in MSN </a><br><Br>
<a href='http://search.aol.com/aolcom/search?query={param}'>Search in AOL</a><br><Br>
<a href='http://webk.ask.com/web?q={param}'>Search in Ask Jeeves </a><br><Br>
<a href='http://www.altavista.com/web/results?itag=ody&q={param}'>Search in Altavista</a><br>

Example:

Description:Searchs your keywords in search engines

Use Option:No

Button image:images/editor/search.gif

using:search word

https://vborg.vbsupport.ru/external/2006/03/8.jpg


Yahoo Online Status

Name:Yahoo Online Status

Tag:yahoo

Replacement:<a href="http://edit.yahoo.com/config/send_webmesg?.target={content}&.src=pg"><img border=0 src="http://opi.yahoo.com/online?u={content}&m=g&t={option}"></a>

Example:youryahooname

Description:Shows yahoo messenger status

Use Option:No

Button image:images/editor/yahoo.gif

using:your yahoo adress

https://vborg.vbsupport.ru/external/2006/03/9.jpg


Warning BBcode

Name:Warning BBcode

tag:warn

Replacement:<div class="ruleswrap">Warning from {option}:<center><b>{param}</b></center></div>

Example:This is a warning!

Description:makes warning to a user

Use option:Yes

Button image:images/editor/warn.gif

using:warning text

https://vborg.vbsupport.ru/external/2006/03/10.jpg


Download

name=Download

tag=download

replacement:<center><img src="images/document.gif"><b>{option}:</b> <a href="{param}">{param}<a/></b></center>

Example:your download link

description:File download BBcode

Use option:Yes

Button image:images/editor/download.gif

using:download link

you can change rar to what you want to download zip,media ect

note:upload document.gif in zip file to images folder

https://vborg.vbsupport.ru/external/2006/03/11.jpg


Paypal Account

name:Paypal Account

tag=paypal

Replacement:<a href='https://www.paypal.com/xclick/business={option}&no_note=1&tax=0&item_name={param}'><img src='https://www.paypal.com/en_US/i/btn/x-click-but21.gif' alt='{param}' border='0' /></a>

Example:Paypal Donation

Description:Makes paypal donation

Use option:yes

Button image:images/editor/paypal.gif

using:donation

https://vborg.vbsupport.ru/external/2007/03/27.jpg


Background Color

name:Background Color

tag:background

Replacement:<div style="width: 100%; background-color:{option}">{param}</div>

Example:your text

Description:Adds background color to your text

Use option:yes

Button image:images/editor/bgcolor.gif

using:text

you can change the color red,yellow etc

https://vborg.vbsupport.ru/external/2006/03/12.jpg


NOTE:upload all files in zip to images/editor folder


dont forget to click install :D

Synth
03-16-2006, 09:21 AM
Sweet I'm going to check this out right now:)!

projectego
03-16-2006, 11:37 AM
Niiiiice. I especially like the paypal bbcode... ;)

droit
03-16-2006, 11:54 AM
teşekkürler haylaz..

Holidazed
03-16-2006, 12:29 PM
Your instructions are pretty non-existant. You give code for various bbcodes, but I have no idea what to do with it. Particularly the "Search" and "Rainbow" bbcodes.

Where does the code go?

HaYLaZ
03-16-2006, 12:38 PM
the codes are not necessary optionally you can use them.

Holidazed
03-16-2006, 12:46 PM
the codes are not necessary optionally you can use them.
I have no idea what you are talking about? How does that answer my question?

Cyricx
03-16-2006, 01:02 PM
RAINBOW!!!

OMG my some of my users will want to marry you!

Snake
03-16-2006, 01:10 PM
Sweet I'm definitely going to install this. :)

Atakan KOC
03-16-2006, 02:00 PM
Thanks Haylaz. Very Nice.

Teşekkürler. Güzel. Özellikle Rainbow olan hoşuma gitti.

Corriewf
03-16-2006, 02:21 PM
For laughs and giggles I tried the rainbow one on my 3.0.x board and it wouldnt work.... OH THE SHAME! :(

Cyricx
03-16-2006, 04:06 PM
There is a rainbow hack that works for 3.0, just do a search for rainbow in those forums.

It required an edit into the functions.php file if I recall correctly, but worked GREAT!

Corriewf
03-16-2006, 04:58 PM
There is a rainbow hack that works for 3.0, just do a search for rainbow in those forums.

It required an edit into the functions.php file if I recall correctly, but worked GREAT!

Yeah figured a file edit was needed..... ;)

Cyricx
03-16-2006, 06:27 PM
Rainbow seems to have some script errors...

It totally fubars VBAdvanced when its used in the body of a post that shows up in the news section.

Also, it won't show up at all in the vbshout box.

When quick replying to a post with ajax, it doesn't show up either until you refresh, but that's not as big a deal as the other two :(

Totally love the code man :), hopefully we can figure out these bugs :)

Cyricx
03-16-2006, 06:32 PM
I tried changing this, thinking this was a typo but it didn't have any effect

changed

{fadeout("-->{param}<!__");}


to this

{fadeout("-->{param}<!--");}

Holidazed
03-17-2006, 01:25 AM
Your instructions are pretty non-existant. You give code for various bbcodes, but I have no idea what to do with it. Particularly the "Search" and "Rainbow" bbcodes.

Where does the code go?
Any answers to my question?

HaYLaZ
03-17-2006, 05:26 AM
what do you mean ı dont understand anything.Which instruduction that you dont understand?

Cyricx
03-17-2006, 06:21 PM
Bitg - Go to your Admincp -> Custom BBCodes -> Add New BBCode

then fill out the fields for each as Haylaz specifies above.

Haylaz - Any ideas why the rainbow code isn't showing up in the shoutboxes or on like the vbadvanced mainpages?

Antivirus
03-18-2006, 12:37 AM
nice job Haylaz!

Borgs8472
03-18-2006, 01:25 AM
Installed your rainbow tag. :)

[edit - uh, a post wouldn't parse with it in one time - better uninstall it ]

SpecOpsX
03-18-2006, 03:45 AM
Can anyone share a button they use for the rainbow text?

deta
03-18-2006, 05:27 AM
Hello!

Background Color not work...

I see no Color in the Forum..

HaYLaZ
03-18-2006, 05:55 AM
Bitg - Go to your Admincp -> Custom BBCodes -> Add New BBCode

then fill out the fields for each as Haylaz specifies above.


Haylaz - Any ideas why the rainbow code isn't showing up in the shoutboxes or on like the vbadvanced mainpages?

ı tested them only vbulletin 3.5.4 but not tested in chatbox and vbadvanced mainpage but ı will try to fix this in chatbox and mainpage:D

Can anyone share a button they use for the rainbow text?

there was a button in zip file but you can make your own

Hello!

Background Color not work...

I see no Color in the Forum..

tested in 3.5.4 and it works fine.I think you mada a mistake in somewhere please check again

deta
03-18-2006, 06:58 AM
tested in 3.5.4 and it works fine.I think you mada a mistake in somewhere please check again

oh, i tested also in 3.5.4 an is 100% install of you example..

cu Deta

Holidazed
03-18-2006, 03:39 PM
Bitg - Go to your Admincp -> Custom BBCodes -> Add New BBCode

then fill out the fields for each as Haylaz specifies above.
Thank you. I got that far. However, where do I put all the coding?

Jack Black
03-18-2006, 05:10 PM
Thank you. I got that far. However, where do I put all the coding?
At a guess....how about in the big empty box marked "Replacement"?

Tyegurl
03-19-2006, 11:10 PM
okay i didn't get the paypal to work....i think i am doing womething wrong lmao. all i get is Paypal Donation

no link no button what have i done wrong?

when i go to the bbc manager the buttons are there.

HaYLaZ
03-20-2006, 07:00 AM
you must use like below;

donation

you must write your paypal account name

Tyegurl
03-20-2006, 10:54 AM
yes okay did that.....still the same thing.

HaYLaZ
03-21-2006, 05:13 AM
they were tested in 3.5.4 and its ok.what is your forum version?

Tyegurl
03-21-2006, 08:29 AM
Your version of vBulletin (3.5.4) is up-to-date.
vBulletin v3.5.4, Copyright ©2000-2006, Jelsoft Enterprises Ltd.

ashley53680
03-21-2006, 07:59 PM
I couldn't get the rainbow to work? :( I put in everything as you have it. the button showed up, but when I made a post it just looked empty. In the example it worked okay. Any ideas what could've went wrong?

Thanks!

snowman872
03-21-2006, 09:52 PM
Rainbow text works for me fine in the regular editor. I may try some of the others later.

*clicks install*

ZombieAndy
03-23-2006, 02:37 PM
anyway to change the BG tag so it just covers the words inside the tag rather than a whole line?

edit - the rainbow tag seems abit picky about when it works aswell... uninstalling :(

Tyegurl
03-23-2006, 04:37 PM
okay well i got my paypal donations mod to work wonderfully but not this tag. guess it all works out anyways. as long as my members can donate if they feel the need. thanks anyways.

ragtek
04-26-2006, 06:14 AM
i have some errors with the rainbow tag
1. the austrian letters öäü werent changed to a öäü in the board they are ö .....

can somebody help?

Mr_Devlin
05-04-2006, 04:04 AM
How can I make some of this codes selectable for usergroups via acp?
I mean especially the warning tag for staff only (Mods/SMods/Admins and SpecialGroups). Is there any option to make it selectable via acp for each group (for example a radio button for enabling this code for a group)

Boofo
05-04-2006, 05:21 AM
@ HaYLaZ -Would you please post a text file containing the instructions in the first post? ;)

Gizmo5h1t3
05-04-2006, 03:52 PM
I couldn't get the rainbow to work? :( I put in everything as you have it. the button showed up, but when I made a post it just looked empty. In the example it worked okay. Any ideas what could've went wrong?

Thanks!


same here, installed the bb code ok, the button shows up, but it just displays an emtpy post.............

weird

EDIT @ just seems to work when it wants, and it DOESNT like AJAX

HaYLaZ
05-10-2006, 06:37 AM
instrudictions are saved in a text file at first meesage you can download
thanks

Smiry Kin's
05-11-2006, 01:59 AM
Little problem with back ground colour, is that it makes the whole line the colour, possible to tweek and make it just the text?

HaYLaZ
05-15-2006, 06:51 PM
only text bg colored

Neo_Angelo
06-22-2006, 03:32 PM
is there a way to make the rainbow AJAX compatible, it doesn't seem to like it. on mine instead of posting the message and it being displayed, it takes you to just a blank screen with you message in the rainbow colour, but thats it, you have to delete the url and re-type it again to get it to show up.

ragtek
12-24-2006, 01:45 PM
is there a way to make the rainbow AJAX compatible, it doesn't seem to like it. on mine instead of posting the message and it being displayed, it takes you to just a blank screen with you message in the rainbow colour, but thats it, you have to delete the url and re-type it again to get it to show up.

i'm having the same problem

rjmjr69
02-07-2007, 05:08 AM
Does this work with 3.6.4?

Tralala
08-07-2007, 03:14 PM
I love the rainbow effect, but it seems to break if there is a carriage return in the text to be rainbowed. Works fine on text that has no carriage return.

Is there anyway to fix it so it works, even if there is a carriage return?

greatballzofire
03-08-2008, 07:59 PM
The rainbow bbcode works fine on my vBulletin 3.6.8. I tried another code first from another mod Wabuf but it didn't work. I may have done something wrong, as I am a real newbie:o, but this code seems to work okay! Although it won't work with letters bigger than size 2, or anything but verdana... I can live with that, though.:up:

mystic10
07-15-2008, 06:56 AM
anyidea on how to make it work for 3.7 it shows the rainbow in admin panel but when i post it no show dont know whati am doing wrong

Arrogant-One
07-18-2008, 09:23 AM
anyidea on how to make it work for 3.7 it shows the rainbow in admin panel but when i post it no show dont know whati am doing wrong

I cannot get rainbow to work on my forum (3.6.7). Its just a dud unfortunately and no one is around to fix the script :(