The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trouble with $show['facebookuser']
I suddenly only get the "Connect" button on my page header, yesterday everything was working as expected. Ie: user who has connected gets facebook icon over facebook avatar miniature.
It seems like show facebookuser isn't true even though the user IS connected. I have this code in facebook header Code:
<li id="fb_headerbox" style="height:0px"> <vb:if condition="$show['facebookuser']"> <a id="fb_link" href="{vb:raw profileurl}"> <img id="fb_squarepic" width="16" height="16" alt="{vb:rawphrase facebook_connect}" src="{vb:raw squarepicurl}" /> <img id="fb_icon" width="14" height="14" alt="{vb:rawphrase facebook_connect}" src="{vb:stylevar imgdir_misc}/facebook.gif" /> </a> <vb:else /> <a id="fb_loginbtn" href="#"><img src="{vb:stylevar imgdir_misc}/facebook_login.gif" alt="{vb:rawphrase facebook_connect}" /></a> </vb:if> </li> Code:
<li id="fb_headerbox" style="height:0px"> <a id="fb_link" href="{vb:raw profileurl}"> <img id="fb_squarepic" width="16" height="16" alt="{vb:rawphrase facebook_connect}" src="{vb:raw squarepicurl}" /> <img id="fb_icon" width="14" height="14" alt="{vb:rawphrase facebook_connect}" src="{vb:stylevar imgdir_misc}/facebook.gif" /> </a> </li> Where in the code is the show facebookuser variable set? This user IS connected: |
#2
|
||||
|
||||
Doing a search on "facebookuser" in the vb files gives me the php files class_bootstrap.php and functions_facebook.php
|
#3
|
|||
|
|||
Hm, they are both there and functions_facebook includes code for checking if user is or isn't facebook connected.
damn, I have no idea why it doesn't seem to work. Checked two different users with ie/firefox/chrome --------------- Added [DATE]1316172286[/DATE] at [TIME]1316172286[/TIME] --------------- Fixed Code:
<vb:if condition="$vboptions['enablefacebookconnect']"> {vb:raw facebook_footer} </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|