PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds How do I...?

Classifieds How do I...? Wondering how to do something in Classifieds?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 11th, 2006, 10:43 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 49
Recent Ads on Homepage

Is it possible to put my recent afs table on the html homepage of my site, keeping the same style?
sk24iam is offline   Reply With Quote
Old October 12th, 2006, 08:47 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
You would have to write some hack for this. We have a BLOCK to show on vbulletin's forum page that could be retro fitted to other php pages.

You can not put php within an HTML file unless your server has been setup to allow this to parse php in html files. Usually a phtml file or php file will allow php to be parsed. Just my experience.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 12th, 2006, 11:49 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 49
What if I made an inline frame showing a php page. How would I go about making a php page with just this recent ads block?
sk24iam is offline   Reply With Quote
Old October 12th, 2006, 11:55 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
You could use our inc_ads.php file as a template but this would require you to write your own block to match your site and see if it works.

To my knowledge PHP code will not parse in a regular html file unless your server is setup to allow that.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 12th, 2006, 01:05 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2006
Posts: 19
Send a message via Yahoo to JHAYR Send a message via Skype™ to JHAYR
hi chucks.

can you give us a example of scripts...

thanks
JHAYR is offline   Reply With Quote
Old October 12th, 2006, 02:04 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
Sorry I do not write mods here on this site. I spend my time supporting our default software. if you choose to discuss how to write mods you may post freely on our mod forums for users to assist.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 27th, 2006, 02:19 AM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2006
Posts: 19
Send a message via Yahoo to JHAYR Send a message via Skype™ to JHAYR
im not a programmer.. but im authentic buyer of pp..
JHAYR is offline   Reply With Quote
Old December 27th, 2006, 09:08 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
I guess you did not understand my post number 6? I am simply here to support our code as it is written. We do offer many options within the program itself and how it displays. This gentleman is trying to show stuff on an html page using a block we wrote for vbulletin and how to code things falls outside product support.

There is a link to the mod section.

http://www.photopost.com/forum/classifieds-mod-discussions/

Here is our company policies on mods.

http://www.photopost.com/forum/showthread.php?t=121158
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old December 27th, 2006, 07:29 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 49
check out my site ideas... www.madisonxchange.com
sk24iam is offline   Reply With Quote
Old December 28th, 2006, 01:01 AM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
Yep your using an index PHP file and this is very easy to place the existing Photopost block on nice job
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 4th, 2007, 10:54 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 49
Does anyone know how to arrange recent ads on a php file vertically? I'm looking for a setup on my homepage that is similar to the one on campustrade.com
sk24iam is offline   Reply With Quote
Old January 5th, 2007, 07:58 AM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
http://www.madisonxchange.com/index.php

Set the rows and columns within the inc_ads.php file.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 5th, 2007, 11:34 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 49
so i change 4 to 1?
sk24iam is offline   Reply With Quote
Old January 6th, 2007, 08:12 AM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
Yes that should do it
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 10th, 2007, 04:43 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 49
I changed them to 1 and they don't display vertically.


// Number of photos to display
$num_display = 1;

// Number of columns (1 for vertical)
$columns = 1;
sk24iam is offline   Reply With Quote
Old January 10th, 2007, 05:02 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,801
You need to display more than one ad to see it display vertical
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old January 10th, 2007, 05:42 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Oct 2006
Posts: 49
i changed num_display to a higher numbere, and still it didn't work. Maybe it would just be easier to put the recent adds block from http://www.madisonxchange.com/classi...at.php?cat=all
on my homepage... Can this be done?
sk24iam is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
recent ads on vbulletin forum homepage scabbed Classifieds Suggestions 1 October 20th, 2005 05:32 PM


All times are GMT -5. The time now is 12:20 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0