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.

Toolbar 'Reputation' text

View previous topic View next topic Go down

Solved Toolbar 'Reputation' text

Post by JAN2XONLINE on Mon 25 Feb 2013 - 4:28

Is it possible to change the 'Reputation' text in the welcome drop down to something else like 'Votes'?
avatar
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by Cassius Dio on Mon 25 Feb 2013 - 14:57

Hi! Very Happy

Add in JavaScript codes management:
Code:
$(document).ready(function(){
$('#fa_usermenu tr:contains("Reputation") td.first').replaceWith('
<td class="First">Votes</td>
');
});
Placement: All pages.
avatar
Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by zenzo on Mon 25 Feb 2013 - 15:54

ACP>User&Groups>profiles


in the profile fields find the reputation and modify
avatar
zenzo
Forumember

Posts : 532
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by koolkat96 on Mon 25 Feb 2013 - 16:34

SGSS wrote:Hi! Very Happy

Add in JavaScript codes management:
Code:
$(document).ready(function(){
$('#fa_usermenu tr:contains("Reputation") td.first').replaceWith('
<td class="First">Votes</td>
');
});
Placement: All pages.

I need to change it too. So, how should I name it in the form of "Thanks"?
avatar
koolkat96
Forumember

Female Posts : 584
Reputation : 7
Language : English
Location : Bangalore, India

http://houkago-tea-time.forumakers.com/

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by Cassius Dio on Mon 25 Feb 2013 - 16:51

Hi koolkat96! Very Happy

See this piece of code:
<td class="First">Votes</td>
Just change the underlined word with your, so it would look like:
Code:
$(document).ready(function(){
$('#fa_usermenu tr:contains("Reputation") td.first').replaceWith('
<td class="First">Thanks</td>
');
});
avatar
Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by koolkat96 on Mon 25 Feb 2013 - 16:55

Nope didn't work!
avatar
koolkat96
Forumember

Female Posts : 584
Reputation : 7
Language : English
Location : Bangalore, India

http://houkago-tea-time.forumakers.com/

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by Cassius Dio on Mon 25 Feb 2013 - 17:04

Try this:
Code:
$(document).ready(function(){
$('#fa_usermenu tr:contains("Reputation") td.first').text(''Thanks');
});
avatar
Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by JAN2XONLINE on Mon 25 Feb 2013 - 23:26

Both codes are not working. Confused
avatar
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by JAN2XONLINE on Wed 27 Feb 2013 - 2:12

bump
avatar
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by SLGray on Wed 27 Feb 2013 - 2:17

http://help.forumotion.com/t120381-customize-your-toolbar-through-css-and-javascript

Look for this -
Here's a function that can replace the user profile list text:


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

avatar
SLGray
Administrator
Administrator

Male Posts : 38244
Reputation : 2576
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by JAN2XONLINE on Wed 27 Feb 2013 - 2:25

I tried this:
Code:
function changeToolbar(word, replacement) {
    for (var name in word) {
        document.getElementById('fa_menulist').innerHTML = document.getElementById('fa_menulist').innerHTML.replace(RegExp(name, 'g'), word[name]);
    }
}

$(window).load(function () {
    changeToolbar({
        'Reputation': 'Votes',
    });
});

and it works! Thank you!
avatar
JAN2XONLINE
Forumember

Male Posts : 943
Reputation : 32
Language : Tagalog, English
Location : Alberta, Canada

http://animeph.4umer.com/

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by SLGray on Wed 27 Feb 2013 - 7:00

You're welcome.
Topic Solved & Locked


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

avatar
SLGray
Administrator
Administrator

Male Posts : 38244
Reputation : 2576
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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