rejetto forum
May 24, 2012, 03:54:45 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: Thunderchicken of Glory - 2.5.0 -  (Read 5071 times)
0 Members and 1 Guest are viewing this topic.
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« on: January 20, 2007, 04:47:25 AM »

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, 10:25:56 AM by That_Stevens_Guy » Logged

Unknown8063
Experienced poster
***
Offline Offline

Posts: 96


View Profile
« Reply #1 on: January 20, 2007, 09:21:19 PM »

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.
Logged

fabnos
Tireless poster
****
Offline Offline

Italy Italy

Posts: 278



View Profile WWW
« Reply #2 on: January 21, 2007, 02:24:21 AM »

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  Huh?

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

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


with

Code:
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  Shocked

but now

 Smiley  all works fine  Cheesy Grin

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, 02:39:19 AM by fabnos » Logged

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
Giant Eagle
Moderator
Insane poster
*****
Offline Offline

Netherlands Netherlands

Posts: 533


>=3 RAWR!

no.body056@gmail.com
View Profile WWW
« Reply #3 on: January 21, 2007, 04:59:44 AM »

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:
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:
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>";}
Logged

Rest in peace 500mhz server, you served me well...
New 1500mhz server DOA'ed on me >_>
New 2400mhz server up and running again Grin

maverick
Insane poster
*****
Offline Offline

Posts: 1056


Computer Solutions


View Profile
« Reply #4 on: January 21, 2007, 07:46:42 AM »

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.
Logged

maverick
fabnos
Tireless poster
****
Offline Offline

Italy Italy

Posts: 278



View Profile WWW
« Reply #5 on: January 21, 2007, 08:16:25 AM »

Yes sometimes is very difficult.

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

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

line 2:
Code:
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, 11:43:32 AM by fabnos » Logged

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
rejetto forum
« Reply #5 on: January 21, 2007, 08:16:25 AM »

Do you like this software? Consider even $2
 Logged
Fysack
Insane poster
*****
Offline Offline

Norway Norway

Posts: 378


present picture


View Profile WWW Email
« Reply #6 on: January 21, 2007, 06:40:42 PM »

Awsome Grin 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 Wink
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 Cheesy
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  Smiley

   
Logged

it`s no greater pleasure, than someone is happy that you exist
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #7 on: January 26, 2007, 12:34:39 AM »

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  Grin 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  Wink

"""""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.
Logged

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #8 on: January 26, 2007, 12:40:07 AM »

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.
Logged
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #9 on: January 26, 2007, 12:48:00 AM »

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?
Logged

rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #10 on: January 26, 2007, 01:37:41 AM »

it may just be a "wrap" setting. there is something like that in CSS, don't remember the name.
Logged
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #11 on: January 26, 2007, 06:15:30 AM »

Code:
href=\"mms://%host%%encoded-folder%"+mp3+"\">Launch WMP</a></div>";}

found it, thx fabnos, .zip updated in a few mins.
Logged

silverdevil
Occasional poster
*
Offline Offline

Posts: 3


View Profile
« Reply #12 on: January 26, 2007, 07:29:46 AM »

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
Logged
TSG
Moderator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #13 on: January 26, 2007, 08:53:18 AM »

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:
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:
[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.
Logged

silverdevil
Occasional poster
*
Offline Offline

Posts: 3


View Profile
« Reply #14 on: January 26, 2007, 12:18:37 PM »

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.
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 22, 2012, 07:00:25 PM