Log in

View Full Version : Major Additions - Whatsapp share for mobile style


xman_79
03-07-2017, 10:00 PM
IS BETA-2 VERSION, I AM WAITING FOR ANY SUGGESTION

Description

This product allow you to add share box for your thread that including:
For mobile style

Facebook
Google+
Twitter
WhatsApp
Telegram
Email


For desktop style

Facebook
Google+
Twitter



Conception

Author : Suleiman (http://www.vbulletin-ressources.com/forum/members/1639-suleiman)
Compatibility : 4.x.x
Tested : 4.2.2 & 4.2.4

Installation

Download and extract the attached .zip file
Upload to your site forum/includes the both files

whatsapp.php
Mobile_Detect.php

Upload to your site forum/images/mobile/ the "socials" folder
Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product
Click on "Choose File" and browse to the .zip file -> Show product-zs_go_whatsapp.xml
Click "Import."
Go to AdminCp -> Settings -> Options -> Whatsapp Share for mobile style
Please check your templates postbit and postbit_legacy for MOBILE STYLE and add on top (if you don't have)
{vb:raw template_hook.postbit_start}


Upgrade 1.0.1 to 1.0.3

Download and extract the attached .zip file
Upload to your site forum/includes the whatsapp.php file
Upload to your site forum/images/mobile/socials/ the "telegram.png" image
Follow AdminCP -> Plugins & Products -> Manage Products -> Installed Products -> Uninstall the product : Whatsapp share for mobile style (old version)
Follow AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product
Click on "Choose File" and browse to the .zip file -> Show product-zs_go_whatsapp.xml
Click "Import."


Important

If you already use the Mobile_Detect.php, do not upload it. For more information about this file, please visit : here (http://mobiledetect.net/) & here (https://github.com/serbanghita/mobile-detect)
Upload the both files and after that import the xml file
The option : Text preparing is to prepare the text message for twitter and email. You have 2 methods

Yes: For my method
No: vBulletin method


The Developer mode allows you (just for userid = 1) to view the mobile template on the desktop version (of course the whatsapp link don't work) ... I add this option just if you don't have a mobile and you have some suggestion :)


Version 1.0.3

Fixed - bug for 1.0.2 version
Added - telegram link for mobile style
Edited - some css


Version 1.0.2

BUG (vb 4.2.4) : Deprecated: Assigning the return value of new by reference is deprecated
=& new vB_BbCodeParser


Next

Your suggestion / observation
Add a form to send a thread by mail for desktop version


Screen Shot
Mobile: mobile style
https://vborg.vbsupport.ru/attachment.php?attachmentid=156039&stc=1&d=1489930542

muratmunich
03-08-2017, 07:12 PM
Thank you very much. Installed...

Gn_Snake
03-08-2017, 07:13 PM
Wow ...thx

ahobilam
03-18-2017, 02:15 PM
My Version of VB 4.2.4
Installed as per given instructions.
Not listed in settings? Also not found anything in the mobile style.
Mobile template also edited and added the code to postbitlegacy

xman_79
03-19-2017, 11:15 AM
My Version of VB 4.2.4
Installed as per given instructions.
Not listed in settings? Also not found anything in the mobile style.
Mobile template also edited and added the code to postbitlegacy

Thank you for your response !
I will install vB 4.2.4 to check it

Edited: please try the new version

alessi
09-24-2017, 01:58 PM
thanks! will try

ahobilam
09-25-2017, 02:10 AM
Thanks now the link is working properly, but it is not fetching the content and url of the page with it to share the content. Just the title text only going to Whatsapp without link?
The purpose of sharing will not fulfill.