View Full Version : [HELP] Parse $bbuserinfo['userid'] BBcode
Daniel
04-06-2011, 12:58 AM
I'm looking for a way to parse $bbuserinfo['userid'] as a BBcode.
Simply, I want the user viewing my page to see their user ID number.
Frosty
04-06-2011, 01:36 AM
Damn.. I'm confused, where do you want it displayed, and how?
Daniel
04-06-2011, 02:20 AM
If possible, I'd like to have it as a bbcode - [userid]. Otherwise, I have the vB forms (https://vborg.vbsupport.ru/showthread.php?t=234385) mod installed. It's got the following hooks:
easy_forms_post_after_actions
easy_forms_post_before_actions
easy_forms_post_form_start
easy_forms_post_question_end
easy_forms_post_question_start
easy_forms_view_form_start
easy_forms_view_question_end
easy_forms_view_question_start
easy_forms_view_form_startThis is the closest thing I've found so far in an attempt to accomplish this:
@eval('$post[signature] = "' . addslashes($post['signature']) . '";');
$post['signature'] = stripslashes($post['signature']);
Isn't this basically the same as this mod: https://vborg.vbsupport.ru/showthread.php?t=254373 ? You could probably change it to show id number instead of name.
Daniel
04-10-2011, 07:03 AM
Good call, thanks
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.