vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Cyb - Advanced Registration (https://vborg.vbsupport.ru/showthread.php?t=201287)

Valter 01-09-2009 10:00 PM

Cyb - Advanced Registration
 
1 Attachment(s)
Info:
This product adds several advanced options to control new registrations, like:

- 'Random Questions' - User must answer random question to continue with the registration (can be on/off)
- 'Invitations System' - Let users invite their friends to join community
- You can choose to accept only invited people to register
- 'moderated users' management (accept/edit/contact/delete)
- e-mail users automatically when their accounts are accepted (can be on/off)
- 'non-activated users' management (accept/edit/contact/delete)
- Option to delete inactive accounts automatically if not confirmed X days after registration

All these features are controlled from one single page.

Notes:
- Don't forget to check/update product options after installation
- Only Admins can access this product options/logs
- Inviter is automatically marked as referral when invited user registers using invitation code

Installation:
1. Import XML file (as product): AdminCP > Plugin System > Manage Products > [Add/Import Product]

To set options:
Go to: AdminCP > vBulletin Options > Cyb - Advanced Registration

Versions:
v1.0 - Nov 29. 2008.
- Initial Version
v1.1 - Dec 08. 2008.
- New: Option to delete inactive accounts automatically after X days
- New: You can choose to e-mail users automatically when their accounts are accepted
- New: Enable only invited users to join
- Some minor bugs fixed
v1.2 - Dec 13. 2008.
- Fixed bug (Invitation e-mail address must be lower-case)
- Fixed bug (Random Question answer must be lower-case)
- Fixed bug (Unregistered users able to send Invitations)
- New: Limit number of Invitations user can send in 7 days
- Minor bug fixes in phrases and html
v1.3 - Dec 24. 2008.
- Improved detection of newly registered members who accepted invitations
- Fixed bug (referrer not marked if invitation code is not required)
v1.4 - Jan 02. 2009.
- Break lists into pages with standard vB navigation
- Code cleanup
v1.5 - Jan 25. 2009.
-Fixed bug (user can register without proper invitation code)
-New: Send multiple invitations at once
-New option: Maximum Invitations user can send at once
-New: Inviters are now able to add they real name to the message
-Minor bug fixes
v1.6 - Jan 25. 2009.
-Important bug fix in Invitation System
v1.7 - Feb 08. 2009.
-Fixed bug (Blank 'inviter' field for inviters who have been deleted in the meantime)
-Better inactive users detection for auto-prune (only zero-posters deleted)
-Fixed some CSS validation errors
-New: Check if e-mail address is already registered or invited before sending invitation
-Minor bugs fixed

SnowBot 01-10-2009 03:42 PM

GREAT work once again matey.

Fungsten 01-10-2009 05:44 PM

Great MOD. BTW, when I click on the "Random Question Setup" it links to my smilies?!?!?! :confused: Is that a bug?

Valter 01-10-2009 05:54 PM

This may happen if your primary usergroup is not 6 - Admin.

I'll fix this in the next version.

Fungsten 01-10-2009 06:06 PM

Quote:

Originally Posted by Cybernetec (Post 1707571)
This may happen if your primary usergroup is not 6 - Admin.

I'll fix this in the next version.

Thank you.

metalguy639 01-10-2009 10:20 PM

Looks good Cyb will install.

Blue91 01-11-2009 12:17 AM

Installed. Nice nice!

I have one issue though. How can I change the font color in the question/answer setup screen? The text fields where I enter q and a is white and my text is white.

Thanks,

Blue91 01-12-2009 05:20 PM

Ttt?

JVSP 01-12-2009 05:45 PM

Nice.. Thanks

JVSP 01-12-2009 05:53 PM

I don't have the "Invite Friends" link in my navbar and it is marked as yes in my ACP.

EDIT: Found answer here https://vborg.vbsupport.ru/showpost....09&postcount=7

ceho 01-13-2009 09:39 AM

Would there be an option to (manually) add the member's real name to the invitation message? I have been asked if that was possible by many of my members cause they think not every invited person might know their nickname.

Awesome Add-on!!

Valter 01-13-2009 02:56 PM

It may be added in next version.

fattony69 01-13-2009 03:14 PM

Does this also have the referral code and an area in the profile to show how many referrals you have?

Valter 01-13-2009 03:43 PM

Yes, inviter is added as referral when invitation is accepted.

samuelss 01-15-2009 09:50 PM

Would it please be possible to invite more than one person at a time by adding more email addresses.

Thanks.

GeorgeB85 01-16-2009 04:38 AM

Um I am only seeing some of the option but not all of them. Like the link in the navbar, I dont see.

And I dont know see these either.

- 'Invitations System' - Let users invite their friends to join community
- You can choose to accept only invited people to register
- 'moderated users' management (accept/edit/contact/delete)
- e-mail users automatically when their accounts are accepted (can be on/off)
- 'non-activated users' management (accept/edit/contact/delete)
- Option to delete inactive accounts automatically if not confirmed X days after registration

According to the thread, it is supposed to all show up on one thread.

Valter 01-16-2009 12:23 PM

Options are found in:
AdminCP > vBulletin Options > Cyb - Advanced Registration

GeorgeB85 01-16-2009 12:34 PM

Quote:

Originally Posted by Cybernetec (Post 1714596)
Options are found in:
AdminCP > vBulletin Options > Cyb - Advanced Registration

I have everything, but I don't see the invite link. I saw some where, where you have to manually ad the link, but how do you do that so it will be a part of the advance registration system?

Pessimist 01-16-2009 09:34 PM

1 Attachment(s)
Cybernetec
Great mod!

But again there are validation errors und one layout fix (table added). I have attached a file that you could compare my changes.

There is still a pair of errors which I can't fix:
ID "cyb_check_all" already defined
Code:

<input type = "checkbox" name = "cyb_check_all" id = "cyb_check_all" value = "" onclick = "CybChAregAll (this);"/>
character ";" not allowed in attribute specification list
Code:

for (i=0; i <arrInput.length; i ++) {

Fix Request:
Whether it is possible to correct a page redirection on the main page after invitation sending? It would be more logical to remain on invitation page.

buileminh 01-18-2009 12:11 AM

Suggestion: This mod should be integrated with referral system of vBulletin.
Ex.: Registration link in email sent to invited people should be the referral link (can turn on/off by invitor on the invitation page)

GeorgeB85 01-18-2009 03:14 AM

I would like to use this, but for some reason it does not put the link on my forums.

Valter 01-18-2009 07:44 AM

buileminh, read 'Notes' part in release info.

SteamyLightning 01-18-2009 08:29 AM

Yeah it doesn't add it to the navbar. Could you make a feature that adds it to the member's UserCP instead?

A lot of people have custom navbars, and I would have expected it to be in the UserCP instead of up in the navbar.

Pessimist 01-18-2009 06:21 PM

GeorgeB85
SteamyLightning


Don't use custom style, where navbar template moved to the header!

mescalin 01-19-2009 12:06 AM

i cant setup Random Questions, it directs me to smileys page when i click setup in the vbsettings.. any idea?

Derekclarke 01-19-2009 10:47 AM

Thought I would point out, when you click the link in the installed products page, it takes you to the 3.7 version and not the 3.8

I have updated mine manually.

pierians 01-19-2009 11:26 AM

This is an excelent hack!!! Very-very usefull.
At the next version could you please give admins the options to choose which usergroups can invite and different ammount of invitations for each usergroups?

buileminh 01-20-2009 04:46 PM

Suggestion:
- Add captcha image to prevent spamming
- Allow users to send multiple invitations at once (but limited by Admin in AdminCP)

buileminh 01-21-2009 06:13 AM

I found 2 problems:
1. I choose "YES" for "Only invited users can register" but I still can registered and validate my email without entering any invitation code.
2. If there is any problem that make invitation is sent duplicatedly to the same email, all the duplicated invitation are counted. This is not actually an error but it can be much better:
- If the email address is already registered with an existing member, no invitation will be sent and inviter should receive a notice about that
- If there are more than 1 invitations are sent to same emaill address by same member, only the last one are kept and counted, the others will be auto expired and deleted.

thcf 01-22-2009 11:07 AM

This addon does not work, im using the vb3.7 version and if they dont enter an invite code, they can still register

buileminh 01-22-2009 03:03 PM

Quote:

Originally Posted by thcf (Post 1721081)
This addon does not work, im using the vb3.7 version and if they dont enter an invite code, they can still register

I got the problem too! I am waiting for the author of the mod to modify it

Blue91 01-22-2009 10:45 PM

I've had this installed since it was released. I don't need to set up "only invited users can register" but I enabled that option so I could see if anyone can register without entering the invitation code.

I can confirm what quite a few others are saying. This feature of the product does not work. *shrug*.

Megatr0n 01-23-2009 09:53 AM

Yeah, many issues with this hack which, require fixing.

knoffs 01-23-2009 12:53 PM

Quote:

Originally Posted by buileminh (Post 1719806)
I found 2 problems:
1. I choose "YES" for "Only invited users can register" but I still can registered and validate my email without entering any invitation code.
2. If there is any problem that make invitation is sent duplicatedly to the same email, all the duplicated invitation are counted. This is not actually an error but it can be much better:
- If the email address is already registered with an existing member, no invitation will be sent and inviter should receive a notice about that
- If there are more than 1 invitations are sent to same emaill address by same member, only the last one are kept and counted, the others will be auto expired and deleted.

i can agree with this, does not work

knoffs 01-24-2009 11:30 AM

Quote:

Originally Posted by Computer_Angel (Post 1702903)
In hook: register_addmember_process


It seem you missing the show error when no invitation/ invalid invitation code. So the registration process will continue going event I set the option "Only invited users can register".

this error is still there in this version.

or does it work for anybody ?? users can register althought they type an invalid invitation code

Valter 01-24-2009 09:47 PM

v1.5 - Jan 25. 2009.
-Fixed bug (user can register without proper invitation code)
-New: Send multiple invitations at once
-New option: Maximum Invitations user can send at once
-New: Inviters are now able to add they real name to the message
-Minor bug fixes

To upgrade:
-Import XML, allow overwrite
-Revert hack templates if modified before
-Check options and update if needed

Megatr0n 01-24-2009 10:10 PM

You mean users won't be able to register without inputting the code? Assuming we've enabled that setting?

Valter 01-25-2009 12:29 AM

Yes. You can not join unless you are invited by forum member.

v1.6 - Jan 25. 2009.
-Important bug fix in Invitation System

Please upgrade soon.

knoffs 01-25-2009 09:45 AM

hvala ti puno za upgrade!!

do you know, if it is possible to let create invitation codes that are not coupeled with the email address.

so that users can register with any email address if they type in a correct invitation code ??

regards,
marko

Pessimist 01-25-2009 03:17 PM

Cybernetec
Thank you for update!

And again validation... :)
This code:
Code:

<img border="0" align="absmiddle" src="images/statusicon/user_online.gif" title="$vbphrase[cybareg_active]" /><else /><img border="0" align="absmiddle" src="images/statusicon/user_offline.gif" title="$vbphrase[cybareg_inactive]" />
replace with:
Code:

<img border="0" class="inlineimg" src="images/statusicon/user_online.gif" title="$vbphrase[cybareg_active]" alt="" /><else /><img border="0" class="inlineimg" src="images/statusicon/user_offline.gif" title="$vbphrase[cybareg_inactive]" alt="" />
Tag form should be placed outside of tag table.
Wrong:
Code:

<table>
  <form>
    <tr>
      <td>content</td>
    </tr>
  </form>
</table>

Wrong:
Code:

<table>
  <tr>
    <form>
      <td>content</td>
    </form>
  </tr>
</table>

Correct:
Code:

<form>
  <table>
    <tr>
      <td>content</td>
    </tr>
  </table>
</form>

Correct:
Code:

<table>
  <tr>
    <td>
      <form>
        content
      </form>
    </td>
  </tr>
</table>

I recommend you this plug-in. "Must have" plug-in for webdevelopers.


All times are GMT. The time now is 06:21 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.01374 seconds
  • Memory Usage 1,829KB
  • 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
  • (8)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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