Vbulletin avatars in the login module?

Support specific to the vBulletin plugin.

Moderator: Alan

Forum rules
Please post all the bugs you encounter on our issue tracker.

Vbulletin avatars in the login module?

Postby soap_box on Mon Jul 25, 2011 8:22 pm

1. Have you searched the forums and checked the documentation section for a solution?
Yep

2. Please summarize your problem in a few lines.
I am trying to display vbulletin avatar in the jfusion login module's welcome message, but I just get the noavatar image.

3. What steps will reproduce the problem?
I copied over my forum to the subdomain I'm working on for a new joomla site. I have Joomla as the master and vB 3.8.1 as the slave. I'm using the most recent version of JFusion. Screenshot of the module settings is attached.

4. What is the expected output? What do you see instead?
I would like to see the user's avatar from vBulletin. It also doesn't show the number of Private Messages or anything like that, even though it's ticked on the module. All I see is the noavatar image (/components/com_jfusion/images/noavatar.png) and the log out button.

5. You must include a printout of the login checker in the JFusion component.

Code: Select all
Server Configuration
Joomla Version    1.5.11
PHP Version    5.2.17
MySQL Version    5.0.90
System Information    Linux de007420.idaq.com 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:32:21 EST 2010 x86_64
Browser Information    Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
ldap authentication Plugin    Enabled
gmail authentication Plugin    Enabled
jcomments user Plugin    Enabled
jfusion user Plugin    Enabled
jfusion authentication Plugin    Enabled

JFusion Versions
JFusion Component Version    1.5.5-000 (Rev 2442:2452)
JFusion Authentication Plugin Version    1.5.5-000
JFusion User Plugin Version    1.5.5-000
JFusion Activity Module Version    1.5.5-000
JFusion Login Module Version    1.5.5-000
JFusion Search Plugin Version    1.5.5-000
JFusion Discussion Plugin Version    1.5.5-000

JFusion joomla_int Plugin
configuration    master 1
slave 0
dual_login 1
check_encryption 1
JFusion vbulletin Plugin
configuration    master 0
slave 1
dual_login 1
check_encryption 1


Authentication Plugin
userid    155
activation    ""
username    (my-username)
name    Chris
password    4c0258********
email    (my-email)
block    0
group_name    Super Administrator
group_id    25
params    admin_language= language= editor= helpsite= timezone=0
password_salt    EojM*****
language    en-GB
credentialed_username    (my-username)
password_clear    ******
   Authentication Plugin Success
Authentication Plugin Debug
0    joomla_int Password Encryption Check: 4c0258******** vs 4c0258********
1    joomla_int Password Encryption Check: Success


jfusion User Plugin
   User Plugin Success
User Plugin Debug
init    0 Using userinfo JFusion authentication plugin
joomlaid    155
vbulletin User Update    0 A user has been found that matches the login details
1 Skipped Password Update:Password already valid
2 Language of the user not updated
vbulletin User Details    userid 17
username (my-username)
email (my-email)
group_id 6
membergroupids ""
displaygroupid 6
password a72898********
password_salt 'u)*****
usertitle Administrator
customtitle 1
posts 12000
name (my-username)
group_name Administrators
block 0
activation ""
password_clear ******
vbulletin Session    
0    Skipped login as a session is already active.
Cookies    
0    Name bbuserid
Value 17
Expires 2011-07-26 01:17:15
Cookie Path /
Cookie Domain .(the-domain).com
1    Name bbpassword
Value 5a3a6f********,
Expires 2011-07-26 01:17:15
Cookie Path /
Cookie Domain .(the-domain).com
2    Name bbsessionhash
Value 72d3704475081f9bf86a78baea0c405e
Expires 2011-07-26 01:17:15
Cookie Path /
Cookie Domain .(the-domain).com


I am very new to JFusion and struggling to grasp whether I have even set this up correctly, or if this is even supposed to be possible. I have followed the documentation and there were similar threads to be found, but I tried various solutions from them to no avail.

You've made an amazing component by the way, but a difficult one for rookies like me to wrap their head around at first!
Attachments
avatarsettings.JPG
(23.61 KiB) Not downloaded yet
User avatar
soap_box
JFusion Newbie
JFusion Newbie
 
Posts: 5
Joined: Mon Jul 25, 2011 8:01 pm

Re: Vbulletin avatars in the login module?

Postby fanno on Mon Jul 25, 2011 8:38 pm

well we display the /components/com_jfusion/images/noavatar.png when no avatar is founed.

i have not lately looked how vb get avatars.

you can try and look here http://code.google.com/p/jfusion/source ... um.php#423 i would first try to add some debugging to see if we are indeed calling this function, and then pehaps see if there is something incorrect returned.

-Thanks
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Vbulletin avatars in the login module?

Postby soap_box on Mon Jul 25, 2011 8:51 pm

Thanks for a fast response :)

Interestingly, I can print the avatar revision, which is not default, but not the ID or path. Unfortunately I am a complete novice with mysql

Code: Select all
stdClass Object
(
    [avatarid] => 0
    [avatarrevision] => 44
    [avatarpath] =>
    [usecustom] => 1
    [dateline] => 1308694313
)
User avatar
soap_box
JFusion Newbie
JFusion Newbie
 
Posts: 5
Joined: Mon Jul 25, 2011 8:01 pm

Re: Vbulletin avatars in the login module?

Postby fanno on Mon Jul 25, 2011 9:04 pm

what is the url that come out in the end ?
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Vbulletin avatars in the login module?

Postby fanno on Mon Jul 25, 2011 9:17 pm

I almost forgot, what is Itemid set to ? in the module ?
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Vbulletin avatars in the login module?

Postby soap_box on Tue Jul 26, 2011 8:13 am

I made a JFusion menu item (vbulletin plugin using wrapper not frameless) and set the module Itemid to match that. I must admit that was a little guesswork.

I also just tried setting the Itemid to point directly to the vbulletin plugin.
User avatar
soap_box
JFusion Newbie
JFusion Newbie
 
Posts: 5
Joined: Mon Jul 25, 2011 8:01 pm

Re: Vbulletin avatars in the login module?

Postby fanno on Tue Jul 26, 2011 1:52 pm

you still have not toled me what the output url is.. =)
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Vbulletin avatars in the login module?

Postby soap_box on Tue Jul 26, 2011 3:21 pm

Well, something of a development!

I didn't want to share publicly the in-progress site, so I went into Joomla and I stripped back all the modules and templates except for the JFusion login module. And now the module, all on its own, works!

So I'm guessing somewhere there is a conflict with my other modules. I will turn them back on one at a time and see what is happening.

Edit: I must apologise :) it seems your module is working perfectly well, I had a conflict with a custom module which displayed the latest forum posts, and some code was broken in that module which was positioned just before the mod_jfusion.

Feel free to remove this thread, as I imagine it will only confuse others :)

Thanks for your help, though! Expect a 5 star review for this component, definitely one of the best I have worked with (and I have worked with a lot!)
User avatar
soap_box
JFusion Newbie
JFusion Newbie
 
Posts: 5
Joined: Mon Jul 25, 2011 8:01 pm

Re: Vbulletin avatars in the login module?

Postby fanno on Tue Jul 26, 2011 5:16 pm

thank you
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7666
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Vbulletin avatars in the login module?

Postby Cansay on Sun Jul 31, 2011 9:56 pm

Come back and share the site when you are done ;)
Would love to see your work ;)

Here is a thread, its not stickied, but maybe in the future.
http://www.jfusion.org/forums/viewtopic.php?f=41&t=7090
User avatar
Cansay
JFusion Advanced III
JFusion Advanced III
 
Posts: 248
Joined: Wed Jan 07, 2009 10:44 am


Return to vBulletin

Who is online

Users browsing this forum: Bing [Bot] and 0 guests