1
Mods & Plugins (Releases & Support) / Re: [MOD] Bridge: 4images 1.7.7 - vBulletin 3.8.3+ and 4.0.2
« on: May 02, 2011, 02:00:40 PM »Works perfect with 4images 1.7.9 and vBulletin 4.0.8
Hello,
works with 4.1.x? and 4.1.3?
Thanks!
4images code on GitHub Click here to visit GitHub.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Works perfect with 4images 1.7.9 and vBulletin 4.0.8
Komme etwas durcheinander,
brauche ich alle Files die im Anhang sind?
Bei Nicky steht in der Sig für vB 3.8.1, also läuft die Version hier mir 3.8.1? Und auch mit 3.8.2?
Yes, it works with 3.8.1, and should work with 3.8.2 (can't say it will, because I didn't test it with 3.8.2 and didn't receive any reports about it). However you can try and post back here (don't forget to make backups before).
You can do installation of this mod manually using the step-by-step guide or already patched version provided at the first post.
Also keep in mind security fix: http://www.4homepages.de/forum/index.php?topic=24526.0 because this fix is not included into full patched version.
There is new release coming in a days, so I will update mod files asap.
Nah, stealing cookie will not help to login under another user
fix (~line 14 @ vb.php)
replace:Code: [Select]if(user_info['user_id'] == -1 && intval($vbulletin->userinfo['userid']) > 0){
with:Code: [Select]if(intval($vbulletin->userinfo['userid']) > 0 && ($user_info['user_id'] == -1 || $user_info['user_name'] != $vbulletin->userinfo['username'])){
Confirm, but it's not too big although -- if you have login data for both accounts it means they are both your accounts. However it should be fixed for sure. Already looking for solution.
Thanks for reporting!
The users are created with the same userid on 4images that they have on vbulletin?
yup
$user_id = $site_db->get_next_id($user_table_fields['user_id'], USERS_TABLE);
//$user_id = $site_db->get_next_id($user_table_fields['user_id'], USERS_TABLE);
($user_id, 2, '".$vbulletin->userinfo['username']."', '".$vbulletin->userinfo['password']."', '".$vbulletin->userinfo['email']."', '".$vbulletin->userinfo['joindate']."')";
('".$vbulletin->userinfo['userid']."', 2, '".$vbulletin->userinfo['username']."', '".$vbulletin->userinfo['password']."', '".$vbulletin->userinfo['email']."', '".$vbulletin->userinfo['joindate']."')";
Hi!
I have a vbulletin installed with a lot of users.
Do you have something like userexport.php but to the other way? To export users from vbulletin to 4images?
Why? Your existing vBulletin users will be created "on-the-fly" at their first attempt to visit 4images installation while they're logged in at vBulletin and session/cookies sharing is works okay between 4images and vBulletin. You have nothing to do, just install 4images and bridge
Users, who already have installed 4images and have users in it, can download userexport.php (attached to post - ue.zip), place it into root directory of 4image after installing bridge and run it from the browser. Existing 4images users should appear now in vBulletin.
okay,
here we go
index siteCode: [Select]Page generated in 0.395708 seconds with 76 queries, spending 0.232000 seconds doing MySQL queries and 0.163708 doing PHP things. GZIP compression enabled
category site (most subs)Code: [Select]Page generated in 0.680518 seconds with 596 queries, spending 0.055000 seconds doing MySQL queries and 0.625518 doing PHP things. GZIP compression enabled
details siteCode: [Select]Page generated in 0.158879 seconds with 16 queries, spending 0.054000 seconds doing MySQL queries and 0.104879 doing PHP things. GZIP compression enabled
yep..
index and categories queries are down up to 50%
GREAT! Thank you 4 that!