PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  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
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Mon Mar 22, 2004 3:59 pm Reply with quote Back to top

Hello theme guru, I have a snippet of code showing at the bottom of stories pages
Code:

CloseTable(); echo "
"; } ?>

I have the subBlack theme on my site. Where might I find this bit of code and how do I fix it? Thanks mucho hombre.
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Tue Mar 23, 2004 10:38 am Reply with quote Back to top

bumpbump, guru
View user's profile Send private message Visit poster's website
Nukeum66
Life Cycles Becoming CPU Cycles


Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA

PostPosted: Tue Mar 23, 2004 7:40 pm Reply with quote Back to top

Does this stay there when you change themes?
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Tue Mar 23, 2004 9:03 pm Reply with quote Back to top

Ah... I'll go look 'n see, nukeum guru...
It's just a squiggle of loose code at the bottom of a story page, you know click read more and at the end of the next page... back anon
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Tue Mar 23, 2004 9:13 pm Reply with quote Back to top

Yup, in both themes I use are those puzzling pernicious words
Code:
Posted on Monday, March 22 @ 16:04:17 EST by southern
 
 
 


 CloseTable(); echo "
"; } ?> 
View user's profile Send private message Visit poster's website
Nukeum66
Life Cycles Becoming CPU Cycles


Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA

PostPosted: Tue Mar 23, 2004 9:53 pm Reply with quote Back to top

Have you made any changes to your News module ? I think that is where this is coming from.
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Tue Mar 23, 2004 9:58 pm Reply with quote Back to top

Well, I mighta put on a security fix or two, wouldn't be nary other reason to mess with the News module. I'll go look... back anon
View user's profile Send private message Visit poster's website
Nukeum66
Life Cycles Becoming CPU Cycles


Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA

PostPosted: Tue Mar 23, 2004 10:19 pm Reply with quote Back to top

Look in modules/News/comments.php see if the code at the bottom looks like so:
about lines 93-111
Code:
function nocomm() {
    OpenTable();
    echo "<center><font class=\"content\">"._NOCOMMENTSACT."</font></center>";
    CloseTable();
}

function navbar($sid, $title, $thold, $mode, $order) {
    global $user, $bgcolor1, $bgcolor2, $textcolor1, $textcolor2, $anonpost, $prefix, $db, $module_name;
    $sql = "SELECT * FROM ".$prefix."_comments WHERE sid='$sid'";
    $query = $db->sql_query($sql);
    if(!$query) {
   $count = 0;
    } else {
   $count = $db->sql_numrows($query);
    }
    if(!isset($thold)) {
   $thold=0;
    }
    echo "\n\n<!-- COMMENTS NAVIGATION BAR START -->\n\n";
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Tue Mar 23, 2004 10:46 pm Reply with quote Back to top

Same, same
Code:
function nocomm() {
    OpenTable();
    echo "<center><font class=\"content\">"._NOCOMMENTSACT."</font></center>";
    CloseTable();
}

function navbar($sid, $title, $thold, $mode, $order) {
    global $user, $bgcolor1, $bgcolor2, $textcolor1, $textcolor2, $anonpost, $prefix, $db, $module_name;
    $sql = "SELECT * FROM ".$prefix."_comments WHERE sid='$sid'";
    $query = $db->sql_query($sql);
    if(!$query) {
   $count = 0;
    } else {
   $count = $db->sql_numrows($query);
    }
    if(!isset($thold)) {
   $thold=0;
    }
    echo "\n\n<!-- COMMENTS NAVIGATION BAR START -->\n\n";

Where next, guru one?
View user's profile Send private message Visit poster's website
Nukeum66
Life Cycles Becoming CPU Cycles


Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA

PostPosted: Tue Mar 23, 2004 11:07 pm Reply with quote Back to top

Try modules/News/associates.php

Code:
if ($arow[associated] != "") {
    OpenTable();
    echo "<center><b>"._ASSOTOPIC."</b><br><br>";
    $asso_t = explode("-",$arow[associated]);
    for ($i=0; $i<sizeof($asso_t); $i++) {
   if ($asso_t[$i] != "") {
       $sql2 = "SELECT topicimage, topictext from ".$prefix."_topics WHERE topicid='$asso_t[$i]'";
       $result2 = $db->sql_query($sql2);
       $atop = $db->sql_fetchrow($result2);
       echo "<a href=\"modules.php?name=$module_name&new_topic=$asso_t[$i]\"><img src=\"$tipath$atop[topicimage]\" border=\"0\" hspace=\"10\" alt=\"$atop[topictext]\" title=\"$atop[topictext]\"></a>";
   }
    }
    echo "</center>";
    CloseTable();
    echo "<br>";
}

?>
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Tue Mar 23, 2004 11:23 pm Reply with quote Back to top

I overwrote my code here
Code:
if ($arow[associated] != "") {
    OpenTable();
    echo "<center><b>"._ASSOTOPIC."</b><br><br>";
    $asso_t = explode("-",$arow[associated]);
    for ($i=0; $i<sizeof($asso_t); $i++) {
   if ($asso_t[$i] != "") {
       $sql2 = "SELECT topicimage, topictext from ".$prefix."_topics WHERE topicid='$asso_t[$i]'";
       $result2 = $db->sql_query($sql2);
       $atop = $db->sql_fetchrow($result2);
       echo "<a href=\"modules.php?name=$module_name&new_topic=$asso_t[$i]\"><img src=\"$tipath$atop[topicimage]\" border=\"0\" hspace=\"10\" alt=\"$atop[topictext]\" title=\"$atop[topictext]\"></a>";
   }
    }
    echo "</center>";
    CloseTable();
    echo "<br>";
}

?>   CloseTable();
    echo "<br>";
}

?>

with the code you put above and it's gone, the squiggle is gone.
Muchos gracias, guru. Smile
View user's profile Send private message Visit poster's website
Nukeum66
Life Cycles Becoming CPU Cycles


Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA

PostPosted: Tue Mar 23, 2004 11:30 pm Reply with quote Back to top

PEPSI PLEASE! A WHOLE CASE ....... Laughing
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Tue Mar 23, 2004 11:48 pm Reply with quote Back to top

Ahh... in the souf' it's called Coke even iffn it Pepsi... Kool-Aid is juice, a shopping cart is a buggy, girls are gals, but Pepsi it is iffn that what you wants. Smile
View user's profile Send private message Visit poster's website
Nukeum66
Life Cycles Becoming CPU Cycles


Joined: Jul 30, 2003
Posts: 551
Location: Neurotic, State, USA

PostPosted: Tue Mar 23, 2004 11:58 pm Reply with quote Back to top

I know ! I've lived in Tennessee for 13 yrs. , but I'm from Ohio/Indiana . I know to ask now, "Would you like a Coke or Pespi-Coke or DoctorPepper-Coke" and so on....... LOL!! Rolling Eyes

"All of you" is "All Yall" Laughing
View user's profile Send private message Visit poster's website
southern
Client


Joined: Jan 29, 2004
Posts: 579
Location: Texas

PostPosted: Wed Mar 24, 2004 8:17 am Reply with quote Back to top

It's enough to start a civil war.... but thanks, Nukeum!
View user's profile Send private message Visit poster's website
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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum