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

Reply
 
Thread Tools
PhotoPost vBGallery - Forum Home Details »»
PhotoPost vBGallery - Forum Home
Version: 1.7 Beta, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 09-12-2005 Last Update: 08-12-2006 Installs: 219
Uses Plugins Template Edits
Code Changes Is in Beta Stage  
No support by the author.

Ok it's Beta time !!!!!
Please only install to beta test. Even thow I have it running there may be problems still in the works. (there were many countless errors in the past)

- Feedback Please :squareeyed:

/* -----------------12/13/2005 6:41pm -----------------
Add Gallery Images to your Forum Index v1.7 (vB 3.5)

Tested on:
  • vBulletin 3.5 - 3.5.3
  • PhotoPost vBGallery v1.0.1 - 1.0.2

Demo:
- http://www.gzhq.net/forums/index.php

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

Overview:
  • Import Product XML
  • 1 file edit in 2 places
  • 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)
- 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.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.)

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

Whats Going On


Please click " install " for updates

Show Your Support

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

Comments
  #82  
Old 10-12-2005, 03:25 AM
Rukas Rukas is offline
 
Join Date: Aug 2004
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And the beta gives me these errors:

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: array_keys(): The first argument should be an array in /includes/functions_gallery.php on line 427

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 427

Warning: Division by zero in /includes/functions_gallery.php on line 1134
Reply With Quote
  #83  
Old 10-12-2005, 03:43 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you do the file edit on: forums/index.php // you also have to make the Template change that is in the main Zip file.

The Beta is only the XML file of the hack.

Quote:
Originally Posted by Rukas
And the beta gives me these errors:

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: Invalid argument supplied for foreach() in /index.php(463) : eval()'d code on line 231

Warning: array_keys(): The first argument should be an array in /includes/functions_gallery.php on line 427

Warning: Invalid argument supplied for foreach() in /includes/functions_gallery.php on line 427

Warning: Division by zero in /includes/functions_gallery.php on line 1134
Reply With Quote
  #84  
Old 10-12-2005, 04:19 AM
Rukas Rukas is offline
 
Join Date: Aug 2004
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^^ Yes.
Reply With Quote
  #85  
Old 10-12-2005, 04:24 AM
Rukas Rukas is offline
 
Join Date: Aug 2004
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Ive gotten rid of the error (made a silly mistake i wont even mention hehe) and now it "works", but it doesnt actually display any photos.

http://www.streethop.com/forum/
Reply With Quote
  #86  
Old 10-12-2005, 04:25 AM
Rukas Rukas is offline
 
Join Date: Aug 2004
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, the beta seems to work now, great.
Reply With Quote
  #87  
Old 10-12-2005, 04:18 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Change Log
===========
1.5
- <If> usergroup can not see thunbnails FORUMHOME edit will not show up.

1.4
- Removed Phrase to name gallery <table> now use $vba_options[gallery_title]
- Added 3 prases in "global" - filesize,category,dimensions

Upgrade needs a reinstall of XML product over the old one and replace FORUMHOME template edit.

The file edit did not change.
Reply With Quote
  #88  
Old 10-12-2005, 05:44 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Zachariah,

I updated to 1.5 and still get the error:

Parse error: parse error in /path/forum/index.php(470) : eval()'d code on line 141

I want to use this hack so let find out how to solve this
Reply With Quote
  #89  
Old 10-12-2005, 06:50 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 jluerken
Hi Zachariah,
I updated to 1.5 and still get the error:
Parse error: parse error in /path/forum/index.php(470) : eval()'d code on line 141
I want to use this hack so let find out how to solve this
I have not ran into this error.
Take a look @ syntax - perhaps a space or " ' ; that was removed.

Looking @ the index.php file around that area it is erroring, perhaps another hack you have installed ?

// ### TODAY'S EVENTS
line 141
Code:
if (!is_array($vbulletin->eventcache) OR $future != $vbulletin->eventcache['date']){
Did you add a plugin for the calendar or something to do w/ events or birthdays?
Reply With Quote
  #90  
Old 10-12-2005, 06:51 PM
mholtum's Avatar
mholtum mholtum is offline
 
Join Date: May 2004
Location: Arizona
Posts: 697
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
Number of Columns
The number of columns to display in a single row before splitting down to the next one.

AdminCP - vBa Gallery - Modify Settings - Browse Category Options - Number of Columns:


If that changes other things on your site you do not want Changed below to the # of images you wish to show up.


This is the code you were told to paste into your forumhome.
Code:
<!-- start Gallery Images -->
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<thead>
<tr>
    <td class="tcat" colspan="$vba_options[gallery_columns]">
     <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_gallery_random')">
Works like a friggen charm. After I read this post 12 times trying to figure out exactly what you meant. I have been on a steady diet of some pretty heavy pain meds for the last 6 weeks trying to recover from, well, anyway, today is my first day out of bed and I have upgraded my site and have almost everything ready again.. I have been starinig at this post ( all three of them) for the last 20 minutes and it finally sunk in... I need a beer. Thanks man..
Reply With Quote
  #91  
Old 10-12-2005, 06:56 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 mholtum
... I need a beer. Thanks man..
Don't drink them all - Its what gets me past the parse errors durring code.

I realy should of changed it to the same value as $galleryimagelimit so that when changes are made to the # of images show, it fixes the size of the table.

That was in the original hack. Perhaps if there is something else to add / fix I'll sneak it in.
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 09:15 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.07329 seconds
  • Memory Usage 2,321KB
  • 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
  • (4)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