Advertisement:

Author Topic: Version 2.2RC1 is out, check it!  (Read 6526 times)

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Version 2.2RC1 is out, check it!
« on: July 18, 2011, 12:18:17 pm »
Hi,

We've just release the 2.2 Release Candidate 1, more information on the blog.

Key features of this new version:
  • We revamped the item manager at admin panel, it looks great now and added some useful filters
  • We improved image processing, you could now add watermarks and a few more options
  • You could add now custom fields, you asked for it, you got it! Do you want to add telephone on your ads? You could!
  • Added premium feature, now you could have premium ads on your site. We’re releasing also a Paypal plugin, so you could establish publish and premium fees and start making money out of your OSClass site!


Please, remember that this is a release candidate (RC) and it's not recommended for production enviroments.
« Last Edit: July 18, 2011, 12:26:35 pm by Juan Ramón »

keny

  • Full Member
  • ***
  • Posts: 137
Re: Version 2.2RC1 is out, check it!
« Reply #1 on: July 18, 2011, 04:35:34 pm »
Here my comments for 2.2 as far as i have tested

Tested on my own computer under wamp server

Custom field

bug:
none !

suggestion:
-- when we click on manage custom field we should see a message if we don't have any custom field set yet because is hard to see the add new field button
-- we should select categories before submit the field name now we have to edit the field to select categories it will be better in a one step form
-- we should have "require" attribute for each custom that we set so we can select if is a require form field or not usefull if we want a telephone to not be empty

Paypal
Dangerous :
-- we need to have api username,password and signature encrypted with md5 in the database if someone got access to the database they will see that information and can cause damage to our paypal merchant account with all sql injection these day ...

bug:
-- configure link in the manage pluggin point to index.php should point to conf.php
-- text in paypal "each time the publish an as" should be "ach time the publish an ad"
-- if we set defaut publish price then we come back setting another price categorie fee do not updtae the fee value we just set
-- setting pay per post fee do not disallow posting free ads ???
-- in localhost (on my computer)
   -- i can't buy credit
   -- i can't do anything when i click make premium i see text but no button to buy credit or anything
   -- last two bug will have to test on my server but missing time for now

suggestion

-- item payment status should display only transaction if a add is free to post then we should only see item in the manage your items
-- manage your items shoulkd have a link make premium

Watermark
bug:none

suggestion:
dont really need this function but i am sure that people will ask for watermark position on picture

I will test 2.2 on my server but now i do not have time do do it.
PS. for paypal yes my api are set
will test more later great jobs guys !!

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Version 2.2RC1 is out, check it!
« Reply #2 on: July 18, 2011, 04:54:28 pm »
Hi keny,

Thanks for the suggestions.

About paypal,... the API credentials can not be hashed using md5 since we need to take it back and send them to paypal. Perhaps some two-ways algorithm and hardcode the password on the file.


Not sure what you mean about disallowing free posting ads. The process is (or should be), you post an item, then you're redirected to payment process. If you don't make the payment, the ad is "posted" but NOT public, ie. only you will be able to see it and it should inform you that "your ad is not public until you finish the payment process". Also on your dashboard, you should be able to continue the process and/or make them premiums.

I didn't understand very well your first suggestion about paypal, your second one... I agree, It should be displayed there, but then it should be integrated in the core, instead, paypal creates a new option in your user's menu,where you can pay the publish/premium fee from there. I know it's not the best solution, but since it's a plugin it can not do better without messing with the core.


You should have any problem running paypal plugin from localhost (I develop it on my local server), why exactly you can not buy credit or make premium? Is paypal giving you some error? Have you disabled the sandbox param?
If the fee is 0, you should not have to be redirected to the payment processs.


Again, I DO NOT recommend this version for production servers (ie, you already have a live site with users and ads). I will test everything again and fix the bugs, and repeat process until bugs disappeared ;)
Thanks again for your infinite help.




HimSelf

  • Full Member
  • ***
  • Posts: 163
Re: Version 2.2RC1 is out, check it!
« Reply #3 on: July 18, 2011, 04:57:41 pm »
Excellent news guys !!

thanks a lot, i'm gonna test that asap.

webmaster

  • Newbie
  • *
  • Posts: 7
Re: Version 2.2RC1 is out, check it!
« Reply #4 on: July 18, 2011, 06:13:01 pm »
Great stuff! When I try to install the paypal plugin I get this message

There was a fatal error and the plugin was not installed.
Error: "date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead" Line: 40
File: /home/p996411r/public_html/adly.ca/oc-content/plugins/paypal/index.php

It has something to do with the time format i think?

« Last Edit: July 18, 2011, 06:19:47 pm by webmaster »

simplewebconsult

  • Premium
  • Newbie
  • *****
  • Posts: 30
Re: Version 2.2RC1 is out, check it!
« Reply #5 on: July 18, 2011, 07:19:03 pm »
To include some of Keny comment mentioned earlier, here are my to expand a little:

1. Watermark text will not activate on existing images. noticed only on new uploads. Did not have a watermark image, but make one and test later. Not sure what size to make it.

2. Paypal plugin configuration I read this: "each time the publish an as."
Should it be this: "each time they publish an ad."?

3. 414 Request - URI Too Large
I was configuring premium cost under paypal options -> Categories fees. I changed all premiums fee to 5.0 for all those that had 1.0. I have all categories enable for this field test. Web Hosting is in 000webhost.com. Its happens when I did not change any, and just click on update. May have to change from a get to a post?

I got this error:

Request-URI Too Large

The requested URL's length exceeds the capacity limit for this server.

4. Even though I have marked an ad for premium in the admin panel, when I log into the test user, it does not show it as an ad set for premium, under Paypal & your items, under Item payment status or anywhere. So the owner of the ad will not see it in the dashboard. The only way to see it is where he post the ad.

5. Its looks like you are trying to implement a pay for credits in the classifieds. In my experience, sometimes Paypal trancations don't complete successfully, and manaul corrections need to be applied. Manual tranactions should be offered to the administrator or sales manager.

Having said the above, you have a sales agent granted access to track credits given. Good to start a campaign like free sign offer with 5 credits so users can get familiar with the pay per credits or make adjustments.

6. Email to account that will store the transaction took place. You should receive at least two emails, one from paypal and one from your system. Either complete success or failure.

I will set asside some funds to run the test with PayPal, or I can donate to you guys. Either way, we can test it.

gmlala

  • Newbie
  • *
  • Posts: 24
Re: Version 2.2RC1 is out, check it!
« Reply #6 on: July 18, 2011, 07:44:14 pm »
Exciting!!!  I'll check it out tonight!  Thanks for all your hard work!  Now that we can make some green, we can pass it on to you!!! :)

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Version 2.2RC1 is out, check it!
« Reply #7 on: July 18, 2011, 07:52:10 pm »
Hi simplewebconsult,

Thanks for the information and bug report.

1.- You could re-generate the images from the admin panel, not sure if that will add the watermark or remove it from all, I will test later and tell you how it went.

2.- That's already on our bug tracking system, we'll fix it

3.- Where/When/How did you get than error? I'll check if the form are sending GET or POST data, probably you're right and I missed some GET instead of POST

4.- True, as far as I remember, that panel will only check on the payment table, need to add some check on premium one

5.- We also offer an IPN solution. First, with the direct access of the API we should know if the transaction is OK or not at the same moment the payment is processed. But if for some reason that fails, we offer an IPN file which will handle the payment asynchronously.
Current workflow :
1.- User make a payment
2.- Redirects to your site
3.- Your server access the information with the API (OK, cancelled, or some other problems)
4.- If it was OK, paypal registered the transaction on their servers, your site does the same (adding it to the Database)
5.- Right after that, paypal (if you configure it to do so), will try to contact your IPN file (provided with the plugin)
6.- IPN file will check if the payment is processed on your server and process it if it wasn't done before.
7.- IPN file should return an OK to paypal, if this OK is not returned, paypal will try to contact your IPN until it's done or two weeks have passed.

If everything is ok, you will stop at half of the step 6 (when the IPN check against your database and see the payment have been processed before).
If step 4 failed, then step 6 continue the transaction process (it's done right after the payment is made on paypal)
If step 6 fails, paypal willl try again and again for over two weeks, so unless your ipn file is down for two weeks, your payments should be processed correctly. Of course, some errors could happens, but we hope they don't.

Again, paypal will try to contact you IPN right after you made a payment (usually, paypal wait 5 seconds before redirecting you back to the store, so in those seconds, they have the IPN job done). If that first attempt failed, they will try once per hour (several times), then once per 3 hours, then 6 hours, 12, and once per day until two weeks. It's a good idea to have a few options to control it manually and made corrections, we'll add them!!

6.- OK, I think that's a great addition

For your information, there's no need to add funds to Paypal, you could create a "sandbox" account, that will let you create some ghost users' accounts with money, to test the transactions. You should find more information on sandbox.paypal.com We also provide some flag to turn on/off the sandbox status.

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Version 2.2RC1 is out, check it!
« Reply #8 on: July 18, 2011, 08:55:19 pm »
If you re-generate the images it will add the watermark in the old images.

ANDREPEREIRA

  • Newbie
  • *
  • Posts: 36
Re: Version 2.2RC1 is out, check it!
« Reply #9 on: July 19, 2011, 12:45:36 am »
In my case, osclass 2.2RC1 open zip file with all archive with permission 700, and I need to install going to each file to change to 755. I prefer to wait the release version. 2.1.1 are coming better choice now to me !
 

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Version 2.2RC1 is out, check it!
« Reply #10 on: July 19, 2011, 01:12:54 am »
Hi ANDREPEREIRA,

On a linux server you should be able to run this command

Code: [Select]
chmod 755 -R /path/to/osclass/
and every file will get 755 permissions. Again, this is not for productions servers it's for testing issues.

Swede

  • Sr. Member
  • ****
  • Posts: 388
Re: Version 2.2RC1 is out, check it!
« Reply #11 on: July 19, 2011, 02:25:40 am »
A quick test was done. (frech install with everything deleted, including database)

1. Wasn´t it to be a choise between .png and .jpg? (i can´t find it)

2. The maintenance mode can´t be selected. (nothing happens when pressing the button)

3. When uploading a .jpg image with dimensions 2816 * 2112, 2.8 Mb (allowed size in admin is set to 3 Mb), it throws a error 500.
   When scaling the same picture down to 2000 * 1500 it works...

4. The watermark feature would be nice if one could move the text or logo to the sides because its abit anoying to have it in the middle of the item.
« Last Edit: July 19, 2011, 03:40:08 am by Swede »

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Version 2.2RC1 is out, check it!
« Reply #12 on: July 19, 2011, 02:49:43 am »
Hi

After I upgraded to 2.2rc on my test server my items do not display. I have even done a fresh install and still not items displaying. The item is counted in the item count but is not seen on the front end or back end.

Jay

keny

  • Full Member
  • ***
  • Posts: 137
Re: Version 2.2RC1 is out, check it!
« Reply #13 on: July 19, 2011, 04:17:36 am »
Hi,

I have installed on my server (do not worry i am not running osclass for real i will in 2 month)

I still have the problem making paypal run

If i go to buy credit for payment i go this page but no button or anything to paid via paypal :



and if i click on make premium or if i try to post a add i got this page :



I think i have set everything but maybe i have done something wrong ? Api are set fee are set ...

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Version 2.2RC1 is out, check it!
« Reply #14 on: July 19, 2011, 10:46:52 am »
Hi keny, Swede, trains58554,


Some problems could be related to file permissions, please check them for 755 (in the hurry, I uploaded the files with 700 permissions, my bad)
On linux machines you could use the command
Code: [Select]
chmod 755 -R /path/to/osclass/ or
Code: [Select]
sudo chmod 755 -R /path/to/osclass/. No idea what to do on windows, but should exists a similar command.

Hope that fix the problems, anyway, I will look over this issues.