rejetto forum

ToG News

TSG · 27 · 13794

0 Members and 1 Guest are viewing this topic.

Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
OK ToGers, next release will be posted in .rar aswell as .zip, we are also looking into making an executable that will auto update the template with the click of a button :) this is a long way off tho, maybe i will post an executable .rar aswell for those too lazy to extract manually...

on that note, i have identified several small bugs and made some improvements for 2.9.1. , 2.9.1 will also sport a beta of a updating statistics panel using an AHAH solution, thanks to Giant Eagle and rejetto :) You'll just have to ignore the .htm requests in the log... until HFS can hide embedded .htm sections, rejetto is looking into it.

I will update 2.9.1 without the AHAH and have 2.9.1 normal release and 2.9.1+AHAH release. The ToG will be one of, if not, the first template to ever support an updating statistics panel :)

when i have the time, i will also make a more intuitive online installation guide and readme, just excuse the hard to read text file until i can get the time to do so.


Offline Giant Eagle

  • Moderator
  • Tireless poster
  • *****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
Server statistics is not the only thing that can be done using AHAH, its just only the beginning ;D


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Ye i cant wait to implement it further, we can make a godly upload page with this stuff :)

One question, i cant get it to work in IE now.... the method you had wasn't working so i deleted it :P i found adding 1 to the link in the loop worked but, after say 50 updates :P HFS was receiving for example... stats.htm?11111111111111111111111111111111111111111111111111, reckon you could make it simply count up? so each time it loops it adds on 1 so.... stats.htm?1, stats.htm?2 :D im close but i need to slice the url or something...

Im going to try converting the number to an int :P i left it as a string.
« Last Edit: July 26, 2007, 02:40:14 AM by That_Stevens_Guy »


Offline Giant Eagle

  • Moderator
  • Tireless poster
  • *****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
>_> you implemented it wrong.. always accusing me :P math.random() is your friend


Offline fabnos

  • Tireless poster
  • ****
    • Posts: 278
    • View Profile
    • Fabnos ~ Http File Server
Server statistics is not the only thing that can be done using AHAH, its just only the beginning ;D

Well,
after have understood that AHAH isn't a  :D  or a  ;D

what others implementations can be made with AHAH in your tpl  ???

Give also us, common people,  some hints  ;)

ciao

fn
E allora Dio creĆ² l'uomo, gli diede un cervello ed un pene ma non sangue sufficiente a farli funzionare  contemporaneamente.
_______
So, God created the man.
It gave him a brain and a penis.
Unfortunately not enough blood to contemporarily bedew them


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
>_> you implemented it wrong.. always accusing me :P math.random() is your friend

i did ? its working tho... i blame you.

oh wait ur referring to my old code :P

Give also us, common people,  some hints  ;)

lol its hard to explain fabnos, its a mixture of javascript and xml to update page content...

http://en.wikipedia.org/wiki/AHAH

If you want to preview it in action...

http://tog.kicks-ass.net:100
-- i have it set to 5 seconds at the moment, i have limited the number of simultaneous IP's to 5, so wait your turn if it replies busy.


Offline radd

  • Tireless poster
  • ****
    • Posts: 145
    • View Profile
i thought it just as simple as adding <meta http-equiv="Refresh" content="1" /> to refresh page.. haha. just continue your nice work, im sure it will be something special. (even updating server stats means very special to me)


Offline Foggy

  • Tireless poster
  • ****
    • Posts: 806
    • View Profile
I really like how the statistics update now, its so much better then the whole page refreshing. :)


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs

Offline radd

  • Tireless poster
  • ****
    • Posts: 145
    • View Profile

Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Good cause i'm writing the new README :P i'll have it out by the weekend i think.


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
ToG has DivX player support again. Seems locally it gives errors. But Externally its ok.

Also, users can set the player as 4:3 aspect ratio by putting <script type="text/javascript">var Va="363"</script> into the comment field of a folder :)
« Last Edit: August 08, 2007, 04:02:45 PM by That_Stevens_Guy »


Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
TsG,

Part of the code into the DivXWebplayer SDK to have a common look and feel for all browsers

Code: [Select]
<center>
            <object id="ie_plugin" >
             </embed>
             </object>
</center>

    <script type="text/javascript">

    //
    // This code detects which browser we are
    // running into (IE or others) and assigns
    // the correct element (object or embed) to
    // the "plugin" variable, that we will use.
    //

    var plugin;

    if(navigator.userAgent.indexOf('MSIE') != -1)
    {
        plugin = document.getElementById('ie_plugin');
    }
    else
    {
        plugin = document.getElementById('np_plugin');
    }
    //
    // This is a local JS function used by our form
    // element to call the plugin functions using
    // the "plugin" variable that we defined above
    //

    function openNewMovie()
    {
        var url = document.forms['videoSelector'].movie.value;

        if(url != '')
        {
            plugin.Open(url);
        }
    }
 </script>

TCube
Make it idiot-proof and I will make a better idiot


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
What does that do?

I have noticed the skin is different depending on the browser...


Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
Exactly,  so if U dont mind with the DivX official skin to the webplayer, here it goes for all browsers

Code: [Select]
<object classid="clsid:67DABFBF-D0AB-41fa-9C46-CC0F21721616"
            width="320" height="192"
            codebase="http://go.divx.com/plugin/DivXBrowserPlugin.cab">

      <param name="autoPlay" value="Your choice" />
      <param name="previewMessage" value="Your choice" />
      <param name="previewMessageFontSize" value="Your choice" />
      <param name="src" value="../../videos/Your choice.divx" />

      <embed type="video/divx" src="../../videos/Your choice.divx"
             width="Your choice" height="Your choice"
             autoPlay="Your choice"
             previewMessage="Click here to play" previewMessageFontSize="Your choice"
             pluginspage="http://go.divx.com/plugin/download/">
      </embed>
    </object>


TCube

p.s : I choosed the Stage6 layout with the R.V Brooks template (background color black) not the DivX.com one. Then also Opera still differ with JavaScript to allow people to select the video from a drop-down list but that's another story  ;)
« Last Edit: August 09, 2007, 05:57:58 AM by TCube »
Make it idiot-proof and I will make a better idiot