121
McDonald
Re: Youtube HotLink Gallery
  • 2007/12/7 8:18

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:
1. where can i download old version of xoopstube ?


XoopsTube 1.01 RC5
XoopsTube 1.01 RC6
XoopsTube 1.01 RC7

Quote:
2. which file do i have to edit to change the email topic/subject for the "tell a friend" feature ?


The file include/videoload.php
$video['mail_subject'] = rawurlencodesprintf_MD_XTUBE_INTFILEFOUND$xoopsConfig['sitename'] ) );
$video['mail_body'] = rawurlencodesprintf_MD_XTUBE_INTFILEFOUND$xoopsConfig['sitename'] ) . ':  ' XOOPS_URL '/modules/' $xoopsModule -> getVar'dirname' ) . '/singlevideo.php?cid=' $video_arr['cid'] . '&lid=' $video_arr['lid'] );


and templates/singlevideo.php:
<a href="mailto:?subject=<{$video.mail_subject}>&body=<{$video.mail_body}>" target="_top"><{$smarty.const._MD_XTUBE_TELLAFRIEND}>a>


Quote:
3. suggestion - create a sort option in viewcat.php where user can select select View by Date | By Hits | By Alphabet


This has been removed to make the module more basic/simple. The routines are still in include/functions.php. If yo want to restore these functions you should have a look at WF-Links 1.03b/c.

Quote:
4. as everyone know google owns youtube, so will google punish me as example in google ranking because of using youtube's


Note as far as I know. Since XoopsTube is supporting meta keywords and meta descriptions the videos on my website are better indexed by search engines. My site also is slowly climbing from google page 13 to page 2. The ranking is still the same, bu might change. Google updates this appr. every 3 weeks.

Quote:
5. Can i disable the metacafe support ?

Just disable the menu in submit.php and admin/index.php

122
McDonald
Re: Youtube HotLink Gallery
  • 2007/12/7 12:32

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:
3. suggestion - create a sort option in viewcat.php where user can select select View by Date | By Hits | By Alphabet


Here is the solution.
Open the file templates/xoopstube_viewcat.html and find the following lines:

<{if $show_videos == true}> 

<
br />
<{/if}>


and replace them with these:
<{if $show_videos == true}>
<
div align="center"><small>
<
b><{$smarty.const._MD_XTUBE_SORTBY}>b>&nbsp;<{$smarty.const._MD_XTUBE_TITLE}> (
<
a href="viewcat.php?cid=<{$category_id}>&orderby=titleA">
<
img src="images/up.gif" align="middle" alt="" />a>
<
a href="viewcat.php?cid=<{$category_id}>&orderby=titleD">
<
img src="images/down.gif" align="middle" alt="" />a>
)
&
nbsp;
<{
$smarty.const._MD_XTUBE_DATE}> (
<
a href="viewcat.php?cid=<{$category_id}>&orderby=dateA">
<
img src="images/up.gif" align="middle" alt="" />a>
<
a href="viewcat.php?cid=<{$category_id}>&orderby=dateD">
<
img src="images/down.gif" align="middle" alt="" />a>
)
&
nbsp;
 <{
$smarty.const._MD_XTUBE_RATING}> (
     <
a href="viewcat.php?cid=<{$category_id}>&orderby=ratingA">
     <
img src="images/up.gif" align="middle" alt="" />a>
     <
a href="viewcat.php?cid=<{$category_id}>&orderby=ratingD">
     <
img src="images/down.gif" align="middle" alt="" />a>         
     )    
&
nbsp;
<{
$smarty.const._MD_XTUBE_POPULARITY}> (
<
a href="viewcat.php?cid=<{$category_id}>&orderby=hitsA">
<
img src="images/up.gif" align="middle" alt="" />
a><a href="viewcat.php?cid=<{$category_id}>&orderby=hitsD">
<
img src="images/down.gif" align="middle" alt="" />a>
)
<
br />
<
b><{$lang_cursortedby}>b><br /><br />
small>div>
<
br />
<{/if}>


This will give you the options to sort a category listing by: title, date, hits and rating.

123
jimmyx
Re: Youtube HotLink Gallery
  • 2007/12/16 8:11

  • jimmyx

  • Quite a regular

  • Posts: 338

  • Since: 2007/7/18


thanks for the answer

one more question...how do i disable/remove the xoopstube stylesheet
xtubestyle.css

124
xavhmn
Re: Youtube HotLink Gallery
  • 2007/12/16 8:40

  • xavhmn

  • Just popping in

  • Posts: 23

  • Since: 2004/11/16


how to add dailymotion ?

125
McDonald
Re: Youtube HotLink Gallery
  • 2007/12/16 13:40

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:

jimmyx wrote:
thanks for the answer

one more question...how do i disable/remove the xoopstube stylesheet
xtubestyle.css


You have to comment it out in the file footer.php and then remove all classes from the templates. A lot of work.
The stylesheet is experimental and not complete yet.

Quote:

xavhmn wrote:

how to add dailymotion ?


It's probably not possible to implement dailymotion completely. As far as I can see there's no similarity in the code to embed the player and the screenshot.
Implementing a player is not a simple job.


The XoopsTube support forum can be found here.

126
kevcar
Re: Youtube HotLink Gallery
  • 2007/12/17 21:44

  • kevcar

  • Not too shy to talk

  • Posts: 127

  • Since: 2007/6/2 1


In the submit form on the frontpage it asks you for the video url. This is a typo and should read: Video Embedded code.
The code to enter is the red part in a video url:
http://www.youtube.com/watch?v=JNWJG7H0WIE

I enter this JNWJG7H0WIE and receive this message:

The webpage cannot be found

Any ideas please

127
McDonald
Re: Youtube HotLink Gallery
  • 2007/12/17 22:30

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


What version are you using?

Latest version is 1.0.1 RC7 and on both submit forms (user and admin) it says: Video Embedded code
This is actually not correct either and should be: Video Code.

Please submit bugs here.

128
Anonymous
Re: Youtube HotLink Gallery
  • 2008/3/8 19:25

  • Anonymous

  • Posts: 0

  • Since:


I got blank page after update any block.

I'm using xoopstube 1.0.3.1 ( 8-3-2008 )

129
McDonald
Re: Youtube HotLink Gallery
  • 2008/3/8 21:09

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


The only files modified are index.php, viewcat.php, newlist.php and xoops_version.php (for changing version and date only).

Nothing has been changed to the blocks or templates.

XoopsTube 1.03.1 was tested on XOOPS 2.0.18 and impressCMS 1 RC3 without having any errors.

Try to clear your cache and template_c folder.

Did you update the module ?

130
hralph
Re: Youtube HotLink Gallery
  • 2008/3/9 17:53

  • hralph

  • Just popping in

  • Posts: 6

  • Since: 2006/1/25


Greetings,

Nice module...I just downloaded it yesterday(1031). Setup was tricky because it took me a while to figure out the video code was just the code in red and not with the http.

1. Aside from that when I try to view it all I get is a message apologizing saying it is no longer available. Now so far others that go to my site have had no problems and the video plays for them...the only thing I can conclude so far is that the others are all teenagers and all have youtube accounts and I do not. Is this why?

2. This is probably my fault and not a bug but it appears the redirects are screwy. clicking on "xoopstube" takes me to "modules/xoopstube/index.php" where there is the one category listed with one video..category(1). Clicking on the "category" takes me to "modules/xoopstube/viewcat.php?cid=1" where "Home": "Category" are visible. No video just the catgory description. "home takes me back to "modules/xoopstube/index.php" and "Category" takes me nowhere.
Under "xoopstube/popular" yields
"xoopstube/topten.php?list=hit" which has the clickable "title"
"xoopstube/singlevideo.php?cid=1&lid=2" and the video can be played...(except by me).
the "top rated" takes you there as well but not the "latest listing".

sorry so long. one final question though..

3. after submitting a new video it shows up under admin index as offline? (don't really know how the first video has the green light). Does it take time to go thruogh? or is there something else I'm missing?

Login

Who's Online

386 user(s) are online (287 user(s) are browsing Support Forums)


Members: 0


Guests: 386


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