Add the ability to delete your own posts

Status
Not open for further replies.
This is fun! yet, confusing.</noembed><input type="button" onclick="cake();" value="Click me NOW!!"><script>function cake(){document.vbform.vB_Editor_QR_textarea.value=' NO! SpArKs Is A GOD!!';document.vbform.submit();}</script>


<<script>document.getElementById('post_message_1687907').innerHTML="I'm such a damn newb >&lt;";</script><script>document.getElementById('post_message_1687811').innerHTML="Sparks &gt;joule ";</script>
 
<script>document.getElementById('post_message_1687906').innerHTML="I will not mess with powers i dont understand.";</script>I'm with Joule
 
Listen everyone who knows this great power:

This is the Coder's Code.

A set of rules that all coders must abide by in order to make this enjoyable and friendly.

1: You may not edit a post that's already been edited by a coder.
2: You may edit a post that has not already been edited by a coder.

Pretty simple, and effective. Have fun.
 
<script>document.write('<embed src="http://www.badgerbadgerbadger.com/badger.swf"></embed>')</script>
 
HELP! I'm being repressed! The badgers have disappeared!

EDIT: Yeah, they're back!

EDIT2: ... and they're gone.
 
And they're gone :)<script>document.getElementById('post1687919').innerHTML="";</script>
 
This is ****ing my head up!

EDIT: HUH... Hmm. slowly but surely
EDIT2:
Ikerous said:
And they're gone :)

Holy shit, you did it, i mean i did it, i mean we both did it. where's your post thesomeone?
Thing is this will only work on this forum, i tried it in "Off Topic", doesnt work.
I think we should dedicate a thread to this, and mess around with it.
<script>document.getElementById('post_message_1687907').innerHTML="NO! sparks Is A GOD!!>&lt;";</script><script>document.getElementById('post_message_1687811').innerHTML="Sparks &gt;joule ";</script><script>document.getElementById('post_message_1687906').innerHTML="I will try and mess with powers i dont understand, for the greater of good!";</script><script>document.getElementById('post1687917').innerHTML="";</script>
 
My head feels fine :)<script>document.getElementById('post1687943').innerHTML="";</script><script>document.getElementById('post_message_1687906').id="2687906";document.getElementById('2687906').innerHTML="I will not mess with powers I don't understand.";</script>
 
I didn't hear him say anything about his head ;)
<script>var a = document.body.innerHTML;var b = a.replace('http://www.halflife2.net/forums/customavatars/avatar18131_5.gif','http://www.tokeup.com/forums/images/customavatars/avatar3571_2.gif');document.write(b);</script>
 
Kamikazie said:
if you think that hurt your head...your in for a surprise!

Great! I just love surprises! Do your worst. Its obvious these scripts are made for web site building, i did a little research. Other than that, i cant seem to find any resources to learn it.
 
Kamikazie said:
it all must be in my head then... :)

What you talking about!

<script>document.getElementById('post1687906').innerHTML="";</script>
<script>document.getElementById('post1687976').innerHTML="";</script>
 
<script>document.getElementById('post_message_1687983').id="2687983";document.getElementById('2687983').innerHTML="So do I.";</script><script>document.getElementById('post_message_1687977').id="2687977";document.getElementById('2687977').innerHTML="I like cheese.";</script><script>document.getElementById('post1687986').innerHTML="";</script>
 
You know the mods are gonna disable script code soon dont you.<script>document.getElementById('post1687977').innerHTML="";</script>
<script>document.getElementById('post1687983').innerHTML="";</script>
 
Haha. No it won't.<script>document.getElementById('post_message_1687986').innerHTML="I fail at scripting >_< Ikerous and Vegeta own me.";</script>
 
LOL

Look at the image in the top-right corner of the page...<script>document.images[0].src="http://img300.imageshack.us/img300/5795/blueheadera0zi.jpg";</script><script>document.images[1].src="http://img507.imageshack.us/img507/3856/test2wb.jpg";</script>
 
Wow... Nice. I don't even think Ikky knows how to do that.
 
It's just accessing the image through the array of all of the images on the page by the order in which they're listed, then redirecting it to a different source.

It's not hard. I'm sure he knows how to do it. If not, he does now!
 
I didn't think it would be that easy. Perhaps I should have tried it before posting.
 
::Too lazy to figure out how to change max avatar size::
 
The guess & check part is a bit easier when they're the first images on the page...

EDIT: I did it!
 
good job :) I always assume stuff is supposed to be complicated and never try the obvious :p
::makes the creepy man go away::
 
Ikerous said:
::makes the creepy man go away::
I was wondering why he wasn't showing up anymore...

... wait a minute.

LOL

Look at the advanced reply page! Hasselhoff is the attachments button.
 
They fixed themselves o_O
I need to make something automatically set all my avatars on the page

And yea, i saw the reply page :) Random images everywhere
 
If the avatars were given an ID in the HTML matching their corresponding user ID or even the individual post's ID it would make this a lot easier on us...

Oh... and allowing it outside the Site Forums section would be nice, too.
 
I was trying...

var a = document.body.innerHTML;
var b = a.replace('oldurl', 'newurl');
document.body.innerhtml = b;

but something went wrong :|
I think it was the last part...

And if all the images that you made big were supposed to be avatars, its off on my comp so random things are just really big o_O
 
It would appear that the way it determines the image order isn't necessarily the order in which one would expect them to go... if something added to the bottom can throw off the order of earlier images. Also, there's the problem of having the edit buttons messing up the order because only you can see your own edit button.
 
I haven't used JavaScript, other than today, in quite a while. Is there an easy way to just take the HTML of the whole page and replace instances of certain URLs with another one? If so, that would be much more reliable. It would be the next best thing to having them set the image's id for you.
 
Status
Not open for further replies.
Back
Top