Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 84
5 members and 79 guests
huelva9, peardir46, ral6qkeighqenpa, tamyrtpawaterda, tsevytefasl
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > General > Site design

Reply
 
LinkBack Thread Tools Display Modes
background pic on center block
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 40
Join Date: Mar 2003
Location: Denmark
background pic on center block - 04-15-2003, 04:59 PM

I've just added a"all info" block shows new links, news and stuff
I want a bar pic as backgound for the title as on right and left side. Been over the theme files found out it's a little deeper than that probably some php file which I don't want 2 mess with, without asking first :mrgreen:

Nuke is 6.5 so is my theme

hope 4 a reply

cheers
  Send a message via MSN to GorGonDo  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 40
Join Date: Mar 2003
Location: Denmark
04-15-2003, 06:30 PM

could I make html file 2 control it like story_home.html
  Send a message via MSN to GorGonDo  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
04-15-2003, 08:02 PM

Without knowing exactly what this block is all about, it's hard to specualte.

Can you post it or Download so we can take a look at it?

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 40
Join Date: Mar 2003
Location: Denmark
04-15-2003, 08:22 PM

Code:
<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System                                          */
/* ===========================                                          */
/*                                                                      */
/* PHP All Info Block by: SlimBrady                                     */
/* http://unitedgamerz.net                                              */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/
if (eregi("block-All_Info.php", $_SERVER['PHP_SELF'])) {
    Header("Location: index.php");
    die();
}

global $prefix, $multilingual, $currentlang, $db;

if ($multilingual == 1) {
    $querylang = "WHERE (alanguage='$currentlang' OR alanguage='')";
} else {
    $querylang = "";
}
$content = "<table width=\"100%\" border=\"0\">";
$content .= "<tr><td align=\"left\">Headlines:
";
$sql = "SELECT sid, title, comments, counter FROM ".$prefix."_stories $querylang ORDER BY sid DESC LIMIT 0,10";
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result)) {
    $sid = $row[sid];
    $title = $row[title];
    $comtotal = $row[comments];
    $counter = $row[counter];
    $content .= "<big>&</big>&<a href=\"modules.php?name=News&file=article&sid=$sid\">$title</a>
";
}
$content .= "<big>&</big>&<a href=\"modules.php?name=News\">More News...</td>";
?>
<?php


if (eregi("block-All_Info.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

global $prefix, $dbi;

$a = 1;
$result = sql_query("select lid, title from ".$prefix."_downloads_downloads order by hits DESC limit 0,5", $dbi);
	$content .= "<td valign=\"top\">Top Downloads:
";
while(list($lid, $title) = sql_fetch_row($result, $dbi)) {
    $title2 = ereg_replace("_", " ", $title);
    $content .= "<big>&</big>&$a: <a href=\"modules.php?name=Downloads&d_op=viewdownloaddetails&lid=$lid&title=$title\">$title2</a>
";
	$a++;
}
$content .= "
";
?>
<?php
if (eregi("block-All_Info.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

global $prefix, $dbi;

$a = 1;
$result2 = sql_query("select lid, title from ".$prefix."_downloads_downloads order by date DESC limit 0,5", $dbi);
	$content .= "New Downloads:
";
while(list($lid3, $title3) = sql_fetch_row($result2, $dbi)){
	$title4 = ereg_replace("_", " ", $title3);
	$content .= "<big>&</big>&$a: <a href=\"modules.php?name=Downloads&d_op=viewdownloaddetails&lid=$lid3&title=$title3\">$title4</a>
";
    $a++;
	}
	$content .= "</table></td></tr>";
	?>
  Send a message via MSN to GorGonDo  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 40
Join Date: Mar 2003
Location: Denmark
04-15-2003, 08:35 PM

I dunno why it should have anything 2 do with the block just that I don't have any html file 2 control design with when I put the block in center
  Send a message via MSN to GorGonDo  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
04-15-2003, 08:40 PM

hmm..well, I don't think I can get it to do what you want...not enough html in it.

You'll just have to experiment with it.
You can see the html in the file, and get the idea of what the html looks like in a php file, but that block really doesn't have a lot going on... :?

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MsTrenches Block background color joshmosh Theme packs 2 03-17-2005 01:04 PM
Change the block background colour in subBlack3dBlue. Voodoo Site design 3 11-26-2004 05:56 PM
center block time jeffk Nuke 6.5 to 6.9 - Blocks 3 06-20-2003 03:33 AM
Forum Center Block 6.5 FleaSOG Nuke 6.5 to 6.9 - Blocks 3 06-18-2003 02:34 PM
How can I put a Center Block below the New Stories? rasputin Purged Topics 0 06-15-2003 01:49 AM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31