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)

The Realist 04-05-2006 09:26 AM

Ok, finally got it to work.

My problem was the inc_features.php file that I needed to edit as follows:

Quote:

//$link = mysql_connect ("localhost", "$dbuserid", "$dbuserpassword") or die('I cannot connect to the database.');
mysql_select_db ("XXXXXXXXXXXX")or die("Could not select photopost database");
You need to uncomment (remove the // before the above line) and you need to be replaced the above red X's with your database name.

Worked for me.

Laters.

morrow 04-09-2006 06:10 AM

What if I have it installed like this:

Root
-vBulletin
-photopost

Where Photopost is not installed within my vBulletin Dir.

http://www.njflyfishing.com/vBulletin/index.php?

That's my path. Scroll to the very bottom.

For some reason, the addr is coming up like this:
http://www.njflyfishing.com/vBulleti...ry.php?cat=506

Other than this path problem, It looks ok... I just don't see any photo's.

Delphiprogrammi 04-09-2006 07:41 AM

Quote:

Originally Posted by morrow
What if I have it installed like this:

Root
-vBulletin
-photopost

Where Photopost is not installed within my vBulletin Dir.

http://www.njflyfishing.com/vBulletin/index.php?

That's my path. Scroll to the very bottom.

For some reason, the addr is coming up like this:
http://www.njflyfishing.com/vBulleti...ry.php?cat=506

Other than this path problem, It looks ok... I just don't see any photo's.

your path is not correct with a setup like that you need to set the path to for example

Code:

/var/www/njflyfishing.com/public_html/photopost
don't know if that's one correct just an example.But you are better of to install Photopost inside vbulletins directory why ? otherwise ones the path is correct you might be affected by the "openbase_dir" restriction (this is a PHP security feature) so you need to set the path to your www root and then include a /photopost at the end

CAMS 04-11-2006 01:47 PM

anyway to get rid of the rounded thumbnail borders on the images? and have no border atall?

phill2003 04-11-2006 03:03 PM

If you look for this
PHP Code:

        if ( $height $width )
            
$mthumb "<img src=\"{$url_path}/images/overlay-roundp.gif\" height=\"105\" width=\"81\" border=\"0\" alt=\"\" />";
        else
            
$mthumb "<img src=\"{$url_path}/images/overlay-round.gif\" height=\"81\" width=\"105\" border=\"0\" alt=\"\" />"

In inc-features and change the overlay round to whatever you want that should do it, or leave it blank if you dont want one..

CAMS 04-11-2006 03:04 PM

sorted it bud , cheers

TunerNetwork 04-19-2006 02:49 AM

Code:

Warning: Unknown: failed to open stream: No such file or directory in /index.php(488) : eval()'d code on line 133

Warning: Unknown: Failed opening './photopost/inc_features.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php(488) : eval()'d code on line 133

Yep, thats the error im getting, any clue? Im bout to punch the screen,lol. thanks

What ive done so far is just upload the plugin, and i get that error right away, I didnt put any code in the FORUMHOME yet cause i wanna get this part fixed.

also, my path to my gallery is: public_html/forum/gallery/ that have something to do with it?

TunerNetwork 04-19-2006 10:36 AM

bump bump, help please, thanks everyone!

Delphiprogrammi 04-19-2006 10:54 AM

Quote:

Originally Posted by TunerNetwork
Code:

Warning: Unknown: failed to open stream: No such file or directory in /index.php(488) : eval()'d code on line 133
 
Warning: Unknown: Failed opening './photopost/inc_features.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /index.php(488) : eval()'d code on line 133

Yep, thats the error im getting, any clue? Im bout to punch the screen,lol. thanks

What ive done so far is just upload the plugin, and i get that error right away, I didnt put any code in the FORUMHOME yet cause i wanna get this part fixed.

also, my path to my gallery is: public_html/forum/gallery/ that have something to do with it?

yes that path is not correct it is impossible a path like that works you need to set the "FULL" path if you don't know what this value should be look at the
PHP Code:

phpinfo(); 

output

it should tell you

TunerNetwork 04-19-2006 09:26 PM

K, where do i change the path at? the plugin itself or a file already on the server? If you can just get a lil specific, sorry, i havent messed with the gallery too much yet


All times are GMT. The time now is 01:08 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
  • Page Generation 0.01129 seconds
  • Memory Usage 1,750KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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