Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Chat
#1
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/
Reply
#2
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
Reply
#3
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>
Reply
#4
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
Reply
#5
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?
Reply
#6
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.
Reply
#7
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";
Reply
#8
Chat not remember the last report. I need to stay there. Any way to revise?

thank you

virtù
Reply




Users browsing this thread: 2 Guest(s)