xoops forums

wcrwcr

Home away from home
Posted on: 2006/9/8 17:24
wcrwcr
wcrwcr (Show more)
Home away from home
Posts: 1114
Since: 2003/12/12
#11

Re: x_movie module installation help

Hi Guys

Some light at the end of tunnel

Take a LOOK HERE

Let?s wait a bit.......

wcrwcr

Home away from home
Posted on: 2006/9/9 5:27
wcrwcr
wcrwcr (Show more)
Home away from home
Posts: 1114
Since: 2003/12/12
#12

Re: x_movie module installation help

Well, still waiting for a gentle japanese speaker

paulG

Just popping in
Posted on: 2006/9/11 0:31
paulG
paulG (Show more)
Just popping in
Posts: 6
Since: 2006/9/10
#13

Re: x_movie module installation help

Hi all.
I am new to xoops, I use a lot of PHP-Nuke for other sites. and I am liking XOOPS very much!

I needed a google video module for xoops, and came across this thread. So I have downloaded and installed the X_movie module, not the google hack yet though. It is installed at Eflyfun.com

I have translated the japanese language file, as best I can. I used my limited Japanese language skills and the google tranlator. Some of the translations for the longer text came out pretty funny in the google tranlator. I was fixing it at first, then I decided - I like them. You can fix them up, but my favorite is:

Notice in regard to utilization - you view all animated picture contents which have been transmitted from this site, when where each multimedia playback software is necessary the basket verification which is supported, it is not supported, downloading up-to-date version than the below-mentioned sight!

Worse than a Micro$oft EULA.... :)

You can find the zipped up english language pack on my site. (link to follow)

I do have a question though, the admin general settings menu does not show up with all the english translation. If someone can troublehsoot, that would be great.

Also, seems some menu items are not in language files.


Thanks,
Paul G

davidl2

XOOPS is my life!
Posted on: 2006/9/11 0:38
davidl2
davidl2 (Show more)
XOOPS is my life!
Posts: 4843
Since: 2003/5/26
#14

Re: x_movie module installation help

Thank you Paul - that's very good of you!

paulG

Just popping in
Posted on: 2006/9/11 0:40
paulG
paulG (Show more)
Just popping in
Posts: 6
Since: 2006/9/10
#15

Re: x_movie module installation help

Here is the link to the english pack. Sorry for delay, I had to actually set up a download mosule on the site. :) I said the site was new...

x_Movie English Pack

wcrwcr

Home away from home
Posted on: 2006/9/11 0:53
wcrwcr
wcrwcr (Show more)
Home away from home
Posts: 1114
Since: 2003/12/12
#16

Re: x_movie module installation help

Hey Paul

Arigato, man
That?s a real nice notice.

At a first sight, i guess your problem with admin and menus:

did you check if the "_MD_X_MOVIE" is already present in the "modinfo.php" ?

The english language folder comes with lots of constants missing.

There?s a new version called Custom HERE

Let me know if I can help you somehow.

BTW > wowndering why your google is best than mine LOL

Sayonara

PS. that?s why i just love our community

paulG

Just popping in
Posted on: 2006/9/11 2:03
paulG
paulG (Show more)
Just popping in
Posts: 6
Since: 2006/9/10
#17

Re: x_movie module installation help

My pleasure.

I have downloaded the Custom 1.7_2.0 X_Movie and installed it over the old X_Movie. everything seesm to be workimg except the JS pop up. Weird.....

Question: the modinfo.php - is that the actual file name? I do not seem to find it in either version.

paulG

Just popping in
Posted on: 2006/9/11 2:30
paulG
paulG (Show more)
Just popping in
Posts: 6
Since: 2006/9/10
#18

Re: x_movie module installation help

More insight into the hack v2

It seems there is plenty of hardcoding. I still have issues with the popup, and I can see embeded amazon and google ads from the Japanese site.

Looks like it needs to be cleaned...so I am diving into it now, as I want this to work!

I will update everyone with my progress.

I would also like to eliminate the manual entry of the video info if it is a Google or YouTube video. Does anyone know of how to pull the info from those sites? It would be great to just ask - what is the video id on google? or the embed url? and then pull the info, polpulate the fields, and allow final editing before you post.

Thoughts? Suggestions? Help!?

wcrwcr

Home away from home
Posted on: 2006/9/11 4:39
wcrwcr
wcrwcr (Show more)
Home away from home
Posts: 1114
Since: 2003/12/12
#19

Re: x_movie module installation help

Hi PAul

Quote:
Question: the modinfo.php - is that the actual file name? I do not seem to find it in either version.


Yep

It?s inside the language folders. Look at the pack you made available for download.

Regarding that idea of pulling out the info from google and youtube, I like It very much.

One problem I see tough, If the guys at youtube/google change any code I guess that will brake the mod

Let me know if you find the modinfo.php.........

PS. did you notice a hack in the system_ block.php sugeted by the author?

Here follows the lines regarding the x_movie:

//x_movie
 
if ($module_handler->getCount(new Criteria('dirname''x_movie'))) {
        
$result $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("x_movie")." WHERE status=0");
        if ( 
$result ) {
            
$block['modules'][4]['adminlink'] = XOOPS_URL."/modules/x_movie/admin/index.php?op=listNewMovie";
            list(
$block['modules'][4]['pendingnum']) = $xoopsDB->fetchRow($result);
            
$block['modules'][4]['lang_linkname'] = _MB_X_MOVIE_NEW;
        }
        
$result $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("x_movie_broken"));
        if ( 
$result ) {
            
$block['modules'][5]['adminlink'] = XOOPS_URL."/modules/x_movie/admin/index.php?op=listBrokenMovie";
            list(
$block['modules'][5]['pendingnum']) = $xoopsDB->fetchRow($result);
            
$block['modules'][5]['lang_linkname'] = _MB_X_MOVIE_DAMAGE;
        }
        
$result $xoopsDB->query("SELECT COUNT(*) FROM ".$xoopsDB->prefix("x_movie_mod"));
        if ( 
$result ) {
            
$block['modules'][6]['adminlink'] = XOOPS_URL."/modules/x_movie/admin/index.php?op=listModReq";
            list(
$block['modules'][6]['pendingnum']) = $xoopsDB->fetchRow($result);
            
$block['modules'][6]['lang_linkname'] = _MB_X_MOVIE_REVISION;
        }
    }
//x_movie end

paulG

Just popping in
Posted on: 2006/9/11 4:52
paulG
paulG (Show more)
Just popping in
Posts: 6
Since: 2006/9/10
#20

Re: x_movie module installation help

Excellent. Thanks!

I have just posted an updated Language Pack. I realized i did not originally include a translated modinfo.php. So i have uploaded to my site a new version 1.0 of the english pack.

The file is avalable at m www.eflyfun.com

Hope it helps everyone....