![]() |
Thanks. Installed.
|
interesting
|
is it safe to reinstall this mod.
has the bug been fix seen that we are now in December. |
Quote:
|
Quote:
Code:
$userid Code:
$userinfo[userid] Plugin: Add Friend After Validation Hook: register_activate_process Code:
if(!empty($vbulletin->options['kk_auto_friends'])) Plugin: Automatically Add Friend Hook: register_addmember_complete Code:
if(!empty($vbulletin->options['kk_auto_friends']) && !$vbulletin->options['verifyemail']) Cheers on the great mod, King Kovifor. :) |
Quote:
Code:
$userinfo[userid] Code:
$userid |
The other way around (find all instances of $userid and replace with $userinfo[userid]), I put the code brackets in my post containing the exact code I used to get it working with e-mail activation. If you go to your plugin manager you can find them and just copy/paste the code from my example.
|
FOr some reason, when I add this, i get no ACP settings... =.= I installed, uninstalled, etc... Nothing. Grrrrrrr.... I really want this to work.
|
Are you sure? The admin options are under "User Registration Options", it's not separated out to its own section...
|
Quote:
Quote:
|
Quote:
|
Like I said, I will have time in the coming weeks to release the fixed version.
|
Quote:
|
Quote:
|
What was in the update that just came out?
|
Quote:
|
I installed it... and new members sign on.. and neither they or I have them listed as friends?
What's up with it? Checked the settings and all seems to be okay |
If you followed the instructions, it should work just fine...
|
Re-installed.. Thanks works great now.. Will be looking for more patches.. Again good work..
|
Quote:
I just installed this the other day, so I don't have the benefit of the update email that was sent. I see that the version in this thread is still very old, not the December version. I followed instructions w/the current version posted in this thread the other day, but, sadly it doesn't work. I get the same database error everyone else used to get. |
@Jasmin - I posted the fix on page 17. I included the plugin code at the bottom, just edit the plugins and change the code to what I put at the bottom of my post.
|
Quote:
Thanks, though. I'll try this. :) |
Yeah, I'm not sure why he didn't change the XML file - perhaps he did and it's being reviewed for approval right now.
|
Thank you TigerC10... Followed your instructions and examples and it now works!
Thank you again!! |
Quote:
|
How is getting around to installing it on a Dev server King Kovifor?
I'll be keen to run this on 3.8, but require the option to add all current members as friends.. |
Quote:
|
Nice mod! Thanks. =)
|
This mod was actually restricting users from being able to confirm their emails on my forums :(
|
Quote:
|
Quote:
Quote:
|
Quote:
|
Installed but its not sending a notification to the user when its not mutual...or mutual for that matter. any ideas?
|
Its not working for me on vb 3.8 , any ideas ? TIA
|
I will try to check this out later.
|
Quote:
Maybe something changed in the error handling code for vB between the version that you developed this on and 3.7.5, but when people were complaining about how this plugin didn't work and when some people complained that it broke their board - I thought you knew about it. Quote:
|
how do i delete friends if its a large amount , i have over 4,000+ since i installed it and i would like to delete them and start fresh , and ideas besides doing it manually?
|
Not a clue. I don't think you can prune friends. Sadly, that's a disadvantage of this modification.
|
Quote:
|
MrBig, you can query the database yourself. If you've set your permissions properly (in the config.php file, look for $config['SpecialUsers']['canrunqueries'] and make sure your userID is allowed), then in the AdminCP at the bottom under the "Maintenance" section, go to "Execute Database Query".
It goes without saying that you should make a database back up before doing this, just in case something goes wrong. This code is untested, but should work. Be 100% sure that you get a database backup before trying this. Reset your friend count Code:
UPDATE vb_user SET friendcount="0" WHERE userid="1" Code:
DELETE FROM vb_userlist WHERE userid="1" AND type="buddy" AND friend="yes" Reduce friend counts from everyone else that lists you as a friend Code:
UPDATE vb_user LEFT JOIN vb_userlist ON vb_user.userid = vb_userlist.userid SET vb_user.friendcount = vb_user.friendcount-1 WHERE vb_userlist.relationid="1" Code:
DELETE FROM vb_userlist WHERE relationid="1" AND type="buddy" and friend="yes" Then go to your trusty Maintenance section, and open the "Update Counters" page, and "Fix Broken Profiles" (this is just in case - it shouldn't have an effect, I don't think it even resets the friend counts properly). @King Kovifor - Maybe adding in a friend establisher/resetter feature would be good. I know some people complained when it didn't retroactively make friendships for existing users. And here you see MrBig wants to be able to start fresh on his friend list. You need to update the .xml file because of the e-mail activation bug anyway - might as well just throw in some shiny new features. Using the code I just provided above (assuming it's fully correct - the only query I worry about is the left join one... which I guess is the important one) it shouldn't be too difficult to implement a friendlist resetter, and going backwards to make a friendlist establisher shouldn't be too difficult. |
All times are GMT. The time now is 08:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|