2013-04-09, 07:34 PM
I'm working on a userscript and trying to grab the user's UID.
I currently have this, but no luck.
Is it possible?
Thanks,
Hydra
I currently have this, but no luck.
var uid = "<?php echo {$mybb->user['uid']} ?>";
elmTextarea.value = elmTextarea.value.replace(re,"[url=http://www.WEBSITE.com/private.php?action=send&uid=" + uid + "][color=green][b]PM ME[/b][/color][/url]");
Is it possible?
Thanks,
Hydra