 | I wish the MOD authors would make their mods EM friendly *bangshead* |  |
Posted: 04/09/2007 1:57 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 7:51 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: I wish the MOD authors would make their mods EM friendly *bangshead* |  |
Posted: 04/09/2007 2:04 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:51 PM
Location: St Pete, FL
|

|
|
|
|
 |
This MOD really doesn't look that bad. Have you tried to install it using EM yet???
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: I wish the MOD authors would make their mods EM friendly *bangshead* |  |
Posted: 04/09/2007 2:15 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 10:51 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
| Oh Wow this seems to cool MOD. Hey NightRider, can i install this MOD on my forum? I mean is this compatible with my forum or it requires Portal or anything like that ? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: I wish the MOD authors would make their mods EM friendly *bangshead* |  |
Posted: 04/09/2007 2:20 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 7:51 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
True. What ticks me of though is that half them do a great job but just miss just one little thing all the time, it's as if that do it on purpose or something
There’s no copy coding in there NR... Neither are there DIY copying instructions to upload them to the right locations either.
| Quote:
|
Installation:
3. Copy all files to their corresponding location
|
I did this the first time only to find he named one of his folders admin_site when it should have been admin (i think so anyway) *doh
I'm sure half of them leave little things out on purpose just to get feedback etc...
Why they can't stop pissing arsing about and just put them together properly in the first place is beyond me  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: I wish the MOD authors would make their mods EM friendly *bangshead* |  |
Posted: 04/09/2007 2:28 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 10:51 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
| OoOps. So if NR you fix the MOD script file, you may paste here so that I will try to install that MOD script file only. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: I wish the MOD authors would make their mods EM friendly *bangshead* |  |
Posted: 04/09/2007 2:34 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:51 PM
Location: St Pete, FL
|

|
|
|
|
 |
I think they actually intended to use a new folder named site_admin since many of the included MOD files are named the same as the standard phpBB files. It would be a bad idea to overwrite the standard phpBB files with these files. That is a mistake that Ptirhiik makes and it makes it nearly impossible to uninstall his MODs...
So you can add a COPY section to the MOD script to move the files into place. Just add this section just before the first OPEN command in the MOD script:
| Code:
|
#
#-----[ COPY ]------------------------------------------
#
copy root/*.php to *.php
copy root/*.css to *.css
copy root/includes/*.php to includes/*.php
copy root/language/lang_english/*.php to language/lang_english/*.php
copy root/site_admin/*.php to site_admin/*.php
copy root/templates/subSilver/site_admin/*.tpl to templates/subSilver/site_admin/*.tpl
copy root/templates/subSilver/*.tpl to templates/subSilver/*.tpl
copy root/images/banners/*.gif to images/banners/*.gif
copy root/images/news/*.gif to images/news/*.gif
copy root/templates/subSilver/images/*.gif to templates/subSilver/images/*.gif
|
I think the problem is caused because many MOD authors don't have a lot of experience and the modding process is an after thought. Some really understand the modding commands, so many make serious mistakes in the MOD instructions. I think for most, their hearts are in it but the lack of experience is getting in the way. I doubt that there are many MOD authors that want people to have problems with their MODs though. It makes them look bad...
 |
|
Last edited by Nightrider on 04/09/2007 5:27 PM; edited 1 time in total |
|
 |
 |
| Back to Top |
|
|
 | Re: I wish the MOD authors would make their mods EM friendly *bangshead* |  |
Posted: 04/09/2007 2:38 PM |
|
|
|
|
|
| Citation |
| Posts |
1017 |
| Word Cnt. |
64,643 |
| BDay |
Apr 18 |
| Sign |
Aries |
| Sex |
 |
|
|
|
Joined: Apr 01, 2007
Local time: 10:51 PM
Location: UNITED ARAB EMIRATES
|

|
|
|
|
 |
| This is site_admin folder name whereas there is only admin folder in my phpbb root. What can i do? |
|
|
 |
 |
| Back to Top |
|
|
 | Re: I wish the MOD authors would make their mods EM friendly *bangshead* |  |
Posted: 04/09/2007 3:57 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 7:51 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
Yeah, well said NR.
Apologies for my little rant... just that it gets rather annoying at times.
Like you say though Nightrider that there hearts are in it, it's just the majority of them lack experience or are just not interested in making the mod EM compatible, etc. Which is a shame really.
Thing is though is that I've gone through loads of different software over the past few years and can say it's down to the author of the mods not putting them together properly is the reason I go off looking into other opensource software, etc. The actual software’s themselves are ok it's just the dodgy mods that aren't checked properly and are made available to everyone that's the problem...
The ones that make the mods can put users off from using certain opensource software altogether due to mod author’s buggering people’s sites up with badly coded mods, etc. Not meaning to of course but I think they just forgot half of the time that complete newbie’s are working with there stuff.
The end of the day there all trying to meet everyone’s standards/needs but if the mod authors keep messing the mods up the users will go elsewhere. The big boys don't want this, after all there software works fine, just that the user tend to ditch certain software altogether because of some dodgy mods. Hope you know what I mean heh. Definetly need plenty of these when working with mods I tell ya HAHA!  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: I wish the MOD authors would make their mods EM friendly *bangshead* |  |
Posted: 04/09/2007 4:20 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 7:51 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
| Nightrider wrote:
|
| Code:
|
#
#-----[ OPEN ]------------------------------------------
#
copy root/*.php to *.php
copy root/*.css to *.css
copy root/includes/*.php to includes/*.php
copy root/language/lang_english/*.php to language/lang_english/*.php
copy root/site_admin/*.php to site_admin/*.php
copy root/templates/subSilver/site_admin/*.tpl to templates/subSilver/site_admin/*.tpl
copy root/templates/subSilver/*.tpl to templates/subSilver/*.tpl
copy root/images/banners/*.gif to images/banners/*.gif
copy root/images/news/*.gif to images/news/*.gif
copy root/templates/subSilver/images/*.gif to templates/subSilver/images/*.gif
|
|
Shouldn't the above look like this ...
| Code:
|
#
#-----[ COPY ]------------------------------------------
#
copy root/*.php to *.php
copy root/*.css to *.css
copy root/includes/*.php to includes/*.php
copy root/language/lang_english/*.php to language/lang_english/*.php
copy root/site_admin/*.php to site_admin/*.php
copy root/templates/subSilver/site_admin/*.tpl to templates/subSilver/site_admin/*.tpl
copy root/templates/subSilver/*.tpl to templates/subSilver/*.tpl
copy root/images/banners/*.gif to images/banners/*.gif
copy root/images/news/*.gif to images/news/*.gif
copy root/templates/subSilver/images/*.gif to templates/subSilver/images/*.gif
|
!?  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: I wish the MOD authors would make their mods EM friendly *bangshead* |  |
Posted: 04/09/2007 4:31 PM |
|
|
|
|
|
| Citation |
| Posts |
1332 |
| Word Cnt. |
86,126 |
| BDay |
Feb 11 |
| Sign |
Aquarius |
| Sex |
 |
|
|
|
Joined: Mar 31, 2007
Local time: 7:51 PM
Location: Birmingham, UK.
|

|
|
|
|
 |
No good Nightrider
I got this error message below straight away
| Quote:
|
Error Detail
Critical Error
FIND FAILED: In file [includes/page_tail.php] could not find:
'PHPBB_VERSION' => '2' . $board_config['version'],
'TRANSLATION_INFO' => ( isset($lang['TRANSLATION_INFO']) ) ? $lang['TRANSLATION_INFO'] : '',
'ADMIN_LINK' => $admin_link)
);
MOD script line #263 :: FAQ :: Report
|
Here’s the rest of what it did do…
| Code:
|
EasyMOD successfully processed the following commands:
Commands Processed
COPY #136
copy root/*.php to *.php
copy root/*.css to *.css
copy root/includes/*.php to includes/*.php
copy root/language/lang_english/*.php to language/lang_english/*.php
copy root/site_admin/*.php to site_admin/*.php
copy root/templates/subSilver/site_admin/*.tpl to templates/subSilver/site_admin/*.tpl
copy root/templates/subSilver/*.tpl to templates/subSilver/*.tpl
copy root/images/banners/*.gif to images/banners/*.gif
copy root/images/news/*.gif to images/news/*.gif
copy root/templates/subSilver/images/*.gif to templates/subSilver/images/*.gif
OPEN #151
common.php
FIND #156
$board_config = array();
AFTERADD #161
// EasySite MOD
$site_config = array();
FIND #167
if (file_exists('install') || file_exists('contrib'))
BEFOREADD #172
// EasySite MOD
$sql = "SELECT *
FROM " . SITE_CONFIG_TABLE;
if( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, "Could not query site config information", "", __LINE__, __FILE__, $sql);
}
while ( $row = $db->sql_fetchrow($result) )
{
$site_config[$row['config_name']] = $row['config_value'];
}
OPEN #188
includes/constants.php
FIND #193
define('PAGE_GROUPCP', -11);
AFTERADD #198
define('PAGE_SITE', -100);
define('PAGE_ABOUT', -101);
define('PAGE_CONTACT', -102);
define('PAGE_PAGE', -103);
define('PAGE_SITEPANEL', -104);
FIND #207
?>
BEFOREADD #212
// EasySite MOD
define('SITE_CONFIG_TABLE', $table_prefix.'site_config');
define('SITE_BANNER_TABLE', $table_prefix.'site_banner');
define('SITE_NEWS_TABLE', $table_prefix.'site_news');
define('SITE_LINKTOME_TABLE', $table_prefix.'site_linktome');
define('SITE_ADDPAGE_TABLE', $table_prefix.'site_addpage');
define('SITE_SEARCH_TABLE', $table_prefix.'site_search');
OPEN #223
includes/page_tail.php
FIND #228
if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
}
AFTERADD #236
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_EasySite.' . $phpEx);
$copyright_owner = ( $site_config['copyright_owner'] ) ? $site_config['copyright_owner'] : '';
$copyright_text = ( $site_config['copyright_text'] ) ? $site_config['copyright_text'] : '';
FIND #244
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';
REPLACE #249
// Only True Admin can access Site Admin Panel
if ( $userdata['user_id'] == 2 )
{
$admin_link = '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a> - <a href="site_admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_site_panel'] . '</a><br /><br />';
}
else if ( $userdata['user_level'] == ADMIN )
{
$admin_link = '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />';
}
else { $admin_link = ""; }
|
|
|
|
 |
 |
| Back to Top |
|
|
 |
 | Information |  |
|