The Arcive of vBulletin Modifications Site. |
|
BB Code Functions Details »»
|
|||||||||||||||||||||||||
![]() 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. ![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
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:
|
|
#3
|
||||
|
||||
|
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.
|
|
#4
|
||||
|
||||
|
Sorry to sound so deft here, but what does this actually do and how would we use it?
|
|
#5
|
|||
|
|||
|
Quote:
ditto LOL im confused as well |
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
This is amazing, but some of them are too hardcored, may be I will use some of them.
See Ya |
|
#8
|
||||
|
||||
|
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. |
|
#9
|
||||
|
||||
|
This looks great - could be used to resize an image right? And all sorts ....
Btw love that image at the top
|
|
#10
|
||||
|
||||
|
Quote:
|
![]() |
|
|