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

Reply
 
Thread Tools
Photopost Classifieds Recent Ad Block on Forumhome Details »»
Photopost Classifieds Recent Ad Block on Forumhome
Version: 1.00, by JimmyN JimmyN is offline
Developer Last Online: Nov 2007 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.4 Rating:
Released: 12-15-2006 Last Update: Never Installs: 29
Uses Plugins Template Edits
 
No support by the author.

Hi everyone,
this is my first mod and i though it will really help people out.
Basicly it shows either random, most_viewed or latest and can show a custom set of ads across in either vertical or horizontal position. It uses a external file that comes included with your Photopost Classifieds install.

How to install

1)install the plugin
2)tempate modification (optional in custom places)

template FORUMHOME find this code or other place you would like

find:
Code:
$navbar
right under this place:
Code:
$classifiedsfeature
Note: Make sure this plug in is enabled. It should automaticly install the template code so you will not have to do it, but if not follow the instructions above.

Remember Yoy may modify options in the inc_features.php (this is a PhotoPost file).

In that file you may set the layout, how many ads to show, and what type e.g. random, recent etc

Please let me know if you have any questions, ideas or need help

Credit: www.oz-consolemods.net

Please click Install, and tell me if you like it
Paypal donations welcome

regards
Jimmy

Show Your Support

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

Comments
  #22  
Old 12-17-2006, 10:04 AM
tomkh25 tomkh25 is offline
 
Join Date: Nov 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Gr, Tom
Reply With Quote
  #23  
Old 12-17-2006, 07:19 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #24  
Old 12-17-2006, 08:12 PM
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JimmyN View Post
yeah ok, what version classifieds was it?

Classifieds v2.5
Reply With Quote
  #25  
Old 12-17-2006, 10:26 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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/

This would be the correct path in it's entirity:
http://www.f-bodyhideout.com/forums/...11P7031738.JPG
Reply With Quote
  #26  
Old 12-17-2006, 10:30 PM
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #27  
Old 12-17-2006, 10:34 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RaceJunkie View Post
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
Reply With Quote
  #28  
Old 12-17-2006, 10:39 PM
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smoknz28 View Post
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.
Reply With Quote
  #29  
Old 12-17-2006, 10:52 PM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #30  
Old 12-18-2006, 01:52 AM
JimmyN JimmyN is offline
 
Join Date: Apr 2006
Location: Australia
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smoknz28 View Post
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/

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?
Reply With Quote
  #31  
Old 12-18-2006, 02:33 AM
smoknz28's Avatar
smoknz28 smoknz28 is offline
 
Join Date: Sep 2005
Location: SoCal
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 08:03 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.04741 seconds
  • Memory Usage 2,306KB
  • 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
  • (5)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