1
Mamba
XoopsTube 1.06 RC 1 for XOOPS 2.5.6
  • 2013/7/7 11:33

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


XoopsTube has been now updated to 1.06 RC1. Some of the changes in 1.06:

- removed social bookmarks for: simpy, spurl, wink (cesag/mamba)
- English corrections (cesag/mamba)
- fixed bug with with "expired" icon (mamba)
- fixed bug with approving submitted video (mamba)
- added toggle for online/offline status (mamba)
- removed redundant PHP Closing tags (mamba)
- replaced deprecated HTML tags (mamba)
- replaced hard-coded directory references (mamba)
- added XoopsTree locally (mamba)
- added highlighter for non-empty alphabet listing (mamba)
- reformatted code according to PSR-2
- added directory check for directories for images/videos
- Added: option to hide name of the submitter (mamba)

Requirements:
- XOOPS 2.5.6
- PHP 5.2+

Download: XOOPS SVN

Please help us with testing...
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

2
Cesagonchu
Re: XoopsTube 1.06 RC 1 for XOOPS 2.5.6

Request an addition to the module: enable the validation of a thumbnail link, which does not come from Google Video, MySpace TV, DailyMotion, Blip.tv, ClipFish, LiveLeak, Veoh, Vimeo, Megavideo, or Viddler Maktoob.

3
alain01
Re: XoopsTube 1.06 RC 1 for XOOPS 2.5.6
  • 2013/9/29 18:58

  • alain01

  • Just can't stay away

  • Posts: 536

  • Since: 2003/6/20


Found !!!

File /modules/xoopstube/include/video.php

Replace at line 127
// Determine if video source is XoopsTube for thumbnail
    
case 200:
        
$thumb
            
=
            
'XOOPS_URL '/' $screenshot '" width="' $width '" height="' $height '"  title="'
                
$title '" alt="' $title '" style="padding: 0px; border-style: none;" />';
        break;
    }
    return 
$thumb;

by
// Determine if video source is XoopsTube for thumbnail
    
case 200:
        
$thumb
            
=
            
'XOOPS_URL '/' $screenshot '/' $picurl .'" title="'$title '" alt="' $title '" style="padding: 0px; border-style: none;" />';
                break;
    }
    return 
$thumb;


Now just write the fine name of the preview picture in the field "Link of the picture :" (for example "myvideo_01.png")

4
Cifug
Re: XoopsTube 1.06 RC 1 for XOOPS 2.5.6
  • 2014/4/17 22:13

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


Quote:
alain01 wrote:
// Determine if video source is XoopsTube for thumbnail
    
case 200:
        
$thumb
            
=
            
'XOOPS_URL '/' $screenshot '/' $picurl .'" title="'$title '" alt="' $title '" style="padding: 0px; border-style: none;" />';
                break;
    }
    return 
$thumb;


Now just write the fine name of the preview picture in the field "Link of the picture :" (for example "myvideo_01.png")

Thanks Alain01, this worked and the screenshot now shows but it isn't being resized to the thumbnail dimensions. You missed the "width" and "height" tags.

It works like this:
// Determine if video source is XoopsTube for thumbnail 
    
case 200
        
$thumb 
            
'XOOPS_URL '/' $screenshot '/' $picurl '" width="' $width '" height="' $height '" title="'$title '" alt="' $title 
              
'" style="padding: 0px; border-style: none;" />'
                break; 
    } 
    return 
$thumb;
}


Cheers,
Marty.

5
alain01
Re: XoopsTube 1.06 RC 1 for XOOPS 2.5.6
  • 2014/4/18 12:11

  • alain01

  • Just can't stay away

  • Posts: 536

  • Since: 2003/6/20


Yet in the last package !

Please, download the last package (1.06 beta1) here.

6
Cifug
Re: XoopsTube 1.06 RC 1 for XOOPS 2.5.6
  • 2014/4/20 2:53

  • Cifug

  • Quite a regular

  • Posts: 208

  • Since: 2007/12/13


Quote:
alain01 wrote:
Yet in the last package !

Please, download the last package (1.06 beta1) here.

Alain01, I thought the last package was a release candidate??

7
Cesagonchu
Re: XoopsTube 1.06 RC 1 for XOOPS 2.5.6

It was too soon renamed "final" version. So on Frxoops, I called it "beta".

8
noo-b
Re: XoopsTube 1.06 RC 1 for XOOPS 2.5.6
  • 2014/6/10 11:44

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


I have uploaded a category image and video ...in the Image and Video Upload Tab

Now .How do i add my own video ? and the screenshot of the video ?

last time in mytube there is option to select the uploaded video and category image

Resized Image

http://s28.postimg.org/3l83moxh9/Untitled.jpg


9
noo-b
Re: XoopsTube 1.06 RC 1 for XOOPS 2.5.6
  • 2014/6/10 12:11

  • noo-b

  • Just can't stay away

  • Posts: 456

  • Since: 2007/10/23


In viewcat.php..

the Title of the page stay as XoopsTube : Category Name eventhough after we change the name of the module..

to solve this..we remove the line below in xoopstube/viewcat.php

line 156

$module_handler = & xoops_gethandler('module');
$versioninfo    = & $module_handler->get($xoopsModule->getVar('mid'));
if (
$head_arr['title'] > '') {
    
$xoopsTpl->assign('xoops_pagetitle'$versioninfo->getInfo('name') . ': ' $head_arr['title']);
} else {
    
$xoopsTpl->assign('xoops_pagetitle'$versioninfo->getInfo('name'));
}

10
alain01
Re: XoopsTube 1.06 RC 1 for XOOPS 2.5.6
  • 2014/6/10 12:16

  • alain01

  • Just can't stay away

  • Posts: 536

  • Since: 2003/6/20


Hi Marty

For personnal video, :
- use "Xoops Tube" in the dropdown list
and
- in the video id-code field, enter the name file, for example : "example.flv"

In the module options, use the "download dierctory" to define the directory where you can find your own video.

- But yes, there is bug for the picture url fied, so you cant see a screeshot of the video.

- Image categry works fine !
i have a image for my own video category.

The bug is just on the screenshot.

Let me find where is the bug...


Login

Who's Online

410 user(s) are online (269 user(s) are browsing Support Forums)


Members: 0


Guests: 410


more...

Donat-O-Meter

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

Latest GitHub Commits