Nuke Toolbar

          
Quick Links 
 [Home Page ][ Category Listings ][ Forum Listings][ Forum FAQs]
[ HomeDNS - Domains ]  [ Nuke Resources ]  [ Nuke Skins and Themes ]  [ Nuke Sites Link Directory ]
[ LearningLinux.com ]  [ Nuke Fixes ]
[ NukeZone Hosting ]  [ Domain Name Database ]
Nuke Forums Forum Index

Nuke Sites Link Directory


Posting Articles or Story

 
Post new topic   Reply to topic    Nuke Forums Forum Index -> PHP-Nuke 6.x Themes
View previous topic :: View next topic  
Author Message
sdonovan
Staff Sergeant
Staff Sergeant


Joined: 22 Sep 2003
Posts: 33
Location: Maryland, USA

PostPosted: Thu Oct 16, 2003 5:03 am    Post subject: Posting Articles or Story Reply with quote

Why when a member sends a story and it is published by an admin does it look like the following:


Smithwrites: Yadda, yadda yadda.

There is no space between the author of the story and the word "writes"

Theme is BlackW

Where can I fix this?

I think I found it in the theme.php file.

Is it where it says
Code:
$content .= ""._WRITES."<i>\"$thetext\"</i>$notes\n";



Is _WRITES. a "literal" and can I add a space to fix my problem?

The following is the code in it's entirety:

Code:

/* 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 != "") {

       $content = "<a href=modules.php?name=Your_Account&op=userinfo&uname=$informant;>$informant</a>";

   } else {

       $content = "$anonymous ";

   }

   $content .= ""._WRITES."<i>\"$thetext\"</i>$notes\n";

    }

    $posted = ""._POSTEDBY." ";

    $posted .= get_author($aid);

    $posted .= " "._ON." $time $timezone ($counter "._READS.")";

    $tmpl_file = "themes/BlackW/story_home.html";

    $thefile = implode("", file($tmpl_file));

    $thefile = addslashes($thefile);

    $thefile = "\$r_file=\"".$thefile."\";";

    eval($thefile);

    print $r_file;

}
Back to top
View user's profile Send private message Visit poster's website
aaanativearts
Lieutenant Colonel
Lieutenant Colonel


Joined: 09 Jul 2001
Posts: 417


PostPosted: Wed Nov 12, 2003 11:49 pm    Post subject: Reply with quote

It's in the language file. Go in the language file and find where it says:


Code:
define("_WRITES","writes");

and change it to:
Code:
define("_WRITES","&nbsp;writes");
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Nuke Forums Forum Index -> PHP-Nuke 6.x Themes All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group




Forum Options
Main Menu
index.phpForums Index
    - Collaped View
    + Expanded View
FAQFAQ
SearchSearch
MemberlistMemberlist
UsergroupsUsergroups
RegisterRegister
ProfileProfile
Log in to check your private messagesLog in to check your private messages
Log inLog in

Visitor Options
 
Subscribe
Unsubscribe


Keep informed of updates, bug fixes, software releases, news and more!
Installation or Upgrade Services for phpNuke or PostNuke? Require site maintenance, addons, modules or custom themes? Send private message or e-mail for rates and availablity.

Quick Links
  Domain Names
  Firewall Forums
  Joke Crazy
  Learning Linux
  Find your IP Fast!
  Purchase WinRAR

Trusted Nuke Sites
  NukeZone Hosting
  CMS Focus
  NukeFixes.com
  NukeResources.com
  NukeSkins.com
  NukeSites.com
  PHPNuke.org

Sponsor Links


NukeZone Hosting