Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > xBTiT > Mods & Themes
Reply
  #1  
Old 8th September 2010, 01:09
XoLWoX XoLWoX is offline
Senior Member
 
Join Date: Sep 2009
United States
Posts: 39
Default Glossy Style Images
First open functions.php and search for:
Code:
function stdfoot($normalpage=true, $update=true, $adminpage=false, $torrentspage=false, $forumpage=false) { global $STYLEPATH, $tpl, $no_columns;
And replace it with:
Code:
function stdfoot($normalpage=true, $update=true, $adminpage=false, $torrentspage=false, $forumpage=false) { global $STYLEPATH, $tpl, $no_columns; print '<script type="text/javascript" src="js/glossy.js"></script>'; if ($normalpage) include($STYLEPATH."/footer.php");


Now add where you want to show the gloss {torrent img, category, avatar} add in class="glossy"

Example:
Code:
<img class="glossy" src='$image1' width=223>, <img class=glossy width=117 border=0 src=".($subrow["avatar"]).">
And now download the archive bellow and extract the folder from it into your tracker root

Works with userdetails, forum, details, latesttorrents_block with images...


Click the image to open in full size.

Click the image to open in full size.




Attached Files
File Type: rar js.rar (3.4 KB, 183 views)
Reply With Quote
  #2  
Old 8th September 2010, 02:13
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
wont that disable image resizers?
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #3  
Old 8th September 2010, 02:56
XoLWoX XoLWoX is offline
Senior Member
 
Join Date: Sep 2009
United States
Posts: 39
Default ?
no it will not mess it up

Last edited by XoLWoX; 8th September 2010 at 13:29.
Reply With Quote
  #4  
Old 28th March 2011, 19:49
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Smile
it's possible make this for ts 5.6 ?

Nice mod :)
Reply With Quote
  #5  
Old 19th July 2011, 19:05
chickens chickens is offline
Member
 
Join Date: Jun 2011
United States
Posts: 4
Smile
Usable with xbtitFM?
Reply With Quote
  #6  
Old 30th October 2011, 00:32
cdx1 cdx1 is offline
Senior Member
 
Join Date: Jan 2011
P2P
Posts: 33
Default
Quote:
Originally Posted by chickens View Post
Usable with xbtitFM?
no you should know chick that functions is encoded
__________________

http://www.xbtitfm.com/LightNEasy.php?page=subscribe
Reply With Quote
Reply

Tags
glossy , images , style

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 11:05. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.