Post Reply 
Drag-and-Drop Resizable Flash...
Dec. 20, 2008, 03:31 PM
Post: #96
RE: Drag-and-Drop Resizable Flash...
(Dec. 18, 2008 05:24 AM)bugger Wrote:  We need some help for people who don't speak proxomitron. How do we get this wonderful working on sidki config?

I read the README file. Not very informative Sad

my version is "slightly" different from z12's, here is a step-by-step, including attachments, that should get you up-and-running on sidki's 1/2/08 config...


1) using your file manager of choice, open Proxomitron's html folder and create a NEW folder within it called My_HTML... html should now contain TWO folders, My_HTML and sidki_h_2008-01-02...

2) open your new My_HTML folder and place the contents (four files) of the attached .zip into that folder... nothing else needs done regarding "file management", so feel free to close your file manager...

3) using NOTEPAD (or equiv.), open your sidki config (i'm assuming you have it named default.cfg so any changes we make are automatically loaded in every time Proxo is powered up... do not use Proxo's "merge" function, it only CONFUSES the issue, trust me... Everybody "knows" NOTEPAD (or equiv.)...

4) within NOTEPAD, do a "find" (CTRL-F) for user css... NOTEPAD will take you to this filter, "Header Top Inject: User CSS on sel. Sites 7.04.05 (!nn !mos) [sd] (d.0)"...

5) directly UNDER that filter, "copy-and-paste" the following into NOTEPAD:
Code:
Name = "Header Top Inject: User CSS - Toggle Flash Resize {z12} (modified) [add]"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 16
Match = "(^(^<ProxHdrTop>))$STOP()"
Replace = "<link rel="stylesheet" type="text/css" media="all" href="http://local.ptron/My_HTML/tfr-mod.css" />\r\n"
observing to keep an "empty" line both before and after the filter, as you will see with the other filters in your NOTEPAD file...


6) you will note that you just pasted ABOVE a filter titled "Header Top Add: Initial JS Code 7.11.29 (ccw! !mos) [...] (d.r)"... BELOW this JS Code filter, "copy-and-paste" the following:
Code:
Name = "Header Top Add: User JS Code - Toggle Flash Resize {z12} (modified) [add]"
Active = TRUE
URL = "$TYPE(htm)"
Limit = 16
Match = "(^(^<ProxHdrTop>))$STOP()"
Replace = "<script type="text/javascript" src="http://local.ptron/My_HTML/tfr-mod.js"></script>\r\n"
again observing an "empty" line above and below the filter...


7) now in NOTEPAD, do a "find" (CTRL-F) for toggle flash, you will be taken to sidki's "<object>...: Toggle Flash" filter (I KEEP mine as Active = TRUE)...

8) ABOVE sidki's flash filter, "copy-and-paste" the following:
Code:
Name = "Toggle Flash Resize 1.3.2 {z12} (modified) [add]"
Active = TRUE
URL = "($TYPE(htm)|$TYPE(js)|$TYPE(vbs))(^$TST(keyword=*.flash.*))"
Limit = 5120
Match = "("
        "("
        "$NEST(<object(\s|"),"+</object >)|"
        "<object(^[a-z])(*/ object >&&(^*<object)*)|"
        "<embed(^[a-z])*>(^ [=a-z0-9])( </embed >)+"
        ")\0(^ </object >)(^ </textarea>)"
        "&&*"
        "&(*(swf|shockwave|flash|clsid:D27CDB6E-))"
        ")"
        "$SET(tfr=$GET(tfr)1)"
        "(($TST(script=*))$SET(1=\\")$SET(2=\\)|$SET(1=")$SET(2=))"
Replace = "<span class=\1proxoFlash_$GET(tfr)\1 style=\1display:block\1>"
          "<a title=\1Play Media\1 onmouseover=\1proxo.tfr.titleFlash(event)\1>"
          "<img alt=\1Toggle Media\1 src=\1http://local.ptron/My_HTML/player_play.png\1 style=\1border-style:none\1 /><\2/a>"
          "<br />"
          "<\2/span>"
          "<span class=\1drsElement\1 style=\1display:none\1>"
          "<textarea style=\1display:none\1>"
          "\0"
          "<\2/textarea>"
          "<\2/span>"
with an "empty" line above and below...


9) SAVE the NOTEPAD file (note that if you "exit" without saving, you will be PROMPTED to do so, UNLIKE proxo's "merge" function where most new users "assume" it is saved when in actuality it is NOT until the user MANUALLY does so)...

10) clear cache, reload the above config, browse to a site with flash, update us of your results...



Hope that helps in getting you up-and-running...
Keep us posted...


Attached File(s)
.zip  toggle-flash-files.zip (Size: 8.59 KB / Downloads: 706)
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Drag-and-Drop Resizable Flash... - ProxRocks - Nov. 27, 2008, 05:26 PM
RE: Drag-and-Drop Resizable Flash... - Oddysey - Nov. 27, 2008, 06:10 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 27, 2008, 07:57 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 27, 2008, 09:31 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 27, 2008, 11:42 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 28, 2008, 01:10 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 28, 2008, 01:20 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 28, 2008, 03:24 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 29, 2008, 05:49 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 29, 2008, 01:23 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 29, 2008, 02:23 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 30, 2008, 12:29 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 30, 2008, 04:20 PM
RE: Drag-and-Drop Resizable Flash... - Oddysey - Nov. 30, 2008, 08:10 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Nov. 30, 2008, 10:25 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 02, 2008, 12:24 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 02, 2008, 09:23 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 03, 2008, 12:20 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 07, 2008, 03:32 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 09, 2008, 03:28 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 09, 2008, 05:00 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 10, 2008, 12:00 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 10, 2008, 01:48 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 10, 2008, 03:50 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 10, 2008, 06:06 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 11, 2008, 12:38 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 11, 2008, 01:28 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 11, 2008, 01:51 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 11, 2008, 07:20 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 16, 2008, 01:17 AM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 16, 2008, 12:21 PM
RE: Drag-and-Drop Resizable Flash... - 43unite - Dec. 16, 2008, 06:12 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 16, 2008, 10:15 PM
RE: Drag-and-Drop Resizable Flash... - bugger - Dec. 18, 2008, 05:24 AM
RE: Drag-and-Drop Resizable Flash... - ProxRocks - Dec. 20, 2008 03:31 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 20, 2008, 01:40 PM
RE: Drag-and-Drop Resizable Flash... - z12 - Dec. 21, 2008, 02:15 AM
RE: Drag-and-Drop Resizable Flash... - bugger - Dec. 21, 2008, 10:03 PM
RE: Drag-and-Drop Resizable Flash... - bugger - Jan. 14, 2009, 10:16 PM
RE: Drag-and-Drop Resizable Flash... - Mele20 - Jan. 15, 2009, 08:32 AM
RE: Drag-and-Drop Resizable Flash... - bugger - Oct. 28, 2009, 09:01 AM

Forum Jump: