71
McDonald
Re: Youtube HotLink Gallery
  • 2007/10/31 9:11

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:

sarahmx wrote:
it would be great if we can add videos from other site such as metacafe etc


This is on the list for a future release, first have to finish v1.0.1.

72
McDonald
Re: Youtube HotLink Gallery
  • 2007/10/31 9:23

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:

sarahmx wrote:
it would be great if we can add videos from other site such as metacafe etc


This is on the list for a future release, first I have to finish v1.0.1.

73
jimmyx
Re: Youtube HotLink Gallery
  • 2007/11/4 16:24

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


hi mcdonald

my site display a Blank page after trying to rate a video


debug message: Fatal error: Call to a member function addslashes() on a non-object in C:\xampp\hendrix\modules\xoopstube\ratevideo.php on line 66

74
jimmyx
Re: Youtube HotLink Gallery
  • 2007/11/4 16:44

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


another question

<{$video.hits|wordwrap:50:"n":true}>


how can i change the format for this code? i would like the font weight for the text viewed to be normal and not bold

75
McDonald
Re: Youtube HotLink Gallery
  • 2007/11/4 18:02

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:

jimmyx wrote:
hi mcdonald

my site display a Blank page after trying to rate a video


debug message: Fatal error: Call to a member function addslashes() on a non-object in C:\xampp\hendrix\modules\xoopstube\ratevideo.php on line 66


Open the file ratevideo.php in an editor and find the line:
$title $wfmyts -> addslashestrim($_POST['title']) );


and replace it with
$title $xtubemyts -> addslashestrim($_POST['title']) );


Quote:
how can i change the format for this code? i would like the font weight for the text viewed to be normal and not bold


Open the file languages/english/main.php and find the following line:
define"_MD_XTUBE_VIDEOHITS""<b>Viewed:</b> %s times" );

and replace this with
define"_MD_XTUBE_VIDEOHITS""Viewed: %s times" );

76
jimmyx
Re: Youtube HotLink Gallery
  • 2007/11/4 18:26

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


Mcd thanks for the quick help...

another question...

after giving a rating to a video..i was redirected to the module index page...is that normal ?

it will be cool if it redirect me back to the video page that i voted for..

p/s your module is one of my fav module...keep up the good work

77
McDonald
Re: Youtube HotLink Gallery
  • 2007/11/4 19:49

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:

jimmyx wrote:
Mcd thanks for the quick help...

another question...

after giving a rating to a video..i was redirected to the module index page...is that normal ?

it will be cool if it redirect me back to the video page that i voted for..

p/s your module is one of my fav module...keep up the good work



That should be possible.

I'll give you 1 example that you have repeat a view times.

In the file ratevideo.php you'll find the following line:
redirect_header"index.php"4_MD_XTUBE_CANTVOTEOWN );


You have to replace this with:
redirect_header"singlevideo.php?cid="$cid ."&lid=" $lid4_MD_XTUBE_CANTVOTEOWN );


I have not fully tested this, so please let me know what the results are.


Note: XoopsTube is still a RC version, so be carefull with using it on a production website.

78
jimmyx
Re: Youtube HotLink Gallery
  • 2007/11/4 20:06

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


Quote:

McDonald wrote:

That should be possible.

I have not fully tested this, so please let me know what the results are.



not working

Quote:

Note: XoopsTube is still a RC version, so be carefull with using it on a production website.


i'm still testing your module in localhost..i just made some quick search ..i found out that many people is using your module on a live site

79
McDonald
Re: Youtube HotLink Gallery
  • 2007/11/4 20:51

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Try it with this line (line 29):

redirect_header'singlevideo.php?cid='intval($cid) .'&lid=' intval($lid), 4_MD_XTUBE_CANTVOTEOWN );


It seems to work on my testserver.

80
jimmyx
Re: Youtube HotLink Gallery
  • 2007/11/5 3:56

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


still not working but after adding this in line 90 it works...

redirect_header'singlevideo.php?cid='intval($cid) .'&lid=' intval($lid), 4$ratemessage );



thanks mcdonald.......

i also made change to line 39 & 52

Login

Who's Online

205 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 205


more...

Donat-O-Meter

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

Latest GitHub Commits