zCommunity 0.8.1 Beta Now available! (supports SMF 2.0 RC1 and 1.1.8)

Started by Charles Hill, June 16, 2008, 03:33:34 PM

Previous topic - Next topic

shaitanfr

Hello,

I have only one problem with permissions:

I use Community mode.  When I go in access restrictions or posting restrictions, permissions box stay unchecked after I submit. Exactly same issue posted by Kindred: http://www.simplemachines.org/community/index.php?topic=244848.msg1929019#msg1929019

Smf 1.1.8 & TP 0.9.8

dwd2000

QuoteFatal error: Cannot redeclare smf_main() (previously declared in /home/anypupco/public_html/a-corsotalk/index.php:165) in /home/anypupco/public_html/a-corsotalk/index.php on line 507

That is telling me you have it in there more than once. It's happened to me a few times with mods not uninstalling properly. Just go through and check for more than one instance of similar code.
30 years ago I was young and foolish.
Now I'm just young.

DAMMIT JIM...I'M A TWEAKER...NOT A CODER!!!

Dave's Games

Xavi-Nena

Than I am a complete idiot because i cannot find it and there is not even a line 501 on my index.php

im lost! someone ... anyone please help. here is the code

<?php
/**********************************************************************************
* index.php                                                                       *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 1.1.8                                           *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006-2007 by:     Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/


/* This, as you have probably guessed, is the crux on which SMF functions.
Everything should start here, so all the setup and security is done
properly.  The most interesting part of this file is the action array in
the smf_main() function.  It is formatted as so:

'action-in-url' => array('Source-File.php', 'FunctionToCall'),

Then, you can access the FunctionToCall() function from Source-File.php
with the URL index.php?action=action-in-url.  Relatively simple, no?
*/

$forum_version 'SMF 1.1.8';

// Get everything started up...
define('SMF'1);
@
set_magic_quotes_runtime(0);
error_reporting(E_ALL);
$time_start microtime();

// Make sure some things simply do not exist.
foreach (array('db_character_set') as $variable)
if (isset($GLOBALS[$variable]))
unset($GLOBALS[$variable]);

// Load the settings...
require_once(dirname(__FILE__) . '/Settings.php');

// And important includes.
require_once($sourcedir '/QueryString.php');
require_once(
$sourcedir '/Subs.php');
require_once(
$sourcedir '/Errors.php');
require_once(
$sourcedir '/Load.php');
require_once(
$sourcedir '/Security.php');
       
// TinyPortal include
       
require_once($sourcedir '/TPortal.php');
if (
file_exists($sourcedir '/LoadAds.php'))
require_once($sourcedir '/LoadAds.php');

// Using an old version of PHP?
if (@version_compare(PHP_VERSION'4.2.3') != 1)
require_once($sourcedir '/Subs-Compat.php');

// If $maintenance is set specifically to 2, then we're upgrading or something.
if (!empty($maintenance) && $maintenance == 2)
db_fatal_error();

// Connect to the MySQL database.
if (empty($db_persist))
$db_connection = @mysql_connect($db_server$db_user$db_passwd);
else
$db_connection = @mysql_pconnect($db_server$db_user$db_passwd);

// Show an error if the connection couldn't be made.
if (!$db_connection || !@mysql_select_db($db_name$db_connection))
db_fatal_error();

// Load the settings from the settings table, and perform operations like optimizing.
reloadSettings();

//Get rid of ?PHPSESSID in the case is a Googlebot any other Spider. Even if is a user (maybe User-Agent extension), will be redirected. Easier this way.
if ($modSettings['ob_googlebot_redirect_phpsessid'] && ob_googlebot_getAgent($_SERVER['HTTP_USER_AGENT'], $spider_name$agent))
{
$actualurl 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$correcturl preg_replace('/([?&]PHPSESSID=[^&]*)/'''$actualurl);
$correcturl str_replace('index.php&''index.php?'$correcturl);

if ($correcturl != $actualurl) {
header("HTTP/1.1 301 Moved Permanently");
header("Location: " $correcturl);
exit();
}
}

// Clean the request variables, add slashes, etc.
cleanRequest();
$context = array();

// Seed the random generator?
if (empty($modSettings['rand_seed']) || mt_rand(1250) == 69)
smf_seed_generator();

// Determine if this is using WAP, WAP2, or imode.  Technically, we should check that wap comes before application/xhtml or text/html, but this doesn't work in practice as much as it should.
if (isset($_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'application/vnd.wap.xhtml+xml') !== false)
$_REQUEST['wap2'] = 1;
elseif (isset(
$_SERVER['HTTP_ACCEPT']) && strpos($_SERVER['HTTP_ACCEPT'], 'text/vnd.wap.wml') !== false)
{
if (strpos($_SERVER['HTTP_USER_AGENT'], 'DoCoMo/') !== false || strpos($_SERVER['HTTP_USER_AGENT'], 'portalmmm/') !== false)
$_REQUEST['imode'] = 1;
else
$_REQUEST['wap'] = 1;
}

if (!
defined('WIRELESS'))
define('WIRELESS', isset($_REQUEST['wap']) || isset($_REQUEST['wap2']) || isset($_REQUEST['imode']));

// Some settings and headers are different for wireless protocols.
if (WIRELESS)
{
define('WIRELESS_PROTOCOL', isset($_REQUEST['wap']) ? 'wap' : (isset($_REQUEST['wap2']) ? 'wap2' : (isset($_REQUEST['imode']) ? 'imode' '')));

// Some cellphones can't handle output compression...
$modSettings['enableCompressedOutput'] = '0';
// !!! Do we want these hard coded?
$modSettings['defaultMaxMessages'] = 5;
$modSettings['defaultMaxTopics'] = 9;

// Wireless protocol header.
if (WIRELESS_PROTOCOL == 'wap')
header('Content-Type: text/vnd.wap.wml');
}

// Check if compressed output is enabled, supported, and not already being done.
if (!empty($modSettings['enableCompressedOutput']) && !headers_sent() && ob_get_length() == 0)
{
// If zlib is being used, turn off output compression.
if (@ini_get('zlib.output_compression') == '1' || @ini_get('output_handler') == 'ob_gzhandler' || @version_compare(PHP_VERSION'4.2.0') == -1)
$modSettings['enableCompressedOutput'] = '0';
else
ob_start('ob_gzhandler');
}
// This makes it so headers can be sent!
if (empty($modSettings['enableCompressedOutput']))
ob_start();

// Register an error handler.
set_error_handler('error_handler');

// Start the session. (assuming it hasn't already been.)
loadSession();

// What function shall we execute? (done like this for memory's sake.)
call_user_func(smf_main());

// Call obExit specially; we're coming from the main area ;).
obExit(nullnulltrue);

// The main controlling function.
function smf_main()
{
global $modSettings$settings$user_info$board$topic$maintenance$sourcedir;
global $board_info;

// 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();

// Load all the ads up
if (function_exists("loadAds"))
loadAds();


// Do some logging, unless this is an attachment, avatar, theme option or XML feed.
if (empty($_REQUEST['action']) || !in_array($_REQUEST['action'], array('dlattach''jsoption''.xml')))
{
// Log this user as online.
writeLog();

// Track forum statistics and hits...?
if (!empty($modSettings['hitStats']))
trackStats(array('hits' => '+'));
}

        
// TinyPortal
        
TPortal_init();

// pre-processing for Look But No Read (modification)
if (!empty($modSettings['categories_deny_guest_browsing']))
{
$categories_deny_guest_browsing explode(","preg_replace("/[^0-9,]/"""$modSettings['categories_deny_guest_browsing']));
foreach ($categories_deny_guest_browsing as $key => $value) if ($value == "") unset($categories_deny_guest_browsing[$key]);
}
else $categories_deny_guest_browsing[] = '';
if (!empty($modSettings['boards_deny_guest_browsing']))
{
$boards_deny_guest_browsing explode(","preg_replace("/[^0-9,]/"""$modSettings['boards_deny_guest_browsing']));
foreach ($boards_deny_guest_browsing as $key => $value) if ($value == "") unset($boards_deny_guest_browsing[$key]);
}
else $boards_deny_guest_browsing[] = '';

// Is the forum in maintenance mode? (doesn't apply to administrators.)
if (!empty($maintenance) && !allowedTo('admin_forum'))
{
// You can only login.... otherwise, you're getting the "maintenance mode" display.
if (isset($_REQUEST['action']) && ($_REQUEST['action'] == 'login2' || $_REQUEST['action'] == 'logout'))
{
require_once($sourcedir '/LogInOut.php');
return $_REQUEST['action'] == 'login2' 'Login2' 'Logout';
}
// Don't even try it, sonny.
else
{
require_once($sourcedir '/Subs-Auth.php');
return 'InMaintenance';
}
}
// If guest access is off, a guest can only do one of the very few following actions.
elseif (empty($modSettings['allow_guestAccess']) && $user_info['is_guest'] && (!isset($_REQUEST['action']) || !in_array($_REQUEST['action'], array('coppa''login''login2''register''register2''reminder''activate''smstats''help''.xml''verificationcode'))))
{
require_once($sourcedir '/Subs-Auth.php');
return 'KickGuest';
}
// Check for arcade actions
// IBPArcade v2.x.x Games support
elseif (isset($_REQUEST['act']) && strtolower($_REQUEST['act']) == 'arcade')
{
$_REQUEST['action'] = 'arcade';
$_REQUEST['ibpa'] = 2;

if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'newscore')
$_REQUEST['sa'] = 'ibpsubmit';

require_once($sourcedir '/Arcade.php');
return 'Arcade';   
}
// IBPArcade v3.x.x Games support
elseif (isset($_REQUEST['autocom']) && $_REQUEST['autocom'] == 'arcade')
{
$_REQUEST['action'] = 'arcade';
$_REQUEST['ibpa'] = 3;

if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'savescore')
$_REQUEST['sa'] = 'ibpsubmit';

elseif (isset($_REQUEST['do']) && $_REQUEST['do'] = 'verifyscore')
$_REQUEST['sa'] = 'ibpverify';

require_once($sourcedir '/Arcade.php');
return 'Arcade';   
}
elseif (isset($_REQUEST['play']))
{
$_REQUEST['game'] = $_REQUEST['play'];
unset($_REQUEST['play']);
$_REQUEST['sa'] = 'play';

require_once($sourcedir '/Arcade.php');
return 'Arcade';
}
elseif (isset($_REQUEST['highscore']))
{
$_REQUEST['game'] = $_REQUEST['highscore'];
unset($_REQUEST['highscore']);
$_REQUEST['sa'] = 'highscore';

require_once($sourcedir '/Arcade.php');
return 'Arcade';
}
elseif (isset($_REQUEST['game']) && !isset($_REQUEST['action']))
{
require_once($sourcedir '/Arcade.php');
return 'Arcade';
} elseif (empty($_REQUEST['action']))
{
// first..if the action is set, but empty, don't go any further
if (isset($_REQUEST['action']) && $_REQUEST['action']=='')
{
require_once($sourcedir '/BoardIndex.php');
return 'BoardIndex';
}

// Action and board are both empty... maybe the portal page?
if (empty($board) && empty($topic) && $settings['TPortal_front_type']!='boardindex')
{
require_once($sourcedir '/TPortal.php');
return 'TPortal';
}
if (empty($board) && empty($topic) && $settings['TPortal_front_type']=='boardindex' && (isset($_GET['cat']) || isset($_GET['page'])))
{
require_once($sourcedir '/TPortal.php');
return 'TPortal';
}
// Action and board are still both empty...and no portal startpage - BoardIndex!
elseif (empty($board) && empty($topic) && $settings['TPortal_front_type']=='boardindex')
{
require_once($sourcedir '/BoardIndex.php');
return 'BoardIndex';
}
// Topic is empty, and action is empty.... MessageIndex!
elseif (empty($topic))
{
require_once($sourcedir '/MessageIndex.php');
return 'MessageIndex';
}
// Board is not empty... topic is not empty... action is empty.. Display!
else
{
require_once($sourcedir '/Display.php');
return 'Display';
}
}

// SMF MGallery Changes
if (isset($_REQUEST['action']) && isset($_REQUEST['area']) && $_REQUEST['action'] == 'admin' && $_REQUEST['area'] == 'mgallery')
{
require_once($sourcedir '/MGallery-Admin.php');
return 'MGal_admin_init';
}
// End SMF MGallery changes

// Here's the monstrous $_REQUEST['action'] array - $_REQUEST['action'] => array($file, $function).
$actionArray = array(
'activate' => array('Register.php''Activate'),
'admin' => array('Admin.php''Admin'),
'articles' => array('Articles.php''ArticlesMain'),
'announce' => array('Post.php''AnnounceTopic'),        'arcade' => array('Arcade.php','Arcade'),
'managegames' => array('ManageGames.php''GamesAdmin'),
'arcadecategory' => array('ArcadeSettings.php''ArcadeCategory'),
'arcadesettings' => array('ArcadeSettings.php''ArcadeSettings'),
'ban' => array('ManageBans.php''Ban'),
'boardrecount' => array('Admin.php''AdminBoardRecount'),
'buddy' => array('Subs-Members.php''BuddyListToggle'),

'buddies' => array('Buddies.php''BuddiesMain'),
'calendar' => array('Calendar.php''CalendarMain'),
'cleanperms' => array('Admin.php''CleanupPermissions'),
'collapse' => array('Subs-Boards.php''CollapseCategory'),
'convertentities' => array('Admin.php''ConvertEntities'),
'convertutf8' => array('Admin.php''ConvertUtf8'),
'coppa' => array('Register.php''CoppaForm'),
'deletemsg' => array('RemoveTopic.php''DeleteMessage'),
'deletevisitor' => array('Profile.php''DeleteVisitor'),
'detailedversion' => array('Admin.php''VersionDetail'),
'display' => array('Display.php''Display'),
'dlattach' => array('Display.php''Download'),
'dumpdb' => array('DumpDatabase.php''DumpDatabase2'),
'editpoll' => array('Poll.php''EditPoll'),
'editpoll2' => array('Poll.php''EditPoll2'),
'featuresettings' => array('ModSettings.php''ModifyFeatureSettings'),
'featuresettings2' => array('ModSettings.php''ModifyFeatureSettings2'),
'findmember' => array('Subs-Auth.php''JSMembers'),
'help' => array('Help.php''ShowHelp'),
'helpadmin' => array('Help.php''ShowAdminHelp'),
'im' => array('PersonalMessage.php''MessageMain'),
'jsoption' => array('Themes.php''SetJavaScript'),
'jsmodify' => array('Post.php''JavaScriptModify'),
'links' => array('Links.php''LinksMain'),
'lock' => array('LockTopic.php''LockTopic'),
'lockVoting' => array('Poll.php''LockVoting'),
'login' => array('LogInOut.php''Login'),
'login2' => array('LogInOut.php''Login2'),
'logout' => array('LogInOut.php''Logout'),
'maintain' => array('Admin.php''Maintenance'),
'manageattachments' => array('ManageAttachments.php''ManageAttachments'),
'manageboards' => array('ManageBoards.php''ManageBoards'),
'managecalendar' => array('ManageCalendar.php''ManageCalendar'),
'managesearch' => array('ManageSearch.php''ManageSearch'),
'markasread' => array('Subs-Boards.php''MarkRead'),
'membergroups' => array('ManageMembergroups.php''ModifyMembergroups'),
'mergetopics' => array('SplitTopics.php''MergeTopics'),
'mgallery' => array('MGallery.php''MGallery_init'),
'mlist' => array('Memberlist.php''Memberlist'),
'modifycat' => array('ManageBoards.php''ModifyCat'),
'modifykarma' => array('Karma.php''ModifyKarma'),
'modlog' => array('Modlog.php''ViewModlog'),
'movetopic' => array('MoveTopic.php''MoveTopic'),
'movetopic2' => array('MoveTopic.php''MoveTopic2'),
'news' => array('ManageNews.php''ManageNews'),
'notify' => array('Notify.php''Notify'),
'notifyboard' => array('Notify.php''BoardNotify'),
'optimizetables' => array('Admin.php''OptimizeTables'),
'packageget' => array('PackageGet.php''PackageGet'),
'packages' => array('Packages.php''Packages'),
'permissions' => array('ManagePermissions.php''ModifyPermissions'),
'pgdownload' => array('PackageGet.php''PackageGet'),
'pages' => array('DozenPages.php''DozenPages'),
'pm' => array('PersonalMessage.php''MessageMain'),
'post' => array('Post.php''Post'),
'post2' => array('Post.php''Post2'),
'postsettings' => array('ManagePosts.php''ManagePostSettings'),
'printpage' => array('Printpage.php''PrintTopic'),
'profile' => array('Profile.php''ModifyProfile'),
'profile2' => array('Profile.php''ModifyProfile2'),
'quotefast' => array('Post.php''QuoteFast'),
'quickmod' => array('Subs-Boards.php''QuickModeration'),
'quickmod2' => array('Subs-Boards.php''QuickModeration2'),
'recent' => array('Recent.php''RecentPosts'),
'regcenter' => array('ManageRegistration.php''RegCenter'),
'register' => array('Register.php''Register'),
'register2' => array('Register.php''Register2'),
'reminder' => array('Reminder.php''RemindMe'),
'removetopic2' => array('RemoveTopic.php''RemoveTopic2'),
'removeoldtopics2' => array('RemoveTopic.php''RemoveOldTopics2'),
'removepoll' => array('Poll.php''RemovePoll'),
'repairboards' => array('RepairBoards.php''RepairBoards'),
'reporttm' => array('SendTopic.php''ReportToModerator'),
'reports' => array('Reports.php''ReportsMain'),
'requestmembers' => array('Subs-Auth.php''RequestMembers'),
'search' => array('Search.php''PlushSearch1'),
'search2' => array('Search.php''PlushSearch2'),
'sendtopic' => array('SendTopic.php''SendTopic'),
'serversettings' => array('ManageServer.php''ModifySettings'),
'serversettings2' => array('ManageServer.php''ModifySettings2'),
'smileys' => array('ManageSmileys.php''ManageSmileys'),
'smstats' => array('Stats.php''SMStats'),
'spellcheck' => array('Subs-Post.php''SpellCheck'),
'splittopics' => array('SplitTopics.php''SplitTopics'),
'stats' => array('Stats.php''DisplayStats'),
'sticky' => array('LockTopic.php''Sticky'),
'welcome' => array('WelcomeTopic.php''WelcomeTopic'), 'staff' => array('Staff.php''Staff'),
'theme' => array('Themes.php''ThemesMain'),
'trackip' => array('Profile.php''trackIP'),
'admod' => array('Ads.php''Ads'),
'about:mozilla' => array('Karma.php''BookOfUnknown'),
'about:unknown' => array('Karma.php''BookOfUnknown'),
'unread' => array('Recent.php''UnreadTopics'),
'unreadreplies' => array('Recent.php''UnreadTopics'),
'iobuploads' => array('IOBUploads.php''IOBUploads'),
'viewErrorLog' => array('ManageErrors.php''ViewErrorLog'),
'viewmembers' => array('ManageMembers.php''ViewMembers'),
'viewprofile' => array('Profile.php''ModifyProfile'),
'verificationcode' => array('Register.php''VerificationCode'),
'vote' => array('Poll.php''Vote'),
'viewquery' => array('ViewQuery.php''ViewQuery'),
'who' => array('Who.php''Who'),
'.xml' => array('News.php''ShowXmlFeed'),



'affiliates' => array('smf_affiliates.php''affiliates'),

                
'tpadmin' => array('TPortalAdmin.php''TPortalAdmin'),
                
'forum' => array('BoardIndex.php''BoardIndex'),
                
'tpmod' => array('TPmodules.php''TPmodules'),
);

$i 1;
while (isset($modSettings['CA' $i '_name']))
{
$actionArray[$modSettings['CA' $i '_name']] = array('CustomAction.php''CustomAction');
$i++;
}

// Get the function and file to include - if it's not there, do the board index.
if (!isset($_REQUEST['action']) || !isset($actionArray[$_REQUEST['action']]))
{
// Catch the action with the theme?
if (!empty($settings['catch_action']))
{
require_once($sourcedir '/Themes.php');
return 'WrapAction';
}

// Fall through to the board index then...
require_once($sourcedir '/BoardIndex.php');
return 'BoardIndex';
}

// Otherwise, it was set - so let's go to that action.
require_once($sourcedir '/' $actionArray[$_REQUEST['action']][0]);
return $actionArray[$_REQUEST['action']][1];
}

?>

Xavi-Nena

Quote from: Charles Hill on March 23, 2009, 12:30:25 PM
That index.php doesn't have any code for zCommunity in it.  Look at the other_1_1_x.xml file from the zCommunity_0_8_1_beta__smf_install.zip package.  It tells you what and where to add code to your forum's index.php

and also Charles said there was no code on there to have a duplicate, all i tried to do was add the index.php code as described on the manual install...i must be hitting the crack pipe because none of this makes sense to me...ahhh

Xavi-Nena

I tried to put it in again after i updated something else on that page and i got the same error message but this time with the line number being 292 [which has this:    }   elseif (empty($_REQUEST['action']))
on that line....


Xavi-Nena

hah ok i had a glitch with my version, at the top it had 1.1.7 info and i changed some things to 1.1.8 and it then allowed me to uninstall so i did, then i upgraded my version of zcommunity....now i have a few questions because it looks so much different than my last version..

should it look like these screen shots? no background, bullets next to strangely aligned options, and on the far left in my user info box under show latest comments there seems to be missing text? and there is no cp controls on the left when i am in blog admin either like there was previously in the other version.

and where do i control the tp blocks? in the last version of zcommunity it was different and didnt show any of my tp blocks which is what i prefer...

suggestions?


***** edited
I just noticed I have a load of errors in my error log...a bit to many to list here but here are a few:

http://corsotalk.com/index.php?zc=bcp
Apply Filter: Only show the errors with the same message
8: Undefined index: current_time
File: /home/anypupco/public_html/a-corsotalk/Themes/default/languages/MGallery.english.php (eval?)
Line: 639

Apply Filter: Only show the error messages of this URL  http://corsotalk.com/index.php?zc
Apply Filter: Only show the errors with the same message
8: Undefined index: allow_edit_profile
File: /home/anypupco/public_html/a-corsotalk/Themes/default/languages/TPortal.english.php (eval?)
Line: 472

http://corsotalk.com/index.php?zc
Apply Filter: Only show the errors with the same message
8: Undefined index: allow_pm
File: /home/anypupco/public_html/a-corsotalk/Themes/default/languages/TPortal.english.php (eval?)
Line: 454

http://corsotalk.com/index.php?zc
Apply Filter: Only show the errors with the same message
8: Undefined index: in_maintenance
File: /home/anypupco/public_html/a-corsotalk/Themes/default/languages/TPortal.english.php (eval?)
Line: 238



there are lots more...i can give log in info to qualified smf member that can help so that you can see the full error log...it seems to have everything to do with lots of the 8: Undefined index: says stuff like current_time, allow_pm, allow_calendar, allow_admin ... etc. if that helps at all.

shaitanfr

Very very strange. This morning, all section in the forum was linked to the zcommunity  :o

I have all removed for repairing.

tittiger

Besides the major problem of guests not being able to view the blog despite the permissions looking to be set correctly......


The whole SMF forum is taken over by some parasite.  The SMF forum disappears and is not visible. i.e. the blog becomes the whole forum!

Not good...

Thanks,
Joe


Xavi-Nena

Forgive me if i have missed it but any idea when this will be out of beta? No matter how many times i try to install these [either version] I am swarmed with error after error and while I was really looking forward to a blog community for my forum I am past discouraged now even trying to install it on a fresh test site and still getting mounds of errors and missing buttons, and misalignments.

I look forward to when there is a stable functioning version but until then this has cause me more frustration than any other mod i have tried to date and i have been using smf for a few years now and tried tons of mods.

Charles Hill

You all must have a ton of other mods installed that are causing problems, because I've tested this on blank SMF 2.0 RC1 and SMF 1.1.8 and have no problems.

Xavi-Nena

Quote from: Charles Hill on March 25, 2009, 09:40:36 PM
You all must have a ton of other mods installed that are causing problems, because I've tested this on blank SMF 2.0 RC1 and SMF 1.1.8 and have no problems.

QuoteI am past discouraged now even trying to install it on a fresh test site and still getting mounds of errors and missing buttons, and misalignments.

I have tried it on a fresh copy as well...not as many errors but enough to make me uninstall it.


Kindred

I have this installed on a fairly heavily modded forum (RC1) with no problems...   so I don't know what's going on with all of you folks. :(
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

LinK187

QuoteI would recommend manually uninstalling and then installing the new version if you don't want any issues.  The package manager is iffy.  Running install_db_edits.php (after you've updated the zCommunity folder/files) will handle all the db changes for you.  And you will not lose any data.

How do you propose a manual uninstall if the 0.7.9 download is no longer on the mod page in order for me to parse?

Charles Hill

Quote from: LinK187 on March 26, 2009, 07:26:31 PM
QuoteI would recommend manually uninstalling and then installing the new version if you don't want any issues.  The package manager is iffy.  Running install_db_edits.php (after you've updated the zCommunity folder/files) will handle all the db changes for you.  And you will not lose any data.

How do you propose a manual uninstall if the 0.7.9 download is no longer on the mod page in order for me to parse?

You should have a copy of the mod package on your server (look in the Packages directory).

cad2au

Does anyone know how to attach a file/image when writing an article in a blog?
As far as I know there's only html tag like to attach an image and this is unfamiliar for user without having knowledge on html.

Is there any other facilities to do attachment when writing an article? For example, attachment function in the forum by browsing the file and attaching it.

Thanks in advance.

LinK187

Quote from: Charles Hill on March 26, 2009, 08:55:38 PM
Quote from: LinK187 on March 26, 2009, 07:26:31 PM
QuoteI would recommend manually uninstalling and then installing the new version if you don't want any issues.  The package manager is iffy.  Running install_db_edits.php (after you've updated the zCommunity folder/files) will handle all the db changes for you.  And you will not lose any data.

How do you propose a manual uninstall if the 0.7.9 download is no longer on the mod page in order for me to parse?

You should have a copy of the mod package on your server (look in the Packages directory).

How does this help? The package manger only shows what files are added/modified, not the exact lines of code...

Skhilled

The Package Manager and the Packages directory (/Packages) are not the same thing. If you look in /Packages on your server you'll find the package you've uploaded and can find the code to modify in it. If it is not there, look in /Packages/backups. Everything you have ever installed has a backup of it in there, unless you've deleted them.

LinK187

Quote from: Skhilled on March 28, 2009, 02:38:14 AM
The Package Manager and the Packages directory (/Packages) are not the same thing. If you look in /Packages on your server you'll find the package you've uploaded and can find the code to modify in it. If it is not there, look in /Packages/backups. Everything you have ever installed has a backup of it in there, unless you've deleted them.

You'll need to be more specific. I've never used those files for such a purpose. Which file(s) will display the modifications?

Kindred

the package that you downloaded from smf and uploaded to your server....

Also, in the package manager, you can VIEW the files in the package.   Look for the two XML files in the package. One tells you what files from the mod to use for what version, the other tells you what changes were made in each of the smf source and template files.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Skhilled

To further help, you can use the built-in parser on the download page of every mod as seen in the image below.

Advertisement: