Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Add PhotoPost Pro to each forum. Details »»
Add PhotoPost Pro to each forum.
Version: 1.00, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-03-2006 Last Update: Never Installs: 43
DB Changes Uses Plugins Template Edits
Additional Files Translations  
No support by the author.

/* ----------------- 4/03/2006 4:37PM -----------------
Add PhotoPost Pro to each forum.

This hack will allow you to fill-in catagories from Photopost Pro to display in a film strip format under the $navbar. This will show in every thread of the forum as well.

1 querry
  • 1 template
  • 4 Fields
  • 1 file upload
  • 3 plugins
  • 5 phrases

Tested on:
  • vBulletin 3.5.4
  • PhotoPost Pro 5.21


Each forum extra options:


- Image Count:
(How many images would you like to show ?)

- Image Order:
(Enter 1 for newest, 2 for most viewed, 3 for most comments, 4 for highest rated, 5 for random.)

- Select Catagory(s):
(Here you can list catagories you wish to show images from. EX: 1,10,20)

- Show Imagebit:
(Title, Description, Rating, Username, Views, Dimensions, and more.)

+-+-+-+-+-+-+-+-+-+-+-+-

Show Your Support

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

Comments
  #62  
Old 12-15-2006, 11:21 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sherry, I think he intends on working with 3.6.x...but from the post prior to yours...looks like he's swamped with other priorities. I'm with ya though...patiently waiting.
Reply With Quote
  #63  
Old 12-24-2006, 03:58 AM
Rik Brown's Avatar
Rik Brown Rik Brown is offline
 
Join Date: Nov 2005
Location: St. Louis, Missouri, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just attempted an install and get the following error message when trying to save forum information:

Unknown column 'ppgcount' in 'field list'

I've seen references to this error in previous messages but no indication on how to fix it. Has anyone who has encountered this figured out how to fix it?

If so, please advise. Thanks. -- Rik

BTW, I have my PP and VB databases installed in the same directory. I'm running vb 3.6.4 and PP 5.31.
Reply With Quote
  #64  
Old 01-13-2007, 11:04 PM
Rik Brown's Avatar
Rik Brown Rik Brown is offline
 
Join Date: Nov 2005
Location: St. Louis, Missouri, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Re: Unknown column 'ppgcount' in 'field list'

I came back for a 2nd attempt at installing this very nice mod and found that the plugin xml file simply wasn't adding any of the 4 required columns to our "forums" table.

In our case, the problem was with the ... NOT NULL DEFAULT '' statement which created SQL syntax error messages by mySQL. By removing the DEFAULT '' and running the queries manually (didn't attempt to alter the XML file for which this change should also work) everything is now fine.

FYI, we are running mySQL 5.0.24-standard and vb 3.6.4.

Hope that helps others and thanks to Zachariah for a really neat mod!

Cheers! -- Rik
Reply With Quote
  #65  
Old 01-30-2007, 08:47 AM
Spika's Avatar
Spika Spika is offline
 
Join Date: Jun 2006
Location: Marbella - Spain
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello, this MOD is for Photopost Pro o Photopost VBGallery?
Inside the readme.txt I see this:

This hack will allow you to select witch catagories from Photopost vBGallery...
Thanks
Reply With Quote
  #66  
Old 01-30-2007, 09:32 AM
Spika's Avatar
Spika Spika is offline
 
Join Date: Jun 2006
Location: Marbella - Spain
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed and I get this error in the forum I have enabled album:

Warning: main() [function.main]: open_basedir restriction in effect. File(/config-int.php) is not within the allowed path(s): (/var/www/vhosts/gstrail.es/httpdocs:/tmp) in /var/www/vhosts/gstrail.es/httpdocs/photopost/inc_vbcat.php on line 15

Warning: main(config-int.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/gstrail.es/httpdocs/photopost/inc_vbcat.php on line 15

Fatal error: main() [function.require]: Failed opening required 'config-int.php' (include_path='.:') in /var/www/vhosts/gstrail.es/httpdocs/photopost/inc_vbcat.php on line 15


I have installed Vbulletin 3.6.4 and Photopost Pro 5.62. in a VPS.
If is a permission problem in PHP.info I have safemode LOCAL: Off / REMOTE: On

Thanks in advanced
Reply With Quote
  #67  
Old 02-23-2007, 01:08 PM
Spika's Avatar
Spika Spika is offline
 
Join Date: Jun 2006
Location: Marbella - Spain
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone can help me about the above post?
Reply With Quote
  #68  
Old 03-04-2007, 08:11 AM
DaveS DaveS is offline
 
Join Date: Apr 2006
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just to note down my experiences.
I have vBulletin 3.6.4 and Photopost Pro 5.6.2
I have vB installed in root/forums and Photopost installed in root/photopost
I've installed the mod straight as it stands and followed the install instructions.
It installed perfectly, but thumbnails didn't display at all.

After some investigation I saw that the thumbnail URL was not formed properly.
I edited the inc_vbcat.php file that goes in the Photopost folder and made the following corrections.

From:
PHP Code:
<td style="background: url({$data_dir}{$pcat}/thumbs/$photo
To:
PHP Code:
<td style="background: url({$data_dir}/{$pcat}/thumbs/$photo
Note the added slash between the {$data_dir}{$pcat}. The above correction needs to be made in 2 places, when you open up the file to edit it should be easily apparent where they are as they are close together.

Hope this helps someone with the same problem.
Mod works a treat though and is really great.
Reply With Quote
  #69  
Old 03-04-2007, 09:36 PM
Rik Brown's Avatar
Rik Brown Rik Brown is offline
 
Join Date: Nov 2005
Location: St. Louis, Missouri, USA
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We use a popular hack to create a left column for our forums. I'd like to move this hack so that it would display in that left column instead of its current placement. I assume that would require a new "hook." Does anyone know how to accomplish that?

Thanks. -- Rik
Reply With Quote
  #70  
Old 03-30-2007, 11:21 PM
Quantnet Quantnet is offline
 
Join Date: Nov 2006
Location: NYC
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can this mod be used to show photo on the Forum Home only ?
Reply With Quote
  #71  
Old 04-18-2007, 08:51 PM
Z82 Z82 is offline
 
Join Date: Nov 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DaveS View Post
Just to note down my experiences.
I have vBulletin 3.6.4 and Photopost Pro 5.6.2
I have vB installed in root/forums and Photopost installed in root/photopost
I've installed the mod straight as it stands and followed the install instructions.
It installed perfectly, but thumbnails didn't display at all.

After some investigation I saw that the thumbnail URL was not formed properly.
I edited the inc_vbcat.php file that goes in the Photopost folder and made the following corrections.

From:
PHP Code:
<td style="background: url({$data_dir}{$pcat}/thumbs/$photo
To:
PHP Code:
<td style="background: url({$data_dir}/{$pcat}/thumbs/$photo
Note the added slash between the {$data_dir}{$pcat}. The above correction needs to be made in 2 places, when you open up the file to edit it should be easily apparent where they are as they are close together.

Hope this helps someone with the same problem.
Mod works a treat though and is really great.

Did this, made the db config changes in inc_vbcat.php and enabled it in a couple of forums inyet I get absolutely nothing on my site :?

Anyone got any ideas?
Reply With Quote
Reply

Thread Tools

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 07:09 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.05088 seconds
  • Memory Usage 2,315KB
  • 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
  • (4)bbcode_php
  • (1)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
  • (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