JimL
09-15-2011, 06:30 PM
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<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>
I tried changing it to this just to check that it still works<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>
This gave me the user connected miniatures.
Where in the code is the show facebookuser variable set?
This user IS connected:
https://vborg.vbsupport.ru/attachment.php?attachmentid=133013&stc=1&d=1316123023
It seems like show facebookuser isn't true even though the user IS connected.
I have this code in facebook header<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>
I tried changing it to this just to check that it still works<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>
This gave me the user connected miniatures.
Where in the code is the show facebookuser variable set?
This user IS connected:
https://vborg.vbsupport.ru/attachment.php?attachmentid=133013&stc=1&d=1316123023