vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Pay to Register (https://vborg.vbsupport.ru/showthread.php?t=263521)

SamirDarji 06-14-2011 10:42 PM

Noting to look at later in the year. I'm still on vb3.8x, so I hope it works when I get a chance to work on it.

BadgerDog 06-15-2011 12:09 PM

Installed with thanks for testing on 4.1.3 development forum ... :up:

Nice work and the mod as a lot of excellent potential for site owners to drive increased revenues. We would pay for some customization (if available) once it settles into a final production version. :)

We have immediately noticed one problem if a specific sequence of keystrokes is followed.

1. Logged out as a valid user (Admin)
2. Clicked on "Register" link.
3. Screen appeared properly with two choices (Paid Registration Method and Free Registration Method).
4. Was satisfied the mod worked fine to this point and wanted to defer further testing until later.
5. Next, simply re-entered my personal site user name and password in the empty boxes, checked "Remember Me" and hit SUBMIT BUTTON.
6. Screen clears but instead of logging in, vBulletin attempts to execute the link below (xxx's replaced site name for privacy) and nothing happens except a blank white screen which is locked up. If you backspace on the browser input line and only click on basic site link, then site loads properly and one can login after that, or it may be pick up the stored "cookie" and login properly.
7. Problem is repeatable on our site on a consistent basis.

http://www.xxxxx.com/devforum/register.php?do=select_subscription

If you need any further information, please let me know ... :up:

Regards,
Doug

HellRZR 06-15-2011 12:25 PM

Quote:

Originally Posted by BadgerDog (Post 2208027)
Installed with thanks for testing on 4.1.3 development forum ... :up:

Nice work and the mod as a lot of excellent potential for site owners to drive increased revenues. We would pay for some customization (if available) once it settles into a final production version. :)

We have immediately noticed one problem if a specific sequence of keystrokes is followed.

1. Logged out as a valid user (Admin)
2. Clicked on "Register" link.
3. Screen appeared properly with two choices (Paid Registration Method and Free Registration Method).
4. Was satisfied the mod worked fine to this point and wanted to defer further testing until later.
5. Next, simply re-entered my personal site user name and password in the empty boxes, checked "Remember Me" and hit SUBMIT BUTTON.
6. Screen clears but instead of logging in, vBulletin attempts to execute the link below (xxx's replaced site name for privacy) and nothing happens except a blank white screen which is locked up. If you backspace on the browser input line and only click on basic site link, then site loads properly and one can login after that, or it may be pick up the stored "cookie" and login properly.
7. Problem is repeatable on our site on a consistent basis.

http://www.xxxxx.com/devforum/register.php?do=select_subscription

If you need any further information, please let me know ... :up:

Regards,
Doug

Nice catch! I confirm that this is happening to our installation as well. Tested the above on Chrome, IE 9 and Firefox.

BadgerDog 06-15-2011 12:46 PM

Quote:

Originally Posted by HellRZR (Post 2208031)
Nice catch! I confirm that this is happening to our installation as well. Tested the above on Chrome, IE 9 and Firefox.

You're welcome .... :up:

This add-on has wonderful potential at many levels to capture impulse based revenue as users are in the mood during registration. Appreciate the author's efforts and yours in helping his development process.

Regards,
Doug

HellRZR 06-15-2011 12:57 PM

Quote:

Originally Posted by BadgerDog (Post 2208038)
You're welcome .... :up:

This add-on has wonderful potential at many levels to capture impulse based revenue as users are in the mood during registration. Appreciate the author's efforts and yours in helping his development process.

Regards,
Doug

Hi Doug,

Agreed! If you visit our website you will see how we use it. Thus far it has brought in revenue already. Beside the problem you just reported we have been using it with great success. I highly recommend this addition to all sites who which to make some revenue to help maintain their site.

vbresults 06-15-2011 01:03 PM

Never thought of someone using that exact sequence! The page is blank because the paid registration script is stopping the page from being loaded by an already registered user. I will just change the exit/blank page to a no permission screen so log in can proceed. An update is coming within ten minutes. :)

BadgerDog 06-15-2011 01:08 PM

Quote:

Originally Posted by HellRZR (Post 2208046)
Hi Doug,

Agreed! If you visit our website you will see how we use it. Thus far it has brought in revenue already. Beside the problem you just reported we have been using it with great success. I highly recommend this addition to all sites who which to make some revenue to help maintain their site.

Yup ... :up:

One of the customizations we've been trying to figure out how to do is have a slightly different message displayed for folks who see the "subscription" description during registration, as opposed to the ones that view it later after free registration. The canned description we currently use for the latter works for the most part, but it would be great to be able to present something "more tuned" to the new (in the process of registering) user as opposed to just showing the canned one, yet the end result of subscription amounts, that process and procedure are the same in both cases.

Regards,
Doug

vbresults 06-15-2011 01:22 PM

Quote:

Originally Posted by BadgerDog (Post 2208053)
Yup ... :up:

One of the customizations we've been trying to figure out how to do is have a slightly different message displayed for folks who see the "subscription" description during registration, as opposed to the ones that view it later after free registration. The canned description we currently use for the latter works for the most part, but it would be great to be able to present something "more tuned" to the new (in the process of registering) user as opposed to just showing the canned one, yet the end result of subscription amounts, that process and procedure are the same in both cases.

Regards,
Doug

I will attempt to add template conditionals so you can do:
HTML Code:

<vb:if condition="THIS_SCRIPT == 'register'>
        <!-- registration description -->
<vb:else />
        <!-- user panel description -->
</vb:if>

No promises, but if I can, this will take us straight to 2.0. :)

For now, if you are using JQuery, you can use the add the code below to your header template since vBulletin sets the THIS_SCRIPT variable.
HTML Code:

<script type="text/javascript">
        $(document).ready(function() {
                if (THIS_SCRIPT == 'register') {
                        $('.registration_description').removeClass('hidden');
                } else {
                        $('.user_panel_description').removeClass('hidden');
                }
        });
</script>

In each description, wrap your registration html in...
HTML Code:

<div class="registration_description hidden">...</div>
In each description, wrap your user panel html in...
HTML Code:

<div class="user_panel_description hidden">...</div>

HellRZR 06-15-2011 01:54 PM

thanks for the update lancer. :)

vbresults 06-15-2011 04:13 PM

Thanks to kh99 for inspiring the concept that after receiving payment and the registration is complete, you can refund the fee so registration is actually free, yet retain the spam-deterring effects of paid registration!

stained 06-15-2011 07:28 PM

double post

stained 06-15-2011 07:38 PM

I can't get this to work. In version 1.8 nothing happens when I hit my forum 'register an account with us' button so I overwrote 1.8 with 1.6 and hitting the the 'register an account with us' link now presents the user with the two options: paid account and free account.

The free account route works perfectly and the user is forwarded to the standard registration page.

The paid account option is presented initially as a currency selector (I have one subscription but with choice of two currencies) so the user selects one of the currencies and hits the button to continue. He then sees your error #2245760575 which seems a little unfair as the user never actually got that far :) It's like a step has been missed out.

On other forums which have your mod installed the user gets the two options and if he picks the paid option he is forwarded to a new page from where he is transferred to Paypal. On mine step 2 is presented straight away.



Any tips? I've uninstalled for now but would love to get the mod working. I'm on vb 4.1.4 by the way

Adrian Schneider 06-15-2011 07:47 PM

What's to stop a spam company from adjusting the bot to pay and get refunded? Or human spammers?

vbresults 06-15-2011 08:17 PM

Quote:

Originally Posted by Adrian Schneider (Post 2208215)
What's to stop a spam company from adjusting the bot to pay and get refunded? Or human spammers?

Excellent questions! What stops the human spammer and adjusted bots are Transaction ID's! You can pocket the fee from the spammers, contact the payment processor [who will shut down the buyer], and be free of spamming by that group.

Thing is, when a spammer's buyer account is shut down, they are not only prevented from spamming you in the future, but they are also prevented from spamming other users of the paid registration mod. It creates a sort of decentralized peer-to-peer anti-spam network; free accounts can be created from thin air infinitely, but buyer accounts with currency cannot.

Paypal watches account activity very closely for stuff like this and usually takes care of it before it gets out of control, so there is an added benefit to using them.

Until we get to the point where bots are coded to pay for spamming, how many companies give spam laymen direct access to their funds?

BadgerDog 06-15-2011 08:46 PM

Quote:

Originally Posted by Lancerforhire (Post 2208060)

No promises, but if I can, this will take us straight to 2.0. :)

Thanks for your time on this to create a patch for me.... :up:

Unfortunately, I think that skill set is above my pay grade in being able to handle without messing up my site, so I'll wait to go live until 2.0 to see if it's built in.

Appreciate your efforts ... :)

Regards,
Doug

Edit: Is there a way of adding some descriptive text area to the "free" sign up section?

vbresults 06-15-2011 09:41 PM

Quote:

Originally Posted by stained (Post 2208210)
I can't get this to work. In version 1.8 nothing happens when I hit my forum 'register an account with us' button so I overwrote 1.8 with 1.6 and hitting the the 'register an account with us' link now presents the user with the two options: paid account and free account.

The free account route works perfectly and the user is forwarded to the standard registration page.

The paid account option is presented initially as a currency selector (I have one subscription but with choice of two currencies) so the user selects one of the currencies and hits the button to continue. He then sees your error #2245760575 which seems a little unfair as the user never actually got that far :) It's like a step has been missed out.

On other forums which have your mod installed the user gets the two options and if he picks the paid option he is forwarded to a new page from where he is transferred to Paypal. On mine step 2 is presented straight away.



Any tips? I've uninstalled for now but would love to get the mod working. I'm on vb 4.1.4 by the way

Error 2245760575 means your username maximum length is less than the default of 25. Next time be sure to check the FAQ! :)


Quote:

Originally Posted by BadgerDog (Post 2208235)
Thanks for your time on this to create a patch for me.... :up:

Unfortunately, I think that skill set is above my pay grade in being able to handle without messing up my site, so I'll wait to go live until 2.0 to see if it's built in.

Appreciate your efforts ... :)

Regards,
Doug

Edit: Is there a way of adding some descriptive text area to the "free" sign up section?

Looks like I can't use a template parser anyway because of complications.

The JS fix will be bundled in the next version and it will simply be wrapping the contents in the right class.

HellRZR 06-15-2011 09:49 PM

Quote:

Originally Posted by BadgerDog (Post 2208235)
Edit: Is there a way of adding some descriptive text area to the "free" sign up section?

Yes there is, it requires a manual edit of the lancerforhire_paid_registration_subscription template.

Jay106n 06-16-2011 05:30 AM

Upgraded to 1.2 - Legacy. Thanks!

stained 06-16-2011 06:27 AM

Quote:

Originally Posted by Lancerforhire (Post 2208251)
Error 2245760575 means your username maximum length is less than the default of 25. Next time be sure to check the FAQ! :)

Yes, I read the FAQ prior to installing. I followed your installation instructions to the letter - at least six times.

Perhaps instead of a weak attempt at humour:
Quote:

Originally Posted by stained (Post 2208210)
...The paid account option is presented initially as a currency selector (I have one subscription but with choice of two currencies) so the user selects one of the currencies and hits the button to continue. He then sees your error #2245760575 which seems a little unfair as the user never actually got that far :)

I should have said: 'why does the mod tell the user that his user name is too short when he never actually entered a user name?'

BadgerDog 06-16-2011 10:10 AM

Quote:

Originally Posted by HellRZR (Post 2208255)
Yes there is, it requires a manual edit of the lancerforhire_paid_registration_subscription template.

Thanks ... :)

I had a look and couldn't readily see where I would do that, but just being an old Fortran programmer out of the 60's, I'm not that familiar with the more modern HTML coding, so perhaps I'll wait until mod is in production and seek some contract customization at that point ... :up:

In the interim, I just sent the author a PayPal donation to encourage his on-going efforts ...

Regards,
Doug

ps: Edit: Why does the username field need to be changed to 30 characters? :confused: We had reduced ours to 15 as it takes up a lot of postbit space.

vbresults 06-16-2011 12:21 PM

Quote:

Originally Posted by stained (Post 2208379)
Yes, I read the FAQ prior to installing. I followed your installation instructions to the letter - at least six times.

Perhaps instead of a weak attempt at humour: I should have said: 'why does the mod tell the user that his user name is too short when he never actually entered a user name?'

Sent a PM so we can resolve this!

Quote:

Originally Posted by BadgerDog (Post 2208418)
Thanks ... :)

I had a look and couldn't readily see where I would do that, but just being an old Fortran programmer out of the 60's, I'm not that familiar with the more modern HTML coding, so perhaps I'll wait until mod is in production and seek some contract customization at that point ... :up:

In the interim, I just sent the author a PayPal donation to encourage his on-going efforts ...

Regards,
Doug

ps: Edit: Why does the username field need to be changed to 30 characters? :confused: We had reduced ours to 15 as it takes up a lot of postbit space.

The mod has been in production for a while, we are just getting a lot of great ideas and making improvements very quickly! :p Once we reach 2.0 I don't think there will be much more to add to this. Never know, though. :D

Ghost users are created with the username "Paid Subscription N" the first to ninth ghost users take up 19 characters. Tenth to ninety-ninth take up 20, and so on. I chose 25 because that is the default in vBulletin and it accomodates many ghost users. Unless you are a board with hundreds of thousands, maybe millions of users, you don't have to raise it to 30.

I completely forgot that username length validation can be skipped completely. You will no longer need to adjust your username maximum length setting; this fix will come as 1.9. :)

Thank you for the donation! :)

BadgerDog 06-16-2011 01:24 PM

Quote:

Originally Posted by Lancerforhire (Post 2208471)

I completely forgot that username length validation can be skipped completely. You will no longer need to adjust your username maximum length setting; this fix will come as 1.9. :)

Thank you for the donation! :)

Thanks ... :)

You're welcome ... :up:

Regards,
Doug

BadgerDog 06-16-2011 01:37 PM

Updated to 1.9 for testing ...

Noticed something odd.

I pretended to be an unregistered guest and selected the "Register Here" link. It went immediately to the "free" standard registration screen, not the paid options one. There was a line at the very top which indicated I could return to the paid options screen if I wanted to, by clicking on a link. I clicked that link and it took me there.

I guess what I don't understand is why it would take me to the free regular screen immediately, without starting from the paid options screen? :confused:

Is it because the particular computer I'm working on would have had some kind of "cookie" left over from previous testing and so it thought I had already been through the paid options screen once already?

Regards,
Doug

vbresults 06-16-2011 02:11 PM

Correct! If you clicked on the free option and never finalized registration, when you click on the register button it will take you directly there next time.

stained 06-16-2011 02:41 PM

Quote:

Originally Posted by stained (Post 2208379)
Yes, I read the FAQ prior to installing. I followed your installation instructions to the letter - at least six times.

Perhaps instead of a weak attempt at humour: I should have said: 'why does the mod tell the user that his user name is too short when he never actually entered a user name?'

Thanks very much for the 1.9 update! It fixed the problem I was having :up:

vbresults 06-16-2011 03:02 PM

Quote:

Originally Posted by stained (Post 2208533)
Thanks very much for the 1.9 update! It fixed the problem I was having :up:

Great! :) And sorry for the misunderstanding earlier!

stained 06-19-2011 10:04 AM

No probs :)

I have a new problem though unfortunately. With 'Verify Email address in Registration' set in admincp and the mod installed I am finding that new members are not being automatically logged in when they click on the activation link in the email they receive after initial registration.

If I remove your mod and the template change to register.php all is good with new registrations. Any ideas?

vbresults 06-19-2011 11:47 AM

Quote:

Originally Posted by stained (Post 2209799)
No probs :)

I have a new problem though unfortunately. With 'Verify Email address in Registration' set in admincp and the mod installed I am finding that new members are not being automatically logged in when they click on the activation link in the email they receive after initial registration.

If I remove your mod and the template change to register.php all is good with new registrations. Any ideas?

This may be a new bug. I am going to test this a bit and release the fix with 2.0. :)

stained 06-19-2011 12:05 PM

Thank you :)

vbresults 06-19-2011 01:03 PM

Quote:

Originally Posted by stained (Post 2209844)
Thank you :)

I registered, and after registration I logged out. Then, I clicked the activation link and it said I can proceed to my profile, but I was still logged out. This was the same with the modification installed and uninstalled; I think this is a vBulletin bug rather than a bug with the product... o.o

Can you explain your case a bit more since I was not able to reproduce the problem the same way?

stained 06-19-2011 01:21 PM

Hi,

I have the mod uninstalled at the moment and if I register (in Firefox) I see the message

'Thank you for registering, ####. An email has been dispatched to ####### with details on how to activate your account. Click here to return to where you were previously.

You will receive an email in your inbox. You MUST follow the link in that email before you can post on these forums. Until you do that, you will be told that you do not have permission to post.
'

I am not logged in at that point. When I click on the activation link a new Firefox tab opens and I am now logged in. I see the following and can begin to use the forum normally:

'Thank you, testy. Your registration is now complete.

You may now proceed to edit your Profile in order to etc etc
'

If I have the mod active I am not logged in when I click on the activation link.

It's no big deal as all the user actually has to do is to login using the PW and username with which he registered but I see some new members clicking around a bit and then disappearing because they think that registration was unsuccessful so it would be good to remove the uncertainty for them.

vbresults 06-19-2011 01:33 PM

Quote:

Originally Posted by stained (Post 2209873)
Hi,

I have the mod uninstalled at the moment and if I register (in Firefox) I see the message

'Thank you for registering, ####. An email has been dispatched to ####### with details on how to activate your account. Click here to return to where you were previously.

You will receive an email in your inbox. You MUST follow the link in that email before you can post on these forums. Until you do that, you will be told that you do not have permission to post.
'

I am not logged in at that point. When I click on the activation link a new Firefox tab opens and I am now logged in. I see the following and can begin to use the forum normally:

'Thank you, testy. Your registration is now complete.

You may now proceed to edit your Profile in order to etc etc
'

If I have the mod active I am not logged in when I click on the activation link.

It's no big deal as all the user actually has to do is to login using the PW and username with which he registered but I see some new members clicking around a bit and then disappearing because they think that registration was unsuccessful so it would be good to remove the uncertainty for them.

You are supposed to be logged in after submitting the registration form successfully (but before activation). I am logged in after submitting it with and without the mod. :confused:

stained 06-19-2011 01:44 PM

Hi,

Automatically? I have to click on "Click here to return to where you were previously" in the first message otherwise nothing happens. If I click on that the forum logs me in.

I guess the important thing is though that if I have your mod installed I am not logged in automatically at the second stage (activation).

vbresults 06-19-2011 01:49 PM

Quote:

Originally Posted by stained (Post 2209883)
Hi,

Automatically? I have to click on "Click here to return to where you were previously" in the first message otherwise nothing happens. If I click on that the forum logs me in.

I guess the important thing is though that if I have your mod installed I am not logged in automatically at the second stage (activation).

So much confusion @@ sending you a PM! :)

stained 06-19-2011 01:55 PM

:) standing by

stained 06-19-2011 03:21 PM

Many, many thanks for testing this for me :up: Good to hear that all works normally when you go through the same steps at your end. Looks like a case of operator error at my end :)

Thanks again.

stained 06-19-2011 05:23 PM

Okay, I looked at this again and the problem is still there. I tried registering from a different computer and the result was the same. Here are the symptoms I see with the mod installed:

User hits the register button and sees the two options - paid and free. He hits free, fills out the fields and hits 'complete registration'. He is not logged in at this stage. He sees the standard vb "thankyou for registering, activation link in the email etc" message. If he tries to view anything on the forum at this stage he gets the standard vb "you do not have permission" message. That's odd because at that stage he has guest viewing permissions.

So, off he goes to his email inbox, opens my email and hits the activation link: hitting the link does not log him in and he instantly sees the standard vb "you do not have permission" message. He can't navigate anywhere as he sees that message whatever he does. He goes away :(

That's what I am seeing with the mod installed. As I say, if I remove the mod everything works as normal and users are able to register.

stained 06-20-2011 09:12 AM

Just a quick follow-up: if I deselect 'verify email address during registration' the mod works as intended.

HellRZR 06-20-2011 11:25 AM

Hi Stained, just one question for you are you running 4.1.4 with this mod?

stained 06-20-2011 11:36 AM

Hi,

Yes, running 4.1.4


All times are GMT. The time now is 09:15 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01494 seconds
  • Memory Usage 1,892KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete