Giter Site home page Giter Site logo

wordpressplugin's Introduction

RocketChat LiveChat plugin for WordPress

This is a plugin for WordPress to enable LiveChat support. To install please use the WordPress plugin installer and search for Rocket.Chat LiveChat.

This repository contains unstable version of the plugin and outside of oficial releases it is not intended for use.

Contributing

If you wish to contribute, send in a Pull Request.

If you have a use case or functionality that you think a plugin should cover, submit an Issue explaining your use case or functionality.

Docker

Use Docker-compose to edit

Rocket.Chat logo

  1. Fork and Clone this repository
  2. Open on folder and write in cosole:
docker-compose up
  1. Open your broser in localhost:5000.
  2. Install your wordpress.
  3. Go to localhost:5000/wp-admin/plugins.php and active Rocket.Chat LiveChat.
  4. Commit your changes (git commit -am 'Added some feature')
  5. Push to the branch (git push origin/develop my-new-feature)
  6. Create new Pull Request

Use any server Local.

  1. Fork and Clone this repository
  2. Open on plugin folder copy Rocket.Chat-livechat to your plugin folder.
  3. Test yours feature.
  4. Commit your changes (git commit -am 'Added some feature')
  5. Push to the branch (git push origin/develop my-new-feature)
  6. Create new Pull Request

License

Note that Rocket.Chat Plugin is distributed under the MIT License.

wordpressplugin's People

Contributors

engelgabriel avatar franckadil avatar geekgonecrazy avatar mbanusic avatar meanderingcode avatar ogustavo-pereira avatar renatobecker avatar sing-li avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wordpressplugin's Issues

Plugin crashes site

The plugin kills the site, erroring out attempting to call a nonexistant fucntion $this->_process_formData()

WordPress debug log:

[31-May-2016 20:35:44 UTC] PHP Fatal error: Call to undefined method RocketChat_LIVEChat::_process_formData() in /home/user/www/wp-content/plugins/rocketchat-livechat/livechat-wordpress.php on line 339

Livechat window not showing up

  • WordPress 4.7.3
  • Rocket.Chat 0.54.2

I have done the following:

  • Set up Rocket.Chat and make sure everything works fine
  • Move it behind an nginx reverse proxy which I verified does not set the X-Frame-Options DENY header
  • Install the wordpress plugin on an otherwise fully functioning wordpress install
  • Enabled the plugin in settings
  • Entered the Rocket.Chat URL
  • Tried both my.domain.tld and my.domain.tld/livechat as URL
  • Verified that livechat works in principle by pasting the embed javascript into an empty .html file and opened it in my browser locally
  • Moved that same file to a webserver and opened it in my browser, once again it worked just fine

…and at last, I just copypasted the install code in my wordpress' raw html, and now it works just fine.

TL;DR I think the plugin might need an update.

Trigger

When somebody load site and the live chat pops out because i set trigger, and when user minimise the live chat window, it gets popout on every load page, can you correct this ?

Displays over storefront-handheld-footer-bar on Storefront (Default WooCommerce Theme)

The RocketChat LiveChat button displays over storefront-handheld-footer-bar on the default WooCommercce installed theme - Storefront. I imagine this is one of the largest use-case scenarios for using this plugin.

I have had a look today and unfortunately, the plugin doesn't have any CSS attributed with it and instead pulls the CSS from $livechat_url/livechat

I'm happy to continue looking to try for a fix, however, thought I would raise an issue ticket in case it was already solved somewhere?

Screenshot

Plugin has been banned from Wordpress Plugin Repo - Plugin dead?

Hi,

on the Wordpress Plugins repo page.
It says:

This plugin has been closed as of November 23, 2020 and is not available for download. Reason: Guideline Violation.

This and the fact, that the last commit was over a year from the time over the creation of this issue does arises the question if this plugin is still developed... ?

I personally appreciate if a GitHub repo does mention something at the beginning of the readme, along the lines of: Not under active development anymore ... or : looking for new maintainer or something like it.

Thank you for your work so far!

Installation Issue WP 4.5 german

How to install the wordpress-plugin correctly? After uploading the zip and activating I get this message:

lic_html/wp-content/plugins/livechat-wordpress/livechat-wordpress.php Encoding: Re-open Use Code Editor Close Save Changes
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /www/htdocs/XXXXXX/wp-bh2o/wp-content/plugins/WordPressPlugin-master/livechat-wordpress.php:6) in /www/htdocs/XXXXXX/wp-bh2o/wp-content/plugins/WordPressPlugin-master/livechat-wordpress.php on line 30

Any Ideas?

Minify js file

Inspecting pagespeed score using https://developers.google.com/speed/pagespeed/insights/ shows below:

Minifying https://…t/public/external_api.js?_=1483942093022 could save 1.5KiB (45% reduction) after compression.

Is there a way to minify this?

p/s: FYI, the website is already running on W3 Total Cache that does the combine+minify.

Is this plugin compatibilible with WordPress 4.9?

Hello, Rocket.Chat!

WordPress 4.9 is scheduled to be released on November 14. Are your plugins ready?

After testing your plugins and ensuring compatibility, it only takes a few moments to change the readme "Tested up to:" value to 4.9. This information provides peace of mind to users and helps encourage them to update to the latest version.

Here are the current "Tested up to:" values for each of your plugins:

For each plugin that is compatible, you don't need to release a new version — just change the stable version's readme value.

Looking to get more familiar with 4.9? Check out this roundup post on the core development blog: https://make.wordpress.org/core/2017/11/07/wordpress-4-9-field-guide/

Thank you for all you do for the WordPress community, and we hope you enjoy 4.9 as much as we do.

WordPress core contributors

No plugin settings

When viewing the plugin settings page, there are no options or form fields. All I see is the plugin title and a save button.

Wordpress debug shows this warning:

WARNING: wp-includes/plugin.php:525 - call_user_func_array() expects parameter 1 to be a valid callback, class 'RocketChat_LIVEChat' does not have a method 'rocketchat_livechat_admin_init' do_action('admin_init'), call_user_func_array

And this notice:

NOTICE: wp-content/plugins/rocketchat-livechat/livechat-wordpress.php:409 - Undefined index: c do_action('toplevel_page_rocketchat_livechat_support'), call_user_func_array, RocketChat_LIVEChat->_admin_menu_contents

Plugin Crashes wp-admin not site

On a fresh WP installation:

13594#0: *67414 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined method RocketChat_LIVEChat::_process_formData() in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/livechat-wordpress/livechat-wordpress.php:340
Stack trace:
#0 /var/www/vhosts/mydomain.com/httpdocs/wp-includes/plugin.php(525): RocketChat_LIVEChat->rocketchat_livechat_admin_init('')
#1 /var/www/vhosts/mydomain.com/httpdocs/wp-admin/admin.php(168): do_action('admin_init')
#2 /var/www/vhosts/mydomain.com/httpdocs/wp-admin/index.php(10): require_once('/var/www/vhosts...')
#3 {main}
thrown in /var/www/vhosts/mydomain.com/httpdocs/wp-content/plugins/livechat-wordpress/livechat-wordpress.php on line 340" while reading response header from upstream

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.