1
wcrwcr
For x-movie users and coders
  • 2009/4/30 23:33

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi all

I´d like very much to have a direct link for download in the video page of x-movie.

in the modules/x_movie/x_movie_view.php

Wondering if is a too dificult thing to achieve.

Any help will be great.

Thanks

2
wrecked
Re: For x-movie users and coders
  • 2009/5/1 2:42

  • wrecked

  • Just popping in

  • Posts: 55

  • Since: 2006/12/5


nice idea, gl.
I switched to videotube..

It's sad that XOOPS still doesn't have a flash based video plugin :[

3
wcrwcr
Re: For x-movie users and coders
  • 2009/5/1 18:09

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Just to tease a bit

here follows the template where I GUESS the call for the direct download must be issued.

x_movie_view.html

<{include file="db:x_movie_navi.html"}>

<
center>
<
table>
<
tr><td><{$popvideo}></td></tr>
<
tr><td align="center"><{$link.player}></td></tr>
<
tr><td align="center"><{$link.bottombanner}></td></tr>
</
table>
</
center>

<
table>
<
th><{$link.adminlink}><{$link.title}></th>
<
tr><td>
<
table>
<
tr><td width="40%">
<
table>
<
tr><td class="odd"><b><{$lang_submitter}></b></td><td class="even"><{$link.submitter}></td></tr>
<
tr><td class="odd"><b><{$lang_rating}></b></td><td class="even"><a href="ratemovie.php?cid=<{$link.cid}>&lid=<{$link.id}>"><img src="images/rate<{$link.rate}>.gif" border="0" alt="<{$link.rating}>" title="<{$link.rating}>"width="66" height="14"></td></tr>
<
tr><td class="odd"><b><{$lang_size}></b></td><td class="even"><{$link.size}></td></tr>
<
tr><td class="odd"><b><{$lang_hits}></b></td><td class="even"><{$link.hits}></td></tr>
<{if 
$link.embed}>
<
tr><td class="odd"><b>EMBED:</b></td><td class="even"><{$link.embed}></td></tr>
<
tr><td class="odd"><b>Download:</b></td><td class="even"><!--<a href=<{$link.pathinfo_url}><b>Baixar</b></a>--></td></tr>
<{/if}>
<{if 
$link.videoget}>
<
tr><td class="odd" colspan="2" align="center"><{$link.videoget}></td></tr>
<{/if}>
</
table>
</
td>
<
td width="60%"><{$lang_description}><HR class="x_movie_hr"><{$link.description}></td></tr>
</
table>
</
td></tr>
</
table>
<!--<
div align='right'><small><a href='http://voicha.com/voice/' target='_blank'><b>X_Movie <{$lang_version}></b></a></small></div>-->

<
div style="text-align: center; padding: 3px; margin:3px;">
  <{
$commentsnav}>
  <{
$lang_notice}>
</
div>
<
div style="margin:3px; padding: 3px;">
<!-- 
start comments loop -->
<{if 
$comment_mode == "flat"}>
  <{include 
file="db:system_comments_flat.html"}>
<{elseif 
$comment_mode == "thread"}>
  <{include 
file="db:system_comments_thread.html"}>
<{elseif 
$comment_mode == "nest"}>
  <{include 
file="db:system_comments_nest.html"}>
<{/if}>
<!-- 
end comments loop -->
</
div>
<{include 
file='db:system_notification_select.html'}>


and here the partial commented line where i´m doing my try

<tr><td class="odd"><b>Download:</b></td><td class="even"><!--<a href=<{$link.pathinfo_url}><b>Baixar</b></a>--></td></tr>


the $link.pathinfo_url is not working as expected

4
Catzwolf
Re: For x-movie users and coders
  • 2009/5/1 19:52

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


You have comments around that, you need to remove them in order for it to show

<tr><td class="odd"><b>Download:</b></td><td class="even"><a href=<{$link.pathinfo_url}><b>Baixar</b></a></td></tr>

5
wcrwcr
Re: For x-movie users and coders
  • 2009/5/1 20:43

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi Catz

Thank you for your interest but, i´ve commented out that TRY cauz it´s not working, understand?

<a href=<{$link.pathinfo_url}>
returns me nothing

6
xsell
Re: For x-movie users and coders
  • 2009/5/3 19:51

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


did you get it to work .. i want the same too but i dont know how to do it

7
wcrwcr
Re: For x-movie users and coders
  • 2009/5/4 3:34

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


No, not yet xsell

8
xsell
Re: For x-movie users and coders
  • 2009/5/4 5:17

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


for me it look like we used the wrong tag instaed of =<{$link.pathinfo_url}> maybe we need to use something like
<a href=<{$link.url}>
or
<{$link.id}>

By the way Optikool supports this Module maybe he can give us a Hand

9
xsell
Re: For x-movie users and coders
  • 2009/5/4 5:46

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


Oh Man i Guess we are idiot's this is already in X_movie . From the module Setting Click Yes to the'Video Get Engine activate (No recommend)'

That Will Show a Download link on the Video Page ..:)

10
optikool
Re: For x-movie users and coders
  • 2009/5/4 5:46

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


I can add an option to x_movie so that it will allow you to let people download movies on the local server. I just finished my cloud tag module so I have some time. There is actually a newer version of the x_movie module running on one of my sites but I haven't put it out yet because of some fixes I hadn't had time to fix and also I had been wanting to add the ability to do a mass insert of movies using a comma delimited format.

wrecked: I didn't understand what you meant about plugin. If you are referring to x_movie not playing swf and flv files, my version of x_movie does play these files. Here are a couple of examples...

http://www.optikool.com/modules/x_movie/x_movie_view.php?cid=13&lid=76
http://www.optikool.com/modules/x_movie/x_movie_view.php?cid=13&lid=94
http://www.optikool.com/modules/x_movie/x_movie_view.php?cid=3&lid=26

If you were referring to something else please let me know.

Optikool


Login

Who's Online

239 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 239


more...

Donat-O-Meter

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

Latest GitHub Commits