PDA

View Full Version : Integration with vBulletin - Bridge: vBulletin 3.8.x - 4images 1.7.7 Image Gallery


kai3k
01-10-2010, 10:00 PM
Introduction

This mod allows to use both 4images and vBulletin application transparently for users as they are one application. Registration and login are handling by the vBulletin app, users are creating into 4images database ?on-the-fly?, on logged in user first request any of the 4images pages.

Demo

Thanks to Nicky for hosting live demo at:
http://www.nicky.net/demo/4images/
http://www.nicky.net/demo/vBulletin/
Updated: 4images 1.7.7 + vBulletin 3.8.3

List of changed files (only 4images)

New files:
includes/vb.php
global_usefulstuff.phpModified:
config.php
global.php
includes/sessions.php
includes/page_header.php
admin/admin_global.php
admin/index.php
templates/default/user_loginform.htmlInstallation

See this thread in the 4images forum
http://www.4homepages.de/forum/index.php?topic=23892.0
... or download the attached files.

Notes

Please make sure when installing applications you have admin account on both 4images and vBulletin apps with the same user name and password.

Known issues

When switching bridge off users can?t login to 4images anymore from the native 4images form. However they still exists in 4images database and could request for new password.

Version history
0.1 - initial release
0.2 - security fix (thanks to nic_bck for reporting: http://www.4homepages.de/forum/index.php?topic=23892.msg132782#msg132782)
0.3 - upgraded to 4images 1.7.7; doesn't let user which is not confirmed his email login into 4images -- only his own CP panel on vBulletin.
0.4 - now all default templates from 4images 1.7.7 are bridge ready (modded.zip, newfiles.zip); when user changes his email in vBulletin on the next login it will be updated into 4images also (thanks to Sun); now after user registered at vBulletin his join date will be also transferred as soon as he will come to 4images (thanks again to Sun); tested with vBulletin 3.8.4
0.5 - fix for the changed user's email was not actually updated into 4images DB.
0.6 - additional condition before change email: user has to have proper vBulletin session so when user logging out of vBulletin and refreshing 4images page his email will not be changed to the empty string (thanks Sun for reporting).Extras

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.

Download already modded 4images 1.7.7 archive (attached to post modded.zip).

Download this instruction in printer friendly pdf (attached to post - bridge-step-by-step.pdf).

Original thread

Orignal thread in the 4images forum:
http://www.4homepages.de/forum/index.php?topic=23892.0

Thanks to dennisnovikov to allow me to the mod on vbulletin.org!

whem
09-09-2010, 09:52 AM
thank you for this great MOD :)

I use it in my web site [Arabic]
http://wh-em.com/d3m-7r = vb
http://wh-em.com/mt7f-7r = 4images

but ..

I cant login to 4images admin any more

it is in loop , I have succeed login but it is ask me again for username and password in 4images admin page

any idea

thank you ..

Amazing2
12-23-2010, 02:27 PM
Thanks for this great App, but I get a blank site o0.

vb on this: golf3.de
gallery and Database on this: sXXXXX.online.de/pic/index.php

How can I put the Gallery into the Board?

Blueracer66
09-03-2012, 08:49 AM
Has anyone managed to get this working on 3.8.7?

Zoul
05-21-2013, 03:01 PM
Hello everyone

We are a community of free shares in the world of graphics
http://www.gfx-art.fr/index.php

I use:

4images 1.7.11
VBulletin 4.2.1


In version 4.2.0, everything worked perfectly
Once the update 4.2.1 installed, we do not have access to the administration of the gallery

To have access to:

In the gallery: Config.php

I replaced:

define ('VBULLETIN3_BRIDGE_ON', true);

by:

define ('VBULLETIN3_BRIDGE_ON', false);

The problem is that it give the gallery unavailable to those who are not connected at this change.


Could you help me to know what has been updated to 4.2.1 in VB connection or admin area
And break problem accessing the administration of the gallery


As additional information:
Firefox: blank page
In chrome:
https://vborg.vbsupport.ru/external/2013/05/29.png

So no real information to guide us ...

Can you please help us?

Thank you to excuse me for my english

matrex722
05-24-2013, 03:24 PM
Demo is not working man

Zoul
05-27-2013, 04:51 PM
thank you for the information Matrex722

gallery working in vb 4.2.0 (I used)

Could anyone help me please put a date?
coment me or explain the repair that is consistent

TY

Zoul
06-30-2013, 08:37 AM
Nobody can help me please?

zhono
11-14-2013, 05:15 AM
After figuring out the correct path for VB, I get a blank page with this error:

Warning: require_once(./includes/functions_navigation.php) [function.require-once]: failed to open stream: No such file or directory in ....includes/functions.php on line 39

zhono
11-15-2013, 07:40 AM
After figuring out the correct path for VB, I get a blank page with this error:

Warning: require_once(./includes/functions_navigation.php) [function.require-once]: failed to open stream: No such file or directory in ....includes/functions.php on line 39

If anyone runs into this issue, you are probably using 4.2.2

I was able to solve it by installing 4.2.0 instead. Luckily it was a new forum with no users or content, so I could just switch. If you already have content, I don't know what you can do. Maybe there is a way to downgrade? On my test server, I just deleted the 4.2.2 files and replaced them with the 4.2.0 files, but left the database alone. Seemed to work without error, so maybe the database didn't change between versions? Might be a solution for some. Either way, using the older version of vB will let you use this mod. Hopefully someone will figure out how to fix the problem, so we can use 4.2.2.

Also, make sure to use the instructions on page 9 of the 4images thread. You need that extra stuff for this mod to work on 4.1.x-4.2.0

risestar
11-24-2013, 03:15 AM
A work around for those running VB 4.2.2 and 4images 1.7 seems to be if you copy functions_navigation.php from your vbulletin /includes directory to your 4images /includes directory.

This fixes the fatal error and restores the ability to user the vbulletin user table for 4images

You will get the same error when trying to login to the 4images admin. To fix with the workaround, create a new directory in the admin folder called "includes" and copy functions_navigation.php to it

m7sen
01-15-2015, 01:47 PM
is this mod work untill now ?

i use vb 3.8.8 and 4Images 1.7.11