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 December 5th, 2011, 04:07 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
Lots of questions

1 - Everytime I post an item, the category avatar is changing for the new item image... how do i stop that?

2 - Can i remove the "best offer" ?

3 - Can i move the description at the bottom when reading an ad? To me, it would make sense to move this under all the "extra fields"

4 - Can i remove the "buy it now" option ?

5 - Can i remove the "number of ads" ?

6 - Can we make the description mandatory, i tought it was.

Thank you
KrUsTyX is offline   Reply With Quote
Old December 5th, 2011, 04:48 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
1. If an avatar is already set it should not change everytime unless you have modified the code.

This is the code in image-inc.php you can clearly see only if the thumbnail row is 0 is the avatar updated

Code:
Content visible to verified customers only.
2. Not really without altering the code since price is not required. If a user does not enter a price that is how best offer appears

3,4,5. You can modify your templating however you deem fit.

6. I beleive it is already an option try it with the tinymce editor turned off. Maybe the advanced editor changes whether the java knows if description is empty of not.
__________________
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 6th, 2011, 05:49 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
Quote:
$row = ppmysql_query_one("SELECT thumbnail FROM {$Globals['pp_db_prefix']}categories where id=$thecat", $link);

$morestuff = "";

if ( $row['thumbnail'] == 0 )
{
$morestuff = ",thumbnail=$lastproductid";
}
this is whats in my code, and i didnt change anything in my code, and it doesnt seems to work cause everytime i post a new item, the avatar changes
KrUsTyX is offline   Reply With Quote
Old December 6th, 2011, 01:38 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
That is strange does not happen for me. what is your thumbnail column set to in the database what are the entries?
__________________
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 6th, 2011, 03:06 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
which table?
KrUsTyX is offline   Reply With Quote
Old December 6th, 2011, 05:32 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
cp_categories I would think by default.
__________________
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 6th, 2011, 06:01 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
rename de file .pdf

thank you
Attached Files
File Type: txt cp_categories.txt (214.1 KB, 3 views)
KrUsTyX is offline   Reply With Quote
Old December 6th, 2011, 06:07 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
alot of yours are set to static avatars. I am not seeing anything out of place I need more of an explanation.

You can remove the code I noted if you want but from my testing nothing changes unless the avatar is empty set to 0.
__________________
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 7th, 2011, 05:14 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
i would send you login/password for you to test, but i cannot send you a PM
KrUsTyX is offline   Reply With Quote
Old December 7th, 2011, 05:20 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
I just tried it again, its really a problem and i don't know why... every new item, the avatar is changing... it removes the path that i entered and replace it with a number...
KrUsTyX is offline   Reply With Quote
Old December 7th, 2011, 05:27 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
well the strange thing here like I said I have tried it it will only change the entry when the entry is equal to 0.
__________________
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 7th, 2011, 05:43 PM   #12 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
Well, this is the original code and i didnt change anything, it happens everytime.
KrUsTyX is offline   Reply With Quote
Old December 7th, 2011, 05:53 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
It seems that its not for all the categories... this is strange
KrUsTyX is offline   Reply With Quote
Old December 7th, 2011, 05:55 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
It changes when the category doesnt have sub-category... like in "pièces audi" is the categorie and as soon as i upload something, the avatar is changing

But in ''MK1", im posting an ad in the sub-category, so it doesnt change the avatar on the index.
KrUsTyX is offline   Reply With Quote
Old December 7th, 2011, 06:23 PM   #15 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
Quote:
3,4,5. You can modify your templating however you deem fit.
wich template? showproducts?
KrUsTyX is offline   Reply With Quote
Old December 7th, 2011, 08:02 PM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Right your saying it changes the categories that you set static full url avatars for right. You can try making the if clause line this

Code:
Content visible to verified customers only.
The strange thing as I said the if clause itself is very specific meaning ONLY if thumbnail is 0 would the avatar change. I think by default if you have a url in there which you can in classifieds set a static url avatar then that if clause would not be 0 so it would not change so can not say why it would. It doesnt change for me at my site.

Now as far as the template you want to mod yeah showproduct.
__________________
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 7th, 2011, 08:21 PM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
by the way thought I would share my test on my test site

Main Index - PhotoPost Classifieds

I am running the default 4.21 code set a static avatar as you can see for the accessories category and uploaded to it the avatar did not change which is why I have no idea how yours would since that if clause is very specific.
__________________
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 8th, 2011, 09:30 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
Quote:
Originally Posted by Chuck S View Post
Right your saying it changes the categories that you set static full url avatars for right. You can try making the if clause line this

Code:
Content visible to verified customers only.
The strange thing as I said the if clause itself is very specific meaning ONLY if thumbnail is 0 would the avatar change. I think by default if you have a url in there which you can in classifieds set a static url avatar then that if clause would not be 0 so it would not change so can not say why it would. It doesnt change for me at my site.

Now as far as the template you want to mod yeah showproduct.
working now, and again, i didnt modify the code prior so i guess theres something different on both sides
KrUsTyX is offline   Reply With Quote
Old December 9th, 2011, 07:52 AM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
glad that helped although logically as I have brought up no idea why that would help. The prior if clause is very specific.
__________________
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 11th, 2011, 03:35 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Aug 2007
Posts: 124
how do i translate this, the "choose file" and "no file choosen"

Code:
Content visible to verified customers only.
thank you
KrUsTyX 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
Lots of changes creativepart Classifieds Suggestions 9 March 2nd, 2009 06:34 AM
after install no admin cp/lots of others r0xt4r Photopost Pro Installation & Upgrades 35 August 29th, 2008 06:01 AM
getting errors lots of them bongwater Photopost Pro Installation & Upgrades 2 January 5th, 2007 08:09 AM
Lots of errors after upgrades Quincy Wisdom Photopost Pro Installation & Upgrades 4 June 30th, 2005 03:25 PM
username in lots of tables 7thgencivic.com vBGallery Suggestions 7 April 30th, 2005 10:58 AM


All times are GMT -5. The time now is 07:12 AM.

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