Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
msimonds
Regular
Regular



Joined: Jul 15, 2003
Posts: 56
Location: Dallas

PostPosted: Thu Oct 16, 2003 2:27 pm Reply with quote

My default theme uses just a theme.php. I have this

Code:
function FormatStory($thetext, $notes, $aid, $informant) {

    global $anonymous;
    if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> $notes\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   echo "<font class=\"content\">$thetext$notes</font>\n";
    } else {
   if($informant != "") {
       $boxstuff = "<a href=\"modules.php?name=Your_Account&op=userinfo&username=$informant\">$informant</a> ";
   } else {
       $boxstuff = "$anonymous ";
   }
   $boxstuff .= ""._WRITES." \"$thetext\"$notes\n";
   echo "<font class=\"content\">$boxstuff</font>\n";
   }
}


and when a story is submitted by someone it posts:
Quote:
Mike writes "



I want to change so the quotes are removed from the story and at the end it says

Quote:
Written By mike


mike being the $informant

can someone help me out!!! cannot figure this one out!!
 
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

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 ©