Those numbers are the
bbcode_uidIt's used to control that your bbcode has been parsed.
if you open the file
include/bbcode.php and look a bit closer at it, you'll see that when the text and the bbcode tags are parsed, a var called
$uid is added systematicaly to the bbcode tag , like this] //
and for bolding text. $text = preg_replace("#
(.*?)#si", "
\1", $text);[/php]
This is the function that generate this number randomly:
- Code: Select all
function make_bbcode_uid(){ // Unique ID for this message.. $uid = dss_rand(); $uid = substr($uid, 0, BBCODE_UID_LEN); return $uid;} function dss_rand(){ $rand = mt_rand (1,9999999999); $rand = md5($rand); return substr($rand, 16);}
If you want to learn more, you'll find usefull information there:
http://www.phpbb.com/community/viewtopi ... &sk=t&sd=a