The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How can I add edit/delete functions for each message in chatbox?

Page 4 of 4 Previous  1, 2, 3, 4

View previous topic View next topic Go down

Solved How can I add edit/delete functions for each message in chatbox?

Post by Van-Helsing on February 26th 2015, 1:56 pm

First topic message reminder :

Hello,
How can I add edit/delete functions in chatbox messages per each message? I need to allow the members edit/delete their messages from chatbox and the staff will be able to edit/delete messages for each message of chatbox.

Example:


Last edited by Black-Shadow on May 8th 2015, 10:30 pm; edited 2 times in total

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down


Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by Van-Helsing on May 9th 2015, 7:34 pm

Hello @JScript, i think the problem is in chat box cookies management or in widget staff online cookies management , I tried the latest update of chatbox and I am still facing problem. As I watched previously the latest chatbox code conflicts the staff online widget.

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by FrOsTyXi on May 9th 2015, 10:35 pm

@JScript I managed to fix both errors in the console, but still there is no text to edit when i click edit. Can this be fixed?

I await your response.

Regards
FrOsTyXi

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by JScript on May 9th 2015, 10:53 pm

Black-Shadow wrote:Hello @JScript, i think the problem is in chat box cookies management or in widget staff online cookies management
This AddOn that I did for the chat box does not use anything of cookies, therefore your problem is the widget and since the topic here is about my code, I will limit myself to just support him!


@FrOsTyXi & @Black-Shadow

New update: The messages parse has been rewritten!

Download: http://help.forumotion.com/t138790-new-chat-box-a-brief-analysis#956186

So long,

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by FrOsTyXi on May 9th 2015, 11:11 pm

@JScript seems to be getting better, but still the same issue when going to edit a message nothing is in the text box and also noticed i cant edit one of my messages the edit link is not active. Its just one message.

Regards
FrOsTyXi

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by JScript on May 9th 2015, 11:21 pm

@FrOsTyXi
You could give me a temporary account? Membership rights only!

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by FrOsTyXi on May 9th 2015, 11:25 pm

@JScript ok np message has been sent!

Regards
FrOsTyXi

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by JScript on May 9th 2015, 11:59 pm


JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by FrOsTyXi on May 10th 2015, 12:04 am

@JScript all with the edit is fine now thank you but my admin is saying every reoad she does this is what she is seeing



Could this be on her end only? She said only since this shoutbox update she has seen this.

Regards
FrOsTyXi

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by JScript on May 10th 2015, 12:10 am

@FrOsTyXi
If this does not happen to you that is also admin and with me it does not happen, then ask him to clear the browser cache, close, reboot the computer and then test to see if still remains ok?

Another important thing: Always clean the messages when you update a code ok?

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by Van-Helsing on May 10th 2015, 12:12 am

Hello @JScript and @FrOsTyXi,
Where can I found the latest update? Is the chabox code link updated at first topic of this post http://help.forumotion.com/t138790-new-chat-box-a-brief-analysis?

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by FrOsTyXi on May 10th 2015, 12:21 am

@JScript i will do that and yes i always remove the messages thank you

Regards
FrOsTyXi

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by FrOsTyXi on May 10th 2015, 12:22 am

Black-Shadow wrote:Hello @JScript and @FrOsTyXi,
Where can I found the latest update? Is the chabox code link updated at first topic of this post http://help.forumotion.com/t138790-new-chat-box-a-brief-analysis?

@Black-Shadow Yes sir!

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by JScript on May 10th 2015, 12:50 am

Latest version: Edit/Delete messages in chat box

Note: Always clean the messages when you update a code ok?

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by Van-Helsing on May 10th 2015, 12:58 am

@JScript wrote:Latest version: Edit/Delete messages in chat box

Note: Always clean the messages when you update a code ok?

JS

Ok @JScript,
I have cleaned up the messages and update the code to test it again, but it needs 1-2 refreshes to display correct the messages otherwise displaying the messages in this format:


The same bug appearing when i am deleting a message and then refresh the page:


I think the edit/delete functions usage is not restoring the settings of chatbox and the code somewhere is breaking and dont restore/keep the chatbox settings. I think after edit / delete message the chatbox configuration must be kept and restored or the edit / delete message functions must not affecting the chatbox configuration.

Those messages appearing when member status changed to "Away" as I watched.

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by Van-Helsing on May 12th 2015, 1:42 am

@JScript I watched another bug:
When the cursor is in chatbox message input box and when you scroll down with mouse the forum it jumps back to the chatbox.

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by JScript on May 12th 2015, 2:15 am

Black-Shadow wrote:@JScript I watched another bug:
When the cursor is in chatbox message input box and when you scroll down with mouse the forum it jumps back to the chatbox.
This is incredible because I can not reproduce this problem in any browser! affraid

New update:
/***
* New Chatbox pseudo commands (Beta test and staff only!)
*
* Command ------------ Explanation
* --------------------------------------------------------------------------------------------------------
* /shake ---------------- "Username" shook the chat window to catch everyone's attention!
*
*/

Download: http://help.forumotion.com/t138790-new-chat-box-a-brief-analysis#956061

So long,

JS

JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by FrOsTyXi on May 12th 2015, 3:02 am

@JScript love this and all erors seems to be fixed it's wonderful, also we do love the shake feature but how can i make a space between the username and the message?


Also it's ony like that for me



I know why this happend it the TM i have in my name that does not show in the chatbox!

Regards
FrOsTyXi

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by Van-Helsing on May 12th 2015, 3:11 am

Hello dear all,
What is new update contains?

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by FrOsTyXi on May 12th 2015, 3:16 am

@Black-Shadow

New update:
/***
* New Chatbox pseudo commands (Beta test and staff only!)
*
* Command ------------ Explanation
* --------------------------------------------------------------------------------------------------------
* /shake ---------------- "Username" shook the chat window to catch everyone's attention!
*
*/

Download: http://help.forumotion.com/t138790-new-chat-box-a-brief-analysis#956061

So long,

JS[/quote]

FrOsTyXi
Forumember

Male Posts : 460
Reputation : 12
Language : english

http://team-psn.forum-board.net/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by JScript on May 12th 2015, 5:49 pm


JScript
Forumember

Male Posts : 741
Reputation : 167
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by Van-Helsing on May 14th 2015, 11:12 pm

I think the most of the problems have been solved. I am marking this topic as solved to keep the discussion only in this topic http://help.forumotion.com/t138790-new-chat-box-a-brief-analysis.

Best Regards,
Black-Shadow

Van-Helsing
Hyperactive

Male Posts : 2198
Reputation : 82
Language : English, Greek

http://helpgr.forumgreek.com/

Back to top Go down

Solved Re: How can I add edit/delete functions for each message in chatbox?

Post by SLGray on May 15th 2015, 9:41 pm

Topic solved and archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35665
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Page 4 of 4 Previous  1, 2, 3, 4

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum