Telli can you help me with this pnp theme problem

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Telli can you help me with this pnp theme problem
DirtySnipe
CZ Super Newbie
DirtySnipe has been a member for over 19 year's 19 Year Member
Occupation: Network Administrator
Gender: Male
Website:
Status: Offline
Joined: Feb 28, 2005
0.00 posts per day
Posts: 35
Points: 1,202
   
I tried to use the coolbreeze theme on pnp all works fine except one error.


when i submit a news article and it gets authorized when it loads in home page i get this error can you help me.

Posted by
Fatal error: Call to undefined function: formataidheader() in C:\Program Files\xampp\htdocs\themes\Coolbreeze\theme.php on line 213
and it also removes the right blocks.

im only usin notepad so not sure if i got the right section for you.
/************************************************************/
/* 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;
    $ThemeSel = get_theme();
    if (file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
   $t_image = "themes/$ThemeSel/images/topics/$topicimage";
    } else {
   $t_image = "$tipath$topicimage";
    }
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#EEF2F7\" width=\"100%\"><tr><td>\n"
   ."<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" bgcolor=\"#000000\" width=\"100%\"><tr><td>\n"
   ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#EEF2F7\" width=\"100%\"><tr><td align=\"left\">\n"
   ."<font color=\"#2F4B70\"><b>$title</b></font>\n"
   ."</td></tr></table></td></tr></table>\n"
   ."<font color=\"#999999\"><b><a href=\"modules.php?name=News&amp;new_topic=$topic\"><img src=\"$t_image\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"10\" vspace=\"10\"></a></B></font>\n";
    FormatStory($thetext, $notes, $aid, $informant);
    echo "</td></tr></table><br>\n"
   ."<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" bgcolor=\"#000000\" width=\"100%\"><tr><td>\n"
   ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#EEF2F7\" width=\"100%\"><tr><td align=\"center\">\n"
   ."<font color=\"#5B3131\" size=\"1\">"._POSTEDBY." ";
   formatAidHeader($aid);   
         echo " "._ON." $time $timezone ($counter "._READS.")<br></font>\n"
   ."<font class=\"content\">$morelink</font>\n"
   ."</td></tr></table></td></tr></table>\n"
   ."<br>\n\n\n";
}



Back to top Reply with quote
#2   re: Telli can you help me with this pnp theme problem
DirtySnipe
CZ Super Newbie
DirtySnipe has been a member for over 19 year's 19 Year Member
Occupation: Network Administrator
Gender: Male
Website:
Status: Offline
Joined: Feb 28, 2005
0.00 posts per day
Posts: 35
Points: 1,202
   
still not working

any ideas



Back to top Reply with quote
#3   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.04 posts per day
Posts: 8089
Points: 494,430
   
Open your mainfile.php and make sure this function is there:


formatAidHeader(




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#4   
DirtySnipe
CZ Super Newbie
DirtySnipe has been a member for over 19 year's 19 Year Member
Occupation: Network Administrator
Gender: Male
Website:
Status: Offline
Joined: Feb 28, 2005
0.00 posts per day
Posts: 35
Points: 1,202
   
np telli ive downloaded another theme and spliced that code into the theme im using and it works fine now.

thanks for ya help



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

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