Jump to content
MakeWebGames

user bars?


jaymo

Recommended Posts

Im not sure how to go about this, I go into the bbcode and want to add another one for the tags maybe like this

$text = preg_replace("/\[user\](.+?)\[\/user\]/", userBar("$1"), $text);

I have a function that created a userbar based on the id of the user they specify in the classes but I don't know how to get what they typed in between the tags and input it into a function?? Am I making any sense? Or could someone guide me on how to can use userbars in my game. Thanks very much.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...