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 April 13th, 2007, 04:00 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2006
Location: Canada
Posts: 5
Set duration to max out at 28 days

I am having a problem updating the templates, so that my ads will expire at max 28 days. I have updated the "duration" global in the templates (uploadproduct.tmpl, uploadproduct1.tmpl, uploadproduct2.tmpl, uploadproduct3.tmpl), but the original fields still come up. I have removed all my categories and started from scratch thinking they might inherit the values from the first category I created before I edited the files. What do I have to edit to set the duration to the number of days I would like?

Any chance there will be a manual for your products. How to create a new template, etc. It would be nice to have a guide rather then "Thanks for buying....Good Luck"

Jason
zaphrod is offline   Reply With Quote
Old April 13th, 2007, 04:59 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
As long as you add a proper option box for 28 days then you can select 28 days as an expiration without knowing what your doing I can not say what your doing wrong
__________________
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 April 13th, 2007, 05:55 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2006
Location: Canada
Posts: 5
Hi Chuck,

I am not sure what you mean by "add a proper option box for 28 days" since it seems to be picking up a default that is set somewhere in the software. I had come across a thread that sugested editing the uploadproduct.tmpl file to change

<tr>
<td class="{$Style['tddetails']}">{$Globals['pp_lang']['duration']}</span></td>
<td class="{$Style['tddetails']}"><select name="duration">
<option selected="selected" value="15">{$Globals['pp_lang']['15days']}</option>
<option value="3">{$Globals['pp_lang']['3days']}</option>
<option value="7">{$Globals['pp_lang']['7days']}</option>
<option value="10">{$Globals['pp_lang']['10days']}</option>
<option value="30">{$Globals['pp_lang']['30days']}</option>
<option value="60">{$Globals['pp_lang']['60days']}</option>
<option value="90">{$Globals['pp_lang']['90days']}</option>
<option value="9999">{$Globals['pp_lang']['noexpire']}</option>
</select></td>
</tr>
to say this
<tr>
<td class="{$Style['tddetails']}">{$Globals['pp_lang']['duration']}</span></td>
<td class="{$Style['tddetails']}"><select name="duration">
<option selected="selected" value="14">{$Globals['pp_lang']['14days']}</option>
<option value="3">{$Globals['pp_lang']['3days']}</option>
<option value="7">{$Globals['pp_lang']['7days']}</option>
<option value="10">{$Globals['pp_lang']['10days']}</option>
<option value="28">{$Globals['pp_lang']['28days']}</option>
</select></td>
</tr>

The only problem is it does not seem to pick up the new values, of course there is no way for me to know if this is the correct file to be updating.

Jason
zaphrod is offline   Reply With Quote
Old April 13th, 2007, 06:36 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Make sure your editing the correct templates as in if your using vb3 then its the vb3enhanced folder under templates those templates
__________________
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 April 14th, 2007, 12:33 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Aug 2006
Location: Canada
Posts: 5
Ok, the changes are sort of taking affect. When I shorten the list, it shows up find in the dropdown, but if I change the value from say 30 to 28 all I get is a blank line in the dropdown. Any ideas?
zaphrod is offline   Reply With Quote
Old April 14th, 2007, 08:47 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,698
Remember you need to actually add those language strings. I show your using language strings and if so you need to define those in your language file. Your only half doing a modification.

$Globals['pp_lang']['28days']

Where did you define all those new strings. Edit your english.php language file to add them
__________________
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
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
Edit/change duration of an ad? CavySpirit Classifieds How do I...? 1 September 5th, 2006 07:20 AM
MAX ADS SETTING - What does it mean? bplinson Classifieds How do I...? 20 April 23rd, 2006 07:08 PM
Ad duration dead7 Classifieds How do I...? 6 April 5th, 2006 03:29 PM
.... Limit the Choices for Ad Duration Johnbmtl Classifieds How do I...? 3 November 24th, 2005 07:44 PM
I need to add more time to ad duration sail247 Classifieds How do I...? 4 January 26th, 2005 10:48 AM


All times are GMT -5. The time now is 05:28 AM.

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