vB3 Bridge: vBulletin 3.8.x - 4images 1.7.7 Image Gallery

  • Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Radio

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Heisenberg submitted a new resource:

    - Bridge: vBulletin 3.8.x - 4images 1.7.7 Image Gallery

    vB Version: 3.8.x

    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.

    Introduction

    This mod allows to use both 4images and vBulletin application transparently for users as they are one application. Registration and...

     
    Last edited:

    ven0m

    Administrator
    Staff member
    Administrator
    Moderator
    Platinum
    xenForo 2.x.x
    xenForo 1.x.x
    Contributor
    vBulletin All Access Pass
    The Chest
    Verified
    Ultra Platinum VIP
    Platinum VIP
    Gold VIP
    Silver VIP
    Premium
    Member
    Jul 17, 2005
    20,503
    7,742
    321
    localhost
    Installation

    Step 1. New files

    Download new files (newfiles.zip) and place them:
    a) vb.php into includes directory;
    b) global_usefulstuff.php into root directory of the 4images installation

    Step 2. config.php

    Add at the end of the file, before “?>” symbols:

    Code:
    define('VBULLETIN3_BRIDGE_ON', true);
    define('VBULLETIN3_PATH', realpath(realpath(dirname(__FILE__)).'<vb_root>').'/');
    define('VBULLETIN3_URL', '<vb_url>');

    Where:
    <vb_root> is relative path from the 4images’ root to vBulletin root. For example, if you have installed both apps at the same directory on your server and your vBulletin is located into ‘vBulletin’ directory (as it done at the Nicky’s server), type there: “/../vBulletin/” (without quotes). Note, on some servers small and caps letters are differ, so put it exactly as it named.
    <vb_url> is your vBulletin installation relative to the root of server url, as users type it’s address in their web-browsers. Back to the Nicky’s installation, it should be “/vBulletin/” (again without quotes).

    Step 3. global.php

    Locate:

    Code:
    //-----------------------------------------------------
    //--- Useful Stuff ------------------------------------
    //-----------------------------------------------------
    ...
    ...
    tons of code here
    ...
    ...
    //-----------------------------------------------------
    //--- Start DB ----------------------------------------
    //-----------------------------------------------------

    Remove everything between these two sections (“Useful Stuff” and “Start DB”) and a following code instead of deleted lines:

    Code:
    include(ROOT_PATH.'global_usefulstuff.php');

    Step 4. includes/sessions.php

    Locate somewhere around line 178:

    Code:
    function login($user_name = "", $user_password = "", $auto_login = 0, $set_auto_login = 1) {

    Replace with:

    Code:
    function login($user_name = "", $user_password = "", $auto_login = 0, $set_auto_login = 1, $do_md5 = true) {

    Locate somewhere around line 191:

    Code:
    $user_password = md5($user_password);

    Replace with:

    Code:
    if($do_md5 == true) $user_password = md5($user_password);

    Locate somewhere around line 418

    Code:
    // Get Userinfo
    $session_info = $site_sess->return_session_info();
    $user_info = $site_sess->return_user_info();

    Add following code after:

    Code:
    include_once(realpath(dirname(__FILE__)).'/vb.php');

    Step 5. includes/page_header.php

    Locate:

    Code:
    Copyright &copy; 2002-'.date('Y').' <a href="http://www.4homepages.de" target="_blank">4homepages.de</a>
    </p>
    ',

    Add following code right after:

    Code:
    "login_user_name_form_field"        => (!empty($login_user_name_form_field)) ? $login_user_name_form_field : 'user_name',
    "login_user_password_form_field"    =>  (!empty($login_user_password_form_field)) ?  $login_user_password_form_field : 'user_password',
    "login_auto_form_field"            => (!empty($login_auto_form_field)) ? $login_auto_form_field : 'auto_login',
    "login_additional_form_fields"    => (!empty($login_additional_form_fields)) ? $login_additional_form_fields : '',

    Step 6. admin/admin_global.php

    Locate:

    Code:
    // Include default languages

    Add following code before:

    Code:
    // Default form
    $login_admin_form_action            = $site_sess->url(ROOT_PATH."admin/index.php");;
    $login_admin_name_form_field        = 'loginusername';
    $login_admin_password_form_field    = 'loginpassword';
    $login_admin_additional_form_fields    = '';
    
    // Overwrite form if necessary
    if(defined('VBULLETIN3_BRIDGE_ON') && VBULLETIN3_BRIDGE_ON === true){
        $login_admin_form_action            = $site_sess->url(VBULLETIN3_URL."login.php?do=login");
        $login_admin_name_form_field        = 'vb_login_username';
        $login_admin_password_form_field    = 'vb_login_password';
        $login_admin_additional_form_fields    = '<input type="hidden" name="do" value="login" />';
    }

    Locate:

    Code:
    <form action="<?php echo $site_sess->url(ROOT_PATH."admin/index.php"); ?>" method="post">

    Replace with:

    Code:
    <form action="<?php echo $login_admin_form_action; ?>" method="post">
    <?php echo $login_admin_additional_form_fields; ?>

    Locate:

    Code:
    <td><input type="text" name="loginusername" size="<?php echo $textinput_size2; ?>"></td>
    <td><input type="password" name="loginpassword" size="<?php echo $textinput_size2; ?>"></td>

    Replace with:

    Code:
    <td><input type="text" name="<?php echo  $login_admin_name_form_field; ?>" size="<?php echo  $textinput_size2; ?>"></td>
    <td><input type="password" name="<?php echo  $login_admin_password_form_field; ?>" size="<?php echo  $textinput_size2; ?>"></td>

    Step 7. admin/index.php

    Locate (at around lines 60-70):

    Code:
    if ($action == "head") {
    ?>
    <html dir="<?php echo $lang['direction']; ?>">

    Add following code right before "?>" symbols:

    Code:
    // switch back admin logout url if no integration
    if(!defined('VBULLETIN3_BRIDGE_ON') || VBULLETIN3_BRIDGE_ON !== true){
        $url_logout = $site_sess->url(ROOT_PATH."admin/index.php?logout=1");
    }

    Locate:

    Code:
    <td align="right"><b><a href="<?php echo  $site_sess->url(ROOT_PATH."index.php"); ?>"  target="_blank"><?php echo $lang['goto_homepage'];  ?></a>&nbsp;|&nbsp;<a href="<?php echo  $site_sess->url(ROOT_PATH."admin/index.php?logout=1"); ?>"  target="_top"><?php echo $lang['logout'];  ?></a>&nbsp;&nbsp;</b></TD>

    Replace with:

    Code:
    <td align="right"><b><a href="<?php echo  $site_sess->url(ROOT_PATH."index.php"); ?>"  target="_blank"><?php echo $lang['goto_homepage'];  ?></a>&nbsp;|&nbsp;<a href="<?php echo  $url_logout; ?>" target="_top"><?php echo $lang['logout'];  ?></a>&nbsp;&nbsp;</b></TD>

    Step 8. templates/default/user_loginform.html

    Locate:

    Code:
    <input type="text" size="10" name="user_name" class="logininput" />

    Replace with:

    Code:
    <input type="text" size="10" name="{login_user_name_form_field}" class="logininput" />

    Locate:

    Code:
    <input type="password" size="10" name="user_password" class="logininput" />

    Replace with:

    Code:
    <input type="password" size="10"  name="{login_user_password_form_field}" class="logininput"  />{login_additional_form_fields}

    Locate:

    Code:
    <td><input type="checkbox" name="auto_login" value="1" /></td>

    Replace with:

    Code:
    <td><input type="checkbox" name="{login_auto_form_field}" value="1" /></td>
     
    Thread starter Similar threads Forum Replies Date
    ven0m vB3 Complete Wordpress/Vbulletin Bridge - Share Users And Postings [3.8.x] Addons 0
    ven0m vB3 YAFB - Yay! Another Facebook Bridge [3.8.x] Addons 0
    ven0m vB3 v3 Arcade - Professional vBulletin Gaming [3.8.x] Addons 0
    ven0m vB3 vBulletin Extensions for Contentteller CMS (extended integration) [3.8.x] Addons 0
    ven0m vB3 Widgetizer - Build dynamic thread widgets in and outside vBulletin [3.8.x] Addons 0
    ven0m vB3 Create your own vBulletin-Powered html Page [3.8.x] Addons 0
    ven0m vB3 Mabersoft vBulletin GuestBook (Very Simple) [3.8.x] Addons 0
    ven0m vB3 Keyboard Shortcut for vBulletin 3 [3.8.x] Addons 0
    ven0m vB3 Navigation module for vBulletin and CMPS 2.0 [3.8.x] Addons 0
    ven0m vB3 Project Tools Open Source for vBulletin 3.7.x/3.8.x Series [3.8.x] Addons 0
    ven0m vB3 Agth ~ vBulletin integration of WAP [3.8.x] Addons 0
    ven0m vB3 vBulletin Slide Show 1.10 [3.8.x] Addons 0
    ven0m vB3 Ventrilo Status Block for vBulletin and vBadvanced [3.8.x] Addons 0
    ven0m vB3 Table and Field Comparison Utility: Compare your database to out-of-the-box vBulletin [3.8.x] Addons 0
    ven0m vB3 BlockScript vBulletin Integration [3.8.x] Addons 0
    ven0m vB3 Datastore cache to WinCache - boost your vBulletin [3.8.x] Addons 0
    ven0m vB3 World of Warcraft Wowhead Item tooltips for vBulletin [3.8.x] Addons 0
    ven0m vB3 Magento & vBulletin Integration Lite [3.8.x] Addons 0
    ven0m vB3 vBulletin English To Persian Converter [3.8.x] Addons 0
    ven0m vB3 vBOffers - Virtual Currency Monetization for vBulletin [3.8.x] Addons 0
    ven0m vB3 Plugin Pages CMS for vBulletin 3.8 [3.8.x] Addons 0
    ven0m vB3 New Pm and Announcement Style like vbulletin.org [3.8.x] Addons 0
    ven0m vB3 Announcing Forum Runner - vBulletin Android/iPhone/iPad App [3.8.x] Addons 0
    ven0m vB3 easy way to integration a perfect player to you vbulletin [3.8.x] Addons 0
    ven0m vB3 vBulletin Anonymous Link (Increase Your Privacy & SEO) [3.8.x] Addons 0
    ven0m vB3 Popup Private Messaging for vBulletin 3.8 [3.8.x] Addons 0
    ven0m vB3 THS Wiki - Lightweight wiki for vBulletin [3.8.x] Addons 0
    ven0m vB3 Add Pandora page to your vBulletin! [3.8.x] Addons 0
    ven0m vB3 vBulletin 2 Twitter - Take Your News Straight To Twitter! [3.8.x] Addons 0
    ven0m vB3 Daily Game - Posts a new flash game to your vBulletin every day [3.8.x] Addons 0
    ven0m vB3 MediaWiki/vBulletin Single Sign-On [3.8.x] Addons 0
    ven0m vB3 Convert phpBB3 passwords to vBulletin 3.8 [3.8.x] Addons 0
    ven0m vB3 Best and Fast image resize vbulletin light box supported [3.8.x] Addons 0
    ven0m vB3 WP Integrate - Send vbulletin posts to wordpress [3.8.x] Addons 0
    ven0m vB3 Ban IP's In vBulletin Options Easily [3.8.x] Addons 0
    ven0m vB3 vBulletin 5 forumhome_lastpostby for vB3 [3.8.x] Addons 0
    ven0m vB3 vBArmy - vBulletin Army System [3.8.x] Addons 0
    ven0m vB3 psiStats 2009 (The New vBStats for vBulletin 3.5.x - 3.8.x) [3.8.x] Addons 0
    ven0m vB3 Vbulletin Social Content Locker [Lite] - Pay With Like , Tweet and +1 [3.8.x] Addons 0
    ven0m vB3 vBulletin Marketplace Mod - by Panjo [3.8.x] Addons 0
    ven0m vB3 ClipBucket BBCode For vBulletin 3 and 4! [3.8.x] Addons 0
    ven0m vB3 Private Messages like vBulletin.org [3.8.x] Addons 0
    ven0m vB3 SEOvB - Link Canonicalization for vBulletin Stop Duplicate Content NOW! [3.8.x] Addons 0
    ven0m vB3 Make Money on Your vBulletin Forum with a Full Shop and Direct-to-Merchant Links [3.8.x] Addons 0
    ven0m vB3 v3 Arcade - Professional vBulletin Gaming [3.8.x] Addons 0
    ven0m vB3 Accelerated Mobile Pages for vBulletin [3.8.x] Addons 0
    ven0m vB3 Better vBulletin Message and Login Form [3.8.x] Addons 0
    ven0m vB3 vBulletin Guestbook [3.8.x] Addons 0
    ven0m vB3 vBulletin Torrent Tracker [3.8.x] Addons 0
    ven0m vB3 vBulletin 3.8.x Uncompressed Javascript (by GFX developers) [3.8.x] Addons 0
    Similar threads