91
optikool
Re: x_movie module installation help
  • 2007/6/26 21:47

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


You can export the tables if you have phpmysqladmin and import them after. You will still need to add the dimension for each movie in the database if you want them to appear correctly. I believe the default is set to 0.

92
BroHam
Re: x_movie module installation help
  • 2007/6/26 22:06

  • BroHam

  • Just popping in

  • Posts: 100

  • Since: 2007/3/31


Thanks for the answer, but I ended up with the fresh install and letting go of the vids I had; no biggie.

As for bugs, the version I got from you today is similar to the one I got not too long ago from someone (mrphilong?, you?); I can't remember where I got it.

Anyway the similarity is when trying to submit a film after installing the mod. You get a blank screen when trying to submit.
This is due to presumed errors in file tpl_imgtype.php with calling for class/Snoopy.php in 5 or 6 six places, which is a capital error. The file is snoopy.php. There is also an instance of class/Snoopy.class.php etc, and .class is an error. You might want to update that file in your archives.

Fixing those errors permit me to submit vids, including divx urls. Awesome, thanks for your work, and I look forward to your future modifications.
I don't know.

93
optikool
Re: x_movie module installation help
  • 2007/6/26 22:27

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


Those errors where actually fixed. I must have giving you the wrong version. I will post the version I'm running on my site when I get home in a couple hours. Thanks for the update.

94
jayjay
Re: x_movie module installation help
  • 2007/8/22 12:34

  • jayjay

  • Not too shy to talk

  • Posts: 175

  • Since: 2003/9/10


@all

Great module! I see a lot of dead links in this thread, so here is what you should do to get the latest version:

1: download original module x_movie 1.7 at rc-net.jp or xoopscube.jp.

2: download the custom version on voicha.com.

3: overwrite the original module with the custom version and upload the result to the XOOPS modules folder

4: edit the system module
overwrite system/blocks/system_blocks.php (backup old version first!)

add this in system/language/english/blocks.php:
define("_MB_X_MOVIE_NEW","New Movie File");
define("_MB_X_MOVIE_DAMAGE","Damaged Movie File");
define("_MB_X_MOVIE_REVISION","Movie File Revision");

You can do this for your own language too. Hope the translation is okay

5: some things aren't translated automagically, so you need to edit these files:

templates/x_movie_navi.html
<TABLE border='0' width='100%'>
<
TR><TD class="x_movie_navi" width='100%'>
<
a href="<{$xoops_url}>/modules/x_movie/index.php">Index</a>&nbsp;&#8226;&nbsp;
<a href="<{$xoops_url}>/modules/x_movie/list.php">List</a>&nbsp;&#8226;&nbsp;
<a href="<{$xoops_url}>/modules/x_movie/topten.php?hit=1">Top Ten Hits</a>&nbsp;&#8226;&nbsp;
<a href="<{$xoops_url}>/modules/x_movie/topten.php?rate=1">Top Ten Rating</a>&nbsp;&#8226;&nbsp;
<a href="<{$xoops_url}>/modules/x_movie/submit.php">Submit</a>
</
TD></TR></TABLE>


language/english/main.php add at the bottom
define("_MD_UPLOAD""Upload");        //    add by NAO8
define("_MD_X_MOVIE_RATINGSCALE","Rating scale");
define("_MD_X_MOVIE_URLCORRESPONDENCE","<small><b>URL</b> <a href="http://www.youtube.com/" target="_blank">YouTube</a>, <a href="http://www.break.com/" target="_blank">Break</a>, <a href="http://stage6.divx.com/" target="_blank">DivX Stage6</a>, <a href="http://www.watchme.tv/" target="_blank">Watchme.TV</a>, <a href="http://video.ask.jp/index.do" target="_blank">Ask.jp</a>, <a href="http://www.metacafe.com/" target="_blank">metacafe</a>, <a href="http://www.dailymotion.com/" target="_blank">Dailymotion</a></small>");
define("_MD_X_MOVIE_EMBEDCORRESPONDENCE","<small><b>EMBED</b> <a href="http://www.youtube.com/" target="_blank">YouTube</a>, <a href="http://www.break.com/" target="_blank">Break</a>, <a href="http://stage6.divx.com/" target="_blank">DivX Stage6</a>, <a href="http://www.watchme.tv/" target="_blank">Watchme.TV</a>, <a href="http://video.ask.jp/index.do" target="_blank">Ask.jp</a>, <a href="http://www.metacafe.com/" target="_blank">metacafe</a>, <a href="http://www.dailymotion.com/" target="_blank">Dailymotion</a></small>");
define("_MD_X_MOVIE_WEIGHT","Weight: ");



6: update system module and install x_movie module

That's all folks!

95
suico
Re: x_movie module installation help
  • 2007/8/22 13:10

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


Thanks jay jay I ll try this at home as really need this module
Yogurt Social Network Service
Visit: http://www.marcellobrandao.eti.br/

96
optikool
Re: x_movie module installation help
  • 2007/8/23 16:22

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


If you don't want to go through the process of combining two or three different versions of x_movie into one you can download the one I've been working on here. X_movie

Here is a run down of the list of features I have added and fixes I have made.

Description:
This is my version of x_movie that I've been working on. I don't know what happened to the original writer of this module so I decided to work on this module myself. This module has additional features, one being the ability to stream divx movies from stage6 or your local server. This module also gives you the ability to add the dimensions of the video while at the same time setting a default max size and width you want to display. The video will be automatically resized if it goes past the max width. For those of you that embed video from you local server you will need to create the embedding code. You can find examples on any YouTube or Stage6 site. You only need everything that is contained in the <embed> tag. Everything else is not needed. If you do an upgrade, please compare the x_movie and x_movie_mod tables with the tables in the sql file. If you don't see height and width in your table please add them. (This is not necessary if you are doing a clean install) Please post all comments about errors here so I can fix them.

Download History:
- Added ability to allow/deny registered users post access
- Fixed Upload of movie issue
- Fixed mpeg movies not playing

- Changed the way random and latest videos with thumbnails displays. Clicking on the movie thumbnail will now open the page on the site instead of opening a new page.

Version: 2.6 Updated: Thu, 23-Aug-2007

- Fixed URL formatting for Divx links
- Fixed the way video's are resized to meet max resolution
- Added getID3 support
- Uploaded files, links and URL that are not in shockwave or quicktime format will try to be parsed for their attributes. (ex. width, height, time, bitrate)
- Added the ability to set the width and height attributes in the modify menu
- x_movie will now try and retrieve the thumnail of divx links and embedded code
- embedded code is now parsed for their size and width
- Added Divx support logo

97
suico
Re: x_movie module installation help
  • 2007/8/23 18:29

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


Thanks optikool , i'll try your version at home as I were not able to make it work using the procedures jayjay told us above.
Yogurt Social Network Service
Visit: http://www.marcellobrandao.eti.br/

98
optikool
Re: x_movie module installation help
  • 2007/8/23 19:52

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


suico,

Make sure you give thumb folder write access so your thumbs can be saved. Also post any issues you have.

99
suico
Re: x_movie module installation help
  • 2007/8/23 20:58

  • suico

  • Friend of XOOPS

  • Posts: 374

  • Since: 2003/7/24


i have errors in many pages but i think the errors mioght be caused by a same problem that is maybe shown by this notice in the debug:
Notice: Undefined variable: movietype in file /modules/x_movie/index.php line 168

I had the same error before , and also on all pages i have code being shown as this:
Resized Image
Yogurt Social Network Service
Visit: http://www.marcellobrandao.eti.br/

100
optikool
Re: x_movie module installation help
  • 2007/8/23 21:27

  • optikool

  • Not too shy to talk

  • Posts: 154

  • Since: 2007/3/26


suico,

What kind of movie where you adding? Also where are you adding this movie from? Is this a new install you did and if so did you rename your old x_movie or copy over it?

Login

Who's Online

48 user(s) are online (38 user(s) are browsing Support Forums)


Members: 0


Guests: 48


more...

Donat-O-Meter

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

Latest GitHub Commits