vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   New BBcode Packs Rainbow,search engine,yahoo status,warning,download,paypal ect (https://vborg.vbsupport.ru/showthread.php?t=110529)

HaYLaZ 03-15-2006 10:00 PM

New BBcode Packs Rainbow,search engine,yahoo status,warning,download,paypal ect
 
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]

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


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]

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


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]

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


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]

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


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

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


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]

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


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

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

Quote:

Originally Posted by HaYLaZ
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.


All times are GMT. The time now is 10:25 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.02221 seconds
  • Memory Usage 1,760KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete