Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Automatically Add Friend Details »»
Automatically Add Friend
Version: 1.0.1, by King Kovifor King Kovifor is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.x Rating:
Released: 04-26-2008 Last Update: 04-27-2008 Installs: 202
Uses Plugins
Translations  
No support by the author.

Introduction
This modification acts somewhat like Myspace. When you register on Myspace, the creator of Myspace (Tom) is automatically added as a friend (mutually). This acts the same way on your forum by adding any number of users (user IDs required) to the new users friend list. This is completely mutual, but now has the option to be a non-mutual friendship.

This was coded by request in this thread.

Requirements
  • vBulletin 3.7.x (This should work on ALL betas & RCs!)
Installation
  1. Upload the attached product file by following this path:
    ACP -> Plugins & Products -> Manage Products -> [Add/Import Product]
  2. Head over to the vBulletin options, open up the "User Registration Options", and set a list of users under the "Automatically Add Friends" option.
  3. Enjoy!

Show Your Support

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

Comments
  #102  
Old 06-06-2008, 06:20 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what's supposed to happen. If you have email validation turned on it doesn't work correctly for now.

You have to add your user id to that option.
Reply With Quote
  #103  
Old 06-06-2008, 11:12 PM
WiseOne38221's Avatar
WiseOne38221 WiseOne38221 is offline
 
Join Date: Jun 2006
Location: Big Sandy, TN
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried this and it does not work with 3.7.0

Reply With Quote
  #104  
Old 06-07-2008, 02:30 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WiseOne38221 View Post
I tried this and it does not work with 3.7.0

Do you use email validation?
Reply With Quote
  #105  
Old 06-07-2008, 05:51 AM
bdude's Avatar
bdude bdude is offline
 
Join Date: Dec 2005
Location: Australia
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, this is a fabulous mod!
Reply With Quote
  #106  
Old 06-08-2008, 04:05 PM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
Great hack, but I got this error on the first time new users signed up on my forum: Anything I can do about it:

Database error in vBulletin 3.7.1:

Invalid SQL:

INSERT INTO vbuserlist (userid, relationid, type, friend) VALUES (, 5, 'buddy', 'yes');

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 ' 5,
'buddy', 'yes')' at line 1
Error Number : 1064
Request Date : Sunday, June 8th 2008 @ 04:20:26 PM
Error Date : Sunday, June 8th 2008 @ 04:20:27 PM
Script : http://www.boggnasker.dk/vbforum/reg...852&i=78043473
Referrer :
IP Address : XXXXXXXXXXX
Username : Jofa
Classname : XX_database
MySQL Version :
Reply With Quote
  #107  
Old 06-08-2008, 04:12 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cykelmyggen View Post
Hi
Great hack, but I got this error on the first time new users signed up on my forum: Anything I can do about it:

Database error in vBulletin 3.7.1:

Invalid SQL:

INSERT INTO vbuserlist (userid, relationid, type, friend) VALUES (, 5, 'buddy', 'yes');

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 ' 5,
'buddy', 'yes')' at line 1
Error Number : 1064
Request Date : Sunday, June 8th 2008 @ 04:20:26 PM
Error Date : Sunday, June 8th 2008 @ 04:20:27 PM
Script : http://www.boggnasker.dk/vbforum/reg...852&i=78043473
Referrer :
IP Address : XXXXXXXXXXX
Username : Jofa
Classname : XX_database
MySQL Version :
Caused by you requiring email activation.
Reply With Quote
  #108  
Old 06-08-2008, 04:42 PM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cykelmyggen View Post
Hi
Great hack, but I got this error on the first time new users signed up on my forum: Anything I can do about it:

Database error in vBulletin 3.7.1:

Invalid SQL:

INSERT INTO vbuserlist (userid, relationid, type, friend) VALUES (, 5, 'buddy', 'yes');

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 ' 5,
'buddy', 'yes')' at line 1
Error Number : 1064
Request Date : Sunday, June 8th 2008 @ 04:20:26 PM
Error Date : Sunday, June 8th 2008 @ 04:20:27 PM
Script : http://www.boggnasker.dk/vbforum/reg...852&i=78043473
Referrer :
IP Address : XXXXXXXXXXX
Username : Jofa
Classname : XX_database
MySQL Version :
Just saw the posts about email-registration. Any chance this will work with email-reg. turned on in the future?
Reply With Quote
  #109  
Old 06-08-2008, 04:45 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cykelmyggen View Post
Just saw the posts about email-registration. Any chance this will work with email-reg. turned on in the future?
Absolutely. v1.0.2 will include this fix.
Reply With Quote
  #110  
Old 06-08-2008, 04:59 PM
cykelmyggen's Avatar
cykelmyggen cykelmyggen is offline
 
Join Date: Oct 2006
Location: Europe
Posts: 156
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by King Kovifor View Post
Absolutely. v1.0.2 will include this fix.
Sounds great, I'll be looking forward to 1.0.2 :up:
Reply With Quote
  #111  
Old 06-08-2008, 06:55 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cykelmyggen View Post
Sounds great, I'll be looking forward to 1.0.2 :up:
You and everyone else... Maybe when I am not so sick I will finally get this finished.
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 06:42 PM.


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.04697 seconds
  • Memory Usage 2,320KB
  • 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
  • (6)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
  • (1)pagenav_pagelinkrel
  • (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