vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Photopost Classifieds Recent Ad Block on Forumhome (https://vborg.vbsupport.ru/showthread.php?t=134098)

tomkh25 12-17-2006 10:04 AM

Thanx for this great plugin. It works Just fine for me, Without any problems.

Gr, Tom

smoknz28 12-17-2006 07:19 PM

Uncommenting the lines....I'm confused as to what data I'm to put in the lines.

I have three databases....one for each - vB, Classifieds, and Photopost.

$link - I input my vB database information.
mysql_select_db - I input my PhotoPost database name.

Then....I uncommented line 193 and put my vB database name in the quotes.

Made these changes, but am getting errors. So, I'm thinking I am not putting the database information in the correct locations.

RaceJunkie 12-17-2006 08:12 PM

Quote:

Originally Posted by JimmyN (Post 1140061)
yeah ok, what version classifieds was it?


Classifieds v2.5

smoknz28 12-17-2006 10:26 PM

vB 3.6.4
Classifieds 2.5

K, got the connection it appears now with my databases. However, I'm getting the following errors:

Quote:

Warning: getimagesize(http://www.f-bodyhideout.com/forums/...11P7031738.JPG) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /classifieds/inc_ads.php on line 120

Warning: getimagesize(http://www.f-bodyhideout.com/forums/...-rt-ft-4-x.jpg) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /classifieds/inc_ads.php on line 120

Warning: getimagesize(http://www.f-bodyhideout.com/forums/...icture_155.jpg) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /classifieds/inc_ads.php on line 120
I see the problem here....it's attempting to point to files from a path that is incorrect. Each one of these errors are pointing to incorrect paths in the urls. For instance....taking the first one... http://www.f-bodyhideout.com/forums/classifieds/data1/thumbs/9511P7031738.JPG

data1 doesn't exist. It should be /data/1/ :confused:

This would be the correct path in it's entirity:
http://www.f-bodyhideout.com/forums/...11P7031738.JPG

RaceJunkie 12-17-2006 10:30 PM

There is also a version of this on Photo posts website. You may have better luck with that one.

http://www.photopost.com/forum/showthread.php?t=129349

smoknz28 12-17-2006 10:34 PM

Quote:

Originally Posted by RaceJunkie (Post 1140606)
There is also a version of this on Photo posts website. You may have better luck with that one.

http://www.photopost.com/forum/showthread.php?t=129349

Hahahaa.....yea, I'm there too....I'm trying to get them both to work so I can evaluate which works best for my needs.

Thanks RaceJunkie

RaceJunkie 12-17-2006 10:39 PM

Quote:

Originally Posted by smoknz28 (Post 1140610)
Hahahaa.....yea, I'm there too....I'm trying to get them both to work so I can evaluate which works best for my needs.

Thanks RaceJunkie

Let me know if you have any luck because I have failed with both versions so far.:confused:

smoknz28 12-17-2006 10:52 PM

Will do...I see that you too are in the same thread on PhotoPost as well. Between the two of us....we'll get to the bottom of this. ;)

Nice screen name by the way. :up:

JimmyN 12-18-2006 01:52 AM

Quote:

Originally Posted by smoknz28 (Post 1140605)
vB 3.6.4
Classifieds 2.5

K, got the connection it appears now with my databases. However, I'm getting the following errors:



I see the problem here....it's attempting to point to files from a path that is incorrect. Each one of these errors are pointing to incorrect paths in the urls. For instance....taking the first one... http://www.f-bodyhideout.com/forums/classifieds/data1/thumbs/9511P7031738.JPG

data1 doesn't exist. It should be /data/1/ :confused:

This would be the correct path in it's entirity:
http://www.f-bodyhideout.com/forums/...11P7031738.JPG

smoknz28, i see that you got this error i had got the same error on the second board i installed this one. I visited your forum and see theres no error there now, how did you get that fixed?

smoknz28 12-18-2006 02:33 AM

Sorry...yea, I should have posted up how I fixed the errors.

First...one of my issues was that I had upgraded my Classifieds version...and with that came an error on my part. When I was transcribing the paths, etc...I screwed up the path to my data directory. Actually, I just left off the trailing "/" at the end of data so just went into my config-int.php of my Classifieds and edited line #23 $data_dir and added the ending "/".

Putting the "/" at the end of data directory cured the errors I was getting when the hack or inc_ads.php was trying to pull images.

Next up....

Second one I was having was the default directory that the plugin was pointing to for my inc_ads.php.

The default was set to: include('../classifieds/inc_ads.php');

Which didn't work for me because my inc.ads.php file was in my Classifieds directory. So, just edited the path to:

include('./classifieds/inc_ads.php');

So, vice ../classifieds I changed it to ./classifieds

Hopefully all of this made sense to you and the others who may be experiencing similar issues.

Thanks for this hack. ;)


All times are GMT. The time now is 02:23 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.01331 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)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