Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
4images Gallery 1.7 Details »
4images Gallery 1.7
Mod Version: 1.00, by Matrixgl (Member) Matrixgl is offline
Developer Last Online: May 2006 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (2 votes - 5.00 average) Installs: 32
Released: 29 Feb 2004 Last Update: Never Downloads: 36
Not Supported  

A lot of people, both here and at 4homepages.de have been requesting for a mod/hack that would integrate vBulletin 3 RCX with 4images 1.7 lately. The solutions are scattered around the forums, but nobody has it all in one page.

So I've decided put them all togather, and release it, so it will be easier for people to do the intigration successfully.

Please note that all the codes in this hack/mod are property of Jan and mtha.
http://www.4homepages.de/forum/viewtopic.php?t=1659
http://www.4homepages.de/forum/viewt...tart=165#32514

I have tested this on vBulletin 3.0.0 RC3 and it worked successfully.

Features:
  • Uses your existing vBulletin powered forum's login account for authentication.
  • Uses your existing vBulletin powered forum's whos online feature
  • Can be modified to display any information from your existing vBulletin database, perticularly from the "user" table, which means you can display any information about the logged in user.
  • Since it is integrated with the database, you can display any gallery information such as latest picture, how many pictures a member have submitted etc... on your vBulletin powered forum.
  • Extra modifications can be found here
Screenshot:
Attached

Demo:
http://www.randomforum.com/forums/gallery *NEW
(Please note the gallery sports a custom style, not the default)
http://www.vb-es.com/galeria/ (Non-English)

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	screenshot.gif
Views:	3772
Size:	57.8 KB
ID:	17021  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
User Integration: 4images Gallery 1.7.2 + vB 3.5.4 mtha vBulletin 3.5 Add-ons 142 10 Jan 2009 01:57
4images Gallery 1.7 + vB 3.0.x (update Oct 30) mtha vBulletin 3.0 Full Releases 418 06 Nov 2007 00:08

  #196  
Old 14 Jun 2004, 11:14
vBFreak's Avatar
vBFreak vBFreak is offline
 
Join Date: Nov 2001
Great work mtha, it works perfect... now it shows the nuber of the comments... thanx

The only problem is that everyone has to make a comment now to update it... can I use any sql-query to update it from all users? And what about new registered users, there should be a 0 then

Can you try to fix the same with the email field? it looks so empty

I've set this in includes/sessions.php, but the field is empty =(


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Last edited by vBFreak; 14 Jun 2004 at 11:27.
Reply With Quote
  #197  
Old 14 Jun 2004, 16:11
skinvb skinvb is offline
 
Join Date: Feb 2004
I integrated in successfully but members send new images.It require admin Validate images .How can i turn off this option?
Reply With Quote
  #198  
Old 14 Jun 2004, 19:26
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Real name: Tyler
Originally Posted by skinvb
I integrated in successfully but members send new images.It require admin Validate images .How can i turn off this option?
4images settings.
Reply With Quote
  #199  
Old 14 Jun 2004, 21:50
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by insanctus
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
actually, it should be


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

it should be number, with default = 0 => new registered members will have this number = 0

The only problem is that everyone has to make a comment now to update it... can I use any sql-query to update it from all users?
Idea is, you have to export a list of members (array of members ID), says $user[userid]

and for each member, do a querry to count # of comments, assign the value for $comments

SELECT COUNT( * ) AS comments FROM 4images_comments WHERE user_id =$user[userid]

then update the value of this counter

UPDATE user SET user_album_comments=$comments WHERE userid = $userid"

that's only the idea, you should modify and put it in proper form

You should check the "Update counter" or userpost from vB ACP part.

line 191, misc.php


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


MAYBE something like


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1

Last edited by mtha; 14 Jun 2004 at 22:05.
Reply With Quote
  #200  
Old 14 Jun 2004, 23:06
vBFreak's Avatar
vBFreak vBFreak is offline
 
Join Date: Nov 2001
hmmm yes, worked without any problems

hmmm couldn't the problem with the email-field be, that the user is hiding his mailadress?

I wanted to test this, but it seems that in vB3 the mailaddress is hidden by default, I couldn't find an option in my profile settings like it was in vB 2 for this...

To the admincp-fix: the login works, but I'm still always redirected to the forum's home after it :/


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

That's my code now, I had to change the paths a bit, because my forums are in /, is there an error now?

Last edited by vBFreak; 14 Jun 2004 at 23:32.
Reply With Quote
  #201  
Old 16 Jun 2004, 23:03
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by vBFreak
hmmm yes, worked without any problems

hmmm couldn't the problem with the email-field be, that the user is hiding his mailadress?

I wanted to test this, but it seems that in vB3 the mailaddress is hidden by default, I couldn't find an option in my profile settings like it was in vB 2 for this...
This option is combined in value "options" in vB's userfield table. You need to de-compile the value, in order to get this showemail value.
I'm not interested in showing email nor showing useronline in album, so I cant help you right now.


That's my code now, I had to change the paths a bit, because my forums are in /, is there an error now?
is this a question of an answer?
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1
Reply With Quote
  #202  
Old 16 Jun 2004, 23:05
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
FIX to SHOW MEMBERS who are browsing album to show in forum's whoisonline page

in album's sessions.php

FIND


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


REPLACE BY


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1

Last edited by mtha; 16 Jun 2004 at 23:19.
Reply With Quote
  #203  
Old 17 Jun 2004, 19:43
vBFreak's Avatar
vBFreak vBFreak is offline
 
Join Date: Nov 2001
where can I add this then to my Who's online list? It shows only that the user is on the forums-index...
Reply With Quote
  #204  
Old 18 Jun 2004, 00:07
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by vBFreak
where can I add this then to my Who's online list? It shows only that the user is on the forums-index...
add in album's sessions.php

it should show in your FORUM's who's online list. open your who'sonline list, then open another windows, browse to your album to test.


btw, check your sessions.php and see if you have this part correct

function Session() {
global $cookietimeout;
$this->session_timeout = $cookietimeout;
$this->user_ip = $this->get_user_ip();
$this->user_location = '/album/'.$this->get_user_location();
$this->current_time = time();
$this->demand_session();


change /album/ to what it should be in your case
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1

Last edited by mtha; 18 Jun 2004 at 00:13.
Reply With Quote
  #205  
Old 20 Jun 2004, 05:27
CreedFeed's Avatar
CreedFeed CreedFeed is offline
 
Join Date: Apr 2002
Real name: Steve
For those of you having problems with this script, download the zip file here:

http://www.vbulletin.org/forum/showp...&postcount=161

and follow the instructions one by one. It is very easy and works perfectly with vb3.0.1 and 4Images 1.7

I've run into ZERO bugs with this. Everything works perfectly.
__________________
-Steve
CreedFeed.com
http://www.creedfeed.com
Reply With Quote
  #206  
Old 20 Jun 2004, 21:56
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Well, after the whole bunch of changes and fixes, I decided to re-release this integration, which would work for vB 3.0.1, giving as much support as I can.
Hope MatrixGL wouldnt mind. (if you do, then update your first post, and let me know, I will delete the other )

http://www.vbulletin.org/forum/showthread.php?t=66335
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1

Last edited by mtha; 20 Jun 2004 at 22:02.
Reply With Quote
  #207  
Old 24 Jun 2004, 03:45
BlackxRam BlackxRam is offline
 
Join Date: Aug 2003
Check that, its nto working now, whenever i close my browser i am logged off 4images. Anything?
Reply With Quote
  #208  
Old 24 Jun 2004, 05:38
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Here's the UPDATED version. I CANNOT support an out_of_date version.

http://www.vbulletin.org/forum/showthread.php?t=66335
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1
Reply With Quote
  #209  
Old 14 Nov 2004, 23:26
mrcancel's Avatar
mrcancel mrcancel is offline
 
Join Date: Dec 2003
When i integration 4images with vbulletin , i have a error :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #210  
Old 15 Nov 2004, 07:47
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by mrcancel
When i integration 4images with vbulletin , i have a error :

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
from the error, you DID NOT setup field names for user table right. You may have installed an OUT OF DATE version of this integration.

Here is my post right above yours, I hope you dont mind reading it again:

Here's the UPDATED version. I CANNOT support an out_of_date version.

http://www.vbulletin.org/forum/showthread.php?t=66335
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:10.

Layout Options | Width: Wide Color: