Author |
Message |
rugbyleaguer
Hangin' Around
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Dec 17, 2007
Posts: 29
|
Posted:
Mon Feb 07, 2011 3:01 pm |
|
Ok so I uploaded some topic images where the default topic images reside, however when I put a new item on the main page assigned to a particlar topic the image doesn't appear anywhere.
I am using the CT_RN Black theme, has this been disabled as part of the theme?? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
PHrEEkie
Subject Matter Expert
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Feb 23, 2004
Posts: 358
|
Posted:
Mon Feb 07, 2011 5:50 pm |
|
Not familiar with that theme.. do the default images show? If so, then it isn't the theme.
- Keith |
_________________ PHP - Breaking your legacy scripts one build at a time. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Feb 08, 2011 1:18 am |
|
After you upload the image(s) you have to then add them through the Topics admin menu. Did you do that? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Tue Feb 08, 2011 6:40 am |
|
That theme does not display topic images on the index. That is the way the designer of it intended. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rugbyleaguer
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Feb 11, 2011 10:33 am |
|
Thats a bugger, any way to add it?? Would anyone know the coding to add it? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Susann
Moderator
![](modules/Forums/images/avatars/4e3210db4efb891870d79.gif)
Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Fri Feb 11, 2011 3:33 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rugbyleaguer
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Feb 11, 2011 3:44 pm |
|
I knew it was prob the theme that was designed that way as it wouldnt use the default images, but thanks a lot for your help tis greatly appreciated. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rugbyleaguer
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 13, 2011 8:09 am |
|
Looking at that last post I can almost follow what wants to go in but unsure where would any kind person show me what code I need to add and where in the following code?
Here is the Theme code:
Code:<?php
/********************************************************/
/* Clan Template for PHP-Nuke */
/* Theme Designed and coded by */
/* http://www.clanthemes.com */
/********************************************************/
// BEGIN: Added in v2.40.00 - Mantis Issue 0001043
//$index = 0;
//if (!defined('INDEX_FILE')) define('INDEX_FILE', true); // Set to FALSE to hide right blocks
//if (defined('INDEX_FILE') AND INDEX_FILE===true) {
// auto set right blocks for pre patch 3.1 compatibility
// $index = 1;
//}
// END: Added in v2.40.00 - Mantis Issue 0001043
$bgcolor1 = '#c40002';
$bgcolor2 = '#c40002';
$bgcolor3 = '#c40002';
$bgcolor4 = '#c40002';
$textcolor1 = '#666666';
$textcolor2 = '#666666';
function themeheader() {
global $module_name, $banners, $admin, $user, $name, $sitename, $index, $admin_file, $nukeurl, $slogan, $nukeNAV;
echo '<body>';
if (!empty($nukeNAV)) $nukeNAV = '<span class="left"> </span><span class="right"> </span>'.$nukeNAV.'';
else {
$nukeNAV = '<span class="right"> </span><span class="left"> </span>
<a href="./index.php">Home</a>
<a href="./modules.php?name=News">News</a>
<a href="./modules.php?name=Downloads">Downloads</a>
<a href="./modules.php?name=Forums">Forum</a>
<a href="./modules.php?name=Reviews">Reviews</a>
<a href="./modules.php?name=Advertising">Advertisement</a>
<a href="./modules.php?name=Your_Account">Account</a>
<a href="./modules.php?name=Feedback">Contact</a>';
if (is_admin($admin)) {
$nukeNAV .= '<a href="./admin.php">Admin</a>';
} else {
$nukeNAV .= '<a href="./modules.php?name=Search">Search</a>';
}
}
echo '
<div id="container">
<!-- Navigation -->
<div id="navigation">';
echo $nukeNAV;
echo '</div>
<div id="themecontainer">
<!-- Banner -->
<h1>
<a href="./"><img src="themes/CT_RN_BLACK/random_banners/random_banner.php" alt="My site" title="My Site" /></a>
</h1>
<!-- Spotlight Section -->
<div id="spotlight">
<div id="span1"></div><div id="span2"></div>
<img src="themes/CT_RN_BLACK/images/small_spotlight.gif" alt="Spotlight" class="overlay" />';
if ($banners) {
echo '<br /><br />';
$adText = '';
$adText = ads(0);
if (!empty($adText)) {
echo '<div>' . $adText . '</div>';
}else{
echo '<a href="http://www.Mysite.co.uk" title="MySite"><img src="themes/CT_RN_BLACK/images/spotlight.jpg" alt="PCC" title="PCC" /></a>';
}
};
echo '</div>';
echo '<br><!-- Content start - Column wrapper -->
<div id="columns">';
// Column 1 (left)
if (($module_name != 'Forums') AND ($module_name !='Your_Account') AND ($module_name !='Journal') AND ($module_name !='Topics') AND ($module_name !='Private_Messages') AND ($module_name !='Members_List')):
echo '<div class="col1">';
blocks('l');
echo '<p class="clear" /></div>';
endif;
//coloum 2 (center)
if (empty($index)) { $index = null; }
if (defined('INDEX_FILE') || ($index == 1)) {
// right blocks are showing
echo '<div class="col2">';
}
elseif (($module_name != 'Forums') AND ($module_name !='Your_Account') AND ($module_name !='Journal') AND ($module_name !='Topics') AND ($module_name !='Private_Messages') AND ($module_name !='Members_List'))
{
// right blocks are NOT showing
echo '<div class="col2_special">';
}
else { echo "<div>"; }
}
function themefooter() {
global $foot1, $foot2, $foot3, $footer_message, $index;
echo '<p class="clear" /></div><!-- end center -->';
if (defined('INDEX_FILE') && INDEX_FILE===true || ($index === 1)) {
echo '<!-- Column 3 (Right) --><div class="col1">';
blocks('r');
echo '<p class="clear" /></div>';
}
echo '
</div>
<!-- end columns -->
<div id="copyright">';
footmsg();
echo '
<!-- Do not edit the below copyright you are not allowed to edit or remove the below copyright, please give us some credit thanks -->
<strong><a target="_blank" href="http://www.mysite.co.uk" title="Template By Me">Theme Layout by Me</a></strong>';
echo '</div>
<div id="footer">
<span class="right"> </span>
<span class="left"> </span>
</div>
</div>
</div>
<!-- end container -->';
}
function OpenTable() {
echo'<h2>
<div id="span1"></div><div id="span2"></div>
</h2>
<div class="block_content">
<div class="roundcont">
<div class="roundtop">
<div>
<img src="themes/CT_RN_BLACK/images/tl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
<div class="articlecontent">';
}
function CloseTable() {
echo' </div>
<div class="roundbottom">
<img src="themes/CT_RN_BLACK/images/bl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
</div>
</div>
</div>';
}
function OpenTable2() {
echo "\n".'<!-- table start --><div class="table2">'."\n";
}
function CloseTable2() {
echo "\n".'</div><!-- table end -->'."\n";
}
function themesidebox($title, $content) {
echo' <h2>
<div id="span1">'.$title.'</div><div id="span2"></div>
</h2>
<div class="block_content">
<div class="roundcont">
<div class="roundtop">
<div>
<img src="themes/CT_RN_BLACK/images/tl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
<div class="articlecontent">
'.$content.'
</div>
<div class="roundbottom">
<img src="themes/CT_RN_BLACK/images/bl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
</div>
</div>
</div>
<p class="clear" />';
}
function themecenterbox($title, $content) {
echo' <h2>
<div id="span1">'.$title.'</div><div id="span2"></div>
</h2>
<div class="block_content">
<div class="roundcont">
<div class="roundtop">
<div>
<img src="themes/CT_RN_BLACK/images/tl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
<div class="articlecontent">
'.$content.'
</div>
<div class="roundbottom">
<img src="themes/CT_RN_BLACK/images/bl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
</div>
</div>
</div>
<p class="clear" />';
}
function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath, $user, $admin, $index;
$content = '';
if (!empty($thetext)) $thetext = '<div>'.$thetext.'</div>';
if (!empty($notes)) {
$notes = '<br /><b>'._NOTE.'</b> <div>'.$notes.'</div>';
} else {
$notes = '';
}
if ($aid == $informant) {
$content = $thetext.$notes;
} else {
if(!empty($informant)) {
global $admin, $user;
if (is_user($user)||is_admin($admin)) $content = '<a href="modules.php?name=Your_Account&op=userinfo&username='.$informant.'"><i>'.$informant.'</i></a> ';
else $content = $informant.' ';//Raven 10/16/2005
} else {
$content = $anonymous.' ';
}
$content .= '<i>'._WRITES.':</i> '.$thetext.$notes;
}
$posted = _POSTEDBY.' ';
if (is_user($user)||is_admin($admin)) $posted .= '<a href="modules.php?name=Your_Account&op=userinfo&username='.$aid.'">'.$aid.'</a>';
else $posted .= $aid; //Raven 10/16/2005
$posted .= ' '._ON.' '.$time.' ('.$counter.' '._READS.')';
echo' <h2>
<div id="span1">'.$title.'</div><div id="span2"></div>
</h2>
<div class="block_content">
<div class="roundcont">
<div class="roundtop">
<div>
<img src="themes/CT_RN_BLACK/images/tl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
<div class="articlecontent">
'.$content.'
</div><br>
<p class="clear" />
'.$morelink.'
<div class="roundbottom">
<img src="themes/CT_RN_BLACK/images/bl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
</div>
</div>
</div>
<p class="clear" />
<div class="block_content">
<div class="roundcont">
<div class="roundtop">
<div>
<img src="themes/CT_RN_BLACK/images/tl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
<div class="articlecontent">
'.$posted.'
</div>
<div class="roundbottom">
<img src="themes/CT_RN_BLACK/images/bl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
</div>
</div>
</div>
';
}
function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext, $notes) { //montego - added $notes for RavenNuke
global $admin, $sid, $tipath, $index;
$thetext = '<div>'.$thetext.'</div>';
$posted = _POSTEDON.' '.$datetime.' '._BY.' ';
$posted .= get_author($aid);
if (!empty($notes)) {
$notes = '<br /><b>'._NOTE.'</b> <div>'.$notes.'</div>';
} else {
$notes = '';
}
if ($aid == $informant) {
$content = $thetext.$notes;
} else {
if(!empty($informant)) {
global $admin, $user;
if (is_user($user)||is_admin($admin)) $content = '<a href="modules.php?name=Your_Account&op=userinfo&username='.$informant.'"><i>'.$informant.'</i></a> ';
else $content = $informant.' ';//Raven 10/16/2005
} else {
$content = $anonymous.' ';
}
$content .= '<i>'._WRITES.'</i> <div>'.$thetext.'</div>'.$notes;
}
echo' <h2>
<div id="span1">'.$title.'</div><div id="span2"></div>
</h2>
<div class="block_content">
<div class="roundcont">
<div class="roundtop">
<div>
<img src="themes/CT_RN_BLACK/images/tl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
<div class="articlecontent">
'.$posted.'
</div>
<div class="roundbottom">
<img src="themes/CT_RN_BLACK/images/bl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
</div>
</div>
</div>
<div class="block_content">
<div class="roundcont">
<div class="roundtop">
<div>
<img src="themes/CT_RN_BLACK/images/tl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
<div class="articlecontent">
'.$content.'
</div>
<p class="clear" />
<div class="roundbottom">
<img src="themes/CT_RN_BLACK/images/bl.gif" alt="" width="15" height="15" class="corner" style="display: none" />
</div>
</div>
</div>
</div>
<p class="clear" />';
}
?>
|
Thanks in advance. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sun Feb 13, 2011 1:53 pm |
|
In case this is a commercial script, you should get support for this from the ClanThemes websites where it was purchased/downloaded. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rugbyleaguer
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 13, 2011 2:05 pm |
|
I would be their site is down, as it is a free download from their site thought someone on here would be kind enough to help out. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Feb 13, 2011 5:15 pm |
|
It's not down now ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rugbyleaguer
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 14, 2011 12:08 pm |
|
Yeah back up but absolutely no response ![Sad](modules/Forums/images/smiles/icon_sad.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 14, 2011 2:09 pm |
|
I sent them an email in the event your post got overlooked. I know it happens to me more frequently than I'd like to admit ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rugbyleaguer
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 14, 2011 2:10 pm |
|
Thanks a lot, I'm sure the change is a 5 min job to them as well lol |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
xGSTQ
Involved
![Involved Involved](modules/Forums/images/ranks/4stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Feb 03, 2006
Posts: 269
|
Posted:
Mon Feb 14, 2011 2:21 pm |
|
THis is Ped sorry ive not replied to your post on CT
Just been so busy with life !! im sure you are all aware of life hehe and we just moved server yesterday as well so we have been occupied with some tiny issues
Anyway CT_RN_BLACK is a free theme, ill have a look at the code tomorrow and sort you out, like you said its only a 2 minute fix/issue
Ill post the new code in this thread here >> http://www.clanthemes.com/ftopict-7263-ctrnblack-theme.html
Regards
Ped |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
xGSTQ
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Feb 14, 2011 9:22 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 15, 2011 2:40 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Tue Feb 15, 2011 3:24 am |
|
rugbyleaguer,
![RavensScripts](modules/Forums/images/smiles/ravensphpscripts.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|