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 Inbox text at user links; By Stefan
Topic Started: Jan 23 2010, 01:02 AM (146 Views)
Reid
Member Avatar
È una trappola!

This topic has been moved from our official support board.

Originally posted by: Stefan
[CODE
 
Change Inbox text at user links]
Quote:
 
<script type='text/javascript'>
<!--
// Change the Inbox 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=Msg&CODE=01') != -1) {
s = a.innerHTML
a.innerHTML = s.replace(/Inbox/, 'Messages')
break
}}
// -->
</script>

The code changes the 'Inbox' text at

My Controls · Inbox (0) · View New Posts · My Assistant

When you change your Inbox name to something else at your User CP, the 'Inbox' text at the userlinks menu bar stays the same, so the code will function regardless of that change.

Put in Admin CP->Board Wrappers->Header & Body, directly after <% BOARD HEADER %>. Change the red text to whatever you want.
If you use Markup's New PM flasher, this code must be inserted after Markup's code.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply