PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
kevinkap
Involved
Involved


Joined: Apr 22, 2006
Posts: 350

PostPosted: Tue Sep 26, 2006 5:56 pm Reply with quote Back to top

I have installed \NSN_News_200rc2_70-79 on rwsRavenNuke76_v2.02.02_FULL. I have made the changes to nova-games.net advanced news block so it will pull the pages correctly. Now in the nsn news module I have the problem when viewing stories, it adds a second row of blocks to the right hand side. You can see here:
Only registered users can see links on this board!
Get registered or login to the forums!

I have not found in the NEarticle.php file how to solve this.

One thing I was able to fix on my own non php abilities was, if news is set as the main module in home then in news/index.php I had to change this:

if($module_name == $main_module) {
$module_link = "modules.php?name=$module_name&";
$form_link = "modules.php?name=$module_name";
} else {
$module_link = "modules.php?name=$module_name&;";
$form_link = "modules.php?name=$module_name";


to this:

if($module_name == $main_module) {
$module_link = "index.php?";
$form_link = "index.php";
} else {
$module_link = "modules.php?name=$module_name&";
$form_link = "modules.php?name=$module_name";

in order for the news stories to be brought up in their own page instead of under all the blocks in the home page. Just my preference.
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Tue Sep 26, 2006 6:08 pm Reply with quote Back to top

well as it is mentionerd in another topic,playing around with right blocks side could be a pain as its hard coded into news.
the extra blocks you refer to is normal and should ne there...
taking it out isnt wise cause that would leave a big gap.

i see that your busy with a center block...Football Headlines
you know it has the wrong colors....
if you take out the design it will grab your default theme design...
View user's profile Send private message
kevinkap
Involved
Involved


Joined: Apr 22, 2006
Posts: 350

PostPosted: Tue Sep 26, 2006 6:16 pm Reply with quote Back to top

so the two extra blocks are supposed to be there because of the way nsn news is coded? As far as the center block. That blows my mind, it was the correct color until I was changing themes to see if that was the issue with the new blocks, as checking the theme had been mentioned earlier as well. I did not even mess with the center block, now I cannot get the color fixed on it. Sometimes I just want to pull out what little hair I have..
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Tue Sep 26, 2006 6:23 pm Reply with quote Back to top

well better take it step by step,not two things at the same time...
i recommend leaving the news as it is,it looks ok... Wink

as for the centerblock,if you go into the code im sure you will wind its color settings....
just adjust it to your theme..,or when you take out the design it will show automatically the theme colors..
View user's profile Send private message
kevinkap
Involved
Involved


Joined: Apr 22, 2006
Posts: 350

PostPosted: Tue Sep 26, 2006 6:34 pm Reply with quote Back to top

ok,

for the center multi headlines block the code is as follows,
echo "<table width=\"100%\" cellspacing=\"1\" bgcolor=\"$bgcolor2\">
<tr><td align=\"center\" colspan=\"2\" bgcolor=\"$bgcolor1\"><b>"._MH_INFOIN."</b></td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">"._MH_RSSURL."</td><td bgcolor=\"$bgcolor1\">".$site["urls_url"]."</td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">"._MH_XMLVERS."</td><td bgcolor=\"$bgcolor1\"><img src=\"modules/Multiheadlines/images/menus/xml10.gif\" alt=\"XML 1.0\" title=\"XML 1.0\" border=\"0\"></td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">"._MH_XMLENCOD."</td><td bgcolor=\"$bgcolor1\">".$url_info["xml_encoding"]."</td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">"._MH_RSSVERS."</td><td bgcolor=\"$bgcolor1\">".$image."</td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">"._MH_INFOTIT."</td><td bgcolor=\"$bgcolor1\">".$url_info["title"]."</td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">"._MH_INFOLINK."</td><td bgcolor=\"$bgcolor1\">".$url_info["link"]."</td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">";
if ($url_info["rss_version"]=="ATOM") {
echo _MH_INFOAUTH;
} else {
echo _MH_INFODESC;
}
echo " </td><td bgcolor=\"$bgcolor1\">".$url_info["description"]."</td></tr>";
echo " <tr><td width=\"30%\" bgcolor=\"$bgcolor1\">"._MH_RSSLANG."</td><td bgcolor=\"$bgcolor1\">".$url_info["language"]."</td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">"._MH_INFOGEN."</td><td bgcolor=\"$bgcolor1\">".$url_info["generator"]."</td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">"._MH_INFOCOPYRIGHT."</td><td bgcolor=\"$bgcolor1\">".$url_info["copyright"]."</td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">"._MH_INFOPUBDATE."</td><td bgcolor=\"$bgcolor1\">".$url_info["pubdate"]."</td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">"._MH_INFOLASTBUILD."</td><td bgcolor=\"$bgcolor1\">".$url_info["lastbuilddate"]."</td></tr>
<tr><td width=\"30%\" bgcolor=\"$bgcolor1\">";
if ($url_info["rss_version"]=="ATOM") {
echo _MH_INFOEMAIL;
} else {
echo _MH_INFOTTL;
}
echo " </td><td bgcolor=\"$bgcolor1\">".$url_info["ttl"]."</td></tr>
</table>";

I beleive this is meant to pull the colors from my theme, as that is what it has done for the past month after I installed it. Today, however after checking some default themes in regards to the nsn news issue(i thought i was haveing) now it is not pulling the colors from the default theme. Why would this be?

Thanks again for all your help..
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Tue Sep 26, 2006 6:42 pm Reply with quote Back to top

i tried to locate the color but its not in your theme...
doesnt the mod has some configuration somewhere..?
View user's profile Send private message
kevinkap
Involved
Involved


Joined: Apr 22, 2006
Posts: 350

PostPosted: Tue Sep 26, 2006 6:46 pm Reply with quote Back to top

this is my theme,

/************************************************************/
/* Theme Colors Definition */
/* */
/* Define colors for your web site. $bgcolor2 is generaly */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the */
/* other two bgcolor variables follows the same criteria. */
/* $texcolor1 and 2 are for tables internal texts */
/************************************************************/

$bgcolor1 = "#450909";
$bgcolor2 = "#450909";
$bgcolor3 = "#450909";
$bgcolor4 = "#450909";
$textcolor1 = "#ffffff";
$textcolor2 = "#ffffff";

include("themes/WS_RedX/tables.php");

/************************************************************/
/* Function themeheader() */
/* */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks */
/* function for left side with: blocks(left); */
/************************************************************/

It has settings but they are , number of feeds, type of feeds, to put in db or not, db pruning and such, nothing with layout.

Like I said, it was fine until I changed themes earlier, guess I shouldn't have..
View user's profile Send private message
kevinkap
Involved
Involved


Joined: Apr 22, 2006
Posts: 350

PostPosted: Tue Sep 26, 2006 7:33 pm Reply with quote Back to top

wow, i do not know why, but the color is fixed now. Weird!!
View user's profile Send private message
persona_non_grata



Joined:
Posts: 0

PostPosted: Wed Sep 27, 2006 3:50 am Reply with quote Back to top

mmm yes thats weird....
i allready checked your theme and the color wasnt in there..
but its fixed and thats what counts.. Laughing
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum