vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Phototopost features block on forumhome (https://vborg.vbsupport.ru/showthread.php?t=111699)

Delphiprogrammi 03-29-2006 10:00 PM

Phototopost features block on forumhome
 
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 )

MP3 03-30-2006 10:04 AM

coooooool ^_^

Install

Snake 03-30-2006 11:56 AM

Nice work.

Thanks!

lazyseller 03-30-2006 01:15 PM

Awesome!!!! no more file edits for this mod!!!!!

shadow smith 03-30-2006 04:23 PM

Awesome. Thanks!

I'm new and it was easy to install.

Thanks!

steadicamop 03-30-2006 06:58 PM

Been looking for this for ages - but doesn't work, get this error right at the top of the page:

Quote:

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

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /photopost/inc_features.php on line 119
Tried changing the path so it didn't have the "." but makes no difference. Any ideas?

Cheers

shadow smith 03-30-2006 07:07 PM

I put in the full server path to my photopost directory:

/www/whatever/photopost/inc_features.php

I also had to uncomment out a couple lines in inc_features.php and insert the username/pw/database information as I use a different database to hold my photos.

Steve

steadicamop 03-30-2006 07:17 PM

Quote:

Originally Posted by shadow smith
I put in the full server path to my photopost directory:

/www/whatever/photopost/inc_features.php

I also had to uncomment out a couple lines in inc_features.php and insert the username/pw/database information as I use a different database to hold my photos.

Steve

Thanks, no good though, still a no go, even when I add the DB details in, and change it to the full path - it would appear more a MySQL error than anything else.

Just not too up on MySQL yet ;)

Cheers

phill2003 03-31-2006 04:57 PM

Quote:

Originally Posted by shadow smith
I put in the full server path to my photopost directory:

/www/whatever/photopost/inc_features.php

I also had to uncomment out a couple lines in inc_features.php and insert the username/pw/database information as I use a different database to hold my photos.

Steve


spot on thanks for that :)..

steadicamop 04-01-2006 01:39 PM

Any chance of some support on this please?


All times are GMT. The time now is 11:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01195 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete