Follow SMF on Twitter.
Started by Goosemoose, January 06, 2006, 03:04:39 AM
Quote from: Goosemoose on May 15, 2006, 09:52:31 PMYou'd have to copy the code from the recent posts into the code you put into the joomla tempalte.
Quote from: Goosemoose on May 19, 2006, 10:36:46 PMTracy, since you are using a custom template and mod it's definately changing how things work. Id suggest removing the other mod, getting this to work, then look at reinstalling the other mod.
Quote from: Goosemoose on May 21, 2006, 05:43:33 PMDoes it work with the Recent Posts bar deactivated?
Quote from: tracilynnb on May 14, 2006, 09:31:19 PMAnyone know why I would get this error?Unknown table 'c' in where clauseFile: /home/public_html/forum/Sources/Recent.phpLine: 101
Quote from: kingconnor on March 22, 2006, 06:01:37 PMJust letting people know this is how to associate a theme with each separate forum. Please bear with me I'm a newbie to phpStep1: Create a new field in the smf_forums table called forumTheme and set to int.Step 2: in the new field you have created (forumTheme) put the ID_THEME number you wish to associate with the forum (found in smf_themes table) Step 3: Open up index.php under the root of your forum. Find line number 148 should be loadTheme(); replace with:$database->setQuery( "SELECT DISTINCT forumTheme FROM #__smf_forums WHERE forumName='".$_REQUEST['forum']."'"); $forumTheme = $database->loadResult(); loadTheme($forumTheme);
Fatal error: Call to a member function setQuery() on a non-object in /fpgs/fpgshttpd/random/sf/board/index.php on line 148
Quote from: Goosemoose on June 11, 2006, 03:01:41 PMAgain, this must have something to do with the recent posts settings. I've instaled this mod on many RC2 forums without a problem. What is 10 lines above and below 154 in that file?
// Special case: session keep-alive. if (isset($_GET['action']) && $_GET['action'] == 'keepalive') die; // Load the user's cookie (or set as guest) and load their settings. loadUserSettings(); // Load the current board's information. loadBoard(); // Load the current theme. (note that ?theme=1 will also work, may be used for guest theming.) loadTheme(); // Check if the user should be disallowed access. is_not_banned(); // Load the current user's permissions. loadPermissions();