Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
4images Gallery 1.7 Details »»
4images Gallery 1.7
Version: 1.00, by Matrixgl Matrixgl is offline
Developer Last Online: May 2006 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 02-28-2004 Last Update: Never Installs: 32
 
No support by the author.

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)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #202  
Old 06-16-2004, 09:03 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.


Quote:
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?
Reply With Quote
  #203  
Old 06-16-2004, 09:05 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FIX to SHOW MEMBERS who are browsing album to show in forum's whoisonline page

in album's sessions.php

FIND

PHP Code:
 $sql "UPDATE ".SESSIONS_TABLE.
SET lastactivity = 
$this->current_time 
WHERE sessionhash = '
$this->session_id
AND host = '
$this->user_ip'"

REPLACE BY

PHP Code:
    $sql "UPDATE ".SESSIONS_TABLE.
            SET lastactivity = 
$this->current_time, location = '$this->user_location'
            WHERE sessionhash = '
$this->session_id
            AND host = '
$this->user_ip'"
Reply With Quote
  #204  
Old 06-17-2004, 05:43 PM
vBFreak's Avatar
vBFreak vBFreak is offline
 
Join Date: Nov 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #205  
Old 06-17-2004, 10:07 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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
Reply With Quote
  #206  
Old 06-20-2004, 03:27 AM
CreedFeed's Avatar
CreedFeed CreedFeed is offline
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those of you having problems with this script, download the zip file here:

https://vborg.vbsupport.ru/showpost....&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.
Reply With Quote
  #207  
Old 06-20-2004, 07:56 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 )

https://vborg.vbsupport.ru/showthread.php?t=66335
Reply With Quote
  #208  
Old 06-24-2004, 01:45 AM
BlackxRam BlackxRam is offline
 
Join Date: Aug 2003
Posts: 364
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check that, its nto working now, whenever i close my browser i am logged off 4images. Anything?
Reply With Quote
  #209  
Old 06-24-2004, 03:38 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

https://vborg.vbsupport.ru/showthread.php?t=66335
Reply With Quote
  #210  
Old 11-14-2004, 09:26 PM
mrcancel's Avatar
mrcancel mrcancel is offline
 
Join Date: Dec 2003
Location: Hanoi Vietnam
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When i integration 4images with vbulletin , i have a error :
Code:
DB Error: Bad SQL Query: SELECT COUNT(*) as users FROM user WHERE user_id <> 0
Unknown column 'user_id' in 'where clause'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.username FROM music_images i, music_categories c LEFT JOIN user u ON (u.userid = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND c.cat_id = i.cat_id ORDER BY DESC LIMIT 1
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC LIMIT 1' at line 5
Reply With Quote
  #211  
Old 11-15-2004, 05:47 AM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mrcancel
When i integration 4images with vbulletin , i have a error :
Code:
DB Error: Bad SQL Query: SELECT COUNT(*) as users FROM user WHERE user_id <> 0
Unknown column 'user_id' in 'where clause'

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.username FROM music_images i, music_categories c LEFT JOIN user u ON (u.userid = i.user_id) WHERE i.image_active = 1 AND i.cat_id NOT IN (0) AND c.cat_id = i.cat_id ORDER BY DESC LIMIT 1
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC LIMIT 1' at line 5
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:

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

https://vborg.vbsupport.ru/showthread.php?t=66335
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:59 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05195 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete