| 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: |
| [ C ] Replacing Text with other Text | |
|---|---|
| Tweet Topic Started: Dec 10 2012, 10:01 PM (548 Views) | |
| -Neo Metallix- | Dec 10 2012, 10:01 PM Post #1 |
|
Metal Overlord
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Board Address: Sonic Blast! Board Software: ZetaBoards Description: What I'm trying to do is have a code that is placed ONLY in one skin that replaces certain text to display another word but being ONLY in one skin. I want this skin to change the forum name and the only way to do that is through a code changing some text but I was not successful in trying to do that myself so I was hoping someone with Javascript knowledge would whip something up for me! Thanks!
|
![]() |
|
| Pete B | Dec 11 2012, 06:51 PM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
This is easy, but what do you mean by the forum name? Just what appears in the navigation trail? For example, in bold: ZetaBoards & InvisionFree » ZetaBoards Support & Resources » ZetaBoards Requests » Codes & Modifications » Replacing Text with other Text That bit? |
![]() |
|
| -Neo Metallix- | Dec 11 2012, 08:22 PM Post #3 |
|
Metal Overlord
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Yes and any text that may be on the forum(forum name, description, etc) as well. On my forum it refers to it as Sonic Blast and =SB= for short and I am wanting to change anything like that to say Tails Blast for a specific skin I have.
Edited by -Neo Metallix-, Dec 11 2012, 08:24 PM.
|
![]() |
|
| SlyCooperFan1 | Dec 11 2012, 11:37 PM Post #4 |
![]()
Coder
![]() ![]() ![]() ![]() ![]() ![]()
|
As I understand it, there is no efficient way to simply take the entire page, replace any instance of "Sonic Blast" with "Tails Blast," and spit the page back out. Especially every single time someone loads the page. But if we just dictate certain places where to replace the text, that'd make it a whole lot easier. Below is a code you can use that will: change the name of the forum in the navigation system (as Pete showed two posts above this one), replace the title on the index of the forum, and replace "Sonic Blast" and "=SB=" with whatever you want in the forum descriptions and titles. This belongs in the Layout of the theme you want the code to apply to. Put it at the very, very bottom of the layout. You should not edit anything other than what is in between the quotation marks in the first four lines.
EDIT: Forgot the script tags. xD Edited by SlyCooperFan1, Dec 11 2012, 11:38 PM.
|
![]() |
|
| -Neo Metallix- | Dec 11 2012, 11:48 PM Post #5 |
|
Metal Overlord
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Wow, thank you!
|
![]() |
|
| SlyCooperFan1 | Dec 12 2012, 12:20 AM Post #6 |
![]()
Coder
![]() ![]() ![]() ![]() ![]() ![]()
|
You're very welcome! |
![]() |
|
| Eccentric Feline | Dec 12 2012, 08:54 AM Post #7 |
|
梦想 ツ
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Completed! Your request has been completed. If you have any questions or concerns regarding the state of your request, please feel free to contact me via PM. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Closed Requests · Next Topic » |
| Track Topic · E-mail Topic |
3:26 PM Jul 11
|


![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)
Thanks!



3:26 PM Jul 11