Simple Machine Codes
April 19, 2024, 07:46:05 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to SMC, the best place for your SMF For Free Codes
 
  Home Help Search Arcade Gallery Affiliates Code Index Staff List Calendar Members Login Register  

Change "Custom Title" Text

Pages: [1]   Go Down
  Print  
Author Topic: Change "Custom Title" Text  (Read 730 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« on: May 29, 2007, 04:22:03 pm »

Took me awhile but I finnally finished this code that was requested by LittleKidder,.  Here is the code.
You can accually change any words that are in the post profile area, the Custom title, Member group and more!  You may use HTML in the "NEW TEXT" part, just don't use double quotes, use single.

Place in Headers or Footers:

Code:
<script>
function replace_text(find,replace){
//Created by Agent Moose at smcodes.smfforfree3.com
a = document.getElementsByTagName("div");
for (i=0;i<a.length;i++){
if(a[i].className=="smalltext" && a[i].innerHTML.match(find)){
a[i].innerHTML=a[i].innerHTML.replace(find,replace);
};};};
replace_text("OLD TEXT","NEW TEXT");
</script>
« Last Edit: May 01, 2008, 03:07:36 pm by Agent Moose » Report Spam   Logged

Share on Facebook Share on Twitter

deathwilldie
100 Club Member

Offline Offline

Posts: 214


View Profile WWW
« Reply #1 on: May 30, 2007, 08:08:45 pm »

This is pretty interesting thanks for making it.
Report Spam   Logged

Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« Reply #2 on: May 30, 2007, 11:48:58 pm »

No problem.  It was easy once I found a tutorial for another code.
Report Spam   Logged

1337alex
Starter

Offline Offline

Posts: 5


View Profile
« Reply #3 on: May 01, 2008, 03:29:28 am »

GOod tutorial nice job xD
Report Spam   Logged
legend 1234
100 Club Member

Offline Offline

Gender: Male
Posts: 461


Legend 1234


View Profile WWW
« Reply #4 on: May 02, 2008, 04:06:20 am »

oo nice man

great work

legend 1234
Report Spam   Logged

GodGurl25
xXGodGurl25Xx
Members

Offline Offline

Gender: Female
Posts: 32



View Profile WWW
« Reply #5 on: May 02, 2008, 08:37:56 pm »

this is a good code. but it seems like it is not working for me. What should I do?
« Last Edit: May 03, 2008, 12:10:36 am by GodGurl25 » Report Spam   Logged

Hope I'm welcum here guys.
from:
xXGodGurl25Xx
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy