Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
Tizwit
Involved
Involved



Joined: Aug 29, 2004
Posts: 324
Location: New Mexico

PostPosted: Wed Nov 30, 2005 5:27 am Reply with quote

I am trying to figure out how to make the following thing look the same:

On this site:
[ Only registered users can see links on this board! Get registered or login! ]

you can see that the first news announcement does not have the duplication in the title as the second one does :

News: ** GOOD NEWS ** Michelle's Update">News: ** GOOD NEWS ** Michelle's Update


The only way I can get the duplication to not show up is to select "Articles" when submitted but I want to be able to not have it posted on the main page.

Any suggestions?

_________________
Brian [ Only registered users can see links on this board! Get registered or login! ]
Helping the Children in the NM Children's Hospital 
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Wed Nov 30, 2005 10:36 am Reply with quote

Hmm, wondering why you have the double quotes character in there, its almost is if it is trying to post a link in title.
 
View user's profile Send private message Send e-mail
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Wed Nov 30, 2005 2:50 pm Reply with quote

Possible that your theme.php has something duplicated in the themeindex() function or the story_home.html
It really does depend on how the theme is coded

_________________
- Star Wars Rebellion Network -

Need help? Nuke Patched Core, Coding Services, Webmaster Services 
View user's profile Send private message Visit poster's website
Tizwit







PostPosted: Wed Nov 30, 2005 5:27 pm Reply with quote

this may be it. I changed Themes and it corrected.

Thanx
 
guynuked
Hangin' Around



Joined: Jan 11, 2004
Posts: 37

PostPosted: Sun Feb 26, 2006 12:17 am Reply with quote

Sorry if this was already answered, I've tried, "double subject article", "double title" and "duplicate title". This post was only one I found.

I can confirm that this is isolated to: fisubice Theme

Because when I change to another theme, it disappears, therefore most likely pointed to fisubice Theme that is the culprit.

Yet, I cannot figure out what's causing the duplicate titling.

This is in story_home.html:

Quote:
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td bgcolor="#486386"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td height="27" style="background-image: url(/themes/fisubice/images/cellpic3.gif)"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><font class="storytitle"><b title="$title">$title</b></font><font class="block-title">&nbsp;</font></td>
</tr>
</table></td>
</tr>
<tr>
<td bgcolor="#F4F6FB"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td><a href="modules.php?name=News&amp;new_topic=$topic" title="$topictext"><img src="$tipath$topicimage" border="0" alt="$topictext" title="$topictext" align="right" hspace="10" vspace="10"></a><font class="storycontent">$content</font></td>
</tr>
</table></td>
</tr>
<tr>
<td height="27" bgcolor="#F4F6FB"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td ><div align="center"><font class="content">$posted</font><br><font class="content">$morelink</font></div></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>


This is in theme.php:

Quote:
/************************************************************/
/* Function themeindex() */
/* */
/* This function format the stories on the Homepage */
/************************************************************/

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
global $anonymous, $tipath;
if ($notes != "") {
$notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
} else {
$notes = "";
}
if ("$aid" == "$informant") {
$content = "$thetext$notes\n";
} else {
if($informant != "") {
global $admin, $user;
if (is_user($user)||is_admin($admin)) $content = "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$informant\">$informant</a> ";
else $content = $informant.' ';//Raven 10/16/2005
} else {
$content = "$anonymous ";
}
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
}
$posted = ""._POSTEDBY." ";
// $posted .= get_author($aid);
if (is_user($user)||is_admin($admin)) $posted .= "<a href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;username=$aid\">$aid</a>";
else $posted .= $aid; //Raven 10/16/2005
$posted .= " "._ON." $time $timezone ($counter "._READS.")";
$tmpl_file = "themes/fisubice/story_home.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}


Do you see anything obvious?

Note this only happens on main page, it isn't a problem when after you click on 'Read More...' as the title isn't duplicated.
 
View user's profile Send private message
Guardian2003







PostPosted: Sun Feb 26, 2006 9:01 am Reply with quote

In story_home you can see the title repeated twice in this line
Code:
<td><font class="storytitle"><b title="$title">$title</b></font><font class="block-title">&nbsp;</font></td> 
 
guynuked







PostPosted: Sun Feb 26, 2006 3:53 pm Reply with quote

Thanks for your sharp eyes.

Raven might want to fix that as it came with RN 2.02:

<td><font class="storytitle"><b>$title</b></font><font class="block-title">&nbsp;</font></td>

in story_home.html
 
Guardian2003







PostPosted: Mon Feb 27, 2006 12:12 am Reply with quote

I believe it already has been as it was reported and the fix posted in the RN forums here.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©