View Full Version : How can I call the "fbuserid" variable in from the table "user"?
Duncan
10-30-2010, 09:47 PM
I want to use the fbuserid in a template. How can I call upon this?
Lynne
10-30-2010, 11:07 PM
Use who's fbuserid and in what template?
Duncan
10-30-2010, 11:19 PM
The template is called vsa_chatbox_bit and it's from this modification:
https://vborg.vbsupport.ru/showthread.php?t=201283&highlight=Chatbox
The vsa_chatbox_bit contains this:
<a href="member.php?{vb:raw session.sessionurl}u={vb:raw vsacb_msg_box.userid}">{vb:raw vsacb_msg_box.musername}</a>
I want to change to display this:
<a href="http://facebook.com/{vb:raw fbuserid}">{vb:raw vsacb_msg_box.musername}</a>
It would need to display the user fbuserid of the name of the person who posted the message, the name being contained in {vb:raw vsacb_msg_box.musername}.
Basically, right now it is setup to display the profile of the person who posted a shout. But I want it to display the facebook page of the person who posted she shout.
Lynne
10-31-2010, 02:53 AM
I have no idea if that variable is available there. You'd have to ask the developer in the modification thread or look through the code yourself and see if it's available, and if not, add it to the query. But, since this is regarding a modification, the place to ask about this is in the modification thread.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.