Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Adding Facebook/Facebook Messenger as a Communication Option Details »
Adding Facebook/Facebook Messenger as a Communication Option
Mod Version: 1.00, by scottkoz20 (Coder/Designer) scottkoz20 is offline
Developer Last Online: Feb 2022 I like it Show Printable Version Email this Page

vB Version: 4.2.x Rating: (0 vote - 0 average) Installs: 3
Released: 03 Mar 2018 Last Update: Never Downloads: 0
Not Supported Uses Plugins Template Edits Additional Files Re-usable Code Translations Is in Beta Stage  

With my forum being a Trading and Buy/Sell Forum, communication is a key and vital for members making deals. This hack is really opening up another mode of communication to allowing my members to communicate.

The hack is adding Facebook Messenger as a communication option to your forum.

NOTE: This does require your members to have a Facebook Account and is using Messenger.

The steps are fairly straight forward, but does require some template and profile hacks as well as image uploads.

1) Download the images and upload them to your forums images/misc directory

1 - Messenger Icon -


2) Need to add a Profile Fields (Admincp->User Profile Fields->Add New User Profile Field)
Note - I added a Profile Group Called PayPal

Field 1 - Facebook/Messager
Name - Facebook/Facebook Messenger
Description - Add your Facebook (Messenger) username to add on your profile
Field Required - No
Editable - Yes
Private, Searchable, Show on Memberlist - No
Rest leave as default (unless you wish to set this)

Make sure that you jot down the field ID numbers!


There are 2 options that you can use to enable this hack.

Option 1 - User Postbit
Go to Styles & templates->Style Manager->Edit Template of the Style you wish to change

Find the postbit or postbit_legacy template (depends which one you are using for your forum) - Doubleclick to Edit
Note - I used postbit_legacy but this should be the same for postbit

Find the following


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and below, add the following


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Note - Make sure you replace the XX's in the fieldXX with your fieldid from the Profile Field setup

Could look as such this when applied



FYI - You can use the same type of structure to add other items like Twitter, Facebook, etc...


Test!


Option 2 - Member Action Dropdown

For this option there are 2 ways you can do this

1) Template Hack
2) Plug-in

You don't need both - either one should work

Template Hack

Go to Styles & templates->Style Manager->Edit Template of the Style you wish to change

Find the memberaction_dropdown - Doubleclick to Edit

Find the following


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and below the Ending IF, add the following


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

When applied, your members will see the following




Plug-in
Thanks to MarkFL for this. If you choose to you a plug-in, this is the code that would need to be added.

Create a plugin hooked at "memberaction_dropdown" with the PHP code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Again, you only need to use 1 of the 2 methods to tie this into the Memberaction_dropdown.


Again, Test


Lastly, alert your members to the change and bask in the praise of your genius (in your members eyes )


Notes -
1st release on 3 March 2018

Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	memberaction_dropdown.PNG
Views:	59
Size:	8.1 KB
ID:	156967  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Lilis Pizza Pizza Messenger (PopUp Messenger) PcFreak vBulletin 3.5 Add-ons 127 23 Nov 2011 03:56

Comments
  #2  
Old 03 Mar 2018, 22:51
scottkoz20 scottkoz20 is offline
 
Join Date: Jan 2016
Real name: Scott
Reserved


AS a point of note - on the Profile fields, you COULD separate Facebook from Facebook Messenger if you decide this is the best route for your site, you would need to get a Facebook Icon and upload it to your Image folder of your choice.

Last edited by scottkoz20; 03 Mar 2018 at 23:06. Reason: adding note
Reply With Quote
  #3  
Old 05 Jul 2022, 21:05
MentorBR MentorBR is offline
 
Join Date: Jul 2019
Is there a way to do it through whatsapp instead of Facebook Messenger?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 13:15.

Layout Options | Width: Wide Color: