 | |  | | | Classifieds How do I...? Wondering how to do something in Classifieds? |
March 12th, 2008, 12:51 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
| admin must pay for ads
Hey Chuck Ive gone over the option again and again. I'm getting stuck with having to pay even though I'm the admin. Ive got the Admin excluded in the approval process and I think the user groups are set right but I'm still getting. the payment required. Using 3.0. Any ideals?
|
| |
March 12th, 2008, 12:58 PM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
|
OK I just edited the User groups. Admin (allow Payments ~no~) seems to have worked but does that also relate to me not being able to purchase from other sellers?
Also noted that as the admin I cant seem to see the Buy Now button on my listing or the Bid button on my auction. Is that just for me and members can see these features?
Last edited by scalemotorcars; March 12th, 2008 at 01:40 PM.
|
| |
March 12th, 2008, 04:24 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
You can not bid on your item or buy it correct
As far as admin and payment you must set allow payment to no under admin edit usergroups
You can PM use an admin login to see what might be wrong. I dont see any problems with buy it now or bidding
|
| |
March 12th, 2008, 04:36 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
In fact just a note nothing has changed on bidding in any manner in 3.0
As far as getting the buy it now button to show this code in showproduct.php
As seen in the code as long as they select users to buy their ad and fill in their paypal email it should show. I would suggest make sure your using the 3.0 source code and not possibly a beta or RC version. Code: Content visible to verified customers only.
|
| |
March 12th, 2008, 04:53 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
|
So if a user doesn't have his Paypal email on the system the Bid/Buy Now button will not show. Is that correct or did I misunderstand?
I'M on the beta from about 2 weeks ago. Ill check that code.
|
| |
March 12th, 2008, 05:06 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
|
Chuck I cant find a paypal anything in the showproduct.php. This is as close as I could find. Code: Content visible to verified customers only.
|
| |
March 12th, 2008, 05:48 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
|
Just downloaded the release of 3.0.
On showproduct.php (BETA) theres 1345 lines of code
On showproduct.php (3.0 release) theres 1436 lines of code. Obviously something missing there.
So its clear the Beta and Release showproduct.php are different. If I upload the released version that should fix my problem. Right?
And are there any other php scripts that should be uploaded also. Like I said my beta copy is about 2 weeks old.
Thanks again |
| |
March 12th, 2008, 06:06 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
|
Sorry to keep posting but its clearer this way as to what being done.
I just tried the Product release version of (showproduct.php) Still no Bid Button and no Buy Now Button And I got script for the user/admin buttons rather then the Fam,fam buttons.
What am I doing wrong Chuck, how do I get the buy now button link on your test site. http://www.omegatron.net/pp-classifi...php?product=16
Last edited by scalemotorcars; March 12th, 2008 at 06:17 PM.
|
| |
March 12th, 2008, 06:35 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
You need to download the current build correct run any upgrade script and as far as old ads I dont know what to tell you. The user was asked explicitly to fill in their paypal email and if they do not enter that then they can not sell their item through buy it now and it will not be shown.
If you properly upload an ad and fill in the buy it now stuff you will most definately see the buy it now link |
| |
March 12th, 2008, 06:46 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
|
I did a bunch of "class=" template changes and changed a bunch of language strings also.
If I just upload the current release PHP files without the template and language files will that be ok?
And run the upgrade again, right?
Thanks
|
| |
March 12th, 2008, 08:11 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Well not if your using like a beta as there are lots of changes since then. You might need to compare your templates to see any changes from the one version to the next.
The issue still as explained is upload the current php files languages etc templates definately uploadproduct templates and try uploading an ad and fill out the proper buy it now stuff you will see a buy it now link.
|
| |
March 12th, 2008, 08:50 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
|
Ill make copies of my template edits. Its just graphics stuff. Ill upload a fresh copy of the current 3.0 and try again with the "for sale options" as you stated.
Thanks again. |
| |
March 12th, 2008, 10:10 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
Yeah hard to comment about peoples editing all I can every do is state to upload clean files and then compare |
| |
March 13th, 2008, 10:10 AM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
|
I uploaded a complete new Classifieds script. All files except the config-inc, config-int, inc-ads, inc-classifieds, and install. Ran the upgrade.php and got a ton of errors. (below)
I made a new auction listing and added my paypal email and all required info as you said and still no (Bid button)
Some of my members reported seeing the Bid button but myself (admin) and my (super moderator) cant see it. Not all user groups are seeing it. I checked the permissions and most all except the admin (no) are marked to (yes) on allow payments.
Ive even checked (IE compaired to Firefox, and Opera) all the same.
Heres the link to the new listing. Do you see the Bid button? And if you do where is it? http://www.scalemotorcars.com/classi...php?product=52
Error messages: ANything to worry about??? Quote:
Error performing MySQL command: CREATE TABLE cp_messages ( msgid int( 12 ) NOT NULL AUTO_INCREMENT , userid int( 12 ) NOT NULL default '0', datestamp int( 15 ) NOT NULL default '0', message mediumtext, status smallint( 1 ) NOT NULL default '0', type enum( 'c', 'f', 'i', 'm', 'r' ) default NULL , product int( 12 ) NOT NULL default '0', PRIMARY KEY ( msgid ) ) TYPE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8 COLLATE=utf8_bin' at line 9
Error performing MySQL command: CREATE TABLE cp_captcha ( id int( 12 ) NOT NULL auto_increment , code varchar( 12 ) default NULL , PRIMARY KEY ( id ) ) TYPE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8 COLLATE=utf8_bin' at line 4
Error performing MySQL command: CREATE TABLE cp_buddies ( id int( 12 ) NOT NULL auto_increment , userid int( 12 ) NOT NULL default '0', buddy int( 12 ) NOT NULL default '0', PRIMARY KEY ( id ) , KEY userid ( userid ) ) TYPE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8 COLLATE=utf8_bin' at line 6
Error performing MySQL command: CREATE TABLE cp_board ( msgid int(12) NOT NULL auto_increment, replyto int(12) NOT NULL default '0', userid int(12) NOT NULL default '0', category int(4) NOT NULL default '0', date int(15) NOT NULL default '0', subject varchar(250) default NULL, message mediumtext, replies int(6) NOT NULL default '0', views int(7) NOT NULL default '0', lastmsg int(12) NOT NULL default '0', lastdate int(15) NOT NULL default '0', lastuser int(12) NOT NULL default '0', lastusername varchar(32) default NULL, ipaddr varchar(15) default NULL, updated int(16) NOT NULL default '0', updateuser int(12) NOT NULL default '0', PRIMARY KEY (msgid), KEY date (date) ) TYPE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8 COLLATE=utf8_bin' at line 19
Error performing MySQL command: CREATE TABLE cp_invites ( id int( 12 ) NOT NULL AUTO_INCREMENT , code varchar( 32 ) default NULL , email varchar( 32 ) default NULL , name varchar( 64 ) default NULL , message mediumtext, datestamp int( 16 ) NOT NULL default '0', referer int( 10 ) NOT NULL default '0', status smallint( 1 ) NOT NULL default '0', uid int( 12 ) NOT NULL default '0', PRIMARY KEY ( id ) , UNIQUE KEY code ( code ) ) TYPE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8 COLLATE=utf8_bin' at line 12
Error performing MySQL command: CREATE TABLE IF NOT EXISTS cp_subscriptions (id int(10) NOT NULL auto_increment, name VARCHAR(75) NOT NULL default '', description TEXT NULL DEFAULT NULL, gid INT(4) NOT NULL default '0', duration VARCHAR(75) NOT NULL default '', days INT(4) NOT NULL default '0', price float(12,2) NOT NULL default '0.00', isactive varchar(3) NOT NULL default 'yes', PRIMARY KEY (id)) TYPE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8 COLLATE=utf8_bin' at line 9
Error performing MySQL command: CREATE TABLE IF NOT EXISTS cp_paid_subscriptions (id int(10) NOT NULL auto_increment, userid VARCHAR(75) NOT NULL default '', start VARCHAR(250) NOT NULL default '', end VARCHAR(75) NOT NULL default '', days INT(4) NOT NULL default '0', subid INT(5) NOT NULL default '0', gid INT(4) NOT NULL default '0', oldid INT(4) NOT NULL default '0', PRIMARY KEY (id)) TYPE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8 COLLATE=utf8_bin' at line 9
Error performing MySQL command: ALTER TABLE cp_users ADD realname varchar(80) default NULL, ADD title varchar(30) default NULL, ADD signature varchar(250) default NULL, ADD avatar varchar(120) default NULL, ADD invites int(6) NOT NULL default '0', ADD accepts int(6) NOT NULL default '0', ADD laston int(15) NOT NULL default '0'
Error: Duplicate column name 'realname'
Error performing MySQL command: ALTER TABLE cp_iponline ADD uid INT(12) NOT NULL default '0', ADD referer VARCHAR(255) default NULL, ADD agent VARCHAR(100) default NULL
Error: Duplicate column name 'uid'
Error performing MySQL command: INSERT INTO cp_settings VALUES (223,'Use Messaging System for PhotoPost alerts/notices?','usemsg','','yes',38,1)
Error: Duplicate entry '223' for key 1
Error performing MySQL command: INSERT INTO cp_settings VALUES (224,'Use CAPTCHA images when verifying registration?','usecaptcha','Requires GD2 support!','no',4,8)
Error: Duplicate entry '224' for key 1
Error performing MySQL command: ALTER TABLE cp_products ADD quantity VARCHAR(15) DEFAULT '1' NOT NULL;
Error: Duplicate column name 'quantity'
Error performing MySQL command: ALTER TABLE cp_admingroups CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_admlog CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_adtypes CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_bidding CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_bids CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_cache CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_categories CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_comments CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_currency CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_extrafields CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_favorites CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_feedback CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_invites CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_ipcache CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_iponline CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_laston CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_notify CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_productextras CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_products CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_settings CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_sort CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_stats CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_usergroups CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
Error performing MySQL command: ALTER TABLE cp_users CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci
Error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci' at line
|
Last edited by scalemotorcars; March 13th, 2008 at 10:21 AM.
|
| |
March 13th, 2008, 10:24 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
I will check out your errors but they appear to work on my server maybe your mysql does not support collation but in most mysql 4 and 5 servers that command should work.
I am not sure what you mean about a bid button there never was a bid button. There is a bid area.
You need to login as another user to see the bid box. Look here login with testing and testing http://www.omegatron.net/pp-classifi...php?product=22 |
| |
March 13th, 2008, 10:53 AM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
|    Finally I see the area on your site. I just want to be clear. As the admin or person placing the auction I cant see the "Bid Area"   Is that to keep admins honest? Can I change that? How?
Just registered a test id and Its now showing up at the bottom. So thats working (thanks) I just wish as the person placing the bid that I could also see it.
On your test, http://www.omegatron.net/pp-classifi...php?product=16 theres a Buy it now link. Still not getting that on my listing. Is it only on items you have more then one of. I do see the Buy it now fam,fam button at the bottom with the user links but the placement is much cleaner in your example. Honestly your example is the reason I upgraded, I like the placement of the Buy it now button especially.
And last annoying question because I'm sure you get enough of them already.
How do I remove the (quick reply) area. Take it off the templates or is there a setting in the admin options. Once again thanks for your patience.
Daniel |
| |
March 13th, 2008, 11:12 AM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 68,069
|
You can delete $comq in the showproduct template to remove the quickreply
As far as buy it now what are you not setting on upload is my question both buy it now needs to be set to yes and the paypal address needs to be filled out. You sure you have uploaded all the files?
As long as you are the the person placing the ad you will see the askbid template |
| |
March 13th, 2008, 11:35 AM
|
#19 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
|
Just ran another test listing. http://www.scalemotorcars.com/classi...hp?product=54&
Still no buy it now like your test listing. Yes I do have the fam,fam link. Thats working fine. On upload I used my Paypal email and marked accept payment for buy now to yes.
I uploaded all the script except for the ones listed above. By the way what script is that located on?
|
| |
March 13th, 2008, 11:50 AM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Oct 2006
Posts: 233
|
OK Chuck I figured it out. See this test listing. http://www.scalemotorcars.com/classi...php?product=55
The problem was with quantity. If I add a listing with more then 1 item then I get that great "Buy it Now button" If not then it reverts to the little FamFam button at the bottom. Its a layout thing. My members don't really see the little button at the bottom and it would be a great addition to 3.0 to add the button on top like in the quantity script but for all sales. Also the famfam reuses the send_email button so if I change the graphic to a Buy Now button then my send_email also changes. To fix I would need to edit the image called from the showproduct.php (correct???)
I can do that I just thought I would toss those out as some feedback on 3.0. Its getting better and better and I really appreciate your work and time. Please consider those changes in future version or in an update to 3.0 |
| | |
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 06:58 AM. | |