Change the name of Friends?

Go down

Solved Change the name of Friends?

Post by Zuke on March 7th 2015, 5:34 pm

Hello, how do I change the name of Friends on the friends list to say followers.

I would like to replace it saying Friends and make it say Followers here:

http://prntscr.com/6dv3em

And this to say Remove from my Followers:

http://prntscr.com/6dv45y

Also I want to replace add to my friends list to Add to my Followers:

http://prntscr.com/6dv4ke


PLEASE HELP  :rose:
avatar
Zuke
Forumember

Male Posts : 385
Reputation : 21
Language : English
Location : United Kingdom

http://droplet.your-talk.com

Back to top Go down

Solved Re: Change the name of Friends?

Post by _Twisted_Mods_ on March 7th 2015, 7:12 pm


  1. Go to Modules > HTML & Javascript > Javascript codes management
  2. Enable Javascript code management
  3. Create a new javascript with these settings

    • Title : Your Choice
    • Placement : check "In all the pages"
    • Javascript Code : copy the following code.



Code:
$(function(){
   if(location.pathname.match(/\/u\d+/)){
var changee = $('#profile-advanced-right .h3:contains(friends)').text();
changee = changee.replace(/friends/,'followers');
 $('#profile-advanced-right .h3:contains(friends)').text(changee);
      $('#profile-advanced-add a').eq(0).text($('#profile-advanced-add a').eq(0).text().replace(/friends/,'followers'));
   $('#profile-advanced-add a').eq(1).text($('#profile-advanced-add a').eq(1).text().replace(/foes/,'followers').replace(/Add to/,'Remove from'));
   };
});
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Change the name of Friends?

Post by Zuke on March 7th 2015, 7:48 pm

THANKS! It works!

Solved.
avatar
Zuke
Forumember

Male Posts : 385
Reputation : 21
Language : English
Location : United Kingdom

http://droplet.your-talk.com

Back to top Go down

Solved Re: Change the name of Friends?

Post by _Twisted_Mods_ on March 7th 2015, 7:49 pm

Topic solved and archived
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Back to top


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