Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
link for each user for inviting members Details »»
link for each user for inviting members
Version: 1.00, by all-the-vb all-the-vb is offline
Developer Last Online: Oct 2013 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-19-2004 Last Update: Never Installs: 18
 
No support by the author.

hello everyone

hack name: link for each user for inviting members

by : all-the-vb

time to install: 7 to 12 min

How the hack works:
We remember how I carried out the programming of the invention in vb2.
https://vborg.vbsupport.ru/showthrea...threadid=57656

But in vb3 this character is automatically present but in different way, as when the member is coming for register ,there is a little box for the name of the member whose invites him to join ,
After installing this hack, there will be there a link for every member to invite the members to register, and when the visitor follow the link which received it from the member to register, the little box that ask him about the name of member invited will not appear .
but if the visitor register in the usual way the box will appear.
and off course there will be the numbers of the members that follow the links + the numbers of the members that register with typing the name of member invited
and more than that,
so the number of new members that the member invited them what ever the way of their rigesteration.
and more than that, make a form in the main page to let the member invite the members by his e-mail, and will present the link of the member invited
in main e-mail and in reply
and show the number of referrals in a postbit
and each user can see he link in usercp.

++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++
Queries >> 0
Files to Modify >> 3
Templates Added >> 1
Templates to Modify >> 5
add a phrases >> 4
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-23-2004, 07:41 AM
GamerForums.net GamerForums.net is offline
 
Join Date: Nov 2003
Location: Slidell, LA
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, this is a feature already in vBulletin: https://vborg.vbsupport.ru/faq.php?s...l&titlesonly=0

Nice work in having the same feature in your board twice.
Reply With Quote
  #23  
Old 07-24-2004, 01:58 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still got DB errors

Quote:
Database error in vBulletin 3.0.3:

Invalid SQL: SELECT
COUNT(*) AS count FROM user AS user WHERE user.referrerid =

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

mysql error number: 1064

Date: Friday 23rd of July 2004 08:14:59 PM
Script: http://www.synergyforums.com/forum/showthread.php?t=307
Referer: http://www.synergyforums.com/forum/s...?searchid=7115
Username:
Sorry i think i will have to un-install shame as it was/is a nice hack.
Reply With Quote
  #24  
Old 07-24-2004, 04:15 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why all these DB errors ?
Reply With Quote
  #25  
Old 07-25-2004, 12:35 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any news on this issue ? please, i love the hack but cant sort it out
Reply With Quote
  #26  
Old 07-27-2004, 08:45 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for keep asking but any solution yet ?
Reply With Quote
  #27  
Old 07-27-2004, 08:19 PM
all-the-vb's Avatar
all-the-vb all-the-vb is offline
 
Join Date: Apr 2003
Location: Norwich,Uk
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by SnowBot
Sorry for keep asking but any solution yet ?
i don't no what your problem with this code
and it worked with all,
delete only this code
and anyone want see referrals numbers
go to user profile. :ermm:
Reply With Quote
  #28  
Old 08-16-2004, 07:51 PM
Battle_Ring Battle_Ring is offline
 
Join Date: Apr 2004
Posts: 584
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to give the main admin the refer if the person registerign dont put down a referer
Reply With Quote
  #29  
Old 09-23-2004, 04:50 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, it works for me except the received email has no subject, even though it shows on the form
Reply With Quote
  #30  
Old 09-23-2004, 06:43 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure if it has been raised yet, but the navbar doesn't display on the send invitation page... so you will need to do this:

Find:
Code:
eval('print_output("' . fetch_template('inviting_form') . '");');
Above, add:
Code:
	$navbits = construct_navbits(array('' => 'Invite new user'));
	eval('$navbar = "' . fetch_template('navbar') . '";');
Reply With Quote
  #31  
Old 12-29-2004, 12:36 PM
allhandl allhandl is offline
 
Join Date: Mar 2004
Location: Delaware
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just loaded this hack however I have the same db issues as snowbot.

was there ever a fix snowbot? if not did you just delete the whole hack?


Code:
Database error in vBulletin 3.0.3:

Invalid SQL: SELECT
COUNT(*) AS count FROM user WHERE referrerid =
 
mysql error: You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

mysql error number: 1064

Date: Wednesday 29th of December 2004 07:00:55 AM
Script: http://www.newarknight.com/forum/showthread.php?p=168
Referer: 
Username: Unregistered
IP Address: 65.54.188.102
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:37 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04646 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete