Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Torrent Trader
Reply
Thread Tools
  #1  
Old 12th February 2011, 18:19
dumorim dumorim is offline
Senior Member
 
Join Date: Dec 2010
P2P
Posts: 30
Question Editing a post in images before the names of the categories
I would like to know how to put these images before the names of the categories

Click the image to open in full size.
Reply With Quote
  #2  
Old 12th February 2011, 18:56
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
? they are arnt they? post your category block and il fix it up. or do you mean like.. either way post your block or the code :D

Image
Cat Name

Image
Cat Name

Image
Cat Name

if want to try yourself. follow the code for image will look like
Code:
<img src='/images/music.png' border='0'>&nbsp;<a href='link to cat '></a>
change
Code:
&nbsp;
to
Code:
<BR />
this will make a break and place name below image.

--> &nbsp; means: no break space so you get a space then link like your screen.
-- > <BR /> mean break, so you will see link below image.
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #3  
Old 12th February 2011, 20:04
dumorim dumorim is offline
Senior Member
 
Join Date: Dec 2010
P2P
Posts: 30
Default
I wonder where I find this code in which folder?
Reply With Quote
  #4  
Old 12th February 2011, 22:00
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
mmm i think it will be in blocks/categories_block.php OR will be in theme/theme_name/header.php.
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #5  
Old 13th February 2011, 16:53
dumorim dumorim is offline
Senior Member
 
Join Date: Dec 2010
P2P
Posts: 30
Default
would first like to thank but we do not have this code here is not the only thing I know is that in this database
Reply With Quote
  #6  
Old 13th February 2011, 23:54
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
Quote:
Originally Posted by dumorim View Post
would first like to thank but we do not have this code here is not the only thing I know is that in this database
I am not sure what you mean sir. this is a modified block, i thought you had this and wanted to change it? if you show me where this block (what site is this on). I can code it up with images for you and post it here.
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #7  
Old 14th February 2011, 06:48
dumorim dumorim is offline
Senior Member
 
Join Date: Dec 2010
P2P
Posts: 30
Default

maincats_block.php

PHP Code:
<?
if (!$site_config["MEMBERSONLY"] || $CURUSER) {
begin_block("".BROWSE_TORRENTS."");
    
$catsquery mysql_query("SELECT distinct parent_cat FROM categories ORDER BY parent_cat")or die(mysql_error());
    echo 
"- <a href=torrents.php>".SHOWALL."</a><BR>\n";
    while(
$catsrow MYSQL_FETCH_ARRAY($catsquery)){
        echo 
"- <a href=torrents.php?parent_cat=".urlencode($catsrow['parent_cat']).">$catsrow[parent_cat]</a><BR>\n";
    }

end_block();
}
?>
header.php

PHP Code:
<?php
//-----------------------------------------------------------------------//
//-----------------------------------------------------------------------//
//-----------------------------THEME BY:---------------------------------//
//-----------------------------------------------------------------------//
//--------------------------Ralphie & Nikkbu-----------------------------//
//-----------------------------------------------------------------------//
//-----------------------------------------------------------------------//
$GLOBALS['tstart'] = array_sum(explode(" "microtime()));
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- inicio baloo -->
<script type="text/javascript" src="<?= $site_config["SITEURL"]; ?>/themes/NB-Carbon/overlib.js"></script>
<!-- fim baloo -->
<HTML xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="js/prototype.js"></script>
<!-- inicio imagem -->
<script type="text/javascript"> 
        var GB_ROOT_DIR = "./greybox/";
    </script>

    <script type="text/javascript" src="greybox/AJS.js"></script>
    <script type="text/javascript" src="greybox/AJS_fx.js"></script>
    <script type="text/javascript" src="greybox/gb_scripts.js"></script>
    <link href="greybox/gb_styles.css" rel="stylesheet" type="text/css" media="all" />
<!-- fim imagem -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?= $title?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?= $site_config["CHARSET"]; ?>">
<link rel="stylesheet" type="text/css" href="themes/Dark-Vista/theme.css">
<script type="text/javascript" src="<?= $site_config["SITEURL"]; ?>/backend/java_klappe.js"></script>
<style type="text/css">
<!--
img {
    behavior: url(themes/NB/images/iepngfix.htc);
    border: 0px;
}
-->
</style>
</head>

<BODY id="NB-Body">
<!-- Theme By: Ralphie & Nikkbu -->
<div id="container">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="18" height="112"><img src="themes/Dark-Vista/images/head-l.png" width="18" height="112" /></td>
<td height="112" align="center" background="themes/Dark-Vista/images/head-bg.png"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="112" align="right" valign="top" id="logo"><div id="infobar">
<!-- START INFOBAR CODE -->

<?
if (!$CURUSER){
    echo 
"[<a href=\"account-login.php\">"LOGIN "</a>]<B> or </B>[<a href=\"account-signup.php\">" SIGNUP "</a>]&nbsp;&nbsp;";
}else{
    print (
"".LOGGEDINAS.": ".$CURUSER["username"].""); 
    echo 
" <a href=\"account-logout.php\">[".LOGOUT."]</a> - ";
    if (
$CURUSER["control_panel"]=="yes") {
        print(
"<a href=admincp.php>[" STAFFCP "]</a> - ");
    }

//check for new pm's
                    
$res mysql_query("SELECT COUNT(*) FROM messages WHERE receiver=" $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')") or print(mysql_error());
                    
$arr mysql_fetch_row($res);
                    
$unreadmail $arr[0];
                    if (
$unreadmail){
                        print(
"<font color=#FF0000><B>[Nova MP] (<a href=mailbox.php?inbox>$unreadmail</a>)</b></a></font>&nbsp;&nbsp;");
                    }else{
                        print(
"<a href=mailbox.php>[Minhas mensagens]</a>&nbsp;&nbsp;");
                          
                    }
                    print(
"<font color=#FF0000><B>[Seeding pontos] <a href='seedingbonus.php'>".$CURUSER['seedbonus']."");
                    
//end check for pm's
}
?>
<!-- END INFOBAR CODE -->
</div></td>
</tr>
</table></td>
<td width="18" height="112"><img src="themes/Dark-Vista/images/head-r.png" width="18" height="112" /></td>
</tr>
</table><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="14" height="30"><img src="themes/Dark-Vista/images/nav-l.png" width="14" height="30" /></td>
<td height="30" align="left" background="themes/Dark-Vista/images/nav-bg.png"><table border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td height="30" background="themes/Dark-Vista/images/subnav-bg.png">
<!-- START SUBNAV CODE -->
<div id="nav">
    <ul>
    <li><a href="index.php"><span>Home</span></a></li>
    <li><a href="torrents-upload.php"><span>Enviar Torrent</span></a></li>
    <li><a href="torrents.php"><span>Ver Torrents</span></a></li>
    <li><a href="torrents-today.php"><span>Torrents do Dia</span></a></li>
    <li><a  href="torrents-search.php"><span>Pesquisar</span></a></li>
    <li><a  href="faq.php"><span>FAQ</span></a></li>
    </ul>
</div>
<!-- END SUBNAV CODE -->
</td>
<td width="51" height="30"><img src="themes/Dark-Vista/images/subnav-r.png" width="51" height="30" /></td>
</tr>
</table></td>
<td width="14" height="30"><img src="themes/Dark-Vista/images/nav-r.png" width="14" height="30" /></td>
</tr>
</table><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" background="themes/Dark-Vista/images/body-ml.png"><img src="themes/Dark-Vista/images/blank.gif" width="10" height="12" /></td>
<td width="100%" valign="top" background="themes/Dark-Vista/images/body-mm.png"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tboby>
<tr>
<td valign="top">
<!-- START CONTENT CODE -->
<TABLE cellSpacing="8" cellPadding="0" width="100%" border="0" >
<TBODY>
<TR>

<?if ($site_config["LEFTNAV"]){?>
<TD vAlign="top" width="180">
<?leftblocks();?>
</TD>
<? //LEFTNAV ON/OFF END?>

<TD vAlign="top"><!-- MAIN CENTER CONTENT START -->

<?
if ($site_config["MIDDLENAV"]){
    
middleblocks();
//MIDDLENAV ON/OFF END
?>
Reply With Quote
  #8  
Old 14th February 2011, 17:29
daffy's Avatar
daffy daffy is offline
Senior Member
 
Join Date: Mar 2009
United Kingdom
Posts: 550
Default
is this the block from the screenshot?
__________________
"FFS PPL READ GOD DAMMIT, WHAT AM I GOOGLE?"
"I Kill You!" simples


http://i.imgur.com/DtcRfH5.gif

I also Setup And Modify Trackers PM For Details
Reply With Quote
  #9  
Old 14th February 2011, 21:13
dumorim dumorim is offline
Senior Member
 
Join Date: Dec 2010
P2P
Posts: 30
Default
from what I understand we have to edit would be maincats_block.php
Reply With Quote
Reply

Tags
categories , editing , images , names , post


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 15:22. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.