• [MOD] Bridge: 4images 1.7.7 - vBulletin 3.8.3+ and 4.0.2 4 0 5 1
Currently:  

Author Topic: [MOD] Bridge: 4images 1.7.7 - vBulletin 3.8.3+ and 4.0.2  (Read 189617 times)

0 Members and 1 Guest are viewing this topic.

Offline nic_bck

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #30 on: February 22, 2009, 01:17:44 PM »
Hi!

With the fix works fine.
I'm going to do more tests.

Other thing, this mod works fine with [MOD] Google Friendly Urls For 4images Best Seo Mod and with the V@no's improve of 11 page.
Now i'm going to test it with this other mod: [MOD] Download limit v1.0.1 http://www.4homepages.de/forum/index.php?topic=7701.0

Thanks again denisnovikov.
PS: I'm going to edit my previous post becouse the problem is solved.

PS2: sorry for my english... :P

Thanks!
nic_net

Offline Sumale.my

  • Addicted member
  • ******
  • Posts: 1.790
  • I ♥ 4I
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #31 on: April 09, 2009, 06:49:16 AM »
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?
Beste Grüße
Sumale.my

Offline denisnovikov

  • Test group
  • Full Member
  • *
  • Posts: 125
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #32 on: April 09, 2009, 10:27:43 AM »
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.
check

Offline Sumale.my

  • Addicted member
  • ******
  • Posts: 1.790
  • I ♥ 4I
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #33 on: April 09, 2009, 10:44:28 AM »
Ok, thanks!
I will testing!
Beste Grüße
Sumale.my

Offline denisnovikov

  • Test group
  • Full Member
  • *
  • Posts: 125
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #34 on: April 09, 2009, 10:46:11 AM »
Ok, thanks!
I will testing!

Danke schön!
And please feel free to leave a feedback :wink:
check

Offline Sun

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #35 on: April 09, 2009, 11:19:30 AM »
Can i see actual information about user in the member_profile.html (4images)? 

Can it work with mod Multi-Lightboxes v1.03?
Tatyana.
I use 4images v.1.7.6
You can answer me in English and Russian languages.
Sorry, my English is not very good.

Offline denisnovikov

  • Test group
  • Full Member
  • *
  • Posts: 125
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #36 on: April 09, 2009, 11:54:04 AM »
Can i see actual information about user in the member_profile.html (4images)? 

You can see actual information about user, but it will be information from 4images, not from vBulletin. I did so, because in my opinion same user can be just simple poster on forum and having extended rights for uploading images at 4images. These are two standalone applications finally and my task was make easier use both of them at the same time for users. However, you can always extend it by yourself in the way you need it. :)

Can it work with mod Multi-Lightboxes v1.03?

I have no information about these two mods working (or not working) together, please feel free to test and report here. Thanks!
check

Offline crazyfrog

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #37 on: May 01, 2009, 09:20:57 AM »
Thanks for this, its simple but FANTASTIC!

Is there any way to transfer usergroups to 4images, so only members of a certain usergroup on my forum can download images?
That would be great.
Thanks again

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #38 on: May 03, 2009, 02:12:24 PM »
all,

demo is rightnow up2date with VB 3.8.2 and 4images 1.7.6

info:
usergroups are to be done by both systems..

this Bridge which is done by denis is ONLY: 1 user account for both systems, nothing more.

have a nice day.
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline crazyfrog

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #39 on: May 03, 2009, 07:33:58 PM »

info:
usergroups are to be done by both systems..

this Bridge which is done by denis is ONLY: 1 user account for both systems, nothing more.

Thats a shame.  :(
How hard would it be to do, that nobody can see the files unless in a certain VB usergroup, or possibly someone has a workaround without manually moving people.
Thanks in advance. :D

Offline AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #40 on: May 05, 2009, 04:32:54 AM »
I am trying to figure this out it is so close to working... but I get this error

Code: [Select]
Parse error: syntax error, unexpected $end in /home/lifephotography/htdocs/admin/index.php on line 189and here is the file 
Code: [Select]
<?php
/**************************************************************************
 *                                                                        *
 *    4images - A Web Based Image Gallery Management System               *
 *    ----------------------------------------------------------------    *
 *                                                                        *
 *             File: index.php                                            *
 *        Copyright: (C) 2002 Jan Sorgalla                                *
 *            Email: jan@4homepages.de                                    * 
 *              Web: http://www.4homepages.de                             * 
 *    Scriptversion: 1.7.6                                                *
 *                                                                        *
 *    Never released without support from: Nicky (http://www.nicky.net)   *
 *                                                                        *
 **************************************************************************
 *                                                                        *
 *    Dieses Script ist KEINE Freeware. Bitte lesen Sie die Lizenz-       *
 *    bedingungen (Lizenz.txt) für weitere Informationen.                 *
 *    ---------------------------------------------------------------     *
 *    This script is NOT freeware! Please read the Copyright Notice       *
 *    (Licence.txt) for further information.                              *
 *                                                                        *
 *************************************************************************/

define('IN_CP'1);
define('ROOT_PATH''./../');
require(
'admin_global.php');

if (
$redirect != "") {
  
show_admin_header("<meta http-equiv=\"Refresh\" content=\"0; URL=".$site_sess->url($redirect)."\">");
  echo 
"<p><a href=\"".$site_sess->url($redirect)."\">".$lang['admin_login_redirect']."</a></p>";
  
show_admin_footer();
  exit;
}
if (
$action == "") {
  
$action "frames";
}

if (
$action == "frames") {
  if (
$goto != "") {
    
$framesrc $site_sess->url($goto);
  }
  else {
    
$framesrc $site_sess->url("home.php");
  }
if (
$action == "head") {
// 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");

?>

<html dir="<?php echo $lang['direction']; ?>">
  <head>
    <title><?php echo $config['site_name']; ?> Control Panel</title>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $lang['charset']; ?>">
  </head>
  <frameset rows="70,*" framespacing="0" border="0" frameborder="0" frameborder="no" border="0">
    <frame src="<?php echo $site_sess->url("index.php?action=head"); ?>" name="head" scrolling="NO" NORESIZE frameborder="0" marginwidth="0" marginheight="0" border="no">
    <frameset cols="216,*"  framespacing="0" border="0" frameborder="0" frameborder="no" border="0">
      <frame src="<?php echo $site_sess->url("index.php?action=nav"); ?>" name="nav" scrolling="auto" NORESIZE frameborder="0" marginwidth="0" marginheight="0" border="no">
      <frame src="<?php echo $framesrc ?>" name="main" scrolling="auto" NORESIZE frameborder="0" marginwidth="20" marginheight="20" border="no">
    </frameset>
  </frameset>
</html>
<?php
}

if (
$action == "head") {
?>

<html dir="<?php echo $lang['direction']; ?>">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $lang['charset']; ?>">
    <link rel="stylesheet" href="./cpstyle.css">
  </head>
  <body leftmargin="0" background="images/bg_header.gif" topmargin="0" marginwidth="0" marginheight="0" bgcolor="#FCDC43">
    <table border="0" cellpadding=0 cellspacing=0 width="100%">
      <tr>
        <td><img src="images/logo.gif"></td>
        <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>
      </tr>
    </table>
    <table border="0" cellpadding=4 cellspacing=0 width="100%">
      <tr>
        <td valign=top>
        <b><a href=<?php echo $site_sess->url("home.php?action=home"); ?> target=main>Control Panel Home</a></b>
        </td>
        <td align="center">
        <script language="JavaScript" type="text/javascript" src="http://www.4homepages.de/version/version.php"></script>
        <script language="JavaScript" type="text/javascript">
        <!--
        if ('<?php echo SCRIPT_VERSION?>' != latestversion) {
          document.write(latestversioninfo);
        }
        // -->
        </script>
        </td>
        <td align="right">
        Version: <b><?php echo SCRIPT_VERSION?></b>
        </td>
      </tr>
    </table>
  </body>
</html>
<?php
}

if (
$action == "nav") {
if (
$action == "head") {
// 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");
}

?>

<html dir="<?php echo $lang['direction']; ?>">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $lang['charset']; ?>">
    <link rel="stylesheet" href="./cpstyle.css">
    <base target="main">
  </head>
  <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <table width="200" height="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td colspan="2" height="1"><img src="images/spacer.gif" height="1"></td>
      </tr>
      <tr>
        <td bgcolor="#EEEEEE" width="199" height="100%" valign="top">
          <table width="199" border="0" cellpadding="0" cellspacing="0" bgcolor="#EEEEEE">
          <?php
          show_nav_header
($lang['nav_categories_main']);
          
show_nav_option($lang['nav_categories_edit'], "categories.php?action=modifycats");
          
show_nav_option($lang['nav_categories_add'], "categories.php?action=addcat");

          
show_nav_header($lang['nav_images_main']);
          
show_nav_option($lang['nav_images_edit'], "images.php?action=modifyimages");
          
show_nav_option($lang['nav_images_add'], "images.php?action=addimages");
          
show_nav_option($lang['nav_images_validate'], "validateimages.php?action=validateimages");
          
show_nav_option($lang['nav_images_check'], "checkimages.php?action=checkimages");
          
show_nav_option($lang['nav_images_thumbnailer'], "thumbnailer.php?action=checkthumbnails");
          
show_nav_option($lang['nav_images_resizer'], "resizer.php?action=selectoptions");

          
show_nav_header($lang['nav_comments_main']);
          
show_nav_option($lang['nav_comments_edit'], "comments.php?action=modifycomments");

          
show_nav_header($lang['nav_users_main']);
          
show_nav_option($lang['nav_users_edit'], "users.php?action=modifyusers");
          if (!
defined('USER_INTEGRATION')) {
            
show_nav_option($lang['nav_users_add'], "users.php?action=addusers");
          }
          
show_nav_option($lang['nav_usergroups'], "usergroups.php?action=modifygroups");
          if (!
defined('USER_INTEGRATION')) {
            
show_nav_option($lang['nav_users_email'], "email.php?action=emailusers");
          }

          
show_nav_header($lang['nav_general_main']);
          
show_nav_option($lang['nav_general_settings'], "settings.php?action=modifysettings");
          
show_nav_option($lang['nav_general_templates'], "templates.php?action=modifytemplates");
          
show_nav_option($lang['nav_general_backup'], "backup.php?action=modifybackups");
          
show_nav_option($lang['nav_general_stats'], "stats.php?action=resetstats");
show_nav_option("phpinfo()""phpinfo.php");

          if (@
is_dir("plugins")) {
            
show_nav_header("PlugIns");
            
$handle = @opendir("plugins/");
            while (
$file = @readdir($handle)) {
              if (
eregi("^\.{1,2}$"$file) || !eregi("\.php$"$file)) {
                continue;
              }
              
$plugin_file file("./plugins/".$file);
              
$plugin_file[0] = trim($plugin_file[0]);
              if (
preg_match("/PLUGIN_TITLE:([a-zäöüß0-9\-_ ]+)/i"$plugin_file[0], $regs)) {
                
show_nav_option(trim($regs[1]), "./plugins/".$file);
              }
              else {
                
show_nav_option($file"./plugins/".$file);
              }
            }
            @
closedir($handle);
          }
          
?>

          </table>
        </td>
        <td bgcolor="#004C75" width="1"><img src="images/spacer.gif"></td>
      </tr>
    </table>
  </body>
</html>
<?php
}
?>


I can say the forum is super awsome and I am dying without sleep to get it to work!
As long as I can finish my site before I die.

Offline AntiNSA2

  • Hero Member
  • *****
  • Posts: 774
  • As long as I can finish my site before I die.
    • View Profile
    • http://www.thelifephotography.com
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #41 on: May 05, 2009, 04:59:30 AM »
Ok, in step two I have another little issue...

My 4images is in the

htdocs/ folder.....

My forum is in the htdocs/forum/ directory.....

According to step two it says
Quote
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).

but every time I put the path like this
Code: [Select]
/../forum/ I get an error.

However everytime I put it like this I get no error
Code: [Select]
/forum/
Am I doing something wrong?
As long as I can finish my site before I die.

Offline crazyfrog

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #42 on: May 05, 2009, 08:20:14 AM »
If your directories are set out like you say,

htdocs/forum
&
htdocs/4images

Then your config file should look like this:

Code: [Select]
define('VBULLETIN3_BRIDGE_ON', true);
define('VBULLETIN3_PATH', realpath(realpath(dirname(__FILE__)).'/../forum/').'/');
define('VBULLETIN3_URL', '/forum/');

Nickys server is just an example, but his is set out differently.

Ie:

htdocs/forum/
&
htdocs/forum/4images/

Notice the gallery is inside the forums direcory.

Hope this helps.  :lol:


Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #43 on: May 05, 2009, 08:58:38 AM »
here settings of demo

Code: [Select]
// -- invite VBulletin to share some info with us
define('VBULLETIN3_BRIDGE_ON', true);
define('VBULLETIN3_PATH', realpath(realpath(dirname(__FILE__)).'/../vBulletin/').'/');
define('VBULLETIN3_URL', '/demo/vBulletin/');

and how it is looks like
http://www.nicky.net/demo/4images/
http://www.nicky.net/demo/vBulletin/
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline denisnovikov

  • Test group
  • Full Member
  • *
  • Posts: 125
    • View Profile
Re: [MOD] Bridge: 4images 1.7.6 - vBulletin 3.7.4+
« Reply #44 on: May 05, 2009, 09:39:46 AM »
I am trying to figure this out it is so close to working... but I get this error

Code: [Select]
Parse error: syntax error, unexpected $end in /home/lifephotography/htdocs/admin/index.php on line 189

You simply don't need code on lines 108-112 and 46-51:
Code: [Select]
if ($action == "head") {
// 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");
}

but you need it on lines
Quote
Locate (at around lines 60-70):
and once only.

Please check twice every your step with manual.
« Last Edit: May 05, 2009, 09:50:09 AM by denisnovikov »
check