Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=3900)
QUICK BUDDIES v2.11
By Dougiefresh (http://www.simplemachines.org/community/index.php?action=profile;u=253913) -> Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3900)
This mod uses the tip/trick written by ahrasis (http://www.simplemachines.org/community/index.php?action=profile;u=51815) in the Add Buddy Button On Post (http://www.simplemachines.org/community/index.php?topic=426109.msg3129052#msg3129052) thread.
This mod makes it easier to add people whom you want to be buddies with. There are new links to add people as buddies if you aren't buddies with them yet, or to remove buddies already in the list. You can now buddy up with people in the Post display area, the Message Index pages, the Board Index pages and the Member List.
This mod also alters the Followers (http://custom.simplemachines.org/mods/index.php?mod=3894) mod to allow easier addition of people as your buddies.Admin Settings
There are 5 switches under Modifications Settings
that control where in the forum that the Quick Buddies link is shown. By default, they are turned on.Related Discussions
o Add Buddy Button On Post (http://www.simplemachines.org/community/index.php?topic=426109.msg3129052#msg3129052)Compatibility Notes
This mod was tested on SMF 2.0.8, but should work on SMF 2.1 RC2 and SMF 2.0 and up. SMF 2.1 Beta 2 and SMF 1.x is not and will not be supported, so please don't ask.
The Followers v1.2+ (http://custom.simplemachines.org/mods/index.php?mod=3894) mod must be installed prior to installing this mod in order to add the ability to the Followers page.Changelog
The changelog can be viewed at XPtsp.com (http://www.xptsp.com/board/free-modifications/quick-buddies/?tab=1).License
Copyright (c) 2015 - 2019, Douglas Orend
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
I tried installing this but I can't see this on the profile
other than that its working
edit: I am using black n black theme.
and when I used default SMF theme, I can see the + sign on the profile.
what file should I edit to work on black n black theme?
Uploaded v2.0 - September 14th, 2014
o Added options in the Modifications Settings to control where the quick buddy icon is shown.
o Added support for the Back-n-Black (http://custom.simplemachines.org/themes/index.php?lemma=126) theme.
@ryan_dwight: Sorry about the VERY late response. I never got notification of your post in this thread.....
no worries and I appreciate the update. Its working fine now.
Translation to Portuguese Brazil in annex.
Uploaded v2.1 - September 17th, 2014
o Added Brazilian Portuguese language files. Thanks, DSystem (http://www.simplemachines.org/community/index.php?action=profile;u=341618)!!!
Uploaded v2.2 - November 23th, 2014
o Fixed for undefined variable within Memberlist.template.php...
Uploaded v2.3 - January 19th, 2015
o License change to Simplified BSD. No functionality change.
Uploaded v2.4 - April 6th, 2015
o Updated for SMF 2.1 Beta 1.
o Added some extra error checking to avoid undeclared errors.
This also seems useful for my biology forum. Will consider utilising this... And thank you.
Uploaded v2.5 - April 25th, 2015
o Added compatibility with SMF 2.0.10.
Uploaded v2.6 - August 29th, 2015
o Removed support for SMF 2.1 Beta 1.
o Added support for SMF 2.1 Beta 2.
o Fixed some XHTML validation concerns throughout the mod, brought to light by Antechinus. Thanks, Antechinus!
Hey, I was just testing this in conjunction with my memberlist mod, and installing your one (v 2.6) after mine worked as far as installation goes, but not as far as functionality (IOW, didn't work. No icons showing on memberlist, etc).
Ok, so just to make sure I uninstalled yours, then uninstalled mine, then installed yours by itself on a clean default template. Result: one parse error right up top where function template_main() is declared. This is default code my mod doesn't touch.
Installing your mod has left it like this:
global $context, $settings, $options, $scripturl, $txt, $user_info;
$tmp_mlist = 'mlist' . (isset($_REQUEST['sort']) ? ';sort=' . $_REQUEST['sort'] : '') . (isset($_REQUEST['start']) ? ';start=' . $_REQUEST['start'] : '');, $modSettings;
Is problem, yes? :D
I've fixed a bunch of problems within the mod like what you've mentioned. I'm gonna test to make sure that the add/remove buddy icon shows up in all screens. Please note that you CANNOT add or remove yourself as a buddy, hence you will NEVER see an add/remove icon for yourself! :P
EDIT: Everything in the unpublished version 2.7 works for SMF 2.0. Now to fix SMF 2.1 support....
EDIT2: Antechinus, I haven't tested in conjunction with your updated Dynamic Memberlist mod yet!
Uploaded v2.7 - September 1st, 2015
o Made the mod work with the Dynamic Memberlist mod.
o Fixed multiple issues of improper and/or code-breaking operations.
The mod was delayed from being published earlier because I worked 11 hours on Sunday and 13 1/2 on Monday, if anybody is interested..... O:)
@Antechinus: Thank you for the bug report!
v2.8 - July 7th, 2017
o Added support for SMF 2.1 Beta 3.
o Removed support for SMF 2.1 Beta 2.
Uploaded v2.9 - October 25th, 2018
o No functionality change.
o Updated documentation to point to new website.
I put everything in one file, I think it's faster for you ;) Really great job @dougiefresh
Uploaded v2.10 - November 9th, 2018
o Added Spanish Latin translation, courtsey of Rock Lee (https://www.simplemachines.org/community/index.php?action=profile;u=322597)!
@Rock Lee: Thank you for the translation! It's been included in this version!
Uploaded v2.11 - June 20th, 2019
o Added support for SMF 2.1 RC2.
o Removed support for SMF 2.1 Beta 3.
found a slight bug :)
on the memberlist the sort button is blank
'is_buddy' => array(
'label' => '',
'width' => '25',
'is_buddy' => array(
'label' => $txt['buddies'],
'width' => '25',
$txt['qb_on_followers'] = 'Add Quick Buddies on Followers';
$txt['buddies'] = 'Buddies';