Advertisement:

Author Topic: Quick Buddies  (Read 6084 times)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Quick Buddies
« on: July 22, 2014, 01:03:20 AM »
Link to Mod


QUICK BUDDIES v2.11
By Dougiefresh -> Link to Mod


Introduction
This mod uses the tip/trick written by ahrasis in the Add Buddy Button On Post 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 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

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+ 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.

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.
« Last Edit: January 19, 2015, 09:44:28 AM by dougiefresh »

Offline ryan_dwight

  • Jr. Member
  • **
  • Posts: 296
Re: Quick Buddies
« Reply #1 on: July 24, 2014, 05:26:03 PM »
I tried installing this but I can't see this on the profile
http://custom.simplemachines.org/mods/index.php?action=download;mod=3900;id=233493;image
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?

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #2 on: September 14, 2014, 04:18:13 PM »
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 theme.

@ryan_dwight: Sorry about the VERY late response.  I never got notification of your post in this thread.....

Offline ryan_dwight

  • Jr. Member
  • **
  • Posts: 296
Re: Quick Buddies
« Reply #3 on: September 14, 2014, 05:17:29 PM »
no worries and I appreciate the update. Its working fine now.

Thank you

Offline DSystem

  • Jr. Member
  • **
  • Posts: 238
  • Gender: Male
  • EletronicaBR - Admin
    • eletronicaBR.com
Re: Quick Buddies
« Reply #4 on: September 15, 2014, 08:35:34 PM »
Translation to Portuguese Brazil in annex.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #5 on: September 17, 2014, 03:58:33 AM »
Uploaded v2.1 - September 17th, 2014
o Added Brazilian Portuguese language files.  Thanks, DSystem!!!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #6 on: November 23, 2014, 02:09:59 PM »
Uploaded v2.2 - November 23th, 2014
o Fixed for undefined variable within Memberlist.template.php...

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #7 on: January 19, 2015, 09:44:39 AM »
Uploaded v2.3 - January 19th, 2015
o License change to Simplified BSD.  No functionality change.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #8 on: April 06, 2015, 05:08:54 PM »
Uploaded v2.4 - April 6th, 2015
o Updated for SMF 2.1 Beta 1.
o Added some extra error checking to avoid undeclared errors.

Offline Professor Sea

  • Semi-Newbie
  • *
  • Posts: 25
    • Endo Labs
Re: Quick Buddies
« Reply #9 on: April 06, 2015, 09:10:52 PM »
This also seems useful for my biology forum. Will consider utilising this... And thank you.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #10 on: April 07, 2015, 03:55:37 AM »
You're welcome.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #11 on: April 25, 2015, 01:49:07 PM »
Uploaded v2.5 - April 25th, 2015
o Added compatibility with SMF 2.0.10.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #12 on: August 29, 2015, 09:32:05 AM »
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!

Offline Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,321
  • Master of BBC Abuse
Re: Quick Buddies
« Reply #13 on: August 30, 2015, 06:50:59 AM »
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:

Code: [Select]
function template_main()
{
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
« Last Edit: August 30, 2015, 07:02:57 AM by Antechinus »

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #14 on: August 30, 2015, 06:44:06 PM »
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!
« Last Edit: August 30, 2015, 06:55:04 PM by dougiefresh »

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #15 on: September 01, 2015, 03:03:51 PM »
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!

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #16 on: July 07, 2017, 11:40:40 AM »
v2.8 - July 7th, 2017
o Added support for SMF 2.1 Beta 3.
o Removed support for SMF 2.1 Beta 2.

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #17 on: October 25, 2018, 12:55:59 PM »
Uploaded v2.9 - October 25th, 2018
o No functionality change.
o Updated documentation to point to new website.

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 2,832
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Quick Buddies
« Reply #18 on: October 25, 2018, 01:27:16 PM »
I put everything in one file, I think it's faster for you ;) Really great job @dougiefresh


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,859
  • Mod King
    • XPtsp.com Community
Re: Quick Buddies
« Reply #19 on: November 09, 2018, 09:26:23 PM »
Uploaded v2.10 - November 9th, 2018
o Added Spanish Latin translation, courtsey of Rock Lee!



@Rock Lee:  Thank you for the translation!  It's been included in this version!