Posts: 14
Threads: 10
Joined: Mar 2012
I have created a simple chat program that writes the data to a text file. The text file can be deleted in the admin.
Extend link:
http://get-simple.info/extend/plugin/simple-chat/416/
Posts: 6
Threads: 1
Joined: Apr 2012
2012-04-04, 19:43:09
(This post was last modified: 2012-04-12, 00:27:37 by mosmetic.)
Great plugin with just one flaw I detected, it doesnt work.
It loads fast and easy and I get to choose a username and i get directed to the chatwindow and can type a message but then... there is no submit button.
pressing enter just moves the cursor to a new line.
Oh and clicking logout doesnt do anything
Posts: 6
Threads: 1
Joined: Apr 2012
Firebugg reported an error while submitting a username.
$ is not defined
index.php?id=chat()index.php?id=chat (row 52)
[Stanna vid fel]
<label for="Desired Username">Desired Username (20 chars): </label>
index.php?id=chat (row 52)
I added jquery.js and the error is no longer reported.
<script type="text/javascript" src="jquery.js"></script>
Posts: 13
Threads: 0
Joined: Oct 2011
Thank you for a nice plugin.
I have uploaded a Danish edition of your Simple Chat 1.0 plugin to the directory specified below:
http://get-simple.info/extend/plugin-lan...ition/450/
Best
Christian
Posts: 13
Threads: 0
Joined: Oct 2011
Try to generate a new web page as admin and remember to include the page name: "chat" in the url (and to add the page to the page menu so it is easy to locate the page during testing). Then new users should be able to generate a user name from the chat page and be able to chat with admin or other users.
pifiu Wrote:how does this work exactly? I installed the plugin and see the plugin tab but then what?
Posts: 13
Threads: 0
Joined: Oct 2011
Okay - Is it correct that you have entered a user name and the chat box appear? If so you should be able to write a chat message in the field below the large chat box and press enter to submit your message. Then a black box with your user name and the message should apper in the large chat window. If you open another browser window and log in to the get-simple admin panel as admin you should be able to verify that the chat function works by shifting windows and chatting as username and admin.
pifiu Wrote:ok I got that far.. but then?
I get enter the username and in the chat box, the enter key does no nothing. It just takes me to the next line.
Posts: 6
Threads: 1
Joined: Apr 2012
I got it working by adding an external jquery
/* Chat Javascript */
echo '<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>'."\n";
echo '<script type="text/javascript" >'."\n";
echo 'var sc_chat_content;'."\n";
Posts: 5
Threads: 1
Joined: Jun 2013
Chat not remember the last report. I need to stay there. Any way to revise?
thank you
virtù