Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
New BBcode Packs Rainbow,search engine,yahoo status,warning,download,paypal ect Details »»
New BBcode Packs Rainbow,search engine,yahoo status,warning,download,paypal ect
Version: 1.00, by HaYLaZ HaYLaZ is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-15-2006 Last Update: Never Installs: 52
 
No support by the author.

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:
Code:
<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:[rainbow]your text[/rainbow]

Description:What you want

Use Option:No

Button image:images/editor/rainbow.gif

using:[RAINBOW]your text[/RAINBOW]




Search in search engines

Name:Search in search engines

Tag:search

Replacement:
Code:
<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:[search=][/search]

Description:Searchs your keywords in search engines

Use Option:No

Button image:images/editor/search.gif

using:[SEARCH]search word[/SEARCH]




Yahoo Online Status

Name:Yahoo Online Status

Tag:yahoo

Replacement:
Code:
<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:[yahoo]youryahooname[/yahoo]

Description:Shows yahoo messenger status

Use Option:No

Button image:images/editor/yahoo.gif

using:[YAHOO]your yahoo adress[/YAHOO]




Warning BBcode

Name:Warning BBcode

tag:warn

Replacement:
Code:
<div class="ruleswrap">Warning from {option}:<center><b>{param}</b></center></div>
Example:[warn=username]This is a warning![/warn]

Description:makes warning to a user

Use option:Yes

Button image:images/editor/warn.gif

using:[WARN="username"]warning text[/WARN]




Download

name=Download

tag=download

replacement:
Code:
<center><img src="images/document.gif"><b>{option}:</b>  <a href="{param}">{param}<a/></b></center>
Example:[download=option]your download link[/download]

description:File download BBcode

Use option:Yes

Button image:images/editor/download.gif

using:[DOWNLOAD="rar"]download link[/DOWNLOAD]

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

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




Paypal Account

name:Paypal Account

tag=paypal

Replacement:
Code:
<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=paypal@youradress.com]Paypal Donation[/paypal]

Description:Makes paypal donation

Use option:yes

Button image:images/editor/paypal.gif

using:[PAYPAL="paypal account name"]donation[/PAYPAL]




Background Color

name:Background Color

tag:background

Replacement:
Code:
<div style="width: 100%; background-color:{option}">{param}</div>
Example:[background=red]your text[/background]

Description:Adds background color to your text

Use option:yes

Button image:images/editor/bgcolor.gif

using:[BACKGROUND="red"]text[/BACKGROUND]

you can change the color red,yellow etc




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


dont forget to click install

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 03-18-2006, 03:45 AM
SpecOpsX SpecOpsX is offline
 
Join Date: Dec 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone share a button they use for the rainbow text?
Reply With Quote
  #23  
Old 03-18-2006, 05:27 AM
deta deta is offline
 
Join Date: Dec 2004
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello!

Background Color not work...

I see no Color in the Forum..
Reply With Quote
  #24  
Old 03-18-2006, 05:55 AM
HaYLaZ's Avatar
HaYLaZ HaYLaZ is offline
 
Join Date: Apr 2005
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyricx
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

Quote:
Originally Posted by SpecOpsX
Can anyone share a button they use for the rainbow text?
there was a button in zip file but you can make your own

Quote:
Originally Posted by deta
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
Reply With Quote
  #25  
Old 03-18-2006, 06:58 AM
deta deta is offline
 
Join Date: Dec 2004
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HaYLaZ
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
Reply With Quote
  #26  
Old 03-18-2006, 03:39 PM
Holidazed's Avatar
Holidazed Holidazed is offline
 
Join Date: May 2002
Location: Van Nuys, CA
Posts: 713
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Cyricx
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?
Reply With Quote
  #27  
Old 03-18-2006, 05:10 PM
Jack Black Jack Black is offline
 
Join Date: Feb 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bitg
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"?
Reply With Quote
  #28  
Old 03-19-2006, 11:10 PM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay i didn't get the paypal to work....i think i am doing womething wrong lmao. all i get is [paypal=username@email.com]Paypal Donation[/paypal]

no link no button what have i done wrong?

when i go to the bbc manager the buttons are there.
Reply With Quote
  #29  
Old 03-20-2006, 07:00 AM
HaYLaZ's Avatar
HaYLaZ HaYLaZ is offline
 
Join Date: Apr 2005
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you must use like below;

Code:
[PAYPAL="paypal account name"]donation[/PAYPAL]
you must write your paypal account name
Reply With Quote
  #30  
Old 03-20-2006, 10:54 AM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes okay did that.....still the same thing.
Reply With Quote
  #31  
Old 03-21-2006, 05:13 AM
HaYLaZ's Avatar
HaYLaZ HaYLaZ is offline
 
Join Date: Apr 2005
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

they were tested in 3.5.4 and its ok.what is your forum version?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:01 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05197 seconds
  • Memory Usage 2,323KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete