GithubHelp home page GithubHelp logo

chat-room's People

Contributors

fiftin avatar tw2113 avatar williamsba 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

Watchers

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

chat-room's Issues

Enhance scheduleability of chats

time based chats for X amount of time
manual trigger and override for admins if they want to keep open a bit longer
active chat indicator with direct link
--managed by widget and/or template tag

Timestamps

--user fix -- lines 164 and 177 with:

'html' => '<div class="chat-message-' . $new_message_id . '"><strong style="color: ' . $user_text_color . ';">' . $user->user_login . '</strong>: ' . $content . '</div>'

to

'html' => '<div class="chat-message-' . $new_message_id . '"><span class="time">(' . date("g:ia") . ')</span> <strong style="color: ' . $user_text_color . ';">' . $user->login . '</strong>: ' . $content . '</div>'

time offset

'<div class="chat-message-' . $new_message_id . '"><span class=time>(' . date("g:ia", time() + ( get_option( 'gmt_offset' ) * 3600 ) ) . ')</span> <strong style="color: ' . $user_text_color . ';">' . $user->nickname . '</strong>: ' . $content . '</div>',

Graphical smilies

Built in from WP? Extensible in directory somewhere? How to make and regex filter?

Hide name field once set

JS is best idea so far. Hide after setting. How to handle typos? Perhaps minimize into UI somehow but allow clicking back into view.

Labels on inputs

Especially if we're keeping the logged out ability.

Name:
Message:

Disappearing lines

Using Wordpress 3.7.1 only the last line appears in the chatroom.

While chatting everything seems ok, but once you revisit the chatroom all history is gone except for the last line.

jQuery Scroll issue

From forum:

"Also, the chat rooms that I have aren't exceptionally active, but it seems that when someone does post something, all it takes is for another post to make their initial post to disappear at the top. In an ideal world the posts would start scrolling up when the chat box is or starts to get full but that's not that case. Is this a bug?"

Ability to silence/temp ban users

Mostly a pro addon, if accomplishable.

Admin field that sets a setting that prevents certain users?
Hide chat controls if in disallowed list?

Chat Room errors in js console on frontend

Warning: fopen(/Users/admin/Sites/wds/wp-content/uploads/chatter/testing-recent) [function.fopen]: failed to open stream: No such file or directory in /Users/admin/Sites/wds/wp-content/plugins/chat-room/chat-room.php on line 196



Warning: filesize() [function.filesize]: stat failed for /Users/admin/Sites/wds/wp-content/uploads/chatter/testing-recent in /Users/admin/Sites/wds/wp-content/plugins/chat-room/chat-room.php on line 197



Warning: fread() expects parameter 1 to be resource, boolean given in /Users/admin/Sites/wds/wp-content/plugins/chat-room/chat-room.php on line 197



Warning: fclose() expects parameter 1 to be resource, boolean given in /Users/admin/Sites/wds/wp-content/plugins/chat-room/chat-room.php on line 198



Warning: Invalid argument supplied for foreach() in /Users/admin/Sites/wds/wp-content/plugins/chat-room/chat-room.php on line 105



Warning: array_values() expects parameter 1 to be array, null given in /Users/admin/Sites/wds/wp-content/plugins/chat-room/chat-room.php on line 109

null

Banned word list

Create nice default, allow easy adding of others from user.

Pro addon idea: UI/settings page for list management.

Order of Chats

Hi. I am using (trying) the free Chat Room on my website, before possibly upgrading. The latest (most recent) chat comes up at the bottom of the chats, and the user has to scroll down for the most recent chat. Is there a setting somewhere that I could reverse this, and post the most recent chat at the top? thank you
jack

Archive chats (keep history)

Maybe I am missing a setting, but when the page is reloaded only several of the messages are still there and the rest is gone.

Is there a way to keep the chat rooms history for later reference ?

Update: I did some digging around and fount the chatter folder in uploads and I could just add a custom field with ACF to check if the chat is closed and than just pars the file myself.

Chat log management in Admin

Pro add-on.

Ability to:
review log
delete log from server

features:
ban list management
peak user count stats
average user count stats
searchable?

Clear chat box.

Insert deliminator into chat log that marks where to stop. grab everything after only?

Option to hide from non logged in users instead of permanently

If we have a settings page of some sort, add a checkbox that hides ALL of the chats. Set to true by default

Offer meta box checkboxes in post type screen that will allow to override global setting. In the metabox, display what the current setting is, so that they know they don't need to click it if already open globally.

Conflict with Yoast SEO plugin OpenGraph Features [with workaround]

Activating the OpenGraph features (Facebook and Twitter cards) of the Yoast SEO plugin breaks the display of the chatroom comments. There are no js errors, but each contribution to the chat appears blank. The user's name shows up, but not the text of the comment.

With both plugins activated and the OG features on, the source code of a chatroom page has chatroom code inserted in a strange place, in the Head, but when the OG features are turned off, that chatroom code is found further down in the Body. See the attached screenshot of source when OG is on.

What's interesting here is that the chatroom code is replacing the og:description meta tag. So that's the issue... There are some filters working against each other... I'm not sure which, where, etc.

I stumbled upon a workaround.....

The Yoast SEO Plugin allows you to set a unique FB (open graph) description on a per post basis. And surprise, if you set a description for a chat, that description appears and the chatroom code in the moves down to where it's supposed to be, making everything work.

yoast-on

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.