Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBi-Gallery for vB 3.6.X Details »»
vBi-Gallery for vB 3.6.X
Version: 1.30, by Harald_T Harald_T is offline
Developer Last Online: Jan 2012 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.6.2 Rating:
Released: 10-07-2006 Last Update: Never Installs: 200
DB Changes Uses Plugins Template Edits
Code Changes  
No support by the author.

This is the 3.6.X-Version of my vBi-Gallery for vBulletin.

It's an update to this hack:

https://vborg.vbsupport.ru/showthread.php?t=92875

This gallery-system integrates completly into vB, because it's a modification of the forum itself and uses the attachment-system of vb.

Therefore, it's neccessary to be sure, that the attachment-system is working and it's possible to create thumbs. Otherwise, the gallery won't work.

Btw, I want to thank all the people here, which are using this gallery.

Show Your Support

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

Comments
  #122  
Old 10-26-2006, 11:48 PM
rknight111 rknight111 is offline
 
Join Date: Oct 2006
Posts: 145
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also noticed that some new users that go on the board, the pics dont show up just an X, how could I make it so the pics will always show up on the gallery header. If not I would like to turven it off for non registered users and once they register the gallery and header all show up??

What should be the setting for jpg, I set it a few times but it goes back to 97kb
Reply With Quote
  #123  
Old 11-01-2006, 01:41 AM
freecodevn freecodevn is offline
 
Join Date: Oct 2006
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tried to hack this module and I found out the reason why I 'm not successed as follows:
a, In a successful case:
This forum was hacked successfully, the album display correctly so if you get the direct link of the picture like this
http://mottamlong.com/forum/attachme...1&d=1162350851 and you paste this link to new IE explore the image display correctly.
b, unsuccessful case:
But the image cannot display if I extract the image link forum my forum like this http://www.lhstrungquoc.com/forums/a...&stc=1&thumb=1 and paste it into the new IE explorer.
I suppose that this error caused by my forum attachment system, but I dont know how to solve it.
Any one can help me?
Many thank!
Reply With Quote
  #124  
Old 11-04-2006, 11:32 AM
FMCS's Avatar
FMCS FMCS is offline
 
Join Date: Oct 2006
Location: Sweden
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After the mod was installed we noticed that the forum became horribly slow so I changed the 'gallery_images_forumhome' bit to the following:

PHP Code:
// #################### Latest Gallery-Additions #######################
// fetch the permissions for each forum
// global $vbulletin;

if (isset($forumid) == false)
{

$gal_num_rows $vbulletin->options['gal_num_rows'];

if (
$vbulletin->options['show_latest']==1)
{

// fetch latest pics
$thumbs $db->query_read("SELECT gallery, threadid, firstpostid, "TABLE_PREFIX "thread.title, attachmentid, "TABLE_PREFIX "attachment.dateline FROM "TABLE_PREFIX "attachment, "TABLE_PREFIX "thread, "TABLE_PREFIX "forum
WHERE gallery='1' AND "
TABLE_PREFIX "thread.forumid="TABLE_PREFIX "forum.forumid AND "TABLE_PREFIX "thread.firstpostid = "TABLE_PREFIX "attachment.postid AND "TABLE_PREFIX "attachment.dateline < " TIME() ."
GROUP BY "
.TABLE_PREFIX ."thread.threadid
ORDER BY "
TABLE_PREFIX "attachment.attachmentid DESC LIMIT $gal_num_rows");



while (
$gallery $db->fetch_array($thumbs))
{
eval(
'$latestgallery .= "' fetch_template('gallery_latestpictures') . '";');
}
}

// #################### Random Gallery-Additions #######################
// fetch random pics

if ($vbulletin->options['show_random']==1)
{
$random_thumbs $db->query_read("SELECT gallery, threadid, firstpostid, "TABLE_PREFIX "thread.title, attachmentid, "TABLE_PREFIX "attachment.dateline FROM "TABLE_PREFIX "attachment, "TABLE_PREFIX "thread, "TABLE_PREFIX "forum
WHERE gallery='1'AND "
TABLE_PREFIX "thread.featured!='1' AND  "TABLE_PREFIX "thread.forumid="TABLE_PREFIX "forum.forumid AND "TABLE_PREFIX "thread.firstpostid = "TABLE_PREFIX "attachment.postid AND "TABLE_PREFIX "attachment.dateline < " TIME() ." ORDER BY RAND() LIMIT $gal_num_rows");

while (
$rand_gallery $db->fetch_array($random_thumbs))
{
eval(
'$random_gallery .= "' fetch_template('gallery_randompictures') . '";');
}
}


the added bits are 'if (isset($forumid) == false)' so the thumbs aren't attempted to load on other pages than forumhome. (got a big speed-increase on the forums after doing this)

also added 'if ($vbulletin->options['show_random']==1)' and 'if ($vbulletin->options['show_latest']==1)' bits to get rid of redundant sqlqueries.

Hope this is of any use to people
Reply With Quote
  #125  
Old 11-04-2006, 08:25 PM
Necrosaro420 Necrosaro420 is offline
 
Join Date: Apr 2004
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this be set up so each user has their each individual section to upload their own pictures?
Reply With Quote
  #126  
Old 11-05-2006, 10:17 AM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FMCS
After the mod was installed we noticed that the forum became horribly slow so I changed the 'gallery_images_forumhome' bit to the following:

PHP Code:
// #################### Latest Gallery-Additions #######################
// fetch the permissions for each forum
// global $vbulletin;

if (isset($forumid) == false)
{

$gal_num_rows $vbulletin->options['gal_num_rows'];

if (
$vbulletin->options['show_latest']==1)
{

// fetch latest pics
$thumbs $db->query_read("SELECT gallery, threadid, firstpostid, "TABLE_PREFIX "thread.title, attachmentid, "TABLE_PREFIX "attachment.dateline FROM "TABLE_PREFIX "attachment, "TABLE_PREFIX "thread, "TABLE_PREFIX "forum
WHERE gallery='1' AND "
TABLE_PREFIX "thread.forumid="TABLE_PREFIX "forum.forumid AND "TABLE_PREFIX "thread.firstpostid = "TABLE_PREFIX "attachment.postid AND "TABLE_PREFIX "attachment.dateline < " TIME() ."
GROUP BY "
.TABLE_PREFIX ."thread.threadid
ORDER BY "
TABLE_PREFIX "attachment.attachmentid DESC LIMIT $gal_num_rows");



while (
$gallery $db->fetch_array($thumbs))
{
eval(
'$latestgallery .= "' fetch_template('gallery_latestpictures') . '";');
}
}

// #################### Random Gallery-Additions #######################
// fetch random pics

if ($vbulletin->options['show_random']==1)
{
$random_thumbs $db->query_read("SELECT gallery, threadid, firstpostid, "TABLE_PREFIX "thread.title, attachmentid, "TABLE_PREFIX "attachment.dateline FROM "TABLE_PREFIX "attachment, "TABLE_PREFIX "thread, "TABLE_PREFIX "forum
WHERE gallery='1'AND "
TABLE_PREFIX "thread.featured!='1' AND  "TABLE_PREFIX "thread.forumid="TABLE_PREFIX "forum.forumid AND "TABLE_PREFIX "thread.firstpostid = "TABLE_PREFIX "attachment.postid AND "TABLE_PREFIX "attachment.dateline < " TIME() ." ORDER BY RAND() LIMIT $gal_num_rows");

while (
$rand_gallery $db->fetch_array($random_thumbs))
{
eval(
'$random_gallery .= "' fetch_template('gallery_randompictures') . '";');
}
}


the added bits are 'if (isset($forumid) == false)' so the thumbs aren't attempted to load on other pages than forumhome. (got a big speed-increase on the forums after doing this)

also added 'if ($vbulletin->options['show_random']==1)' and 'if ($vbulletin->options['show_latest']==1)' bits to get rid of redundant sqlqueries.

Hope this is of any use to people
Thanks. You're right, i forgot to add the options for random and latest thumbs. And thanks for the hint regarding the forumid.
Reply With Quote
  #127  
Old 11-05-2006, 10:23 AM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Necrosaro420
Can this be set up so each user has their each individual section to upload their own pictures?
You could create a forum for each of your users. Depends of course, how many users should have such a section and how many users are on your board.

I was working on a routine, which creates a little gallery in your member-profile. Yet it didn't worked right. I have to rethink the routines...
Reply With Quote
  #128  
Old 11-06-2006, 02:41 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have a problem , i want my site to look like this attachment but i get this instead

http://www.talkgfx.com/forumdisplay.php?f=20
Reply With Quote
  #129  
Old 11-06-2006, 02:49 AM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit: i also seem to have a little german in the template

http://www.talkgfx.com/showthread.php?t=24

Nur f?r Mitglieder! = Only for members!

also no forums show for me here

http://www.talkgfx.com/forumdisplay.php?f=19
Reply With Quote
  #130  
Old 11-06-2006, 03:50 PM
Harald_T Harald_T is offline
 
Join Date: Aug 2003
Location: Kleve, Germany
Posts: 531
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AR Forums
i have a problem , i want my site to look like this attachment but i get this instead

http://www.talkgfx.com/forumdisplay.php?f=20
In the gallery-options you have one option where you can define the alternative-layout.
Reply With Quote
  #131  
Old 11-06-2006, 05:56 PM
VBUsers's Avatar
VBUsers VBUsers is offline
 
Join Date: Aug 2004
Posts: 830
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Harald_T
In the gallery-options you have one option where you can define the alternative-layout.
but the width isnt right. its not long enough.

see here
http://www.talkgfx.com/forumdisplay.php?f=20
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 01:08 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.09537 seconds
  • Memory Usage 2,354KB
  • 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_php
  • (4)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
  • (4)pagenav_pagelink
  • (2)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