![]() |
BB Code Functions
http://www.animesystem.com/temp/bbcf1.0.jpg
As requested by mudpyr8: https://vborg.vbsupport.ru/showthread.php?t=62933 Features
Known bugs
Notes
Screenshots See attachments. Enjoy. Remember to click install if you do use this hack. ;) |
Have a custom function that is useful?
Just send me a link to a file with the function, or PM me the working code, and I'll display it in this post. 1. Evaluate mathematical expression Here is a useful function that will take a mathematical expression and return the answer for it. Valid operators include plus + minus - multiply * divide / modulus % carrot/power ^ and parentheses (). When used in BB Code, have one argument and it should function like so: [math]5*6%3+((45/5)/4)[/math] 5*6%3 = 0 (45/5)/4 = 2.25 = 2.25 Here is the function: PHP Code:
|
Sorry to sound so deft here, but what does this actually do and how would we use it?
Also, I have to know. How did you do that with that screenshot at the top of the post? That is wild. ;) |
Sorry to sound so deft here, but what does this actually do and how would we use it?
|
Quote:
ditto LOL im confused as well |
Quote:
|
This is amazing, but some of them are too hardcored, may be I will use some of them.
See Ya |
I thought the attached screenshots would be enough of an explanation.
This hack allows you to give bb code PHP functions (internal or custom). For example, if I assigned the PHP function rand() to a tag called [rand], it would generate a random value. [rand="0"]100[/rand] Would generate a random value from 0 - 100. |
This looks great - could be used to resize an image right? And all sorts ....
Btw love that image at the top ;) |
Quote:
|
All times are GMT. The time now is 07:21 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|