Closed (fixed)
Project:
e-Commerce
Version:
5.x-4.x-dev
Component:
ec_recurring
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2007 at 09:51 UTC
Updated:
3 Feb 2008 at 12:41 UTC
I can't figure this out, but it must be possible. I would like any logged in member to have their current role-status and how long is left to expiry shown somewhere on the front page, possibly in a block - much like their username is shown when they log in.
In ec_recurring_expiration we have the fields, txnid, start_time, vid, rid, expiry, status - so I can't simply grab userid + status + expiry straight off and display those results. I'm a little unsure on how to match which user made what upgrade so I can show their status to them in a block somewhere that they'll see all the time.
Any suggestions?
Comments
Comment #1
japo32 commentedhi, have you found a solution for this? thanks!
Comment #2
japo32 commentedplease help guys. :(
Comment #3
Dabitch commentedI haven't found a solution for this. I have a few other problems with ecommerce, and I'm not sure sure where to ask for help on these issues.
Comment #4
Rhino commentedI'm also interested in this. If not here, where should we ask for information on this?
Comment #5
Rhino commentedThis should be a feature request actually, since it is a very good idea.
Comment #6
japo32 commentedi hope they can provide solutions for older versions of ecommerce. :( i hacked some of the portions of ecommerce for customization so i cant upgrade my installation. :(
Comment #7
japo32 commentedhey guys here's an update! i created a block for showing the expiry date. it only shows 1 though. i added this to ec_recurring.module file:
it works for my purposes so i hope you guys can use it :D
Comment #8
brmassa commentedGuys,
i commited the code from Adrian (japo32).
regrads,
massa
Comment #9
Rhino commentedThis is great, thanks
Comment #10
Rhino commentedHmm.. I'm missing something obvious here, I've gotten the latest ec_reccuring from here and I can see that there is an "ec_recurring_block" in the code itself of this module. However, I can not find on the site where I turn this on. What am I missing? Should I be able to turn it on somewhere? Or should it just magically appear?
(note - I only replaced my old ec_reccuring with the latest ec_reccuringsince updating the entire Ecommerce module seemed to be overkill when only one file had an update for me. Might that be it?)
Comment #11
Rhino commentedI also get "user warning: Duplicate entry '1395-137173-1' for key 1 query: INSERT INTO ec_recurring_expiration (txnid, start_time, vid, rid, expiry, status) VALUES...(etc) in drupal/includes/database.mysql.inc on line 172" now that I am using the new ec_reccuring.module
Help?
Comment #12
Dabitch commentedDo a proper upgrade with the entire ecommerce package and that glitch will go away.
However, I too can't find this mystery block. Where is it? Do I have to turn it on? I can not find it in "Blocks" and it's not automatically on. What am I missing?
Comment #13
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.