Login     Sign up
Dennis Weaver (@den68)
92 months ago
608 Views

Is it possible and would it be possible to add more buttons to it like I could with previous versions.

1 people followed this question
0

for friends:: includes/libs/pages.inc.php function settabmenu

[code]
if ($page['type'] == 'u') {
/ new code /
if ($owner['id'] != $client['id'] && !$owner['is_friend']) {
$page['no_comment'] = 1;
}
/ /
/ old code
if ($owner['id'] != $client['id']) {
$page['no_comment'] = 1;
}
/
}
[/code]
includes/libs/common.inc.php function stream_form

[code]
if ($page['type'] == 'u' && $page['uid'] != $client['id']) {
$res = sql_query("select username from ".tb()."accounts where id='{$page['uid']}'");
$owner = sql_fetch_array($res);
$commentat = $default_msg = '@'.$owner['username'].' ';
// $target_page_id = $client['page']['id']; <-- old line
$target_page_id = $page['id']; // <-- new line
$oncomment = 1;
$miniposttag = t('Comment');
}
[/code]

Dennis Weaver @den68
92 months ago
to add buttons go to common.inc.php look for<div class="img_preview"></div> and look in the <td> area @den68
92 months ago