rejetto forum

Thunderchicken of Glory - 2.5.0 -

TSG · 24 · 17149

0 Members and 1 Guest are viewing this topic.

Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
NEW BUILD IS OUT NOW...  2.5 Requires at least HFS build 2.1d(082) to use all of the new features. Get it here, its still in testing:
http://www.rejetto.com/forum/index.php?PHPSESSID=98ac2f41fc228eeef41f08900acf25e1&topic=3791.msg1021139#msg1021139

Could run on an older build, but i would expect a few small glitches. As this uses the new graph colour option.

Download it from here:
http://www.rejetto.com/hfsfiles/That_Stevens_Guy/thunderchicken_of_glory/thunderchicken_of_glory.zip
« Last Edit: July 10, 2007, 03:25:56 PM by That_Stevens_Guy »


Offline Unknown8063

  • Occasional poster
  • *
    • Posts: 96
    • View Profile
The image thumbnails don't appear to be working in this version - the thumbnails are overlapping the filename text and each other.

However everything else is working smoothly.  Great job, this template is really turning out well.


Offline fabnos

  • Tireless poster
  • ****
    • Posts: 278
    • View Profile
    • Fabnos ~ Http File Server
Nice ...

all works well but there is a little thing I don't understand.

When I try launch WMP link is missed.

I've seen that link to song is this:

mss://192.168.0.205/.../.../song

What type of hyperlink is  ???

So I've made this change on template and changed in any section where appears this script:

Code: [Select]
href=\"mms://%host%%encoded-folder%%item-url%\"

with

Code: [Select]
href=\"http://%host%%encoded-folder%%item-url%\"
then HFS's Main Menu -> Other Options - > Open directly in browser -> *.htm;*.html;*.jpg;*.jpeg;*.gif;*.png;*.txt;*.swf;*.svg;*pdf;*mp3

I don't know if this the exact solution  :o

but now

 :)  all works fine  :D ;D

Last thing: if song's name contein this character (') [e.g. \\FREECOMFsg\Share\MyMusic\MP3\Joe Cocker\Unchain My Heart\04-The River's Rising.mp3] don't stream but play with WMP, so may be renamed in ....... The Rivers Rising.mp3, in this way works both.

Best regards

<<<fabnos>>>

[attachment deleted by admin]
« Last Edit: January 21, 2007, 08:39:19 AM by fabnos »
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 Giant Eagle

  • Moderator
  • Tireless poster
  • *****
    • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
mms:// is supposed to directly open the link in Windows Media Player, so there is no need to change it to http:// and create a MIME for mp3 files..

The problem that is causing the mms:// not working correctly is because the %item-url% is not defined inside the head of the template.

To make it work, find this line of code:
Code: [Select]
function unloadMp3(mp3) {document.getElementById('mp3'+mp3).innerHTML = "<div style=\"border-top:1px solid #fff;\" id=\"mp3%item-name%\"><a style=\"font-size:12px;font-weight:normal;\" href=\"javascript:onclick=loadMp3(\'"+mp3+"\');\">Stream</a>&nbsp;|&nbsp;<a style=\"font-size:12px;font-weight:normal;\" href=\"mms://%host%%encoded-folder%%item-url%\">Launch WMP</a></div>";}
And replace it with this:
Code: [Select]
function unloadMp3(mp3) {document.getElementById('mp3'+mp3).innerHTML = "<div style=\"border-top:1px solid #fff;\" id=\"mp3%item-name%\"><a style=\"font-size:12px;font-weight:normal;\" href=\"javascript:onclick=loadMp3(\'"+mp3+"\');\">Stream</a>&nbsp;|&nbsp;<a style=\"font-size:12px;font-weight:normal;\" href=\"mms://%host%%encoded-folder%"+mp3+"\">Launch WMP</a></div>";}


Offline maverick

  • Tireless poster
  • ****
    • Posts: 1052
  • Computer Solutions
    • View Profile
rejetto,

Can this forum's software SMF be configured to "word-wrap" the Code function?  It makes it very difficult to find the change made in Code when you have to scroll.  The above post is a good example.  I scrolled both lines of code and still haven't found what the difference is.  I also find the font size is to small.
maverick


Offline fabnos

  • Tireless poster
  • ****
    • Posts: 278
    • View Profile
    • Fabnos ~ Http File Server
Yes sometimes is very difficult.

In any case, if I've made the right copy and paste:

line 1:
Code: [Select]
href=\"mms://%host%%encoded-folder%%item-url%\">Launch WMP</a></div>";}
line 2:
Code: [Select]
href=\"mms://%host%%encoded-folder%"+mp3+"\">Launch WMP</a></div>";}

function unloadMp3(mp3) {document.getElementById('mp3'+mp3).innerHTML = "<div style=\"border-top:1px solid #fff;\" id=\"mp3%item-name%\"><a style=\"font-size:12px;font-weight:normal;\" href=\"javascript:onclick=loadMp3(\'"+mp3+"\');\">Stream</a>&nbsp;|&nbsp;<a style=\"font-size:12px;font-weight:normal;\" href=\"mms://%host%%encoded-folder%"+mp3+"\">Launch WMP</a></div>";}

In my environment works well

Tnx to G.E.

Ciao

<<<fabnos>>>
« Last Edit: January 21, 2007, 05:43:32 PM by fabnos »
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 Fysack

  • Tireless poster
  • ****
    • Posts: 598
  • present picture
    • View Profile
    • Admin
Awsome ;D After a debriefing of my brain, i find it no longer intresting to wanting to change someting in the layout of ToG. I will work with it, not against it. After all i have to look good inside the fanclub you know ;)
And could not help my self the other day wanting to listen to one more song, one more, one more, and one more..
And im eager to get back in :D
Every new album i discovered just blow me away, it almost give me goosebums on the dick lol
Thank you verry much for the shoutbox stuff, ill put my energy in that one for now  :)

   
GOD CAN READ YOUR MIND


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
I'm back from my 4x4 holiday.

How did I know that the mms link would have problems haha, i blame Giant Eagle and Flynsarmy  ;D im kidding of course, this link struggles majorly locally for some reason, but externally it seems to work ok-ish, so after all this discussion here is it working now? do we have a correct mms link for me to put in it?

Is the new javascripts working good, all these things i had no time to test thoroughly before i left on holiday.


Happy Australia Day Everybody!!!

""""The image thumbnails don't appear to be working in this version - the thumbnails are overlapping the filename text and each other.""""

Which browser are you using? you are obviously not doing something correctly because it works perfect for me. Make sure you have a no thumb image  ;)

"""""rejetto,

Can this forum's software SMF be configured to "word-wrap" the Code function?  It makes it very difficult to find the change made in Code when you have to scroll.  The above post is a good example.  I scrolled both lines of code and still haven't found what the difference is.  I also find the font size is to small."""""


Awesome Idea Maverick.


And so ends a catch up post, can someone please tell me the correct mms link please. thx, damn i missed my pc.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
Can this forum's software SMF be configured to "word-wrap" the Code function? 

no, idea.
maybe a change in the CSS is enough.
can't work on it now, but if any of you find the solution let me know.


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Yea you could just make a right margin or maybe padding is the prob, i cant tell. I have no idea how the forum works tho, its a bit ahead of my skills. Anyone with SMF skills want to have a go at it?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
it may just be a "wrap" setting. there is something like that in CSS, don't remember the name.


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
Code: [Select]
href=\"mms://%host%%encoded-folder%"+mp3+"\">Launch WMP</a></div>";}
found it, thx fabnos, .zip updated in a few mins.


Offline silverdevil

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
I can't use the function of "mp3 streaming", but other functions are allright.
Is there anything I need to do other than putting the file "mp3player.swf" to the right place and modify the template?
Following is what I modified, i put "mp3player.swf" in an invisible folder called "VIRTUAL".

function loadMp3(mp3) {document.getElementById('mp3'+mp3).innerHTML = "<div id=\"mp3%item-name%\"><object type=\"application/x-shockwave-flash\" width=160 height=20 data=\"/VIRTUAL/mp3player.swf?song="+mp3+"&autoplay=1\" bgcolor=\"#fff\"><param name=\"movie\" value=\"/VIRTUAL/mp3player.swf?song="+mp3+"\"/><param name=\"bgcolor\" value=\"#fff\"/></object><a style=\"font-size:12px;font-weight:normal;\" href=\"javascript:onclick=unloadMp3(\'"+mp3+"\')\">End Stream</a></div>";}
function unloadMp3(mp3) {document.getElementById('mp3'+mp3).innerHTML = "<div id=\"mp3%item-name%\"><a style=\"font-size:12px;font-weight:normal;\" href=\"javascript:onclick=loadMp3(\'"+mp3+"\');\">Stream</a>&nbsp;|&nbsp;<a style=\"font-size:12px;font-weight:normal;\" href=\"mms://%host%%encoded-folder%%item-url%\">Launch WMP</a></div>";}

I can't find the little blue bar.


http://lwj.twbbs.org/VIRTUAL/5.jpg


Offline TSG

  • Moderator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
The JS runs second to the mp3 section of the template. So it goes, mp3 section > loadmp3 function > unloadmp3 function > then it will go back to loadmp3 function to continue the cycle.

Latest mp3 code with your folder:
Code: [Select]
function loadMp3(mp3) {document.getElementById('mp3'+mp3).innerHTML = "<div id=\"mp3%item-name%\"><object type=\"application/x-shockwave-flash\" width=160 height=20 data=\"/VIRTUAL/mp3player.swf?song="+mp3+"&autoplay=1\" bgcolor=\"#EAEDF4\"><param name=\"movie\" value=\"/VIRTUAL/mp3player.swf?song="+mp3+"\"/><param name=\"bgcolor\" value=\"#EAEDF4\"/></object><a style=\"font-size:12px;font-weight:normal;\" href=\"javascript:onclick=unloadMp3(\'"+mp3+"\')\">End Stream</a></div>";}
function unloadMp3(mp3) {document.getElementById('mp3'+mp3).innerHTML = "<div style=\"border-top:1px solid #fff;\" id=\"mp3%item-name%\"><a style=\"font-size:12px;font-weight:normal;\" href=\"javascript:onclick=loadMp3(\'"+mp3+"\');\">Stream</a>&nbsp;|&nbsp;<a style=\"font-size:12px;font-weight:normal;\" href=\"mms://%host%%encoded-folder%"+mp3+"\">Launch WMP</a></div>";}

To me it sounds like you do not have the mp3 section in your template? It's below:

Code: [Select]
[file.mp3]
<tr class=off onmouseover="this.className='on'" onmouseout="this.className='off'">
<td class=rw style="border-left:0px;">%new% <a href="%item-url%">&nbsp;<img align=top src="/~img_file" alt=""> %item-name%</a>%comment%
<td class=rw align=center>%item-size%</td>
<td class=rw align=center>%item-modified%</td>
<td class=rw align=center width=160 style="background:#EAEDF4;">%item-dl-count%<br><div style="border-top:1px solid #fff;" id="mp3%item-name%"><a style="font-size:12px;font-weight:normal;" href="javascript:onclick=loadMp3('%item-name%');">Stream</a>&nbsp;|&nbsp;<a style="font-size:12px;font-weight:normal;" href="mms://%host%%encoded-folder%%item-url%">Launch WMP</a></div></td>
</tr>

You may need to modify/delete css/js to suit your tpl.


Offline silverdevil

  • Occasional poster
  • *
    • Posts: 3
    • View Profile
Quote
To me it sounds like you do not have the mp3 section in your template? It's below:

SORRY, I didn't say clearly enough.
I did have the mp3 section, but I didn't modify that part. So I didn't post it.
And I try using yours, but still it doesn't work.

this is my site (traditional chinese),
http://lwj.twbbs.org/music
and this is the template I am using.
http://lwj.twbbs.org/VIRTUAL/Orange_Blue_NO-LOGIN.tpl
PS: I put "mp3player.swf" in an invisible folder named "/VIRTUAL/".

I really hope someone could help me with this problem.
I've spent allday trying to solve it.