 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
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?
|
| |
October 12th, 2006, 08:47 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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?
|
| |
October 12th, 2006, 11:55 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
October 12th, 2006, 01:05 PM
|
#5 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 19
|
hi chucks.
can you give us a example of scripts...
thanks
|
| |
October 12th, 2006, 02:04 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
December 27th, 2006, 02:19 AM
|
#7 (permalink)
| | Junior Member Verified Customer
Join Date: Mar 2006
Posts: 19
|
im not a programmer.. but im authentic buyer of pp..
|
| |
December 27th, 2006, 09:08 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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 |
| |
December 28th, 2006, 01:01 AM
|
#10 (permalink)
| | Photopost Developer Verified Customer
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
|
| |
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
|
| |
January 5th, 2007, 07:58 AM
|
#12 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
January 5th, 2007, 11:34 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 49
|
so i change 4 to 1?
|
| |
January 6th, 2007, 08:12 AM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,801
|
Yes that should do it |
| |
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;
|
| |
January 10th, 2007, 05:02 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,801
|
You need to display more than one ad to see it display vertical
|
| |
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?
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:20 PM. | |