vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - Whatsapp share for mobile style (https://vborg.vbsupport.ru/showthread.php?t=324636)

xman_79 03-07-2017 10:00 PM

Whatsapp share for mobile style
 
1 Attachment(s)
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
    1. Facebook
    2. Google+
    3. Twitter
    4. WhatsApp
    5. Telegram
    6. Email
  • For desktop style
    1. Facebook
    2. Google+
    3. Twitter
Conception
  • Author : 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
    1. whatsapp.php
    2. 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)
    Code:

    {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
  1. If you already use the Mobile_Detect.php, do not upload it. For more information about this file, please visit : here & here
  2. Upload the both files and after that import the xml file
  3. The option : Text preparing is to prepare the text message for twitter and email. You have 2 methods
    1. Yes: For my method
    2. No: vBulletin method
  4. 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
  1. Fixed - bug for 1.0.2 version
  2. Added - telegram link for mobile style
  3. Edited - some css

Version 1.0.2
  1. BUG (vb 4.2.4) :
    PHP Code:

    DeprecatedAssigning the return value of new by reference is deprecated 
    =& new vB_BbCodeParser 


Next
  1. Your suggestion / observation
  2. Add a form to send a thread by mail for desktop version

Screen Shot
Mobile: mobile style
https://vborg.vbsupport.ru/attachmen...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

Quote:

Originally Posted by ahobilam (Post 2584027)
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.


All times are GMT. The time now is 02:36 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01351 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete