Welcome to the Forumotion Support!


You are not connected. Please login or register

 
 

how to change a Staff name in Avacweb

Message (Page 1 of 1)

#1

RamEMS

RamEMS
 
Administrator

Posted Mon Jun 24, 2013 4:07 pm

 
hey can you tell me how to change this stuff "@" into "Staff :" in Avacweb?
cause i don't know that thing Very Happy
Thanks Smile



http://www.uchihasasukeems.blogspot.com


#2

FMHelp

FMHelp
 
Administrator

Posted Mon Jun 24, 2013 4:10 pm

 
Hello,

Add this underneath your Installation of AvacWeb Chat Javascript code:


  1. avacweb_chat_config.message_hook.push(function(row, username, user_id, user) {
  2.    user.innerHTML = user.innerHTML.replace(/@(?=\W)/, 'Mod: '); //perform @ replacement
  3. });
  4. avacweb_chat_config.user_hook.push(function(row, username, user_id) {
  5.    var u = row.getElementsByTagName('a')]0];
  6.    if(u) u.innerHTML = u.innerHTML.replace(/@(?=\W)/, 'Mod: '); //perform @ replacement
  7. });

You can change Mod: into whatever else you want.Examples Staffs: etc..



https://fmhelp.forumotion.com


#3

RamEMS

RamEMS
 
Administrator

Posted Mon Jun 24, 2013 4:45 pm

 
thanks for it Smile



http://www.uchihasasukeems.blogspot.com


#4

FMHelp

FMHelp
 
Administrator

Posted Tue Jun 25, 2013 3:23 am

 
RamEMS wrote:thanks for it Smile
No problem

Topic Solved And Locked



https://fmhelp.forumotion.com


#5

Sponsored content


 

Posted

 





Message (Page 1 of 1)

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


  • Total Posts:
  • Total Members:
  • Newest Member:
  • Most Online: Most users ever online was 13 on Tue Jul 16, 2013 11:14 am

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests
Users browsing this forum: None