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
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
  #32  
Old 05-19-2006, 11:07 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think default a image (some media icon) vs. a freezframe clip is placed as a thumbnail.
Reply With Quote
  #33  
Old 05-24-2006, 05:16 AM
fosman's Avatar
fosman fosman is offline
 
Join Date: Dec 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I saw in inc_features.php and inc_vbcat that the codes didn't fetched medie other then image formats like *jpg, gif and so on. I've added my self mpg. mpeg, avi and wmv. These files are now showing in forumhome, but without thumbnails
Reply With Quote
  #34  
Old 05-24-2006, 12:21 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 fosman
I saw in inc_features.php and inc_vbcat that the codes didn't fetched medie other then image formats like *jpg, gif and so on. I've added my self mpg. mpeg, avi and wmv. These files are now showing in forumhome, but without thumbnails
I'll have to look @ that. I did not test on non-images.
Reply With Quote
  #35  
Old 05-27-2006, 11:34 PM
puregraf's Avatar
puregraf puregraf is offline
 
Join Date: May 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, i got a global error after i installed the hack when trying to go to the vba main page and photopost main page.. so i disabled the hook_location global start for the add photopost pro admin and add photopost main and it fixed it.. did i do something wrong? id like to get the hack working, thanks in advance
Reply With Quote
  #36  
Old 05-28-2006, 12:42 AM
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 puregraf
hi, i got a global error after i installed the hack when trying to go to the vba main page and photopost main page.. so i disabled the hook_location global start for the add photopost pro admin and add photopost main and it fixed it.. did i do something wrong? id like to get the hack working, thanks in advance
What was the error ? :surprised:
Also take a look @ post 2,3 for setup info, it could be simple opps.

Yell if ya still need help.
Reply With Quote
  #37  
Old 05-28-2006, 07:16 PM
puregraf's Avatar
puregraf puregraf is offline
 
Join Date: May 2006
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah
What was the error ? :surprised:
Also take a look @ post 2,3 for setup info, it could be simple opps.

Yell if ya still need help.
hi, i also posted this on the photopost site, whichever gets answered first :knockedout:


---

this is what i have
Hook Location : global_start
Add PhotoPost Pro - AdminCP Add PhotoPost Pro to each forum [Edit] [Delete]
Add PhotoPost Pro - Main Add PhotoPost Pro to each forum [Edit] [Delete]


in the admin cp add photopost pro i have:


print_table_header($vbphrase['ppg_title']);
print_input_row($vbphrase['ppgcount'], 'forum[ppgcount]', $forum['ppgcount']);
print_input_row($vbphrase['ppgorder'], 'forum[ppgorder]', $forum['ppgorder']);
print_input_row($vbphrase['ppgcat'], 'forum[ppgcat]', $forum['ppgcat']);
print_yes_no_row($vbphrase['ppginfo'], 'forum[ppginfo]', $forum['ppginfo']);


and in the main add photopost pro i have:

include('/home/puregraf/public_html/graffiti-gallery/inc_vbcat.php');

if ($foruminfo['ppgcat']){
include('/home/puregraf/public_html/graffiti-space/inc_vbcat.php');

if (THIS_SCRIPT == 'showthread'){
$search_text = '$navbar';
$vbulletin->templatecache['SHOWTHREAD'] = str_replace($search_text,
$search_text.fetch_template('forumdisplay_ppgaller y'),$vbulletin->templatecache['SHOWTHREAD']);
}
if (THIS_SCRIPT == 'forumdisplay'){
$search_text = '$navbar';
$vbulletin->templatecache['FORUMDISPLAY'] = str_replace($search_text,
$search_text.fetch_template('forumdisplay_ppgaller y'),$vbulletin->templatecache['FORUMDISPLAY']);
}
}


also, step 4, i didnt understand what to do? it says: 4)
Forums & Moderators => Forum Manager => Edit forum => Add PhotoPost Pro on this Forum
- Leave "Select Catagory" blank to not show images

but i dont get it? i went to Forums & Moderators, then Forum Manager, then Edit Forum?? which one am i clicking edit for? i tried clicking edit for one of them, but there was no "add photopost pro on this forum" option? please help, thanks
Reply With Quote
  #38  
Old 05-29-2006, 01:09 AM
UtahNissans UtahNissans is offline
 
Join Date: May 2006
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This work with photopost 5.11?
Reply With Quote
  #39  
Old 05-29-2006, 10:42 AM
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 UtahNissans
This work with photopost 5.11?
ya I do not see a problem. I do not think the DB has changed.
Reply With Quote
  #40  
Old 06-07-2006, 08:05 PM
TheOutdoors TheOutdoors is offline
 
Join Date: Jun 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've reinstalled this 3 times and I'm getting the same error. When I go to edit a forum to update the settings, and click Save, I receive the error "MySQL Error : Unknown column 'ppgcount' in 'field list'"

I uncommented out the lines in inc_vbcat.php to point to my PP database (it's separate from my VB database), but I still get this error.

It's like the database table wasn't updated properly with the new fields...what do I do next?
Reply With Quote
  #41  
Old 07-17-2006, 01:51 PM
chriszep chriszep is offline
 
Join Date: Dec 2005
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello
I have photopost 5.30 & vb 3.51
I see in my admin cp the options for inserting photopost
I done all step but in my forum I see nothing (no black thumb, nothing )
I used a fresh style (just change colour)

I edit the
Quote:
Quote:
Edit: Plugin
Hook Location : global_start
Add PhotoPost Pro - Main

thanks
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:06 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.06589 seconds
  • Memory Usage 2,311KB
  • 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
  • (5)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