Mood Mod?

If you download it and reed the install text file.
It will tell you how.
 
Open the folder after you download it then open install_mod.xml

And it will tell you what to edit and where to put the files.

Don't forget to always do a back-up before you install any mod
 
It shows this
http://opensource.org/licenses/gpl-license.php GNU General Public License v2
User status mod
Allow users to add a status to there profile
Test and supported on 3.0.4 only!


Ian Taylor
platinum_2007
http://ian-taylor.ca
[email protected]


1.0.5

easy
820
3.0.4


subSilver2 Edits




















$group_options .= '<option value="' . $row['group_id'] . '"' . (($row['group_id'] == $member['group_id']) ? ' selected="selected"' : '') . '>' . (($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name']) . '</option>';
}
$db->sql_freeresult($result);


if (isset($config['enable_status']))
{
// status
$sql = 'SELECT status_text
FROM '.STATUS_TABLE.'
WHERE user_id ='.intval($user_id).' ORDER BY status_time DESC';
$result = $db->sql_query_limit($sql, 1);

while($row = $db->sql_fetchrow( $result )) {
$template->assign_block_vars('stat', array(

'STATUS' => $row['status_text'],
));
}
}

// end status




'PAGE_NUMBER' => on_page($total_posts, $config['posts_per_page'], $start),
'STATUS_ENABLE_VIEWTOPIC' => $config['enable_status_viewtopic'],


$template->assign_block_vars('postrow.attachment', array(
'DISPLAY_ATTACHMENT' => $attachment)
);
}
}
if (isset($config['enable_status']))
{
// status
$sql = 'SELECT status_text
FROM '.STATUS_TABLE.'
WHERE user_id ='.intval($poster_id).' ORDER BY status_time DESC';
$result = $db->sql_query_limit($sql, 1);

while($row = $db->sql_fetchrow( $result )) {
$template->assign_block_vars('postrow.stat', array(

'STATUS' => $row['status_text'],
));
}
}







'VISIT_WEBSITE' => 'Visit website',

'UPDATE_STATUS' => 'Update Status',
'STATUS_CURRENT' => 'Your status currently is : ',
'STATUS_UPDATED' => 'Your status has been updated!',





// Additional tables

// status mod
define('STATUS_TABLE', $table_prefix . 'status');




if (strpos($user_lang, '-x-') !== false)
{
$user_lang = substr($user_lang, 0, strpos($user_lang, '-x-'));
}

if (isset($config['enable_status']))
{
// STATUS MOD BY IAN-TAYLOR.CA BEGIN
$user_id = $user->data['user_id'];
$sql_s = 'SELECT status_text
FROM '.STATUS_TABLE.'
WHERE user_id ='.intval($user_id).' ORDER BY status_id DESC';
$result_s = $db->sql_query_limit($sql_s, 1);

while($row_s = $db->sql_fetchrow( $result_s )) {
$template->assign_block_vars('stat_q', array(

'STATUS' => $row_s['status_text'],
));
}
}

// STATUS MOD BY IAN-TAYLOR.CA END



'PRIVATE_MESSAGE_INFO_UNREAD' => $l_privmsgs_text_unread,

'SUB_STATUS' => append_sid("{$phpbb_root_path}status.$phpEx", 'user='.$user->data['user_id']),
'ENABLE_STATUS' =>$config['enable_status'],
'ENABLE_STATUS_MEMBERLIST' => $config['enable_status_memberlist'],







<!-- IF U_SWITCH_PERMISSIONS --> [ <a href="{U_SWITCH_PERMISSIONS}">{L_USE_PERMISSIONS}</a> ]<!-- ENDIF -->
<br />
<!-- IF ENABLE_STATUS_MEMBERLIST and ENABLE_STATUS -->
<!-- BEGIN stat -->
<b>{stat.STATUS}</b>
<!-- END stat -->
<!-- ENDIF -->





<!-- IF not postrow.U_POST_AUTHOR --><strong>{postrow.POST_AUTHOR_FULL}</strong><!-- ELSE -->{postrow.POST_AUTHOR_FULL}<!-- ENDIF -->
<!-- IF STATUS_ENABLE_VIEWTOPIC and ENABLE_STATUS -->
<!-- BEGIN stat -->
<p>{postrow.stat.STATUS}</p>
<!-- END stat -->
<!-- ENDIF -->





</head>
<script type="text/javascript" src="{T_THEME_PATH}/jquery-1.3.2.js"></script>
<script type="text/javascript">
$(document).ready(function(){

$("#status").click(function () {
$("#hide_status").toggle("slow");
});

});

$(document).ready(function(){

$("#newstatus").submit(function() {

var status_text = $('#status_text').attr('value');
$("#newstatus").empty().html('<img src="{T_THEME_PATH}/images/loader.gif" alt="loading" />');

$.ajax({
type: "POST",
url: "{SUB_STATUS}",
data: "status_text="+ status_text,
success: function(del){
$('#newstatus').hide();
$('div.success').fadeIn();

}
});
return false;
});
});
</script>



<li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li>
<!-- IF ENABLE_STATUS && S_USER_LOGGED_IN --> <li class="icon-members"><a id="status" href="#" title="{L_UPDATE_STATUS}">{L_UPDATE_STATUS}</a></li><!-- ENDIF -->



<a name="start_here"></a>
<div id="hide_status" style="display:none; text-align:center;">
<br />
<form id="newstatus" method="post" action="">
<fieldset>
<input maxlength="150" id="status_text" name="status_text" type="text" />
<input name="submit" type="submit" id="submit" value="{L_SUBMIT}" /><br />
{L_STATUS_CURRENT} <!-- BEGIN stat_q -->{stat_q.STATUS}<!-- END stat_q --><br />
</fieldset>
</form>

<div class="success" style="display:none;">
<p style="text-align:center">{L_STATUS_UPDATED}</p>
</div>
</div>



browse to /status_install.php and follow instructions!
 
Should look like this

Code:
Files to Edit

    * memberlist.php,
    * viewtopic.php,
    * language/en/common.php,
    * includes/constants.php,
    * includes/functions.php,
    * styles/prosilver/template/memberlist_view.html,
    * styles/prosilver/template/viewtopic_body.html,
    * styles/prosilver/template/overall_header.html

Included Files

    * root/status.php,
    * root/adm/style/acp_status.html,
    * root/includes/acp/info/acp_status.php,
    * root/includes/acp/acp_status.php,
    * root/language/en/mods/status_mod.php,
    * root/language/en/mods/info_acp_status.php,
    * root/umil/*.*,
    * root/status_install.php,
    * root/styles/prosilver/theme/jquery-1.3.2.js,

What did you open it with?
 
Logan, it's this file you want to double click on:
211p3k6.webp

It should open in your default Web Browser, but if it doesn't right click and choose Open With >> FireFox.

Installing a MOD is just a matter of Copy / Paste and a few file uploads. Don't be intimidated by the long installation file. If you need some extra advice watch the following video in full screen:

[youtube]P8cJGjAj_qA[/youtube]

...and if you still can't do it I'll install the MOD for a certain price in real currency. You might be able to find someone who will do it for free or for FP Cash, but it all comes down to a matter of trust.

Good luck 🙂
 
Do I need to extract the files?

Also, when I right click it, it only says open not open with.

EDIT: That would be my problem. 😛 Thanks guys! It says tested on 3.0.4 only does any one know if it works on 3.0.5?
 
Hmm.. when I try to find memberlist.php so I can edit it, I can't find it.
 
It is in the root of your phpBB files. Same area as index.php, viewtopic.php, veiwforum.php and so on.
 
No offence but if you can't find the file to download or don't know where the root of your phpBB installation is then i don't think installing this mod is a good start for you. This mod is pretty big.
 
Sorry for my noobism, I'm trying to learn how to install mods.

I already downloaded, status_mod_1.0.5
 
I know you are learning but i am just saying that a big mod like this is not really the best place to start. Start with a smaller mod like instant post redirect or quick reply. It is better to start off with smaller mods and then go onto bigger ones which require database changes. Installing the mood mod is a bit like teaching a child how to do long division before even being able to count. It is better to teach them to count then simple sums then work up to it rather then going straight there. It is the same in the case of mods.
 
Back
Top Bottom