vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   New Posting Features - Wabuf BB Code Pack! (https://vborg.vbsupport.ru/showthread.php?t=126381)

Wabuf 09-11-2006 10:00 PM

Wabuf BB Code Pack!
 
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 09-11-2006 11:25 PM

Is anyone else addicted to bbcodes? Thanks...I may come back for theses. ;)

beduino 09-12-2006 04:11 AM

Hello,
tks for share this bbcodes!
all the best
beduino

bchertov 09-12-2006 04:13 AM

A screen shot would be helpful!

Snake 09-12-2006 07:11 AM

Thankies!

Luggruff 09-12-2006 08:37 AM

can't really see what's so special about these, just basic tags =\

Borgs8472 09-12-2006 09:19 AM

^ ^
full selection of codes here :)
Borgs' BBcode Pack

Wabuf 09-12-2006 11:08 AM

Quote:

Originally Posted by bchertov
A screen shot would be helpful!

http://www.wabuf.com/forums/misc.php?do=bbcode
I'll post screens later.

juan71287 09-12-2006 02:06 PM

thankx man.. Installed :)

y2krazy 09-12-2006 03:14 PM

Have you released Glow and Rainbow yet (from your BB Code page)? :)

Wabuf 09-13-2006 11:16 AM

Quote:

Originally Posted by y2krazy
Have you released Glow and Rainbow yet (from your BB Code page)? :)

not yet, but I will if you guys want it.

lasto 09-14-2006 06:09 PM

do these still work on vb3.5.4

Wabuf 09-15-2006 01:40 AM

Quote:

Originally Posted by lasto
do these still work on vb3.5.4

yes they do!

Nathan2006 09-20-2006 08:16 PM

Thanks Wabuf

Background colors is my fave :D

Install

Wabuf 09-22-2006 01:25 PM

Your welcome :)

iran.gs 09-23-2006 10:17 PM

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 09-27-2006 01:04 AM

Quote:

Originally Posted by iran.gs
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 03-13-2007 10:59 PM

Added 4 new codes and fixed the instructions!

ninjamaster 03-14-2007 07:28 AM

thanks m8 :)

Repentless 03-14-2007 04:33 PM

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 03-14-2007 07:22 PM

Quote:

Originally Posted by Repentless (Post 1203417)
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 03-14-2007 10:29 PM

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 03-18-2007 11:48 PM

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: [Marquee]Scrolling text[/Marquee]
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: [Strike]Text goes here[/Strike]
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: [Bgcolor=red]text goes here[/Bgcolor]
Description: Adds background color to your posts.
Use {option} yes
Button Image: /"your forum root"/images/bg.GIF

smoovie 03-19-2007 12:22 AM

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 03-19-2007 02:57 AM

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 03-19-2007 06:18 AM

Quote:

Originally Posted by Repentless (Post 1203670)
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 03-19-2007 06:30 AM

Thanks man, great work!

Wabuf 03-19-2007 01:37 PM

Quote:

Originally Posted by Necrosaro420 (Post 1206924)
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: [Marquee]Scrolling text[/Marquee]
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: [Strike]Text goes here[/Strike]
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: [Bgcolor=red]text goes here[/Bgcolor]
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 03-19-2007 03:53 PM

Quote:

Originally Posted by Wabuf (Post 1207310)
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/sho...56&postcount=2

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

Code:

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:
HTML Code:

<script type="text/javascript" src="$vboptions[bburl]/clientscript/rainbow.js"></script>
Then for your Usergroup Markup -
Opening tag:
HTML Code:

<script type="text/javascript">fadeout("//-->
Closing tag:
HTML Code:

");</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 03-19-2007 06:43 PM

Salü,

wie geht das mit dem Marquee right Code?

Gruß Indy

Wabuf 03-20-2007 05:16 PM

Find:
Code:

<marquee></marquee>
replace with:

Code:

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

putergirl 04-01-2007 03:11 AM

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 04-03-2007 12:51 AM

anyone know how to do that? :)

Wabuf 04-05-2007 07:20 PM

Quote:

Originally Posted by putergirl (Post 1218746)
anyone know how to do that? :)

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

itorrents 04-06-2007 01:39 AM

Kewl, thanks m8 :)

putergirl 04-15-2007 03:43 AM

Quote:

Originally Posted by Wabuf (Post 1220578)
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 05-24-2009 03:23 PM

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 03-05-2010 07:23 PM

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.


All times are GMT. The time now is 07:08 PM.

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.01296 seconds
  • Memory Usage 1,821KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (38)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete