Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hello,
Ubercart looks to be making headway towards a D7 version #696816: Drupal 7 Port Mega-issue
I was wondering if someone would be able to port this awesome module to D7 to be tested in alpha 2?
Thank you very much in advance!
Regards
Comment | File | Size | Author |
---|---|---|---|
#69 | userpoints_ubercart.zip | 28.54 KB | jvizcarrondo |
#66 | userpoints_ubercart(1).zip | 28.14 KB | nyleve101 |
#62 | userpoint_ubercart_invite(1).zip | 3.45 KB | nyleve101 |
#56 | userpoints_ubercart_72612.zip | 20.07 KB | jdbener |
#29 | userpoints_ubercart-D7-June4-01.zip | 27.66 KB | Aracon |
Comments
Comment #1
YK85 CreditAttribution: YK85 commented+1 subscribing - I really need this module to move to D7 as well.
Already testing D7 alpha 2 =)
Comment #2
YK85 CreditAttribution: YK85 commentedbetz & bmagistro - I was wondering if you would be able to kindly look into D7 version of this module?
Great module! Thank you for your hard work
Comment #3
betz CreditAttribution: betz commentedHey Trupal218 and yaz085.
I won't look into a drupal7 port very soon, because i firstly will rewrite the d6 version.
The d6 version is quite bad code to be honest, and i made the decision to rewrite it firstly before we go on.
Think it will be the best way.
Anyone willing to help with the rewrite of the d6 version is offcoarse always welcomed ;)
Comment #4
betz CreditAttribution: betz commentedComment #5
Bilmar CreditAttribution: Bilmar commentedthanks betz! i look forward to following your work!
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedHi if help is needed rewriting D6 I would be willing to contribute. I have a fairly nasty bug right now that keeps this from working with Authorize.net (but works fine with test gateways) and will be digging into the code very soon.
Comment #7
YK85 CreditAttribution: YK85 commentedhi betz
i'm available to help with testing when you begin rewriting the module
please let me know when a version becomes available
thanks!
Comment #8
YK85 CreditAttribution: YK85 commentedNANERPUSS - I was wondering if you had the opportunity to work on fixes bugs in D6? Thanks!
Comment #9
BenK CreditAttribution: BenK commentedSubscribing
Comment #10
bsmith451 CreditAttribution: bsmith451 commentedThis may sound rude, but...
Don't you think you should FIX the 6.x version before committing to the 7.x version? There are LOTS of problems with this module and it would be nice to get a working version for the current release.
I'm currently trying to get this module working, but if you don't answer our bug reports ( some are VERY stale ) but you say you're working on a 7.x version... that doesn't really sound to helpful.
Comment #11
univate CreditAttribution: univate commented@bsmith451 - yes your post probably was rude since you did you even read the issue first, the maintainer postponed this issue and said they are still working on D6 in #3.
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedyaz085
Turns out the 'bugs' were the fault of Authorize.net. Seems like a lot of potential issues can be solved by getting yourself a developer account and testing from there.
Comment #13
bmagistro CreditAttribution: bmagistro commentedWell, I think/hope that D6 is at a point where most of the bugs are resolved. I am waiting on confirmation on two still that I want to have a path forward/answer to before moving on. I am also thinking D7 will be a complete rewrite to clean up several things and bring in some new features. What I am wondering is if people would rather have a D7 release or keep tweaking and adding features to D6?
Comment #14
YK85 CreditAttribution: YK85 commentedIt seems like it will be awhile until many other modules make it to D7 to allow many Drupal sites to make the move.
It would be great if we could see further work on D6 I think. Or is there a chance the newly rewritten D7 version be backported to D6? Thank you!
Comment #15
MasterChief CreditAttribution: MasterChief commentedI am agree with yaz085, it will take at least a good year before drupal 7 really works with port of modules.
Comment #16
danielm CreditAttribution: danielm commentedSubscribing
Comment #17
shadowmihai CreditAttribution: shadowmihai commentedsubscribing
Comment #18
eMathGuy CreditAttribution: eMathGuy commentedsubscribing... Newbie to Drupal, hope you can get this module up for v7, it's the last piece I'm needing for a web solution... Thanks!
Comment #19
hendrakieran CreditAttribution: hendrakieran commented+1
Comment #20
mariano.barcia CreditAttribution: mariano.barcia commentedHi,
Attached is a patch against the (latest) 6.x-2.0-beta2 version, porting the entire package to
- Drupal 7.0 (several changes)
- Ubercart 3.x (just did a hook renaming)
- Userpoints... (v1 , v2?) I got no errors whatsoever so I guess it's v2?
I processed the package using Coder at first, then I had to make manual changes to port the database queries.
I don't have a way to do a proper testing of this. Please review the patch, apply it and test it in an isolated environment, things WILL break at first, this is very unstable code.
However, payments and product are kinda working, so I think it won't take long to debug and release a D7 version.
Will be looking forward to your comments, HTH
Comment #21
orendain CreditAttribution: orendain commentedGreat job mariano.barcia -- will test and see what could be fixed. I was going to start a port of my own this week, but I'll try and work of this one. :)
Comment #22
mariano.barcia CreditAttribution: mariano.barcia commentedHi all,
Attached you will find the module folder in a ZIP archive, as I have it "working" on my installation. Hope this helps, salud
Comment #23
kimlop CreditAttribution: kimlop commentedthx mariano!
Comment #24
patoshi CreditAttribution: patoshi commentedany reviews on that patch for 7 ? how is it?
Comment #25
mariano.barcia CreditAttribution: mariano.barcia commentedHi,
I got uc_userpoints_product.module working, so I'm sending the attached zip with the files as I have them in my install.
I had to introduce modifications to the way it added or updated a product feature to the DB. I think it inserted new pfids on updates, but I didn't have time to verify the D6 version, I just got the D7 working on my install.
For those who had the previous version, just download this new one and overwrite the previous version. There's no need for an upgrade since the product module didn't work at all when I tried it, so I guess this new version is all goodness :-).
Comment #26
Aracon CreditAttribution: Aracon commented@ #25
http://************/admin/store/reports/sales-points:
Fatal error: Call to undefined method DatabaseStatementBase::extend() in /home/magicfoc/domains/magicfocus.ru/public_html/sites/all/modules/userpoints_ubercart/uc_userpoints_seller.module on line 102
Comment #27
Aracon CreditAttribution: Aracon commentedThe module uc_userpoints_seller from #25 seems not to be working because conditional actions module was removed from Ubercart. I am now working on the uc_userpoints_seller module to make it up-to-date.
Comment #28
Aracon CreditAttribution: Aracon commentedHere's the module with fixed uc_userpoints_seller for D7.
I also need to note that functional of seller module could be added via just Rules module. (But, when I tried, I get some strange fatal error in entity.wrapper.inc - more info here: http://drupal.org/node/1178746)
Comment #29
Aracon CreditAttribution: Aracon commentedSeveral new features in uc_userpoints_seller.module:
* You can now choose types of products which authors you want to award with userpoints
* You can now select the category of awarded userpoints
* You can now customize the transaction comment, and tokens can be used in these comments
If you already installed the version from my previous archive, please don't forget to activate module rule in Rules! In this version it is active by default.
Comment #30
indigoblue CreditAttribution: indigoblue commentedI've been testing #29. I get the following error when I checkout using the test gateway ( purchasing points ) ...
Everything is current. Rules module is active. I'm new to this module and user-points so I can't be of much help. But I'll keep testing. Let me know if I can provide any more info - or if I've forgotten to do something obvious!
Comment #31
indigoblue CreditAttribution: indigoblue commentedI thought everything was updated but there was a newer version of Entity API that fixed this problem. Everything looks like it's working really well! Thanks.
Comment #32
BarwonHack CreditAttribution: BarwonHack commentedWill this be formally released in July?
Comment #33
simonswiss CreditAttribution: simonswiss commentedJust installed the last version(#29) and getting the following error:
Comment #34
mattlowe01 CreditAttribution: mattlowe01 commentedWhen I add an item to my cart that is assigned userpoints, and when I click checkout, I get this error thrown at me
Warning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() (line 1476 of /var/www/undiscovered/includes/bootstrap.inc).
Recoverable fatal error: Argument 2 passed to t() must be an array, null given, called in /var/www/undiscovered/modules/userpoints_ubercart/uc_userpoints_product.module on line 281 and defined in t() (line 1406 of /var/www/undiscovered/includes/bootstrap.inc).
This is using #29, on 7.0
Comment #35
avishking CreditAttribution: avishking commentedEverything seems to be functional, but i am getting errors/notices all over the place:
Notice: A non well formed numeric value encountered in uc_currency_format() (line 997 of C:\xampp\htdocs\drupal\sites\all\modules\ubercart\uc_store\uc_store.module).
Notice: A non well formed numeric value encountered in uc_currency_format() (line 997 of C:\xampp\htdocs\drupal\sites\all\modules\ubercart\uc_store\uc_store.module).
Comment #36
Andy B CreditAttribution: Andy B commentedsub
Comment #37
MPankau CreditAttribution: MPankau commentedsubscribing! This is the only thing holding me back from a site move to D7
Comment #38
NathanM CreditAttribution: NathanM commentedsubscribe
Comment #39
Jeffrey C. CreditAttribution: Jeffrey C. commentedHi I installed the latest "userpoints_ubercart-D7-June4-01.zip" and when I proceed to checkout the page just died. It's a almost-blank page with my site name, and a "Checkout" word on the page. After disabling this module, the checkout page just turned back to the original correct one. Any help or fix?
Comment #40
sir spliff CreditAttribution: sir spliff commentedhad the same problem as #39. It might have something to do with the store>configuration>store settings I noticed when i selected points as payment option via the points configuration settings my pricings disappeared from my current products, though in the actual store settings there doesn't seem to be a way to designate points as a payments option at all, it just asks for the currency format (USD, EUR, ect). Thanks for all the hard work into trying to port this project to 7! subscribe!
Comment #41
mefisto75 CreditAttribution: mefisto75 commentedsub
Comment #42
Taxoman CreditAttribution: Taxoman commentedSubscribing
Comment #43
Quarantine CreditAttribution: Quarantine commentedSubscribing!
Comment #44
j_smits CreditAttribution: j_smits commentedSubscribing
Comment #45
eric_marsh CreditAttribution: eric_marsh commentedThanks for posting - I just installed and will start looking at it.
It looks like there may be a mismatched paren at line 214 in uc_userpoints_award.module which is causing some of the error messages cited above.
I was getting a complaint about USERPOINTS_AWARD_CATEGORY in uc_userpoints_award.module until I added
define('USERPOINTS_AWARD_CATEGORY', 'userpoints_award_category');
at line 10. I just guessed about what would be a good value. Will see if it burns me later.
I'm looking at the "Notice: A non well formed numeric value encountered in uc_currency_format() (line 866" problem - evidently the string "[Points branding name]:[number of points]" is being passed instead of a numeric value. I'll see if I can find out why....
Looks like the problem is in uc_userpoints_payment.module in lines 136-140. $node->content['display_price']['#value'] expects a number but it's being passed a string complete with HTML formatting.
Comment #46
Jeffrey C. CreditAttribution: Jeffrey C. commentedSubscribe
Comment #47
Taxoman CreditAttribution: Taxoman commented@legendm33066: have you noticed the green "Follow" button in the upper-right corner here? Use that if you only want to "subscribe" (ref. "Stop subscribing, start following": http://drupal.org/node/1306444 )
Comment #48
super.._.. CreditAttribution: super.._.. commentedAnybody knows what's the status on this? i wanna help....
Comment #49
Jeffrey C. CreditAttribution: Jeffrey C. commentedOh I know that but I am just used to subscribing :) Will remember that next time
Comment #50
tsaks CreditAttribution: tsaks commentedSubscribing
Comment #51
indigoblue CreditAttribution: indigoblue commentedRecently upgraded to
Drupal 7.9
Rules 7.x-2.0
ubercart 7.x-3.0-rc2
userpoints 7.x-1.0
Sad to report that this seems to completely break the D7 patch, which until now has been working well. The order remains pending and no user points get assigned.
I noticed that the Rules module reported problems on its upgrade - and I think this may have something to do with it. The log error messages ( issued by rules ) where
Anyone any idea on what needs to be done to fix this up?
EDIT: Fixed Itself! I think some of the errors listed above come from deprecated D6 stuff that might still be hanging around in the patch, but had no significance. Visiting the rules and resaving them seemed to help. I guess things just got a bit confused in the updates.
Comment #52
Quarantine CreditAttribution: Quarantine commentedHi guys,
I'm having trouble getting this to work for my D7 Ubercart site, and I'm using Drupal 7.9, Rules 7.x-2.0, Ubercart 7.x-3.x-dev (2011-Dec-01), and User Points 7.x-1.0 (along with the D7 port of this module in comment #29). When trying to "Review Order" in my checkout page, I encounter the following error message (white page with the error message) at this page /cart/checkout/review:
I'm also encountering the following errors throughout the site:
I'd like to offer a $50 bounty if you could help me to get the errors fixed and get this module working perfectly on my site.
Comment #53
Quarantine CreditAttribution: Quarantine commentedI think this module has to get a rewrite from a ground up for D7. I've posted a topic here, so if anyone would like to share the costs to have a developer to develop this for us, feel free to contact me and let me know.
Comment #54
jdbener CreditAttribution: jdbener commentedhi all when i try to checkout with points it gives me a blank page
Comment #55
Jere Toivanen CreditAttribution: Jere Toivanen commentedFix for ubercart payment by points:
I did have this error message on blank page, when going to checkout:
Fatal error: Cannot pass parameter 3 by reference in /home/xxxxxxx/domains/xxxxxxxxxx.com/public_html/xxxxxxxxx/sites/all/modules/ubercart/uc_cart/uc_cart.pages.inc on line 401
FIXED IT: open file /sites/all/modules/ubercart/uc_cart/uc_cart.pages.inc, and find line 401, change word "NULL" to word "$null".
This worked to me and now I can pay with points.
Btw, thanks to developers for this module! its great!
EDIT: sorry for comment, problem came later again (maybe becouse of new settings???) but when i changed the line back to "NULL", it worked again.
Comment #56
jdbener CreditAttribution: jdbener commentedhay all this is some code i've added a few changes to! this only includes the payment, discount, and product modules. :( i couldent find what was worng with the others! :( NOTE: it worked on my system it might work on yours! :)
Comment #57
Jeffrey C. CreditAttribution: Jeffrey C. commentedI suppose the title should be clear and understandable.
Comment #58
Jere Toivanen CreditAttribution: Jere Toivanen commentedTested: i got errors by enabling discount module:
Notice: Trying to get property of non-object funktiossa uc_line_items_calculate() (rivi 50 tiedostossa /home/xxxxxxxx/domains/xxxxxx.com/public_html/xxxxxxx/sites/all/modules/ubercart/uc_order/uc_order.line_item.inc).
Warning: urldecode() expects parameter 1 to be string, array given funktiossa uc_userpoints_discount_uc_order() (rivi 207 tiedostossa /home/xxxxxxx/domains/xxxxxxx.com/public_html/xxxxxxxx/sites/all/modules/userpoints_ubercart/uc_userpoints_discount.module).
Notice: Undefined property: stdClass::$quote funktiossa uc_userpoints_discount_uc_order() (rivi 212 tiedostossa /home/xxxxxxxxx/domains/xxxxxxx.com/public_html/xxxxxx/sites/all/modules/userpoints_ubercart/uc_userpoints_discount.module).
Comment #59
jdbener CreditAttribution: jdbener commentedi'm not sure what is worng but as my mentor tuought me when in dought disable the error! so i would recemend that you put a @ in front of all the errors. i also didnt very thoughly test the discount module becuse i don't activly use it in my site! you can see an example at http://tutorials64.net
Comment #60
nyleve101 CreditAttribution: nyleve101 commentedHi,
I stumbled across this module http://www.ubercart.org/project_project/ubercart_userpoints_invite_rewar... if this module is ported to D7 could it be included as a submodule?
Comment #61
bhans@zoominternet.net CreditAttribution: bhans@zoominternet.net commentedI get the following error when attempting to edit the checkout configuration:
Fatal error: Cannot pass parameter 3 by reference in /xxxx.../ubercart/uc_cart/uc_cart.admin.inc on line 320
There is no pane to apply points in the checkout page.
Userpoints Discount is enabled.
Comment #62
nyleve101 CreditAttribution: nyleve101 commentedHi,
here is a D7 port of this module http://www.ubercart.org/project_project/ubercart_userpoints_invite_rewar.... Perhaps it can be included?
P.S Juan did the hard work I just sponsored
Comment #63
himagarwal CreditAttribution: himagarwal commentedHas someone got this working?
I want to add points (credits in dollars) to user account manually which can used to make purchase at ubercart store. And, if the credits are low then user can make the payment of remaining amount through paypal/credit card. Can this be done through this module?
Comment #64
himagarwal CreditAttribution: himagarwal commentedI am getting following errors on cart/checkout page.
And in the points discount table in /cart/checkout I see the following things. I applied 6 points to myself (admin) and I was trying to checkout but I see following problem
Comment #65
Liliplanet CreditAttribution: Liliplanet commentedHi! Using the zip file in #25 receive the following errors:
Prepared to pay bounty for a working version, that is the ability to buy userpoints via ubercart .. most appreciated, thx!
Comment #66
nyleve101 CreditAttribution: nyleve101 commentedJuan's patched version works for me.
Comment #67
zeezhao CreditAttribution: zeezhao commented@nyleve101 - thanks for the zip. Looks like uc_userpoints_seller.install needs to have uc_up_seller_log table and not uc_up_award_log table. This gave an installation error.
Also: uc_userpoints_seller.module is referring to "orders" table whcih should probably be "uc_orders"
Comment #68
remkovdz CreditAttribution: remkovdz commentedThere are a lot op ZIP-files on this page, most of them having several errors if I understand correctly, which one is safe to use?
Or even better: will this soon be commited as an official release?
Comment #69
jvizcarrondo CreditAttribution: jvizcarrondo commentedI have made the corrections to uc_userpoints_seller submodule.
Juan
Comment #70
anjjriit CreditAttribution: anjjriit commentedI found this error in empthy rows
Comment #71
Jeffrey C. CreditAttribution: Jeffrey C. commentedHello there!
Thank you all for your contributions! Since 7.x-1.x branch has been created, I'm going to close this issue, please file a separate issue for every bug you experienced. Thanks!
Jeffrey
Comment #72
Jeffrey C. CreditAttribution: Jeffrey C. commentedComment #73
rebolomo CreditAttribution: rebolomo commentedfor the "Notice: A non well formed numeric value encountered in uc_currency_format() (line 866" problem - evidently the string "[Points branding name]:[number of points]" warning, here in the uc_userpoints_payment.module, it appends some string:
$node->content['sell_price']['#value'] .= '
';
Comment #74
Jeffrey C. CreditAttribution: Jeffrey C. commentedPlease post a new issue.