Register Chat Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
PhotoPost vBGallery - Forum Home Details »»
PhotoPost vBGallery - Forum Home
Mod Version: 1.7 Beta, by Zachariah (Coder/Designer) Zachariah is offline
Developer Last Online: Jan 2010 Show Printable Version Email this Page

vB Version: 3.5.4 Rating: (11 votes - 3.45 average) Installs: 220
Released: 13 Sep 2005 Last Update: 13 Aug 2006 Downloads: 294
Supported Uses Plugins Template Edits Code Changes Is in Beta Stage  

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

Download Now

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

Screenshots

Click image for larger version

Name:	admincp.gif
Views:	2018
Size:	22.0 KB
ID:	39352Click image for larger version

Name:	all_options.gif
Views:	2748
Size:	42.2 KB
ID:	39353Click image for larger version

Name:	no_data.gif
Views:	1863
Size:	41.2 KB
ID:	39354

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add PhotoPost vBGallery to each forum Zachariah vBulletin 3.5 Add-ons 46 25 Sep 2008 19:21
vBGallery - Forum Home Zachariah vBulletin 3.6 Add-ons 191 10 Mar 2008 23:30

  #376  
Old 25 Apr 2006, 06:43
wii's Avatar
wii wii is offline
 
Join Date: Oct 2005
Btw, the hack conflicts with this one:

http://www.vbulletin.org/forum/showthread.php?t=111631

So, I had to remove the polls at forum home to view the images from this hack correctly.
Reply With Quote
  #377  
Old 26 Apr 2006, 19:20
blkatt blkatt is offline
 
Join Date: Dec 2004
Question Error after install

Running:
vBulletin 3.54
PhotoPost vBGallery v1.0.2


Getting thsi error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/username/public_html/forum/index.php on line 31

Ideas?

Thanx.
Reply With Quote
  #378  
Old 26 Apr 2006, 19:42
blkatt blkatt is offline
 
Join Date: Dec 2004
Originally Posted by blkatt
Running:
vBulletin 3.54
PhotoPost vBGallery v1.0.2


Getting thsi error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/username/public_html/forum/index.php on line 31

Ideas?

Thanx.
Got it, I left out a comma in my index.php file edit.
Works fine. Thanks Zach.
Reply With Quote
  #379  
Old 26 Apr 2006, 19:49
blkatt blkatt is offline
 
Join Date: Dec 2004
Lightbulb

Originally Posted by blkatt
Got it, I left out a comma in my index.php file edit.
Works fine. Thanks Zach.

i meant to say I left out a quote (') sign in my index.php file edit.
Reply With Quote
  #380  
Old 26 Apr 2006, 20:07
blkatt blkatt is offline
 
Join Date: Dec 2004
Question Columns Questions

Is there a way to limit the number of columns of images .

When I display 6 images it displays 6 images (columns) on 1 row even though Gallery is set to break into another row after 3 images (columns).

I want to break into another row of images after 3 images are displayed.
Reply With Quote
  #381  
Old 11 May 2006, 10:53
Murty's Avatar
Murty Murty is offline
 
Join Date: Dec 2005
Real name: Daniel
Originally Posted by AzianStang
*slaps himself*

OK now I feel stupid!

But I followed the rest of the steps, and for some reason, I'm now getting a forum database error... imported the product and made the two index.php changes, and now I'm getting a database error page.

FYI, I ran a query earlier today for another gallery mod: http://www.vbulletin.org/forum/showthread.php?t=92875

Would this have anything to do with this error?
I am having the exact same problem (after uninstalling vbi_gallery) any thoughts?
__________________
WEBSITE: www.youthwithareason.com
Reply With Quote
  #382  
Old 12 May 2006, 19:01
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Added:
- functions_gallery_store.php

This method works for PHP4x , 5x. I have tested this and it works.

This will "globalize" the needed $phrasegroup and $specialtemplates with 1 file edit so no other file edits are needed on hacks that need the gallery's:

- $phrasegroups
- $specialtemplates

--------------------------------

* This will add all the needed file edits for gallery add-ons.
* This will work on ALL VB powered pages
* This will work on vBAdvanced CMPS pages
* This will work on vPortal pages and Blocks
* This only needs to be done once

- I will update any hack I create with this method. The file will be with every hack until a standard can be added to the main build.

http://www.photopost.com/forum/showthread.php?t=123315
__________________
http://www.szone.us | http://www.gzhq.net
My:Hacks @ vBulletin.org
Reply With Quote
  #383  
Old 15 May 2006, 22:41
wii's Avatar
wii wii is offline
 
Join Date: Oct 2005
Latest version works fine, but could you please add the missing table tags in the code?

Error Line 762 column 9: end tag for "table" which is not finished.
</table>

Error Line 790 column 9: end tag for "table" which is not finished.
</table>

Error Line 818 column 9: end tag for "table" which is not finished.
</table>

Error Line 846 column 9: end tag for "table" which is not finished.
</table>
Reply With Quote
  #384  
Old 17 May 2006, 02:42
parabat parabat is offline
 
Join Date: Apr 2006
Hi Zachariah

When I add the line
> - Edit:
>forums/includes/init.php
>- Find:
>require_once(CWD . '/includes/class_core.php');
>- Below Add:
>require_once(CWD . '/includes/functions_gallery_store.php');"

I get the following error.
There seems to have been a problem with the Forums database.
Please try again by clicking the Refresh button in your web browser.

Email says:
Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_holiday AS phrasegroup_holiday,
language.phrasegroup_adv_gallery AS phrasegroup_adv_gallery,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))


Also, the include file is incorrect in your xml.
Code is:
//Latest Images In ForumHome BEGIN

require_once('./includes/functions_gallery.php');
require_once('./includes/class_bbcode.php');

Should be:
//Latest Images In ForumHome BEGIN

require_once('./includes/functions_gallery_store.php');
require_once('./includes/class_bbcode.php');

Any help would be great.
Reply With Quote
  #385  
Old 17 May 2006, 14:38
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
VB 3.5 - 3.5.4
forums/includes/init.php -- Not the XML file that came with the package.


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

Upload: forums/includes/functions_gallery_store.php

This works on my website.
This step is done so that there is no need to edit forums/index.php. This one edit will also stop the the need to edit any other VB powered pages to show gallery data on them.

In the past you had to do this to show data on FORUMHOME page.

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

I found myself with 10 VB core php files with edits to show gallery data. This was a total pain when the forums did an upgrade or the portal system needed an upgrade and file edits were needed again. This way only 1 file edit is needed for site wide availability of data.
__________________
http://www.szone.us | http://www.gzhq.net
My:Hacks @ vBulletin.org

Last edited by Zachariah : 17 May 2006 at 14:42.
Reply With Quote
  #386  
Old 17 May 2006, 15:16
parabat parabat is offline
 
Join Date: Apr 2006
Originally Posted by Zachariah
VB 3.5 - 3.5.4
forums/includes/init.php -- Not the XML file that came with the package.

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

If I don't make this change, there is an error saying the file function_gallery.php can't be found.

Once I've made this change in the xml file the error I get only occures once I add that include file in init.php.
Reply With Quote
  #387  
Old 18 May 2006, 02:20
parabat parabat is offline
 
Join Date: Apr 2006
Done

Never mind, I sorted it out :banana:
Reply With Quote
  #388  
Old 20 May 2006, 00:18
H@K@N H@K@N is offline
 
Join Date: Dec 2004
Real name: H@K@N
Question

Didn't find it on the whole Thread :

How can i display the Images in the Footer instead in the Header ?

thx
Reply With Quote
  #389  
Old 20 May 2006, 01:05
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Originally Posted by H@K@N
Didn't find it on the whole Thread :

How can i display the Images in the Footer instead in the Header ?

thx
Place where you want on forumhome w/ 1 template edit

You will want to edit the forumhome template and place the block where you want vs. use an anchor:

Edit plugin: Forumhome: Gallery Main

Replace:

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

with


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

Edit FORUMHOME: Place in location of choice.

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

__________________
http://www.szone.us | http://www.gzhq.net
My:Hacks @ vBulletin.org
Reply With Quote
  #390  
Old 24 May 2006, 10:46
sensimilla sensimilla is offline
 
Join Date: Dec 2004
Real name: Eric Estrada
I did upgraded it today and the border is broken now.. Any ideas ? TIA
Attached Images
File Type: jpg border.jpg (16.4 KB, 39 views)
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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 06:58.

Layout Options | Width: Wide Color: