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

Reply
 
Thread Tools
Phototopost features block on forumhome Details »»
Phototopost features block on forumhome
Version: 1.00, by Delphiprogrammi Delphiprogrammi is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 03-29-2006 Last Update: 03-29-2006 Installs: 47
Uses Plugins Template Edits
 
No support by the author.

hi people,

I see people who are heavenly modifying there boards to get this done.This is actually not needed.Photopost includes a files that does this automatically

1)install the plugin
2)tempate modification

template FORUMHOME find this code

HTML Code:
<!-- /main -->
<br />
<br />
replace with

HTML Code:
<!-- /main -->
 
<br />
$photopostfeature
<br />
remember to modify the path to inc_features.php(this is a PhotoPost file) if your photopost installation is different from mine

that's all

enjoy
all done no more modifications to the original vb files needed

possible problems
Question:After installation i get an error message like

Quote:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /photopost/inc_features.php on line xx

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /photopost/inc_features.php on line xx
Answer:This Could be because you did not set a value for the $ppdbprefix (database table prefix) Photopost uses.Open your config-int.php and set the correct value for the $ppdbprefix variable

You can also set this in your Photopost Administration panel under "edit integration" (PhotoPost Database Table Prefixes) field

question i don't know what my path should be can you help me ?

PHP Code:
<?php
phpinfo
(INFO_VARIABLES);
?>
and look at the value of $_SERVER['PATH_TRANSLATED']; this is the serverpath to the file you are currently vieuwing within your webbrowser when you are done remove this file from your server (security )

Show Your Support

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

Comments
  #82  
Old 11-28-2006, 05:43 PM
m3site m3site is offline
 
Join Date: Feb 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed the plug in but there is no pictures under feature gallery bar.

look at www.motorcycle-journal.com/forum

I am not getting any error...any idea?
Reply With Quote
  #83  
Old 11-29-2006, 10:34 AM
stupidstu stupidstu is offline
 
Join Date: Mar 2005
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone get this plugin worked with 3.6.4 ?
Reply With Quote
  #84  
Old 12-05-2006, 07:46 AM
popmyzit popmyzit is offline
 
Join Date: Jun 2006
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachariah View Post
**** Problems ***************** Answers ***************

Why do I get a header of the box and not images ?

- photopost/config-int.php

Code:
// If your PhotoPost tables have a prefix, put it here
// Example:
// pp_ = "pp_";
$pp_db_prefix = "pp_";
Default prefix.

Why do my images show up but only as black spots ?

Edit: photopost/config-int.php
- add the " / " slash @ the end of:
Code:
$data_dir = "http://www.website.com/photopost/data/";
In Red


If you still have problems yell


Did both and I still have header with no images.... please help!
Reply With Quote
  #85  
Old 12-05-2006, 01:31 PM
phill2003 phill2003 is offline
 
Join Date: Apr 2003
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are your photos all in the members albums? If they are then that is your problem this hack is designed by default not to take photos from members albums (cat 500).
Reply With Quote
  #86  
Old 12-08-2006, 08:07 PM
budlite74 budlite74 is offline
 
Join Date: Sep 2003
Location: CA *The West Is The Best*
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/content/path/tomysite/html/photopost/inc_features.php on line 67

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/content/path/tomysite/html/photopost/inc_features.php on line 143

any sugestions?
Reply With Quote
  #87  
Old 01-05-2007, 08:19 PM
mcyates mcyates is offline
 
Join Date: Jan 2003
Location: Middlesbrough, Cleveland
Posts: 798
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by phill2003 View Post
Are your photos all in the members albums? If they are then that is your problem this hack is designed by default not to take photos from members albums (cat 500).
well isn't that a bit stupid.
Reply With Quote
  #88  
Old 01-06-2007, 01:24 PM
phill2003 phill2003 is offline
 
Join Date: Apr 2003
Posts: 217
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mcyates View Post
well isn't that a bit stupid.

Not really feel free to recode the hack to your liking though...
Reply With Quote
  #89  
Old 01-08-2007, 08:18 PM
steadicamop's Avatar
steadicamop steadicamop is offline
 
Join Date: Jul 2004
Location: Lancashire, UK
Posts: 379
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by phill2003 View Post
Are your photos all in the members albums? If they are then that is your problem this hack is designed by default not to take photos from members albums (cat 500).
I have this way set up on mine, you can get round this, not sure if there's any side-effects but it seems to work fine on mine.

In the Photopost directory, edit the inc_features.php file and search for "500" (it should appear 3 times in total, around half way down the page) I changed these to "0" and refreshed and they appeared with no problems - I intend on leaving mine set up this way.

HTH
Reply With Quote
  #90  
Old 01-10-2007, 02:20 AM
TotalCare TotalCare is offline
 
Join Date: Aug 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
In the Photopost directory, edit the inc_features.php file and search for "500" (it should appear 3 times in total, around half way down the page) I changed these to "0" and refreshed and they appeared with no problems - I intend on leaving mine set up this way.
Many thanks for this!
Reply With Quote
  #91  
Old 01-11-2007, 12:41 AM
lthaus lthaus is offline
 
Join Date: Mar 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stupidstu View Post
Anyone get this plugin worked with 3.6.4 ?
I'm stuck..

3.6.4
added the xml..
edited the path...
Plugin PHP Code
include('/home/webuser/photoshop/inc_features.php');
include('/home/webuser/photoshop/inc_photopost.php');

added

$photopostfeature
$navbar

But I still don't even get a blank feature box..
right now it just shows two navbars.. (second added just to be sure I was in the right template.

Photopost works if I go there, but I'm not having luck getting it up on 3.6.4
?? Any idea to what I may have missed. ??


EDIT

OK.. forgive me...
but..
Warning: Plugins are currently globally disabled in your options. In order for plugins and products to function correctly, you must enable the plugin system. Importing a product will do this for you automatically.

Plugin System
Title Hook Location Active Controls
Product : vBulletin
Photopost Feature Block forumhome_complete [Edit] [Delete]


I guess I assumed that installing the plugin would in fact enable the plugin system.
I was wrong...
BE SURE you turn on your plugin system..
Works like a champ.
Duh!..

Thx.!
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 02:34 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.06087 seconds
  • Memory Usage 2,314KB
  • 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
  • (2)bbcode_html
  • (1)bbcode_php
  • (7)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