11
xXMaartenXx
Shoutcast Module

i try to fix the mylinks module so i can put some shoutcast streams on my site. I use now iframes and that sucks

(i have 2 shoutcast files (PHP) for some 1 who can create a module with it)

script output ex:http://www.audioplace.nl/mp3/modules/shoutcast/ddance.php

Now i have a problem with including the php files in the mylinks_link.html file (https://xoops.org/modules/newbb/viewtopic.php?topic_id=34809&forum=4 )

Can some 1 create a module or help with the include problem?



12
xXMaartenXx
include php file in mylinks_link.html

This is the mylinks_link.html template file

Quote:
<table class="outer" width='100%' cellspacing='0'> <tr> <td class="head" colspan='2' align='left' height="18"><{$lang_category}> <{$link.category}></td> </tr> <tr> <td class="even" width='60%' align='left' valign="bottom"><a href='visit.php?cid=<{$link.cid}>&lid=<{$link.id}>' target='_blank'><img src='images/link.gif' border='0' alt='<{$lang_visit}>'><b><{$link.title}></b></a></td> <td class="even" align='right' width='40%'><b><{$lang_lastupdate}></b><{$link.updated}></td> </tr> <tr> <td class="odd" colspan='2' align='left'><{$link.adminlink}><b><{$lang_description}></b><br /> <{if $link.logourl != ""}> <a href="<{$xoops_url}>/modules/mylinks/visit.php?cid=<{$link.cid}>&lid=<{$link.id}>" target="_blank"><img src="<{$xoops_url}>/modules/mylinks/images/shots/<{$link.logourl}>" width="<{$shotwidth}>" alt="" align="right" vspace="3" hspace="7"/></a> <{/if}> <center><?PHP include('<{$xoops_url}>/modules/shoutcast/<{$link.description}>'); ?><iframe src=<{$xoops_url}>/modules/shoutcast/<{$link.description}> width=400 height=260></iframe><br /></td> </tr> <tr> <td class="even" colspan='2' align='center'><b><{$lang_hits}></b><{$link.hits}> <b>&nbsp;&nbsp;<{$lang_rating}></b><{$link.rating}> (<{$link.votes}>)</td> </tr> <tr> <td class="foot" colspan='2' align='center'><a href="<{$xoops_url}>/modules/mylinks/ratelink.php?cid=<{$link.cid}>&lid=<{$link.id}>"><{$lang_ratethissite}></a> | <a href="<{$xoops_url}>/modules/mylinks/modlink.php?lid=<{$link.id}>"><{$lang_modify}></a> |<a href="<{$xoops_url}>/modules/mylinks/brokenlink.php?lid=<{$link.id}>"><{$lang_reportbroken}></a> | <a target="_top" href="mailto:?subject=<{$link.mail_subject}>&body=<{$link.mail_body}>"><{$lang_tellafriend}></a> | <a href="<{$xoops_url}>/modules/mylinks/singlelink.php?cid=<{$link.cid}>&lid=<{$link.id}>"><{$lang_comments}> (<{$link.comments}>)</a></td> </tr> </table> <br />


the next problem is this: Quote:
<center><?PHP include('<{$xoops_url}>/modules/shoutcast/<{$link.description}>'); ?><iframe src=<{$xoops_url}>/modules/shoutcast/<{$link.description}> width=400 height=260></iframe><br /></td>


When i put in the discription of the link test.php the file test.php is showing up in the discriptionbox. Now i don`t want an iframe i want the php inlude in the discription like you do in php files with--> <?PHP
include('<{$xoops_url}>/modules/shoutcast/<{$link.description}>');
?>

But the temp file is .html the php include is not showing up. Can i do this on a other way ?

I have try to change mylinks_link.html in _link.php in all the mylinks files but it is not working.......



13
xXMaartenXx
Re: How to change module directory name

Ok bedankt



14
xXMaartenXx
How to change module directory name

What have i to change to get my own directoryname for the modules i use?

example: I use the F.A.Q module but now is the dir name modules/xoopsfaq/
But the faq are not the xoopsfaq so i want to change this in modules/faq


And the same for the downloads module. It is now modules/mydownloads/ i just want modules/downloads



I know i have to change xoops_version.php and what more?

Some 1 know?



15
xXMaartenXx
banners.php error:

when i go to mysite.com/banners.php i see this:



Error:



???????

Some 1 know this problem? Or what can i do?

chmod don`t help......

banners.php is the page where clients can login and check stats.......



16
xXMaartenXx
Re: Podcast rss feed module

Never mind Podcast sucks



17
xXMaartenXx
Podcast rss feed module

I try to get some Podcast rss feeds in some rss modules.

But it is not working

Some 1 know how to make this work?

ex.http://www.trancefuryradio.com/podcasts.php



18
xXMaartenXx
banners.php Error:

when i go to mysite.com/banners.php i see this:


Quote:
Error:



???????

Some 1 know this problem?



19
xXMaartenXx
Re: Mylinks description (iframe)

ok done.

I think i have fixt it on the right way ( it is working ;) )

mylinks/templates file mylinks_link.html row 14


Quote:
<center><iframe src=<{$xoops_url}><{$link.description}> width=400 height=260></iframe><br /></td>


now if you put yourpage.php in the description of your "link" you see in the iframe yourpage.php

You have to upload your files into <{$xoops_url}>



20
xXMaartenXx
Mylinks description (iframe)

Can i change in some way the module 'MyLinks' so i can put an iframe in the description?

When i put an iframe now in the description i just see the html tekst.

Thanks!




TopTop
« 1 (2) 3 4 »



Login

Who's Online

170 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits