Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 4:00 am (All times are UTC )

 




Post new topic Reply to topic  [ 512 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 18  Next
Author Message
Posted: Mon Sep 19, 2005 8:40 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 9:45 am
Posts: 629
Location: La Grande, Oregon
In that case, Amember would be about your only option.

_________________
From the beginning...


Top
   
 
Posted: Mon Sep 19, 2005 6:00 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Aug 23, 2005 4:34 pm
Posts: 210
Location: Mt. Juliet, Tennessee
You could also modify phpShop to work with one of the current Account Hacks. This is what I am currently working on.

Chuck

_________________
http://www.nashville-webdesign.com - Nashville Web Design


Top
  E-mail  
 
Posted: Mon Sep 19, 2005 6:03 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 9:45 am
Posts: 629
Location: La Grande, Oregon
Were can I find out more information on these account hacks?

_________________
From the beginning...


Top
   
 
Posted: Mon Sep 19, 2005 6:15 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Aug 23, 2005 4:34 pm
Posts: 210
Location: Mt. Juliet, Tennessee
charlwillia6 wrote:
Were can I find out more information on these account hacks?


It's the ones already mentioned here. I know we can get them to working, if we put our heads together. Maybe we can set something up on the forge to pull a lot of these ideas together and work on it.

_________________
http://www.nashville-webdesign.com - Nashville Web Design


Top
  E-mail  
 
Posted: Tue Sep 20, 2005 2:26 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 9:45 am
Posts: 629
Location: La Grande, Oregon
Oh, I see.  I miss understood ya.  I think that a hack in phpShop would be great.  Unfortuantly my php is as good as me just staring at the code.  I am trying to learn, but I am afraid I can't help you.  Did you contact Scubaguy?

_________________
From the beginning...


Top
   
 
Posted: Tue Sep 20, 2005 2:55 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 19, 2005 2:37 am
Posts: 270
Location: Milwaukee, WI
I'm keeping an eye on the thread.  Life has just been a little busy lately and I haven't had a chance to put something together.  I should be able to post some fixes in the next couple of days.

_________________
Web Geek Cafe - development and Joomla coaching webgeekcafe.org
YourTribe.com - group social events - yourtribe.com


Top
  E-mail  
 
Posted: Tue Sep 20, 2005 3:56 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Sep 14, 2005 6:52 am
Posts: 50
i would like to test some free components


Top
  E-mail  
 
Posted: Tue Sep 20, 2005 4:55 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Aug 23, 2005 4:34 pm
Posts: 210
Location: Mt. Juliet, Tennessee
I have sort of gotten a copy of php-shop and CB working together for what I am wanting to do. It doesn't involve accounts that expire after a certain time though. Once I get this "very dirty hack" together- hopefully by Thursday- I'll let ya'll see it - maybe you can add expiration to it.

It involves my syncronization technique from the mambojoe forums.

_________________
http://www.nashville-webdesign.com - Nashville Web Design


Top
  E-mail  
 
Posted: Tue Sep 20, 2005 4:56 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Aug 23, 2005 4:34 pm
Posts: 210
Location: Mt. Juliet, Tennessee
I have another idea I am going over that involves upgrading the user to "Author". Does anyone know the code to get the current user and upgrade his account status to Author?

Chuck

_________________
http://www.nashville-webdesign.com - Nashville Web Design


Top
  E-mail  
 
Posted: Wed Sep 21, 2005 10:13 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Tue Aug 23, 2005 4:34 pm
Posts: 210
Location: Mt. Juliet, Tennessee
Well Great NEWS!!!!

I am only a few short steps away from the finished project. A brief explanation of what I've done:

1) User signs in with Community Builder
2) After registration, User is automatically redirected to phpShop
3) The User chooses the product they wish to buy
4) PROBLEM: phpShop requires billing information from a separate table than CB
    - I went into phpShop and modified "checkout_register_form"
    - I hardcoded the "billable fields" to address, city, etc. (I did not need these since they were in CB)
    - Then I placed a DIV around these forms and set display:hidden
5) YET TO DO: When payment is successful, upgrade User to Author
6) Use "mosif" mambot to set the paid content to Author only
    - I only have one article the client pays for, but if you have many articles, you may be able to use mosclearft (I believe this allows you to automatically add content before or after every article). It might be another mambot, not sure. But in this mambot, you can have your articles prepend the mosif all the articles (though it wouldn't be hard to add to each article if you do it yourself).

I am going to good ole Kansas City for my 1st year Anniversary on Thursday. So I'll post a more thorough update when I return- with code lines and such.

Chuck

_________________
http://www.nashville-webdesign.com - Nashville Web Design


Top
  E-mail  
 
Posted: Wed Sep 21, 2005 10:27 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 9:45 am
Posts: 629
Location: La Grande, Oregon
Sounds great Chuck.  Thanks for the hardwork!  I can't wait to see what you come up with.

_________________
From the beginning...


Top
   
 
Posted: Thu Sep 22, 2005 8:47 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Sep 22, 2005 8:32 pm
Posts: 14
Location: Stoke On Trent (I know, Someone has to live there)
bedlam wrote:
Heya charlie,

Im wondering if you managed to get acct exp working. I  got to test the component today but have some problems with users signing up only to be put in the excluded list even before they make a payment(using sandbox testing) ... have you tried it yourself. I just want some feedback regarding the outcome of the said component. Thanks :)



Hey

this is probably the only place i haven't asked this question but i see bedlam is having the same problem. Users who who skip the paypal stage are getting a activation link and are placed into the exclude list. Just wondering if a solution for this problem has been found.

Also was wondering if a user decides to pay later or subscribe for another month lets say how do they do this.  The paypal subscription page only seems to show when they register.

Does this mean that when the subscription expires they will be removed as a user and they have to register again.

Thanks


Top
   
 
Posted: Fri Sep 23, 2005 3:48 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 9:45 am
Posts: 629
Location: La Grande, Oregon
Hey Funkymunky,

The only thing I know about the Acct Expiration Module is that there is a setting in the administration menu for the component that has a default setting of '-1' when you first install the component.  Try to set that for '30', or something like that.  That may be the setting for the exclude list.  If not, then I am not sure how to solve that problem.

I believe that the PayPal API sends the subscription information to Joomla regarding when they renew their subscription, but again, I am not sure.  You might have to manually set their expiration everytime the membership is renewed.  But I am thinking that the PayPal API for the component takes care of this and resets their expiration for the one month or yearly memberships that you have set. 

I know this may not be helpful since I am 'not sure' about everything, but it will help it out.

_________________
From the beginning...


Top
   
 
Posted: Fri Sep 23, 2005 8:37 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Sep 22, 2005 8:32 pm
Posts: 14
Location: Stoke On Trent (I know, Someone has to live there)
ive searched around on all other forums ppl having the same problem.
Ill give your suggestions a try see what happens

Thanks


Top
   
 
Posted: Fri Sep 23, 2005 11:08 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Sep 22, 2005 8:32 pm
Posts: 14
Location: Stoke On Trent (I know, Someone has to live there)
okay the -1 thing didn't work.
so looked around in the code hacked it so it will expire the user just before the paypal payment page appears. I'm trying to set up the sandbox account with paypal to test this. This way it does not place the user into the exclude any more. Its probably wrong   ;D but i wont be able to tell until i test it in the sandbox paypal account. if anyone manages to sort it out some other way please do tell.

the file is components/com_acctexp/acctexp.php

}
$row->checking();

$name = $row->name;
$email = $row->email;
$username = $row->username;
$userid = $row->id;
$registerDate = $row->registerDate; // For use on expiration date

// funkymunky hack**************************************
    $database->setQuery( "INSERT INTO #__acctexp SET userid=$userid, expiration=DATE_ADD('$registerDate', INTERVAL $cfg->initialexp DAY)" );
$database->query();

//end of funkymunky hack ************************************************


Last edited by funkymunky on Fri Sep 23, 2005 11:10 pm, edited 1 time in total.

Top
   
 
Posted: Sat Sep 24, 2005 5:10 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Aug 23, 2005 2:19 pm
Posts: 93
hey funkymunky ... im not in my testing pc right now ..... if you manage to make it work please do inform us :)

by the way ... hope you can tell the developer about your hack in the forge, so that if it works he can incorporate it in the next release.

I hope Helder has a fix for the bug with the paypal subcribed but not updating the expire period of new signed up members as well.

Cheers!

:)

_________________
Joomla! - theultraelectromagnetic CMS!


Top
  E-mail  
 
Posted: Sat Sep 24, 2005 7:01 am 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Thu Aug 18, 2005 10:27 am
Posts: 3928
Location: Sunny City Cebu, Philippines!
would love to see the thread with a title:

"Paid Memberships in Mambo at FREE at Last!!"

watching this thread closely. (",)

_________________
"I was one of those who wondered why people would pay so much $$$$ to do something that was so much fun!" -R. Harkrider, Fortran Code Engr.
^If u cant read that, you clearly missed the HIGHLIGHTS!
www.backspace.ph | www.joomlaconsultancy.net


Top
  E-mail  
 
Posted: Sat Sep 24, 2005 11:16 am 
Joomla! Intern
Joomla! Intern
Offline

Joined: Mon Aug 29, 2005 1:17 pm
Posts: 62
guilliam wrote:
would love to see the thread with a title:

"Paid Memberships in Mambo at FREE at Last!!"

watching this thread closely. (",)


You mean:
At Last, paid Memberships in Mambo "for" FREE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
(u left out the exclamation marks which were necessary, lol)

The title sounded weird when i first read the thread.
The title is kinda misleading. It makes u fink that there are already paid memberships for free.

if we take it at face value, it doesn make sense either.
There has (almost) always been paid memberships for mambo


Top
  E-mail  
 
Posted: Sat Sep 24, 2005 2:47 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Sep 22, 2005 8:32 pm
Posts: 14
Location: Stoke On Trent (I know, Someone has to live there)
bedlam wrote:
hey funkymunky ... im not in my testing pc right now ..... if you manage to make it work please do inform us :)

by the way ... hope you can tell the developer about your hack in the forge, so that if it works he can incorporate it in the next release.

I hope Helder has a fix for the bug with the paypal subcribed but not updating the expire period of new signed up members as well.

Cheers!

:)


Hi Bedlam

After testing it with paypal sandbox it works (im bloody suprised)

1. the user signs up.

(mambo will expire him straight away before the paypal stage using the hack above)

2. users selects a subscription goes through all the paypal stages.

3. User is returned back to the thank you page (i did not have set in my paypal preferences to accept all payments so if the payment was not accepted they will still be expired)

4. Once the payment is accepted in paypal their subscription details are changed into an active account.

im currently working on a subscription button under the user menu so they can update the subscription

knowing my php abilities there is bound to be a glitch some where  :P.


Top
   
 
Posted: Sun Sep 25, 2005 5:23 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Aug 23, 2005 2:19 pm
Posts: 93
Wooo! hehehe .... you da man! funkymunky :D

ill try to test your hack tomorrow .... I think this solves my problem with the initial signup :)

any other hack you made besides the one you posted before? Im using Community Builder, I hope you are using it as well so as to be the same with my setup.

But really, this is a great work, thanks man.

Cheers!

Just keep us posted with your updates! :)

_________________
Joomla! - theultraelectromagnetic CMS!


Top
  E-mail  
 
Posted: Tue Sep 27, 2005 1:39 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 18, 2005 9:24 pm
Posts: 79
Hey funkymunky,

thanks for your hack, I'll merge it to next release. By the way, I am looking for a new developer for the project to maintain a possible branch of component to work integrated with CB. After all, open source is colaborative work, right? This component started as a little "learning exercise", but now I have a lot of users interested on new features, integration with other components, and some bugs to fix. My time is very restricted. I need help  :o

_________________
Helder Garcia
http://globalnerd.org
http://SouNerd.com


Top
   
 
Posted: Tue Sep 27, 2005 3:25 am 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 19, 2005 2:37 am
Posts: 270
Location: Milwaukee, WI
Hedler, I just sent in a request over on the JoomlaForge to join the project and help where I can.

_________________
Web Geek Cafe - development and Joomla coaching webgeekcafe.org
YourTribe.com - group social events - yourtribe.com


Top
  E-mail  
 
Posted: Tue Sep 27, 2005 3:43 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 18, 2005 9:24 pm
Posts: 79
Accepted. I have all code on $amboforge CVS repository. I'm creating a new repository at Joomlaforge and create a branch for Account Expiration Control Component CB Edition (name just created  ;) ) so we can work on it. We still need to test and adapt it if needed for Joomla.

I'll send you more details by email..

Thanks!

_________________
Helder Garcia
http://globalnerd.org
http://SouNerd.com


Top
   
 
Posted: Tue Sep 27, 2005 8:52 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Sep 27, 2005 8:40 am
Posts: 18
Location: London, UK
I hope this is the right place to post this!! I was pointed in this direction, saying that funkymunky had a fix for this, I have looked at it and I don't think this fixes my problem.

Unless I have to modify the code provided by funkymunky! PLEASE HELP.

Here is my problem:

I want users to have a choice, when they register, they either subscribe and pay with paypal, which will give them access to extra stuff or just subscribe without paying, this will give them restricted access.

So if a user compleets the signup form and sends it, he/she is taken to to the payment page, but I want them to choose, if they wand Gold membership, they can go ahead and pay via paypal, if they want Silver membership, then they dont have to pay and they can just log in straight away.

My problem at the moment is that when a user chooses not to pay for a subscription and tries to login, they are automatically blocked.

Is there a way to prevent this, I have looked though all the menus and cant see how to change this.

I have also integrated the AccountExp component.

Any help please I am desperate

Thank You

Juan


Top
   
 
Posted: Tue Sep 27, 2005 9:20 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Sep 22, 2005 8:32 pm
Posts: 14
Location: Stoke On Trent (I know, Someone has to live there)
im currently finishing off a project. I was working on a subscription button within th user menu. i have got it to stage where if they press the button they see the subscribe page which they would have only seen at the registration point. Hopefully i will complete this soon and test it

my hack previously helped those ppl who had problems with users not being blocked. They were being placed into the exclude list as soon as they registered.

i will keep ya posted


Top
   
 
Posted: Tue Sep 27, 2005 9:25 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Tue Sep 27, 2005 8:40 am
Posts: 18
Location: London, UK
So close yet so far - it seems that if only I know Sql or Php like you, I would just be able to modify the the code slightly so users that dont pay are NOT autoblocked.!!!

I look forward to hearing from you - when you can.

Anyone else that can help???


Last edited by juanfernandes on Tue Sep 27, 2005 9:51 am, edited 1 time in total.

Top
   
 
Posted: Tue Sep 27, 2005 1:54 pm 
User avatar
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Fri Aug 19, 2005 2:37 am
Posts: 270
Location: Milwaukee, WI
The line that is doing the blocking is in acctexp.php around line 194 is:

Code:
if($cfg->paypal || $cfg->transfer) {
      $row->block = "1"; // Force blocked.
   }


Try comenting that out to make it look like this:

Code:
/*
if($cfg->paypal || $cfg->transfer) {
      $row->block = "1"; // Force blocked.
   }
*/


If you are using the CB hack then do a search in comprofiler.php for:

Code:
$row->block = "1"; // Force blocked.


and comment that out so it looks like this:

Code:
// $row->block = "1"; // Force blocked.

_________________
Web Geek Cafe - development and Joomla coaching webgeekcafe.org
YourTribe.com - group social events - yourtribe.com


Top
  E-mail  
 
Posted: Wed Sep 28, 2005 2:00 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Tue Aug 23, 2005 9:45 am
Posts: 629
Location: La Grande, Oregon
scubaguy wrote:
The line that is doing the blocking is in acctexp.php around line 194 is:



So now that unpaying registered users are no longer blocked with this hack, how do we make it so they can upgrade?  I would prefer not to have people become authors to be in another group, but the goal is to have people click the button funkymunky is hacking to upgrade. If the only way to do this is to have them go up one level to author, I guess we will do with what we got.  How can we make this automatic?

_________________
From the beginning...


Top
   
 
Posted: Wed Sep 28, 2005 3:37 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Thu Sep 22, 2005 8:32 pm
Posts: 14
Location: Stoke On Trent (I know, Someone has to live there)
okay

when a users subscription has expired you get this message saying

Dear Tony Blair Your account has expired you a*sh**e
Please contact us to renew your subscription.

I mananged to place a link under all that called renew subscription. when the user click on it they get the paypal payment page with all ya buttons. iv managed to renew a subscription fines so it seesm to be working. im gona have to do a few more test before im happy.

still trying to get a button in the user menu but need to find a way of keeping the user menu showing if their sub has expired be grateful if anybody knows how

right!

its 4:30am so im off to dream about Monica Bellucci again!  ;)


Top
   
 
Posted: Wed Sep 28, 2005 3:48 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Tue Aug 23, 2005 2:19 pm
Posts: 93
funkymunky wrote:
okay

when a users subscription has expired you get this message saying

Dear Tony Blair Your account has expired you a*sh**e
Please contact us to renew your subscription.

I mananged to place a link under all that called renew subscription. when the user click on it they get the paypal payment page with all ya buttons. iv managed to renew a subscription fines so it seesm to be working. im gona have to do a few more test before im happy.

still trying to get a button in the user menu but need to find a way of keeping the user menu showing if their sub has expired be grateful if anybody knows how

right!

its 4:30am so im off to dream about Monica Bellucci again!  ;)




LOL :D .......

thanks for the update! ... cant wait to try it :)

_________________
Joomla! - theultraelectromagnetic CMS!


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 512 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 18  Next

Quick reply

 



Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group