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 Installation & Upgrades

Classifieds Installation & Upgrades If you're having install or upgrade problems, post here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 17th, 2004, 05:15 PM   #1 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
FAQ--How to Create Additional Template Set's in Classifieds

Okay this has been asked a few times so I think I will take a few minutes to write down the specifics


1. In the Admin Control Panel of Classifieds under ad types add a new add type. Keep note of the assigned number. It will always be one less than the total number of ad types you have since For Sale uses the id of 0.

2. You need to take an existing template set and modify these files to look the way you want. If all your doing is using the same design as an existing set just save the new files and make the language changes. The files needed are what is below and save them as noted below. The X would be the number of the ad type.

templates/editproductX.tmpl
templates/showcatX.tmpl
templates/showproductX.tmpl
templates/uploadproductX.tmpl

3. Next you need to copy over the same way you did the template files some language files. This is what makes a new template set so easy. If you have one you want to design like For Sale then the only thing you should need to do is copy the exisiting files to the new type and just change these language strings for the new files.

languages/english/editproductX.php
languages/english/showcatX.php
languages/english/showproductX.php
languages/english/uploadproductX.php

4. Thats it go test you new Ad Type!
__________________
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 February 12th, 2005, 12:07 PM   #2 (permalink)
Registered User
 
Join Date: Sep 2002
Posts: 14
How about a forum where we can share our custom templates with each other?
FASherman is offline   Reply With Quote
Old February 12th, 2005, 04:41 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: May 2004
Posts: 85
yeah, i was to suggest this...

actually btw, this need to be clarified...

1- what are the default and extra fields, and how can we set them to act like we wish ?!
2- personalisation can be done how ?!

i'd be glad to share my templates, but as i've worked hard to make them, i'd like to share, not only distribute without any reward/exchanges!
nexia is offline   Reply With Quote
Old February 12th, 2005, 07:37 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
You can share modifications you have done on photopostdev.com
__________________
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 March 4th, 2005, 10:09 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2005
Posts: 7
Here's where I am stuck and this has been very frustrating. Remember, I'm a newbie at this sort of thing. I don't understand any of the stuff inside the template files I am supposed to edit to add in my own fields, etc.

I have no idea at all. I wish there was a way to just do this via admin rather than having to edit files where I have absolutely no clue what to edit, etc.

How about a step-by-step guide in the meantime? Isn't there supposed to be documentation for this? Can anyone help?

For instance, to give you an idea, I need to be able to ask advertisers for the following items/answers when posting an ad for airplanes:

1) Price
2) Manufacturer
3) Model
4) Year Built
5) Hours on Engine
6) Exterior/Interior Colors
7) Accessories (which in my old classifieds were choose from a checkbox list -- Altimeter, Airspeed Indicator, EGT, CHT, EIS, Hourmeter, Radio, GPS, Strobes/Lights, Tachometer, VSI, Recovery Chute, Floats/Pontoons, Skis, Trailer) is it possible to do check lists this way?
8) Condition (choose from New, Excellent, Good, Fair, Poor, Needs work/inoperable)
9) Offered by (choose from Private Party or Dealer)

Thanks,
Ray

Last edited by Solari; March 4th, 2005 at 10:23 PM.
Solari is offline   Reply With Quote
Old March 4th, 2005, 10:28 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
Well Classifieds includes the ability to define by category 6 extra fields. You can go to admin edit categories and enter 6 of the ones you extras you want.

If you want to add more than six that would mean altering many php files and templates to add in that functionality which falls outside the area of support and as such no documentation on this sort of thing.
__________________
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 March 4th, 2005, 10:32 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2005
Posts: 7
Okay, but my question is how and where do I edit in the template files themselves to add all these things (the six extra fields and customizing them)? I have absolutely no idea when I look at them -- it's all gibberish to me. I do not know programming or anything.

Thanks,
Ray
Solari is offline   Reply With Quote
Old June 21st, 2005, 01:06 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 33
So which template number is "FOR SALE" ?
As all otheres have numbers coresponding to them but "For sale" has an 0
and I can't see which template to edit for that or to duplicate with a few modifications, as that one has choice to upload 3 pics?
gizmoshere is offline   Reply With Quote
Old June 21st, 2005, 01:21 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
that would be the un-numbered templates uploadproduct.tmpl etc
__________________
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 June 21st, 2005, 02:05 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 33
Quote:
Originally Posted by omegatron
that would be the un-numbered templates uploadproduct.tmpl etc
omegatron
Thanks - is there an easy way to include on the predone templates, option to say let users upload say 3 images?

For example I could use one of existing templates, but edit it so that 3 images can be uploaded is this possible?
gizmoshere is offline   Reply With Quote
Old June 21st, 2005, 03:59 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
You woud need to copy over the image box's part of the template

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 June 21st, 2005, 04:39 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 33
Ah excellent
Thanks
gizmoshere is offline   Reply With Quote
Old June 21st, 2005, 06:48 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Jun 2005
Posts: 33
I got stuck, would your code have to be put in every template:
IE:
templates/editproductX.tmpl
templates/showcatX.tmpl
templates/showproductX.tmpl
templates/uploadproductX.tmpl

For it to work correctly
gizmoshere is offline   Reply With Quote
Old June 21st, 2005, 06:52 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
well example my code was an example of what to add to uploadproduct.tmpl

You would need to modify the other templates to add the necessary code to the other templates. You can use a program like beyond compare by scootersoftware to compare one file to another
__________________
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 July 17th, 2005, 02:53 PM   #15 (permalink)
Registered User
 
Join Date: Jul 2005
Location: New York City
Posts: 2
Documentation.

Can someone point me to the documentation or link that tells me how to intergrate the Paypal button payment into photopost Classifieds. ? thanks.
jauction is offline   Reply With Quote
Old July 17th, 2005, 03:08 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
I dont think there is any one specific point of reference. However do this

1. In admin edit categories set up the the cost to place an ad highlighting etc for each cat

2. In admin options down the bottom fill in your paypal email then turn paypal to ON


Thats it when a user tries placing an ad they will be taken to the payment page
__________________
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 July 25th, 2005, 02:17 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Location: Germany
Posts: 251
Send a message via ICQ to dontom
I just did some changes to uploadproduct.tmpl, but for sale ad entry still appears like before (yes, the changes were saved)
I am running pp-c vb3 integrated - do I have do do something else?
Thanks
Thomas
dontom is offline   Reply With Quote
Old July 25th, 2005, 02:23 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Location: Germany
Posts: 251
Send a message via ICQ to dontom
oops - found it, they are in the subfolder vb3enhanced - the built in template editor is showing only the normal ones...
dontom is offline   Reply With Quote
Old July 25th, 2005, 02:23 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,658
More information here would help

For sale if your referring to the first box choose type is the same of a template set and the name can be changed in admin Ad Types
__________________
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 July 25th, 2005, 02:36 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Oct 2002
Location: Germany
Posts: 251
Send a message via ICQ to dontom
thanks for your answer - see one post above
dontom 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
FAQ--How to Create Additional Template Set's in Reviewpost Chuck S ReviewPost How do I...? 19 June 8th, 2009 12:45 AM
Would Like a Classifieds FAQ StuntLife Classifieds Installation & Upgrades 2 September 20th, 2005 01:17 PM
create my own template? robert_2004 How Do I? - vBulletin 3.0.X 2 February 14th, 2005 11:02 AM
Classifieds Category Template Type kraftworkz Before You Buy 1 October 8th, 2004 02:18 PM


All times are GMT -5. The time now is 06:08 AM.

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