Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
PrettyPhoto youtube trailer in details
Controls ·  Search New posts · Mark unread

You are in: Forum / Forum / v2.08 / v2.08 Mods Completed

Unknown User
2014-06-17 23:10:18
You need have this [url="http://torrenttrader.org/topic/16916-youtube-in-torrents-detail-v208/?hl=youtube"]youtube[/url] mod installed. Upload prettyPhoto.js and .css files in your theme folder. js ofc in js folder. All images in images folder etc.. Simple yeah?

Add in your header.php

<script type='text/javascript' src='<?php echo $site_config["SITEURL"]; ?>/themes/default/js/jquery.prettyPhoto.js'></script>
<link rel='stylesheet' href='<?php echo $site_config["SITEURL"]; ?>/themes/default/prettyPhoto.css' type='text/css' media='screen' charset='utf-8' />
<script type='text/javascript'>
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto({
show_title: true,
theme: 'dark_square',
social_tools: '',
show_title: false
});
$('#jCrumbs').xBreadcrumbs();
});
</script>


torrent-details.php find this code:

if (!empty($row["tube"]))
print ("<tr><td align=left><b>" .T_("VIDEOTUBE"). ":</b></td><td>&nbsp; &nbsp;<embed src='". str_replace("watch?v=", "v/", htmlspecialchars($row["tube"])) ."' type="application/x-shockwave-flash" width="580" height="340"></embed></td></tr>");



And replace it in this:

if (!empty($row["tube"]))
print ("<tr><td align=left><b>" .T_("VIDEOTUBE"). ":</b></td><td>&nbsp; &nbsp; <a href="" . htmlspecialchars($row["tube"]) . "?rel=0" rel="prettyPhoto">Youtube Trailer</a></td></tr>");




[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=7028"]prettyPhoto_compressed_3.1.5.zip[/url]
tube.png
tube.png
prettyPhoto_compressed_3.1.5.zip
Download
2014-06-18 00:34:20
Thanks You! mobman,

I have sound but no picture video?, or he leads me on youtube!
Unknown User
2014-06-18 14:18:52
"Tiloup, post: 92621":

Thanks You! mobman,

I have sound but no picture video?, or he leads me on youtube!

Do you have all .css, js  and image files in right places? Post your header code.
2014-06-18 16:00:16
"mobman, post: 92627":

Do you have all .css, js  and image files in right places? Post your header code.

yes, I install all the files and folders in my theme.
Unknown User
2014-06-19 00:15:53
Post your header file. If there is a lot of other scripts it's might not working correctly.
2014-06-19 00:54:18
"mobman, post: 92641":

Post your header file. If there is a lot of other scripts it's might not working correctly.

Unknown User
2014-06-19 01:01:40
Do you have theme and folder "default" or is that NB-CSpirit ?

[url="http://devscorner.xyz/applications/core/interface/file/attachment.php?id=7032"]header.php[/url]
header.php
Download
Unknown User
2014-06-19 01:02:24
I changed default as NB-CSpirit and make some organizing...
2014-06-19 01:36:58
"mobman, post: 92645":

I changed default as NB-CSpirit and make some organizing...
ok  thanks, I'll see her tomorrow, I told you if it works.  ;)
2014-06-19 01:41:24
...no youtube popup and no sound !
Unknown User
2014-06-19 08:41:59
There is too much javascript things etc. It works if all things are right places and there is no other scripts to blocking it. I have tested it and it works, Only one thing is that I need to testing it in other places. I'm off until Saturday so I can help more only then.. Or someone else can check that.
2014-06-19 12:17:25
ok  :(
2014-06-21 01:10:08
I found like you and it works on [url="http://support-torrenttrader.com/"]TT-[/url]FR
Unknown User
2014-06-24 17:15:29
Anything progress in here? I have it still working, but if there is any issues...
2014-07-03 22:55:23
I tried this also, and nothing happened. The only thing that happened was it changed my youtube links that were playable on the screen, to links that just led back to youtube. To be honest, im not sure what it was supposed to do to begin with. Thanks for the mod tho  :)
TTv3 Micro Edition
Ubuntu 20.04.6 LTS Server
Mysql Version: 10.3.39-MariaDB-0ubuntu0.20.04.2
PHP Version: 7.4.3-4ubuntu2.20
Apache Version: Apache/2.4.59 (Ubuntu)
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 9
  • Members: 0
  • Guests online: 9
  • Comments: 3
  • Messages: 1,728