If anyone know new bbcode like user shouted Hi@$uid $uid means user get his id name there. So we can say to all user by one shout. Then post here.
New bbcode for lava
Started on the old forum in July 2011 · view the original in the archive · old links redirect here
$nick = getnick_sid($sid);
$text = str_replace("/reader",$nick, $text); //////////////////////////// put this code in ur core bbc function
$text = preg_replace("/\[user\=(.*?)\]/is","<a href=\"index.php?action=viewuser&who=".getuid_nick($1)."\">$1 </a>",$text);
//Usage: [user=Something Else]
Added after 9 minutes:
Might need to add $sid to it 😛
something else @ tnx bro but i asked like reader get his nick but now i got by wapcult
$nick = getnick_sid($sid);
$uid = getuid_sid($sid);
$text = str_replace("/reader",$nick, $text);
$text = str_replace("/profile","<a href=\"index.php?action=viewuser&sid=$sid&who=".$uid."\">$nick </a>",$text);
if use /reader then use will c only user name and if .use /profile then the user will c there nick with a link to go to there profile 😉
skils are gained by practis http://myguruworld.com/