View Single Post
  #34  
Old 5th July 2011, 00:06
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Question
Quote:
Originally Posted by joeroberts View Post
first you add the folder not the file for language
second you did not add all the sql querys posted
yes joe did all m8 and stall same no forum showing

Bump:
Quote:
Originally Posted by joeroberts View Post
PHP Code:
include_once("include/forum_config.php");
include_once
'themes/'.$theme.'/forums/main.php';
if(!
$user->ulanguage == '' && file_exists('language/forum/'.$user->ulanguage.'.php'))include'language/forum/'.$user->ulanguage.'.php';
elseif (
file_exists('language/forum/'.$language.'.php'))include_once'language/forum/'.$language.'.php';
else
include_once
'language/forum/english.php';
$themedir "" $siteurl "/themes/" $theme "/forums/";
function 
encodehtml($s$linebreaks true)
{
  
$s str_replace(array("<",">","\""), array("&lt;","&gt;","&quot;"), str_replace("&""&amp;"$s));
  if (
$linebreaks)
    
$s nl2br($s);
  return 
$s;
}

OpenTable("label");
latestforumposts();
CloseTable();

where in the main themes
Reply With Quote