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
vBGallery - Forum Home Details »»
vBGallery - Forum Home
Version: 1.8, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.0 Rating:
Released: 08-08-2006 Last Update: 08-14-2006 Installs: 134
Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

/* -----------------8/9/2006 6:20am -----------------
Add Gallery Images to your Forum Index v1.8

Tested on:
vBulletin 3.6
PhotoPost vBGallery v2.0 Beta

Zachariah - http://www.gzhq.net

// ---------------------------------------------------------

DEMO

- Feedback Please :squareeyed:

Overview:
  • import Product XML
  • 1 file edit
  • 2 file uploads
  • 1 image upload
  • Adds 1 Query to FORUMHOME

Hack includes:
- Hack Active (yes / no)
- Enable Navbar (yes / no)
- Image Count (number of images)
- Image Order (Random, Newest, Most Views, Most Comment, Highest Rated)
- Column Span (Choice of column count accross)
- Locations (Above Header, Below Header, Under Navbar, Above What's going on, Inside What's going on, Below What's going on, Custom)
- Exclude Catagories
- Only Catagories
- On/Off options for all of the "info" per image
- If gallery is not active hack will vanish (all usergroups)
- Admin will get "Alert: The gallery is currently turned off!" on FORUMHOME
- If gallery settings of a usergroup does not see "thumbnails" the hack will vanish
- No Template edits

Change Log
===========
1.8 - 8/9/2006
- Column Span: Choice of column count across.
- Locations: (were should be displayed on the forumhome)
  • Above Header
  • Below Header
  • Under Navbar
  • Above What's going on
  • Inside What's going on
  • Below What's going on
  • Custom
Select "Custom" and place $vbgallery in FORUMHOME template for custom location.


1.7 Beta 2 - 01.17.06
- Fixed usergroups not able to see the hack
- Fixed sort order problems

1.7
- Install w/ product and 2 edits in 1 file.
- Killed the need for FORUMHOME template edit.
- AdminCP options to change the hack settings
- Added: Parts of the gallery's Nav bar w/ dropdowns
(My Stuff*, What's New, What's Popular,Search) to the hack with on/off option.
* My Stuff will not be seen if you are a guest.

1.6
- Added: If the gallery is off or disabled the hack not show up.
- Added: templates to support the hack vs. gallery templates
(allows you to customize the templates for the look and feel you want vs. mess up the way your gallery templates look.)

--------------------------------------------------*/

Show Your Support

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

Comments
  #12  
Old 08-09-2006, 04:38 PM
DJ XtAzY DJ XtAzY is offline
 
Join Date: Feb 2005
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got this error msg

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/vbgallery/forumhome_complete.php on line 166

also no matter what i do, when the images has comments/replies to it, it always ends up showing 0 on forumhome. It shows up fine in vbgallery, but not in forumhome =[

i have checked that i have the Replies boxes ticked in vbgallery admin and have replies counts towards their post, but it just dont show the correct # of replies on forumhome
Reply With Quote
  #13  
Old 08-09-2006, 05:07 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by XtAzY
i got this error msg

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /includes/vbgallery/forumhome_complete.php on line 166

also no matter what i do, when the images has comments/replies to it, it always ends up showing 0 on forumhome. It shows up fine in vbgallery, but not in forumhome =[

i have checked that i have the Replies boxes ticked in vbgallery admin and have replies counts towards their post, but it just dont show the correct # of replies on forumhome
Ahh - PHP5x error

try this:
/includes/vbgallery/forumhome_complete.php on line 166

replace:
Code:
$privatecatids = iif(empty($privatecatids), $vba_options['gallery_homeexcats'], array_merge((array)$privatecatids, (array)$vba_options['gallery_homeexcats']));
Reply With Quote
  #14  
Old 08-09-2006, 05:39 PM
DJ XtAzY DJ XtAzY is offline
 
Join Date: Feb 2005
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
Ahh - PHP5x error

try this:
/includes/vbgallery/forumhome_complete.php on line 166

replace:
Code:
$privatecatids = iif(empty($privatecatids), $vba_options['gallery_homeexcats'], array_merge((array)$privatecatids, (array)$vba_options['gallery_homeexcats']));
works like a charm
Reply With Quote
  #15  
Old 08-09-2006, 06:10 PM
woody200456 woody200456 is offline
 
Join Date: Aug 2006
Location: United Kingdom
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: Never Mind :P
Reply With Quote
  #16  
Old 08-09-2006, 06:34 PM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice
Reply With Quote
  #17  
Old 08-09-2006, 06:55 PM
Tork64 Tork64 is offline
 
Join Date: Jun 2006
Location: Burbank, California
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet! and thanks

Edit: lol, okay i take it you need to buy vbgallery to install this right ? If so where i can buy it from.
Reply With Quote
  #18  
Old 08-09-2006, 07:35 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tork64
sweet! and thanks

Edit: lol, okay i take it you need to buy vbgallery to install this right ? If so where i can buy it from.
Untill a price sheet is made.
Reply With Quote
  #19  
Old 08-09-2006, 08:03 PM
Tyegurl's Avatar
Tyegurl Tyegurl is offline
 
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

does this have personal galleries?
Reply With Quote
  #20  
Old 08-09-2006, 08:50 PM
Neal-UK's Avatar
Neal-UK Neal-UK is offline
 
Join Date: Feb 2004
Location: Lancashire, England
Posts: 604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting this, my site is on the root:

Quote:
Warning: Unknown(./includes/vbgallery/forumhome_complete.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 45

Warning: Unknown(./includes/vbgallery/forumhome_complete.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 45

Fatal error: (null)(): Failed opening required './includes/vbgallery/forumhome_complete.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nealpar2/public_html/index.php(485) : eval()'d code on line 45
EDIT: This was because I was a numpty and uploaded the files to the wrong server! Working now!
Reply With Quote
  #21  
Old 08-10-2006, 04:20 PM
MotoUp MotoUp is offline
 
Join Date: Jul 2004
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if I'm doing something wrong or not, but When I enable Last Post under the image, it shows never even after I post a reply.
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 02:31 AM.


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.06119 seconds
  • Memory Usage 2,313KB
  • 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
  • (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
  • (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