![]() |
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 --> HTML Code:
<!-- /main --> 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:
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:
|
coooooool ^_^
Install |
Nice work.
Thanks! |
Awesome!!!! no more file edits for this mod!!!!!
|
Awesome. Thanks!
I'm new and it was easy to install. Thanks! |
Been looking for this for ages - but doesn't work, get this error right at the top of the page:
Quote:
Cheers |
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 |
Quote:
Just not too up on MySQL yet ;) Cheers |
Quote:
spot on thanks for that :).. |
Any chance of some support on this please?
|
Quote:
PHP Code:
PHP Code:
|
Yep that is correct, I left it with the default - photopost, from the forum root.
It would appear to find the file correctly, but have issues with MySQL queries within that file - apparently I would be the only person with this problem! Thanks for your help. [edit] After a quick search for the exact same MySQL error, I found out where I was going wrong - my Photopost database is alongside the VBB one - and in the config.int.php file, the prefix wasn't set, which I set to "pp_" and now it's fine, just must be me, sorry for the hassle! [/edit] |
^ I changed mine to the full path and it works great! Thanks
PHP Code:
|
Quote:
|
I'm getting this error.
Warning: Unknown(./public_html/gallery/inc_features.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 1 Warning: Unknown(./public_html/gallery/inc_features.php): failed to open stream: No such file or directory in /index.php(485) : eval()'d code on line 1 Warning: (null)(): Failed opening './public_html/gallery/inc_features.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php(485) : eval()'d code on line 1 What should I do? |
Quote:
PHP Code:
|
Yes if your going to use the ./ directory pointer then take out the public html bit otherwise take out the ./ and replace it with the full path (not url) to the folder you want..
PHP Code:
or if that does not work PHP Code:
|
<i>Parse error: syntax error, unexpected $end in /home/admin/public_html/forums/index.php(485) : eval()'d code on line 2</i>
This is the error I'm getting now. Thanks |
Quote:
|
or you could have put a spare " when you put your username password and database name into inc_features
|
Ok guy's maybe I'm not doing this right.
Am I supposed to mod the inc_features.php within photopost if so where in the file do I need to mod? or mod the Plugin PHP Code? I have been moding the Plugin PHP Code this whole time. I still get the errors. |
This is what's in my inc_features file
//$link = mysql_connect ("localhost", "userid", "password") Should I take out the "" after I add the reall username and password? |
Quote:
Do your have Photopost Pro installed and integrated into vBulletin ? - If YES contenue reading :). Are you VB database and Pro database the same ? - If NO contenue reading :). Here we go ! :bunny: - Unhash these @ the top of the file - Fill in the photopost DB info Code:
// If you use the same userid/password to access both databases, you don't need to Code:
// If you use PhotoPost in a seperate database from vB, you'll need to reselect the vB database! |
Hello,
Do your have Photopost Pro installed and integrated into vBulletin ? YES I do. - If YES contenue reading . Are you VB database and Pro database the same ? Yes they are the same. - If NO contenue reading . |
Quote:
- Hook location: forumhome_complete Default install: Code:
include('./photopost/inc_features.php'); If you do not know it off the top of your head you can look it up in the /photopost/config-inc.php file. EX: Code:
// Path to your PhotoPost installation - no end slashes Code:
include('/www/pp/pro/inc_features.php'); |
Well I'm not getting anymore errors, but I don't see this on the main forum.
https://vborg.vbsupport.ru/attachmen...chmentid=44958 The forum portal is blank. www.rareclownfish.com |
Quote:
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 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/"; If you still have problems yell ;) |
Well I don't even get a header on the portal it shows up on the forums homepage.
Do I need to make my own box, or this code should have done eveything for me? |
I have this code with in my cinfig-int.php file. $pp_db_prefix = "pp_";
Should I be adding or changing somthing? |
Quote:
|
Thanks works great, now only to get it on the portal page :)
|
The variable should work on the portal page at least it did on mine (vba) without anymore messing about..
|
Quote:
|
I put this
Quote:
between $header $navbar like this. Code:
$header and it worked a treat, go and look at where it is on my site... |
I'm not using VBA, i'm using VBportal
|
Well i know they use photopost so it may be worth your while to ask there how to do it on the portal..
|
Thanks got it to work
|
I cant get it to work, keeps saying cant connect to photopost database?
|
Quote:
did you field in the variables ......config.inc.php if you use seperted databases you need to loo at inc_features to |
Both Photopost and VB are using the same database.
Quote:
|
All times are GMT. The time now is 07:14 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|