Mods: How confident are you?

Raymond said:
As Murder He Wrote said, It's rather easy to install yourself just gotta find the people who can teach. I too can install edit ect.. real fast.


Good! Maybe you can help me. Seriously, I know nothing about installing mods and I have two for sure that I want to install.
 
Well I am NEVER confident about installing mods. I know that something will go wrong some time. I have my boards files locked up on CD and USB so I dont loose anything.
 
I got a question for you guys who aren't really confident with mods.

What makes you think like that? It's actually quite easy and here's a tip:

Most of the time if you have to find something like this (taken from cash mod for example):

Find:

Code:
if (!$config['allow_attachments'] && !$config['allow_pm_attach'])
{
	trigger_error('ATTACHMENT_FUNCTIONALITY_DISABLED');
}

Add after:

Code:
// Start Ultimate Points
$sql_array = array(
	'SELECT'    => '*',
	'FROM'      => array(
		POINTS_VALUES_TABLE => 'v',
	),
);
$sql = $db->sql_build_query('SELECT', $sql_array);
$result = $db->sql_query($sql);
$points_values = $db->sql_fetchrow($result);
$db->sql_freeresult($result);

if ($config['allow_attachments'] && $config['points_enable'] && ($user->data['user_points'] < $points_values['points_dl_cost_per_attach']))
{
	$message = sprintf($user->lang['POINTS_ATTACHMENT_MINI_POSTS'], $config['points_name']) . '<br /><br /><a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">&laquo; ' . $user->lang['POINTS_RETURN_INDEX'] . '</a>';
	trigger_error($message);
}
// End Ultimate Points

If you notice the line you have to add ends with the same character as the line you have to find. Most of the time it's because of that reason most mods go bad. So if you look for that you'll be alright 😉.

Note: It's not always like this but majority of the time it is.
 
With vB I hardly have a problem. I check the ratings, and all the comments on the download page before installing it. And after I do install it I test all the features. If it works it works, if it doesn't it doesn't.

Confident! But I will never be confident enough to the extent that I won't double check..That would just cause faults in my forum(s) and maybe make my site vulnerable.
 
Nathan said:
I got a question for you guys who aren't really confident with mods.

What makes you think like that? It's actually quite easy and here's a tip:

Most of the time if you have to find something like this (taken from cash mod for example):

Find:

Code:
if (!$config['allow_attachments'] && !$config['allow_pm_attach'])
{
	trigger_error('ATTACHMENT_FUNCTIONALITY_DISABLED');
}

Add after:

Code:
// Start Ultimate Points
$sql_array = array(
	'SELECT'    => '*',
	'FROM'      => array(
		POINTS_VALUES_TABLE => 'v',
	),
);
$sql = $db->sql_build_query('SELECT', $sql_array);
$result = $db->sql_query($sql);
$points_values = $db->sql_fetchrow($result);
$db->sql_freeresult($result);

if ($config['allow_attachments'] && $config['points_enable'] && ($user->data['user_points'] < $points_values['points_dl_cost_per_attach']))
{
	$message = sprintf($user->lang['POINTS_ATTACHMENT_MINI_POSTS'], $config['points_name']) . '<br /><br /><a href="' . append_sid("{$phpbb_root_path}index.$phpEx") . '">&laquo; ' . $user->lang['POINTS_RETURN_INDEX'] . '</a>';
	trigger_error($message);
}
// End Ultimate Points

If you notice the line you have to add ends with the same as the line you have to find. Most of the time it's because of that reason most mods go bad. So if you look for that you'll be alright 😉.
Holy C-rap music!
I never knew that!!!
 
I'm still new to advanced hosting. I've been running forums for almost a year, now, and all this time I've been running around on free hosting sites, so I've never gotten around to much practice. Of course, I didn't even know about such advanced hosting sites like fi.st or 2 Host U where you didn't have to pay a penny.
 
Practice makes perfect... I learnt by installing phpBB on a crappy free host and installing mods to it. I stated with easy mods which required like 2 edits and then moved on to bigger ones when i felt more confident. It is all about understanding what to do and taking your time to start of with. When you get the hang of it, you will just fly through the edits.
 
It's only copy/pasting, it shouldn't be that hard - just make sure you make backups before you start so if something goes wrong you can replace the problem file.

Of Course, phpBB3 quickly needs a mod autoinstaller - and no, not the POS automod which either doesn't work at all or causes more problems then it solves.

vBulletin, SMF, MybB, IP.Board all have such things.

Even WordPress does - heck, you can install mods directly through the admin panel (i.e. you don't have to visit another site, download, extract, upload, etc.)

Having looked at the trunk for 3.1.x it doesn't appear planned so I expect it won't happen until phpBB4 which i s a shame as it really isn't all took hard.

It's the main reason I know use vBulletin over phpBB3 in big projects, I can easily inject PHP just about anywhere into the system without editing a file, if something goes wrong I can just deactive my php code - no worries about having to unedit files, etc.

And of course it makes upgrading so so so much easier as all the PHP code is external to the core PHP of the program
 
Yes, it does need an auto mod installer. It would be more easier on some of us new forum owners!
 
Back
Top Bottom