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)
-   -   Profile Enhancements - Automatically Add Friend (https://vborg.vbsupport.ru/showthread.php?t=177269)

mmllc 07-01-2010 09:53 PM

Sorry if this was asked, but is there anyway to apply this via SQL retroactively to certain usergroups (basically only active members)? As in, I know this works for future registrations, but what about existing members that I want to make my friend now?

mimi123 09-10-2010 01:04 AM

is there one for vb 4.0??? please let me know

TheLastSuperman 09-10-2010 04:53 AM

Quote:

Originally Posted by mimi123 (Post 2096041)
is there one for vb 4.0??? please let me know

Works on 4.0.6, no pm is sent though however no DB error as some 3.x users posted above.

Phaedrus 03-20-2011 03:09 AM

Quote:

Originally Posted by TheLastSuperman (Post 2096099)
Works on 4.0.6, no pm is sent though however no DB error as some 3.x users posted above.

Are you sure it is adding friends? I tried adding it to 4.1.2 on my test site. When I added a new account it didn't seem to add my chosen account to friends, then when I tried to verify the account it got that same db error.

So... I guess it doesn't work with 4.1.x...

DNN 04-19-2011 03:32 AM

will this work with vB4 +?

DNN 06-25-2011 11:58 PM

This one is not working either for vB 4.1.4

MrFlicks 09-10-2011 07:47 PM

Does this work with vb4?

Hellmaster 11-16-2011 02:07 AM

Works great at 3.8...

An "issue", only adds to Friends list, not to contacts... can you add the option to add the user to "friends" and "contacts" too?

That's the reason there's not a + beside the Nick/Username. To addit have to go under Control Panel -> Buddy / Ignore Lists --> ADD TO CONTACT LIST...

Hellmaster 06-24-2012 08:11 PM

Uninstalled...

After 1012 added friends my profile crashed and a SQL ERROR screen appears when ANY user try to see my profile...

This is the error:

PHP Code:

Invalid SQL:

                               
SELECT user.*, (user.options 512) AS invisible avatar.avatarpathNOT ISNULL(customavatar.userid) AS hascustomcustomavatar.dateline AS avatardatelinecustomavatar.filedata_thumbcustomavatar.height AS avheightcustomavatar.width AS avwidthcustomavatar.width_thumb AS avwidth_thumbcustomavatar.height_thumb AS avheight_thumb

                               FROM vBuserlist 
AS userlist
                               INNER JOIN vBuser 
AS user ON (user.userid userlist.relationid)
                               
LEFT JOIN vBavatar AS avatar ON (avatar.avatarid user.avatarid)
                               
LEFT JOIN vBcustomavatar AS customavatar ON (customavatar.userid user.userid)

                               
WHERE userlist.userid 1
                                       
AND userlist.type 'buddy'
                                       
AND userlist.friend 'yes'

                               
ORDER BY RAND()
                               
LIMIT 01.033;

MySQL Error   You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near '1.033' at line 13
Error Number  
1064 


mykkal 02-07-2013 03:20 AM

It'd be so nice to see this updated to work once more than 1000 users have joined.


All times are GMT. The time now is 02:49 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.01242 seconds
  • Memory Usage 1,763KB
  • 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
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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