vb.org Archive

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

Valter 12-29-2008 09:11 PM

Invitation code is included in e-mail only when it's required to join.

Check hack options.

samuelss 12-30-2008 04:56 PM

Quote:

Originally Posted by Cybernetec (Post 1696763)
Invitation code is included in e-mail only when it's required to join.

Check hack options.

Thanks for being so helpful.

Valter 12-30-2008 06:07 PM

You're welcome :-)

Valter 01-01-2009 10:12 PM

v1.4 - Jan 02. 2009.
- Break lists into pages with standard vB navigation
- Code cleanup

To upgrade:
- Import XML, allow overwrite
- Revert hack templates if any modified

redlabour 01-02-2009 06:30 AM

Quote:

Originally Posted by redlabour (Post 1694320)
Cybernetec - the chinese Spambot that causes Registrations everywhere and the Discussions of the last Months.

Any Idea why the Spambots still come through the Registrationquestions?

kkeezer 01-02-2009 05:46 PM

Updated, TY! :up:

Kyle

Aneurysm 01-05-2009 06:04 AM

Thanks for the update!!!

Computer_Angel 01-06-2009 02:14 AM

In hook: register_addmember_process
Quote:

if (($cybareg_tiinfo['inviter']>0) AND empty($userdata->errors))
{
$vbulletin->db->query_write(" UPDATE " . TABLE_PREFIX . "cyb_advreg_invite SET done = '1' WHERE id = '".$db->escape_string($cybareg_tiinfo['id'])."' ");
$cybareg_refinfo = $vbulletin->db->query_first("
SELECT username
FROM " . TABLE_PREFIX . "user AS user
WHERE userid = '".$db->escape_string($cybareg_tiinfo['inviter'])."'
");
$userdata->set('referrerid', $cybareg_refinfo['username']);
}
$db->show_errors();
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".

Computer_Angel 01-06-2009 02:17 AM

In the hook : parse_templates

Quote:

if ($vbulletin->options['cybareg_enable'] AND $vbulletin->options['cybareg_enable_invite'] AND $vbulletin->userinfo['userid'])
{
$cybareg_navbarlink = "<a href=\"misc.php?do=cybareginv\">".$vbphrase['cybareg_invitation_invite']."</a>";
if ($vbulletin->options['cybareg_enable_link'])
{
$vbulletin->templatecache['navbar'] = str_replace('vbphrase[faq]</a></td>','vbphrase[faq]</a></td><td class=\"vbmenu_control\">$cybareg_navbarlink</td>',$vbulletin->templatecache['navbar']);
}
}
The invite friend link seem appear when using the default template. If I use other template then the invite link doesn't appear.

Valter 01-06-2009 06:08 PM

Just leave these plug-ins alone, it works properly. :-)

"Invite" link should be added manually to custom styles.

And use CODE tags when you want to post codes on forums.


All times are GMT. The time now is 06:36 AM.

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.01086 seconds
  • Memory Usage 1,735KB
  • 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_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
  • (10)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