We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
[CODE] Change 'My Controls' to 'User CP'; Thanks to ticlo/Stefan; By SoftVision
Topic Started: Jan 25 2010, 09:23 AM (66 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: SoftVision
[CODE
 
Change 'My Controls' to 'User CP'; Thanks to ticlo/Stefan]
Quote:
 
<script type='text/javascript'>
<!--
// Change the My Controls text at the user links
// code by ticlo/Stefan

e = document.getElementById('userlinks')
a = e.getElementsByTagName('A')
for (i =0; i < a.length; i++) {
if (a.href.indexOf('act=UserCP&CODE=00') != -1) {
s = a.innerHTML
a.innerHTML = s.replace(/My Controls/, 'User CP')
break
}}
// -->
</script>


Board Wrappers-> Headers & Body-> <% BOARD HEADER %>
I just modified the code by ticlo/Stefan. Change the red to any other text u wanna replace. The red will be the new text. The green is the link after index.php which u have to change. eg.index.php?act=Arcade
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply