September 08, 2024, 12:49:11 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to Revolution X, where Coding meets Graphics.
 
  Home Help Search Arcade Affiliates Staff List Calendar Members Login Register  
  Show Posts
Pages: [1]
1  Official / Announcements / Re: Just to keep everyone Informed on: September 21, 2009, 09:22:51 pm
I don't know about the domain.. Maybe http://revxcode.com or something? lol
2  Coding Community / Coding Snippets / Re: [code] Change Info Center text on: September 01, 2009, 04:51:32 pm
It's perfectly fine to have multiple of the same code, in case a certain one isn't working for whatever reason (maybe JS was updated and only one of the two codes works)

Just so long as they were both independently written (You didn't steal the base or whole code from someone else) it's fine Wink

Oh ok.. As you can see, this isn't really similar to the other code:
Code:
<script>
//Change Info Center Text

newtext = "NEW_TEXT"

var a = document.getElementsByTagName('div')
for(i=0;i<a.length;i++){
if(a[i].className == "catbg" && a[i].innerHTML.match(/Info Center/i)){
a[i].innerHTML = a[i].innerHTML.replace("Info Center",newtext);
}}
</script>
3  Coding Community / Coding Snippets / [code] Change Info Center text on: September 01, 2009, 04:30:02 pm
***I just saw Vitality already had a code to do this, it was just a little different than this one. This thread can be closed

This is the first code I've posted on a forum... A simple code that changes the Info Center's Header text:
Code:
<script type="text/javascript">
//Nick -- http://revolutionX.smfforfree3.com
//Change NEW TEXT and yourboard using the instructions below
var newIC = "NEW TEXT";
var nICkrocks = document.getElementsByTagName("div");
var nICk = nICkrocks.length;
while(nICk--){
    if(nICkrocks[nICk].className == "catbg" && nICkrocks[nICk].innerHTML.match("yourboard - Info Center")){
        nICkrocks[nICk].innerHTML=nICkrocks[nICk].innerHTML.replace("yourboard - Info Center",newIC);
    }
}
</script>

Instructions:
NEW TEXT | Replace this with whatever you want the new text to be; you can use HTML for this, as long as you use single quotes instead of double Wink
yourboard | Replace this with your forum's name (not URL)

Works in FireFox and Safari. I'm on a Mac and can't check IE right now since I'm not home :p
4  Coding Community / Coding Snippets / Re: User Widget on: August 29, 2009, 11:56:36 am
Awesome code Smiley
5  Coding Community / Coding Snippets / Re: Spoiler Tag on: August 15, 2009, 11:34:57 am
I like this alot. Thanks Moose  Cheesy
I just changed some of the things to make it an input button instead of text  Roll Eyes
6  Official / Announcements / Re: Slayers Shop Added! on: August 13, 2009, 06:56:59 pm
All the features you've been adding to the shop have been amazing. In my opinion, it's the best SMFforFree mod/code out there
7  Official / Announcements / Re: Slayers Shop Added! on: August 11, 2009, 09:10:43 pm
Slayer, I have an idea.

I think you should add an ID to the Top Ten Richest Members Globaly so the admin can  #blah{display: none;}; Tongue

I thought about suggesting this too
8  Official / Announcements / Re: Slayers Shop Added! on: August 09, 2009, 05:43:32 pm
I've just written in a Theme Chooser for users to change their Theme in the store. And Admin controls to Create/Edit/Delete their themes.

So, we don't have to reupdate our installation or anything? It's all automatic when you do it on your server?
9  Coding Community / Coding Snippets / Re: SMF For Free Store Mod v1 on: August 09, 2009, 05:40:25 pm
Thanks. Smiley


Why do you want that?  Shocked

Because I plan to "sell" certain features in the shop, eg. Coloring your user name across the board. Since that's on a member ID basis, I can control who gets it. I would "sell" that feature for money to active members.

Again, if you don't want to do it/it's not possible, that's fine
10  Coding Community / Coding Snippets / Re: SMF For Free Store Mod v1 on: August 09, 2009, 04:52:31 pm
I love the store; awesome job, slayer Smiley

1 suggestion:
When an item is bought, is there anyway to make it to where it sends a PM to the Root Admin (User 1) with who bought it and what the item was?

If not, it's fine
11  Coding Community / Coding Snippets / Re: Konami Code on: July 17, 2009, 04:00:00 pm
This is definitely one of the best SMFFF codes I've seen; thanks! Definitely using on my board
12  Graphics Community / Dark Themes / Re: Volcano on: June 16, 2009, 04:36:55 pm
Great theme. Almost as good as the Ice one imo.



btw, Comic Sans pwns Dx


13  Coding Community / Coding Snippets / Re: Automatic Color for Stickied Topics v2 on: June 16, 2009, 11:53:02 am
Just curious as to whether or not it's possible to change the "Sticky" text color.

eg. "Sticky: Forum Rules"

Is there anyway to make it say "Sticky: Forum Rules"  ?

I'm just sort of hesitant to use the <font> tag.

This is a great code, btw. Thanks
Pages: [1]
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