vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: [F] Random text? (Thanks Marc and Wrighty) - View Topic (Page 1 of 3)Page: 1 2 3
Topic Rating: *****
Printable View
This topic was locked 23rd Mar 08 at 7:00pm by Michael
Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 34
Joined:  
Reputation: 4%  


pmmsn
[F] Random text? (Thanks Marc and Wrighty) (22nd Mar 08 at 3:34am UTC)
Resolved
I don't know if this is possible, but i'd like a code to make like my custom title switch text, like the image randomizer.

possible?

Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Random text? (22nd Mar 08 at 4:19am UTC)
 
I don't know if this is possible, but i'd like a code to make like my custom title switch text, like the image randomizer.

possible?


Would this be available to all members, or just a few that you specify?

rroll.to— Shorten a link, rickroll your friends.
Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 34
Joined:  
Reputation: 4%  


pmmsn
Re: Random text? (22nd Mar 08 at 4:21am UTC)
No, it will be just for me and if any of my staff request it.

Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Random text? (22nd Mar 08 at 4:23am UTC)
 
No, it will be just for me and if any of my staff request it.


I'll get to this later today; off to bed shortly. {Smile}

rroll.to— Shorten a link, rickroll your friends.
Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 34
Joined:  
Reputation: 4%  


pmmsn
Re: Random text? (22nd Mar 08 at 4:29am UTC)
It's ok, take your time.

I know your working on this one and that image uploader in post. theres no rush.

Marc
vChat Developer
*****
I <3 Rossy

Posts: 3,388
Status: Offline
Gender: Male
Location: Ontario, Canada
Age: 33
Joined:  

Additional Groups:
Coding Team
***


Reputation: 40%  


pmwww
Re: Random text? (22nd Mar 08 at 6:23am UTC)
 
It's ok, take your time.

I know your working on this one and that image uploader in post. theres no rush.


This one shouldn't take too long. {Wink}

rroll.to— Shorten a link, rickroll your friends.
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Random text? (23rd Mar 08 at 1:06am UTC)
<script>
/*Random Custom Title
Coded By Wrighty
No Ripping, Reposting or Claiming*/

var ct = {

    list: ["I'm God","Rawr","Fear Me"],

    d: get('td','tag'),
    do: function(){
        var x = Math.floor(Math.random()*ct.list.length);
        for(i=0;i < this.d.length;i++){
            if(this.d[i].width=='20%'){
                this.d[i].innerHTML = this.d[i].innerHTML.replace(/\[w_ran\]/,this.list[x]);
            }
        }
    }
};
ct.do();
</script>


Global Footer


Edit:     list: ["I'm God","Rawr","Fear Me"],

Simply add more things in ... eg:     list: ["I'm God","Rawr","Fear Me","Watch me eat you"],

Also, to add this to your profile, make your custom title: [w_ran]. Also, that can be done for anyone else that wants the same random custom title! {Smile}
Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 34
Joined:  
Reputation: 4%  


pmmsn
Re: Random text? (23rd Mar 08 at 1:09am UTC)
Can I put HTML in the code? like if I want the text bold?

Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Random text? (23rd Mar 08 at 1:12am UTC)
Yup! {Smile}
Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 34
Joined:  
Reputation: 4%  


pmmsn
Re: Random text? (23rd Mar 08 at 1:28am UTC)
I just tried it on my test forum and it didn't work.

Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Random text? (23rd Mar 08 at 1:30am UTC)
Link?
Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 34
Joined:  
Reputation: 4%  


pmmsn
Re: Random text? (23rd Mar 08 at 1:33am UTC)
http://testforum1.virtualforums.co.uk/

If needed, you can join and i can make u staff, if needed.

Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Random text? (23rd Mar 08 at 1:37am UTC)
recopy, vF added a ; for me! {Sad}
Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 34
Joined:  
Reputation: 4%  


pmmsn
Re: Random text? (23rd Mar 08 at 1:39am UTC)
wat?

ok.

Tim
Senior Member
****
banned.

[Avatar]
The only easy day was yesterday.

Posts: 698
Status: Offline
Gender: Male
Location: Under your bed..in your closet..in your head
Age: 34
Joined:  
Reputation: 4%  


pmmsn
Re: Random text? (23rd Mar 08 at 1:41am UTC)
still not working {Sad}

 Printable View
Page: 1 2 3

All times are GMT+0 :: The current time is 6:12am
Page generated in 0.3053 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums