Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 13th May 2010, 16:06
KiD's Avatar
KiD KiD is offline
Senior Member
 
Join Date: Nov 2008
Denmark
Posts: 110
Thumbs up [09] UniquePixels Template
First, this is made for tbdev 2009 ONLY, if you try to install it on any other source/version your on your own.

THIS MOD REQUIRES :: TEMPLATE SYSTEM FOR 2009 - Its an easy fix to build it in to normal tbdev without that system.

Can be found on www.btskins.net - Bittorrent Skins

(Please remember to make it look like mine dos you need my new index styles build in to every single page you have)

NB if you dont mind looking at the files you'll find the css for the sites.. i haven't removed it..! so you just need to make some div's.. good luck, that is a major job to get that done 100% thats why i cant make a post for it..!

Visit www.btskins.net for more templates for tbdev, soon with other trackers too. enjoy
Attached Files
File Type: rar kidvision_uniquepixels.rar (230.8 KB, 1327 views)
__________________
Regards KiD

ThemeFactory - Tracker Related Skins, Graphic & Support
Visit us here: http://www.themefactory.net

Last edited by KiD; 8th June 2010 at 22:11.
Reply With Quote
The Following 8 Users Say Thank You to KiD For This Useful Post:
blueknight (25th November 2011), Elena (24th September 2010), Fynnon (19th August 2010), Henriiquez (2nd January 2011), HUnter83 (18th August 2010), limiankl (16th May 2010), Phogo (17th May 2010), socone (8th January 2011)
  #2  
Old 13th May 2010, 19:47
raefor's Avatar
raefor raefor is offline
Senior Member
 
Join Date: Mar 2008
United States
Posts: 90
Default HI KID
how do you think it will work with the installer code ????
Reply With Quote
  #3  
Old 13th May 2010, 20:19
KiD's Avatar
KiD KiD is offline
Senior Member
 
Join Date: Nov 2008
Denmark
Posts: 110
Default ..
Not at all...! It requires you to start from zero there is not much from Installer that can be used in 09 final source
__________________
Regards KiD

ThemeFactory - Tracker Related Skins, Graphic & Support
Visit us here: http://www.themefactory.net
Reply With Quote
  #4  
Old 13th May 2010, 21:45
raefor's Avatar
raefor raefor is offline
Senior Member
 
Join Date: Mar 2008
United States
Posts: 90
Default
thanks bud
Reply With Quote
  #5  
Old 20th May 2010, 16:49
shayarsha shayarsha is offline
Member
 
Join Date: Nov 2009
Italy
Posts: 1
Default
hello, i have installed the stable version of tbdev 09 and now i want modify the theme with this, it possible ?

exsist one tutorial ?

tnx
Best Regard
Reply With Quote
  #6  
Old 8th June 2010, 22:12
tupeu tupeu is offline
Member
 
Join Date: Mar 2008
Posts: 1
Default
You need the Torrent Strike Theme System:

open bittorrent and find:
PHP Code:
function stdhead($title = "", $msgalert = true) {
    global $CURUSER, $SITE_ONLINE, $FUNDS, $SITENAME, $pic_base_url;

  if (!$SITE_ONLINE)
    die("Site is down for maintenance, please check back again later... thanks<br>");

    header("Content-Type: text/html; charset=iso-8859-1");
    //header("Pragma: No-cache");
    if ($title == "")
        $title = $SITENAME .(isset($_GET['tbv'])?" (".TBVERSION.")":'');
    else
        $title = $SITENAME .(isset($_GET['tbv'])?" (".TBVERSION.")":''). " :: " . htmlspecialchars($title);
  if ($CURUSER)
  {
    $ss_a = @mysql_fetch_array(@mysql_query("select uri from stylesheets where id=" . $CURUSER["stylesheet"]));
    if ($ss_a) $ss_uri = $ss_a["uri"];
  }
  if (!$ss_uri)
  {
    ($r = mysql_query("SELECT uri FROM stylesheets WHERE id=1")) or die(mysql_error());
    ($a = mysql_fetch_array($r)) or die(mysql_error());
    $ss_uri = $a["uri"];
  }
  if ($msgalert && $CURUSER)
  {
    $res = mysql_query("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " && unread='yes'") or die("OopppsY!");
    $arr = mysql_fetch_row($res);
    $unread = $arr[0];
  }
?>
<html><head>
<title><?= $title ?></title>
<link rel="stylesheet" href="<?=$ss_uri?>" type="text/css">
</head>
<body>

<table width=100% cellspacing=0 cellpadding=0 style='background: transparent'>
<tr>
<td class=clear width=49%>
<!--
<table border=0 cellspacing=0 cellpadding=0 style='background: transparent'>
<tr>

<td class=clear>
<img src="<?=$pic_base_url?>star20.gif" style='margin-right: 10px'>
</td>
<td class=clear>
<font color=white><b>Current funds: <?=$FUNDS?></b></font>
</td>
</tr>
</table>
-->

</td>
<td class=clear>
<div align=center>
<img src="<?=$pic_base_url?>logo.gif" align=center>
</div>
</td>
<td class=clear width=49% align=right>
<a href=donate.php><img src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" alt="Make a donation" style='margin-top: 5px'></a>
</td>
</tr></table>
<?php

$w 
"width=100%";
//if ($_SERVER["REMOTE_ADDR"] == $_SERVER["SERVER_ADDR"]) $w = "width=984";

?>
<table class=mainouter <?=$w?> border="1" cellspacing="0" cellpadding="10">

<!------------- MENU ------------------------------------------------------------------------>

<? $fn substr($_SERVER['PHP_SELF'], strrpos($_SERVER['PHP_SELF'], "/") + 1); ?>
<tr><td class=outer align=center>
<table class=main width=700 cellspacing="0" cellpadding="5" border="0">
<tr>

<td align="center" class="navigation"><a href=index.php>Home</a></td>
<td align="center" class="navigation"><a href=browse.php>Browse</a></td>
<td align="center" class="navigation"><a href=search.php>Search</a></td>
<td align="center" class="navigation"><a href=upload.php>Upload</a></td>
<? if (!$CURUSER) { ?>
<td align="center" class="navigation">
<a href=login.php>Login</a> / <a href=signup.php>Signup</a>
</td>
<? } else { ?>
<td align="center" class="navigation"><a href=my.php>Profile</a></td>
<? ?>
<td align="center" class="navigation"><a href=chat.php>Chat</a></td>
<td align="center" class="navigation"><a href=forums.php>Forums</a></td>
<td align="center" class="navigation"><a href=misc/dox.php>DOX</a></td>
<td align="center" class="navigation"><a href=topten.php>Top 10</a></td>
<td align="center" class="navigation"><a href=log.php>Log</a></td>
<td align="center" class="navigation"><a href=rules.php>Rules</a></td>
<td align="center" class="navigation"><a href=faq.php>FAQ</a></td>
<td align="center" class="navigation"><a href=links.php>Links</a></td>
<td align="center" class="navigation"><a href=staff.php>Staff</a></td>
</tr>
</table>
</td>
</tr>
<tr><td align=center class=outer style="padding-top: 20px; padding-bottom: 20px">
<?

if ($unread)
{
  print(
"<p><table border=0 cellspacing=0 cellpadding=10 bgcolor=red><tr><td style='padding: 10px; background: red'>\n");
  print(
"<b><a href=inbox.php><font color=white>You have $unread new message" . ($unread "s" "") . "!</font></a></b>");
  print(
"</td></tr></table></p>\n");
}

// stdhead

function stdfoot() {
  global 
$pic_base_url;
  print(
"</td></tr></table>\n");
  print(
"<table class=bottom width=100% border=0 cellspacing=0 cellpadding=0><tr valign=top>\n");
  print(
"<td class=bottom align=left width=49%><img src=\"{$pic_base_url}bottom_left.gif\"></td><td width=49% align=right class=bottom><img src=\"{$pic_base_url}bottom_right.gif\"></td>\n");
  print(
"</tr></table>\n");
  print(
"</body></html>\n");
}


replace with this:

PHP Code:
function stdhead($title ""$msgalert true) {
    global 
$CURUSER$SITE_ONLINE$FUNDS$SITENAME$BASEURL;
    global 
$ss_uri;

  if (!
$SITE_ONLINE)
    die(
"Site is down for maintenance, please check back again later... thanks<br/>");

    
header("Content-Type: text/html; charset=iso-8859-1");
    
//header("Pragma: No-cache");
    
if ($title == "")
        
$title $SITENAME .(isset($_GET['tbv'])?" (".TBVERSION.")":'');
    else
        
$title $SITENAME .(isset($_GET['tbv'])?" (".TBVERSION.")":''). " :: " htmlspecialchars($title);
  if (
$CURUSER)
  {
    
$ss_a = @mysql_fetch_array(@mysql_query("select uri from stylesheets where id=" $CURUSER["stylesheet"]));
    if (
$ss_a$ss_uri $ss_a["uri"];
  }
  if (!
$ss_uri)
  {
    (
$r mysql_query("SELECT uri FROM stylesheets WHERE id=1")) or die(mysql_error());
    (
$a mysql_fetch_array($r)) or die(mysql_error());
    
$ss_uri $a["uri"];
  }
  if (
$msgalert && $CURUSER)
  {
    
$res mysql_query("SELECT COUNT(*) FROM messages WHERE receiver=" $CURUSER["id"] . " && unread='yes'") or die("OopppsY!");
    
$arr mysql_fetch_row($res);
    
$unread $arr[0];
  }

  require_once 
"themes/".$ss_uri."/template.php";
  require_once(
"themes/" $ss_uri "/stdhead.php");

  if (
$unread)
  {
    print(
"<table border=\"0\" cellspacing=\"0\" cellpadding=\"10\"><tr><td style=\"padding: 10px; background: red\">\n");
    print(
"<b><a href=\"$BASEURL/messages.php?action=viewmailbox\"><font color=\"white\">You have $unread new message" . ($unread "s" "") . "!</font></a></b>");
    print(
"</td></tr></table>\n");
  }
  
////FOR TEMPORARY DEMOTION
   
if ($CURUSER['override_class'] != 255 && $CURUSER// Second condition needed so that this box isn't displayed for non members/logged out members.
 
{
  print(
"<table class=\"coltable\"><tr><td>\n");
  print(
"<b><a class=\"altlink\" href=\"$BASEURL/restoreclass.php\">You are running under a lower class. Click here to restore.</a></b>");
  print(
"</td></tr></table>\n");
 }

// stdhead

function stdfoot()
{
  global 
$CURUSER;
  global 
$ss_uri;

  if (
$CURUSER)
  {
    
$ss_a = @mysql_fetch_array(@mysql_query("select uri from stylesheets where id=" $CURUSER["stylesheet"]));
    if (
$ss_a$ss_uri $ss_a["uri"];
  }
  if (!
$ss_uri)
  {
    (
$r mysql_query("SELECT uri FROM stylesheets WHERE id=1")) or die(mysql_error());
    (
$a mysql_fetch_array($r)) or die(mysql_error());
    
$ss_uri $a["uri"];
  }

  require_once 
"themes/".$ss_uri."/template.php";
  require_once(
"themes/" $ss_uri "/stdfoot.php");

then open global.php from within ROOT/include/ and remove these functions or /*code*/ them out:
PHP Code:
//-------- Begins a main frame

  
function begin_main_frame()
  {
    print(
"<table class=main width=750 border=0 cellspacing=0 cellpadding=0>" .
      
"<tr><td class=embedded>\n");
  }

  
//-------- Ends a main frame

  
function end_main_frame()
  {
    print(
"</td></tr></table>\n");
  }

  function 
begin_frame($caption ""$center false$padding 10)
  {
    
$tdextra "";
    
    if (
$caption)
      print(
"<h2>$caption</h2>\n");

    if (
$center)
      
$tdextra .= " align=center";

    print(
"<table width=100% border=1 cellspacing=0 cellpadding=$padding><tr><td$tdextra>\n");

  }

  function 
attach_frame($padding 10)
  {
    print(
"</td></tr><tr><td style='border-top: 0px'>\n");
  }

  function 
end_frame()
  {
    print(
"</td></tr></table>\n");
  }

  function 
begin_table($fullwidth false$padding 5)
  {
    
$width "";
    
    if (
$fullwidth)
      
$width .= " width=100%";
    print(
"<table class=main$width border=1 cellspacing=0 cellpadding=$padding>\n");
  }

  function 
end_table()
  {
    print(
"</td></tr></table>\n");
  }

  
//-------- Inserts a smilies frame
  //         (move to globals)

  
function insert_smilies_frame()
  {
    global 
$smilies$BASEURL$pic_base_url;

    
begin_frame("Smilies"true);

    
begin_table(false5);

    print(
"<tr><td class=colhead>Type...</td><td class=colhead>To make a...</td></tr>\n");

    while (list(
$code$url) = each($smilies))
      print(
"<tr><td>$code</td><td><img src=\"{$pic_base_url}smilies/{$url}></td>\n");

    
end_table();

    
end_frame();
  } 
drop the stylesheets table and add this table

PHP Code:
CREATE TABLE stylesheets (
  
id int(10unsigned NOT NULL auto_increment,
  
uri varchar(255NOT NULL default '',
  
name varchar(64NOT NULL default '',
  
PRIMARY KEY  (id)
TYPE=MyISAM
then add these (you can add any of below if you dont want all 3 but make sure to make your default theme id 1 ):
PHP Code:
INSERT INTO stylesheets VALUES (1,'ICGstation','ICGstation theme');
INSERT INTO stylesheets VALUES (2,'default','(default)');
INSERT INTO stylesheets VALUES (3,'large','Large text'); 
then create a folder in your root and call it "themes"

now all you need to do is download the torrentstrike source and copy the themes into your themes folder and then just edit the links to your inbox etc


http://www.tbdev.net/index.php?showtopic=14878
Reply With Quote
  #7  
Old 10th June 2010, 12:44
mat22 mat22 is offline
Senior Member
 
Join Date: Jun 2009
Latvia
Posts: 119
Default
Is there some chance someone could make theme like this for Yuna? I know I can remake it but i'm just too lazy!
Reply With Quote
  #8  
Old 12th June 2010, 07:34
KiD's Avatar
KiD KiD is offline
Senior Member
 
Join Date: Nov 2008
Denmark
Posts: 110
Default
Sure, but requires some work :D
__________________
Regards KiD

ThemeFactory - Tracker Related Skins, Graphic & Support
Visit us here: http://www.themefactory.net
Reply With Quote
  #9  
Old 15th June 2010, 14:24
mat22 mat22 is offline
Senior Member
 
Join Date: Jun 2009
Latvia
Posts: 119
Default
I think i'll give it a try.
Reply With Quote
  #10  
Old 12th September 2010, 18:17
gram's Avatar
gram gram is offline
Senior Member
 
Join Date: Oct 2009
P2P
Posts: 40
Default
how can i install this theme?
Reply With Quote
Reply

Tags
09 , template , uniquepixels

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Phogo Template Phogo Mods & Themes 1 9th November 2012 06:34
Template Timisoreanul Community Cafe 2 31st August 2010 22:56
need Template weezy Sell & Buy 2 23rd June 2010 16:31
[TS 6.3]template psl Template Shares 4 31st January 2010 22:24
Template for FTS Dragan3591 Free Torrent Source 3 18th January 2009 14:36



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