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 February 25th 2013, 4:28 am

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

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 February 25th 2013, 2:57 pm

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.

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 February 25th 2013, 3:54 pm

ACP>User&Groups>profiles


in the profile fields find the reputation and modify

zenzo
Forumember

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

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by koolkat96 on February 25th 2013, 4:34 pm

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"?

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 February 25th 2013, 4:51 pm

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>
');
});

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 February 25th 2013, 4:55 pm

Nope didn't work!

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 February 25th 2013, 5:04 pm

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

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 February 25th 2013, 11:26 pm

Both codes are not working. Confused

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 February 27th 2013, 2:12 am

bump

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 February 27th 2013, 2:17 am

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.


SLGray
Administrator
Administrator

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

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Toolbar 'Reputation' text

Post by JAN2XONLINE on February 27th 2013, 2:25 am

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!

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 February 27th 2013, 7:00 am

You're welcome.
Topic Solved & Locked


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


SLGray
Administrator
Administrator

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

http://fmthemes.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