vBulletin Mods

The Official vBulletin Modifications Site

Shuffle Text BB Code (Randomizes text) (BBCode)
by BirdOPrey5
08 Aug 2010 18:44

This BB Code uses Javascript to shuffle the alpha-numeric and some special characters in a block of text. This can be used to create 'puzzles' for your members or perhaps provide answers to questions that aren't immediately apparent should someone accidentally glance at them. The use is of course up to you.

I found this Javascrpt already created on the web and have left the copyright info in tact. I made minor changes to adapt it to a BB Code.

Demo: here.

Add a new BBCode

Title: Random (Shuffle) Text
BB Code Tag Name: ran

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Example: [ran]This is a random test[/ran].
Description: This code shuffles text. Do not use the following characters: " {}[]<>&
Use Option: No
Button Image: (optional) http://www.vbulletin.org/forum/attac...1&d=1281292939
Remove Tag If Empty: Yes
All Disable Options: Yes

The following special characters do not work: " {}[]<>& (There may be others)
The following special characters do work: .,!?$()

Please mark as installed if you use this. :)
View My Profile for more BB Code Enhancements- they work on all versions.

[b][ran]A bold example[/ran].[/b] =
ex adlmopbl eA.

BirdOPrey5 08 Aug 2010 18:51

Note- this will randomize the letters each time you load the page... If you want to keep the same persistent order each time the page is loaded change the line in the replacement code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace Math.random() with a number between zero and 1, DO NOT MAKE IT = 1!!!

An example is:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Dr.osamA 10 Aug 2010 03:36


installed + 5 stars

keep it up man !

ProFifaLeagues 18 Aug 2010 18:53

Gonna give this a try out for a little fun in the threads!
Great work thanks

Ahmet Turan 18 Aug 2010 21:12

your site have a trojen

BirdOPrey5 18 Aug 2010 21:24


Originally Posted by pramid (Post 2085965)
your site have a trojen

If you mean my demo site it definitely does not have a trojan... another BB Code on that page activates your adobe PDF reader to embed a PDF file, you may have a virus connected to that. What type of message/error are you getting?

Da-Vinci 23 Aug 2010 14:58

I declined the Adobe pop up thing as I'm using a brand new Lap Top and have not yet used Adobe reader and couldn't be bothered to go through accepting the licenses ect, and I got locked out of Firefox untill I restarted.

This is litterally been switched on in the past half hour.

BirdOPrey5 23 Aug 2010 15:20

I don't know what to tell you, my site is clean... new laptops sometimes have really bad anti-viruses pre-installed- they're always the first thing I change.

Da-Vinci 26 Aug 2010 19:26

Yeah mine did have a really bad av installed lol, it's been swapped now.

I don't think your site is infected, it was just a pain that the Acrobat reader crahsed my laptop when it tried to run the first use process or whatever it was trying to do, it was only because I declined to accept the TOS of Adobe, but I couldn't get my head round why it crashed Firefox as a result.

All times are GMT. The time now is 10:55.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.