PDA


Tüm Versiyonu Göster : Install System Mod


DeadLy
12-17-2006, 22:58
##################
attachment.php aç;
##################

=======
Ara:


if (!$attachmentinfo = $DB_site->query_first("
SELECT filename, attachment.postid, attachment.userid, attachmentid,
" . ((!empty($thumb))
? 'thumbnail AS filedata, thumbnail_dateline AS dateline, thumbnail_filesize AS filesize,'
: 'attachment.dateline, SUBSTRING(filedata, 1, 2097152) AS filedata, filesize,') . "
attachment.visible, mimetype, NOT ISNULL(deletionlog.primaryid) AS isdeleted,
thread.forumid, forum.password, thread.threadid
FROM " . TABLE_PREFIX . "attachment AS attachment
LEFT JOIN " . TABLE_PREFIX . "attachmenttype AS attachmenttype ON(attachmenttype.extension = SUBSTRING_INDEX(attachment.filename, '.', -1))
LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(attachment.postid = deletionlog.primaryid AND type = 'post')
LEFT JOIN " . TABLE_PREFIX . "post AS post ON (post.postid = attachment.postid)
LEFT JOIN " . TABLE_PREFIX . "thread AS thread ON (post.threadid = thread.threadid)
LEFT JOIN " . TABLE_PREFIX . "forum AS forum ON (forum.forumid = thread.forumid)
" . iif($postid, "WHERE attachment.postid = $postid", "WHERE attachmentid = $attachmentid") . "
"))
{
eval(print_standard_error('error_invalidid'));
}

============
aLtına ekLe:


// ######################### Hack Poster Start ############################
if ($_REQUEST['do']=="download")
{
$hackid = $_GET['hackid'];

if (!$bbuserinfo['userid'])
{
print_no_permission();
}
else
{
$verif = $DB_site->query_first("SELECT userid,hackid,downcount FROM ". TABLE_PREFIX ."lockdown_userarea WHERE hackid=$hackid AND userid=$bbuserinfo[userid]");
}

if (!$verif)
{
$DB_site->query("DELETE FROM ". TABLE_PREFIX ."lockdown_userarea WHERE (hackid=$hackid AND userid=$bbuserinfo[userid])");
}
else
{
$DB_site->query("UPDATE ". TABLE_PREFIX ."lockdown_userarea SET downcount=downcount+1 WHERE hackid=$hackid AND userid=$bbuserinfo[userid]");
}
}

// ######################### Hack Poster End ############################


======
Ara:


if ($attachmentinfo['postid'] == 0)
{ // Attachment that is in progress but hasn't been finalized

if ($bbuserinfo['userid'] != $attachmentinfo['userid'])
{ // Person viewing did not upload it
eval(print_standard_error('error_invalidid'));
}
// else allow user to view the attachment (from the attachment manager for example)
}
else
{
$forumperms = fetch_permissions($attachmentinfo['forumid']);

$threadinfo = array('threadid' => $attachmentinfo['threadid']); // used for session.inthread

if (!can_moderate($attachmentinfo['forumid']) AND $attachmentinfo['isdeleted'])
{
eval(print_standard_error('error_invalidid'));
}

if (!($forumperms & CANVIEW) OR !($forumperms & CANGETATTACHMENT))
{
print_no_permission();
}

// check if there is a forum password and if so, ensure the user has it set
verify_forum_password($attachmentinfo['forumid'], $attachmentinfo['password']);

if (!$attachmentinfo['visible'] AND !can_moderate($attachmentinfo['forumid'], 'canmoderateattachments') AND $attachmentinfo['userid'] != $bbuserinfo['userid'])
{
$idname = 'attachment';
eval(print_standard_error('error_invalidid'));
}
}

==============
Değiştir:

if (!$_REQUEST['do']=="download")
{
if ($attachmentinfo['postid'] == 0)
{ // Attachment that is in progress but hasn't been finalized

if ($bbuserinfo['userid'] != $attachmentinfo['userid'])
{ // Person viewing did not upload it
eval(print_standard_error('error_invalidid'));
}
// else allow user to view the attachment (from the attachment manager for example)
}
else
{
$forumperms = fetch_permissions($attachmentinfo['forumid']);

$threadinfo = array('threadid' => $attachmentinfo['threadid']); // used for session.inthread

if (!can_moderate($attachmentinfo['forumid']) AND $attachmentinfo['isdeleted'])
{
eval(print_standard_error('error_invalidid'));
}

if (!($forumperms & CANVIEW) OR !($forumperms & CANGETATTACHMENT))
{
print_no_permission();
}

// check if there is a forum password and if so, ensure the user has it set
verify_forum_password($attachmentinfo['forumid'], $attachmentinfo['password']);

if (!$attachmentinfo['visible'] AND !can_moderate($attachmentinfo['forumid'], 'canmoderateattachments') AND $attachmentinfo['userid'] != $bbuserinfo['userid'])
{
$idname = 'attachment';
eval(print_standard_error('error_invalidid'));
}
}

}

=================
Kaydet ve upLoad et.
=================

##############
newthread.php aç;
##############

======
Ara:


$subject = $newpost['title'];

// get username code
$currentpage = urlencode("newthread.php?f=$foruminfo[forumid]");
eval('$usernamecode = "' . fetch_template('newpost_usernamecode') . '";');

===========
Üstüne EkLe:


// ######################### Hack Poster Start ############################

if ($foruminfo['hack_poster'] == 1)
{
$addonid = $DB_site->query('SELECT hackid,title FROM lockdown WHERE 1 ORDER BY title ASC');
while ($addon = $DB_site->fetch_array($addonid))
{
eval('$addonbits .= "' . fetch_template('hack_addonbit') . '";');
}
eval('$hackoptions .= "' . fetch_template('hack_newthread_options') . '";');
}

// ######################### Hack Poster END ############################


=================
Kaydet ve upLoad et.
=================

##############
editpost.php aç;
##############

======
Ara:


// ### POST HAS NO ERRORS ###

// Delete user's previous edit if we don't save edits for this group and they didn't give a reason
if (!$edit['reason'] AND $postinfo['edit_userid'] == $bbuserinfo['userid'] AND !($permissions['genericoptions'] & SHOWEDITEDBY))
{
$DB_site->query("
DELETE FROM " . TABLE_PREFIX . "editlog
WHERE postid = $postid
");
}
else if ((($permissions['genericoptions'] & SHOWEDITEDBY) AND $postinfo['dateline'] < (TIMENOW - ($vboptions['noeditedbytime'] * 60))) OR !empty($edit['reason']))
{
$DB_site->query("
REPLACE INTO " . TABLE_PREFIX . "editlog (postid, userid, username, dateline, reason)
VALUES ($postid, $bbuserinfo[userid], '" . addslashes($bbuserinfo['username']) . "', " . TIMENOW . ", '" . addslashes($edit['reason']) . "')
");

============
aLtına ekLe:


// ######################### Hack Poster Start ############################
$DB_site->query("UPDATE ". TABLE_PREFIX ."lockdown SET updated=" . TIMENOW . " WHERE threadid=$threadinfo[threadid]");
// ######################### Hack Poster END ############################

======
Ara:


build_post_index($postid , $foruminfo);

$url = "showthread.php?$session[sessionurl]p=$postid#post$postid";
eval(print_standard_redirect('redirect_editthanks' ));

}
}

===========
Üstüne ekLe:


// ######################### Hack Poster Start ############################

if ($foruminfo['hack_poster'] == 1)
{
$lockdown = $DB_site->query_first("
SELECT firstpostid
FROM " . TABLE_PREFIX . "lockdown
WHERE threadid = '" . $threadinfo['threadid'] . "'
");

if ($lockdown['firstpostid'] == $postinfo['postid'])
{
$lockdown['version_vb'] = $_POST['version_vb'];
$lockdown['version_hack'] = $_POST['version_hack'];
$lockdown['description'] = $_POST['description'];
$lockdown['installation'] = $_POST['installation'];
$lockdown['queries'] = $_POST['queries'];
$lockdown['templates_news'] = $_POST['templates_news'];
$lockdown['templates_mod'] = $_POST['templates_mod'];
$lockdown['files_mod'] = $_POST['files_mod'];
$lockdown['files_add'] = $_POST['files_add'];
$lockdown['phrases'] = $_POST['phrases'];
$lockdown['installer'] = $_POST['installer'];
$lockdown['addonid'] = $_POST['addonid'];

$DB_site->query("
UPDATE " . TABLE_PREFIX . "lockdown
SET version_vb = '" . addslashes($lockdown['version_vb']) . "',
version_hack = '" . addslashes($lockdown['version_hack']) . "',
description = '" . addslashes($edit['message']) . "',
installation = '" . addslashes($lockdown['installation']) . "',
queries = '" . addslashes($lockdown['queries']) . "',
templates_news = '" . addslashes($lockdown['templates_news']) . "',
templates_mod = '" . addslashes($lockdown['templates_mod']) . "',
files_add = '" . addslashes($lockdown['files_add']) . "',
phrases = '" . addslashes($lockdown['phrases']) . "',
installer = '" . addslashes($lockdown['installer']) . "',
addonid = '" . addslashes($lockdown['addonid']) . "',
title = '" . addslashes($edit['title']) . "'
WHERE threadid = '" . $threadinfo['threadid'] ."'
");
}
}

// ######################### Hack Poster END ############################

======
Ara:


// edit / add attachment
if ($forumperms & CANPOSTATTACHMENT AND $bbuserinfo['userid'])
{
require_once('./includes/functions_file.php');
$inimaxattach = fetch_max_attachment_size();
$maxattachsize = vb_number_format($inimaxattach, 1, true);

if (!$posthash OR !$poststarttime)
{
$poststarttime = TIMENOW;
$posthash = md5($poststarttime . $bbuserinfo['userid'] . $bbuserinfo['salt']);

}

============
Üstüne EkLe:


// ######################### Hack Poster Start ############################

if ($foruminfo['hack_poster'] == 1)
{
$lockdown = $DB_site->query_first("
SELECT *
FROM " . TABLE_PREFIX . "lockdown
WHERE threadid = '" . $threadinfo['threadid'] . "'
");
if ($lockdown['firstpostid'] == $postinfo['postid'])
{
$addonid_sql = $DB_site->query('SELECT hackid,title FROM lockdown WHERE 1 ORDER BY title ASC');
while ($addon = $DB_site->fetch_array($addonid_sql))
{
eval('$addonbits .= "' . fetch_template('hack_addonbit') . '";');
}
eval('$hackoptions .= "' . fetch_template('hack_editpost_options') . '";');
}
}

// ######################### Hack Poster END ############################

================
Kaydet ve upLoad et.
================


###################
postings.php aç;
###################


=======
Ara:


// ************************************************** *************
// move the thread wholesale into the destination forum
case 'move':

log_moderator_action($threadinfo, construct_phrase($vbphrase['thread_moved_to_x'], $destforuminfo['title']));

// update forumid/notes and unstick to prevent abuse
$DB_site->query("
UPDATE " . TABLE_PREFIX . "thread SET
title = '" . addslashes($threadinfo['title']) . "',
forumid = " . intval($destforuminfo['forumid']) . ",
sticky = 0
WHERE threadid = $threadid
");


break;
// ************************************************** *************


======================
Değiştir:


// ************************************************** *************
// move the thread wholesale into the destination forum
case 'move':

log_moderator_action($threadinfo, construct_phrase($vbphrase['thread_moved_to_x'], $destforuminfo['title']));

// update forumid/notes and unstick to prevent abuse
$DB_site->query("
UPDATE " . TABLE_PREFIX . "thread SET
title = '" . addslashes($threadinfo['title']) . "',
forumid = " . intval($destforuminfo['forumid']) . ",
sticky = 0
WHERE threadid = $threadid
");

// ######################### Hack Poster Start ############################

if ($foruminfo['hack_poster'] == 1)
{
$DB_site->query("
UPDATE " . TABLE_PREFIX . "lockdown SET
title = '" . addslashes($threadinfo['title']) . "',
forumsid = " . intval($destforuminfo['forumid']) . ",
threadid = '". $threadid ."'
WHERE threadid = $threadid
");
$DB_site->query("
UPDATE " . TABLE_PREFIX . "lockdown_install SET
threadid = '". $threadid ."'
WHERE threadid = $threadid
");
$DB_site->query("
UPDATE " . TABLE_PREFIX . "lockdown_userarea SET
title = '" . addslashes($threadinfo['title']) . "',
threadid = '". $threadid ."'
WHERE threadid = $threadid
");
}

// ######################### Hack Poster End ############################

break;
// ************************************************** *************


================
Kaydet ve upLoad et.
================



################
showthread.php aç;
################

======
Ara:


// load attachments
if ($thread['attach'])
{
$attachments = $DB_site->query("
SELECT filename, filesize, visible, attachmentid, counter, postid, IF(thumbnail_filesize > 0, 1, 0) AS hasthumbnail, thumbnail_filesize
FROM " . TABLE_PREFIX . "attachment
WHERE postid IN (-1" . $ids . ")
ORDER BY dateline
");
$postattach = array();
while ($attachment = $DB_site->fetch_array($attachments))
{
$postattach["$attachment[postid]"]["$attachment[attachmentid]"] = $attachment;
}
}

============
aLtına ekLe:


// ######################### Hack Poster Start ############################
if ($foruminfo['hack_poster'] == 1)
{
// lets get all the lockdown information from the database for that thread
$hacks = $DB_site->query_first("
SELECT *
FROM " . TABLE_PREFIX . "lockdown
WHERE threadid = '" . $threadinfo['threadid'] . "'
");

$install_check = '';
$install_button = '';
$hack_options = '';

$verif = $DB_site->query_first("SELECT userid FROM ". TABLE_PREFIX ."lockdown_install WHERE threadid=$threadinfo[threadid] AND userid=$bbuserinfo[userid]");

if ($verif)
{
$install_check = true;
}
else
{
$install_check = false;
}

if (($foruminfo['hack_poster_private'] == 1) AND ($verif))
{
eval('$install_button = "' . fetch_template('hack_uninstall') . '";');
}
else if (($foruminfo['hack_poster_private'] ==1) AND (!$verif))
{
eval('$install_button = "' . fetch_template('hack_install') . '";');
}
else if ((!$foruminfo['hack_poster_private'] ==1) AND ($verif))
{
$install_button = '';
}
else
{
eval('$install_button = "' . fetch_template('hack_install') . '";');
}

if(!$hacks['dateline'])
{
$hacks['postdate'] = '';
$hacks['posttime'] = '';
}
else
{
$hacks['postdate'] = vbdate($vboptions['dateformat'], $hacks['dateline'], true);
$hacks['posttime'] = vbdate($vboptions['timeformat'], $hacks['dateline']);
}

if(!$hacks['updated'])
{
$hacks['update'] = '';
$hacks['updatetime'] = '';
}
else
{
$hacks['update'] = vbdate($vboptions['dateformat'], $hacks['updated'], true);
$hacks['updatetime'] = vbdate($vboptions['timeformat'], $hacks['updated']);
}

if (($bbuserinfo['usergroupid'] == 6) || ($bbuserinfo['usergroupid'] == 7) || ($bbuserinfo['usergroupid'] == 5))
{
$hack_options = true;
eval('$hack_options = "' . fetch_template('hack_moderator_options') . '";');
}
else
{
$hack_options = '';
}

}
// ######################### Hack Poster End ############################

======
Ara:

// get first and last post ids for this page (for big reply buttons)
if (!isset($FIRSTPOSTID))
{
$FIRSTPOSTID = $post['postid'];
}
$LASTPOSTID = $post['postid'];

DEVDEBUG(">>> " . $vbphrase['members_list']);

$parsed_postcache = array('text' => '', 'images' => 1, 'skip' => false);

$post['musername'] = fetch_musername($post);
$post['islastshown'] = ($post['postid'] == $lastpostid);
$post['attachments'] = &$postattach["$post[postid]"];

if ($post['isdeleted'])
{
$template = 'postbit_deleted';
}

============
aLtına ekLe:



// ######################### Hack Poster Start ############################
else if(($post['postid']==$threadinfo['firstpostid']) AND ($foruminfo['hack_poster']))
{
$template ='hack_firstpost';
}
// ######################### Hack Poster END ############################

======
Ara:


DEVDEBUG("First Post: $FIRSTPOSTID; Last Post: $LASTPOSTID");

$pagenav = construct_page_nav($totalposts, "showthread.php?$session[sessionurl]t=$threadid", "&amp;pp=$perpage$highlightwords");

===========
Üstüne ekLe:


// ######################### Hack Poster Start ############################
if ($threadinfo['showfirstpost'])
{
// querying
$get_firstpost = $DB_site->query("
SELECT
post.*, post.username AS postusername, post.ipaddress AS ip,
user.*, userfield.*, usertextfield.*,
" . iif($forum['allowicons'], 'icon.title as icontitle, icon.iconpath,') . "
" . iif($vboptions['avatarenabled'], 'avatar.avatarpath, NOT ISNULL(customavatar.avatardata) AS hascustomavatar, customavatar.dateline AS avatardateline,') . "
" . iif($vboptions['reputationenable'], 'level,') . "
" . iif(!$deljoin, 'NOT ISNULL(deletionlog.primaryid) AS isdeleted, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason,') . "
editlog.userid AS edit_userid, editlog.username AS edit_username, editlog.dateline AS edit_dateline,
editlog.reason AS edit_reason,
post_parsed.pagetext_html, post_parsed.hasimages,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
" . iif(!($permissions['genericpermissions'] & CANSEEHIDDENCUSTOMFIELDS), $datastore['hidprofilecache']) . "
FROM " . TABLE_PREFIX . "post AS post
LEFT JOIN " . TABLE_PREFIX . "user AS user ON(user.userid = post.userid)
LEFT JOIN " . TABLE_PREFIX . "userfield AS userfield ON(userfield.userid = user.userid)
LEFT JOIN " . TABLE_PREFIX . "usertextfield AS usertextfield ON(usertextfield.userid = user.userid)
" . iif($forum['allowicons'], "LEFT JOIN " . TABLE_PREFIX . "icon AS icon ON(icon.iconid = post.iconid)") . "
" . iif($vboptions['avatarenabled'], "LEFT JOIN " . TABLE_PREFIX . "avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN " . TABLE_PREFIX . "customavatar AS customavatar ON(customavatar.userid = user.userid)") .
iif($vboptions['reputationenable'], " LEFT JOIN " . TABLE_PREFIX . "reputationlevel AS reputationlevel ON(user.reputationlevelid = reputationlevel.reputationlevelid)") . "
" . iif(!$deljoin, "LEFT JOIN " . TABLE_PREFIX . "deletionlog AS deletionlog ON(deletionlog.primaryid = post.postid AND deletionlog.type = 'post')") . "
LEFT JOIN " . TABLE_PREFIX . "editlog AS editlog ON(editlog.postid = post.postid)
LEFT JOIN " . TABLE_PREFIX . "post_parsed AS post_parsed ON(post_parsed.postid = post.postid)
WHERE post.postid IN (0,$threadinfo[firstpostid])
");

while ($firstpost = $DB_site->fetch_array($get_firstpost))
{
$post['musername'] = fetch_musername($firstpost);
$postbits_firstpost .= construct_postbit($firstpost, 'hack_firstpost');
}
$DB_site->free_result($get_firstpost);
unset($firstpost);
}
// ######################### Hack Poster END ############################

=================
Kaydet ve upLoad et.
=================


##########################
forumdisplay.php aç;
##########################

======
Ara:



while ($thread = $DB_site->fetch_array($threads))
{ // AND $counter++<$perpage)

============
aLtına ekLe:



// ######################### Hack Poster Start ############################
$ishack = false;
if ($foruminfo['hack_poster'] == 1)
{
$hack = $DB_site->query_first("
SELECT *
FROM " . TABLE_PREFIX . "lockdown
WHERE threadid = '" . $thread['threadid'] . "'
");

$ishack = true;
$install_count = $hack[installs];
$show['paperclip'] = false;
}
// ######################### Hack Poster END ############################


=================
Kaydet ve upLoad et.
=================


######################
functions_newpost.php aç;
######################

======
Ara:


// ### POST NEW POST ###
$DB_site->query("
INSERT INTO " . TABLE_PREFIX . "post
(threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie,
showsignature, ipaddress, iconid, visible, attach)
VALUES
($threadinfo[threadid], $parentid, '" . addslashes($post['title']) . "',
'" . addslashes($post['postusername']) . "', $bbuserinfo[userid], " . TIMENOW . ",
'" . addslashes($post['message']) . "', $post[enablesmilies], $post[signature],
'" . addslashes($post['ipaddress']) . "', $post[iconid], $post[visible], $totalattachments)
");
$post['postid'] = $DB_site->insert_id();

if ($type == 'thread')
{
$DB_site->query("
UPDATE " . TABLE_PREFIX . "thread
SET firstpostid = $post[postid]
WHERE threadid = $threadinfo[threadid]
");
$post['visible'] = $threadinfo['visible'];
}

=============
aLtına ekLe:


// ######################### Hack Poster Start ############################
if ($type == 'thread' AND $foruminfo['hack_poster'] == 1)
{
$version_vb = $_POST['version_vb'];
$version_hack = $_POST['version_hack'];
$description = $_POST['description'];
$installation = $_POST['installation'];
$queries = $_POST['queries'];
$templates_news = $_POST['templates_news'];
$templates_mod = $_POST['templates_mod'];
$files_mod = $_POST['files_mod'];
$files_add = $_POST['files_add'];
$phrases = $_POST['phrases'];
$installer = $_POST['installer'];
$addonid = $_POST['addonid'];

$DB_site->query("
INSERT INTO " . TABLE_PREFIX . "lockdown
(title, hackid, threadid, forumsid, langueid, userid, username, dateline, version_vb, version_hack, catid, description, installation,
queries, templates_news, templates_mod, files_mod, files_add, phrases, attachmentid, nb_install, installer, firstpostid, addonid)
VALUES
('" . addslashes($threadinfo['title']) ."', '', '$threadinfo[threadid]', '$threadinfo[forumid]', '', '$bbuserinfo[userid]', '" . addslashes($bbuserinfo[username]) . "', " . TIMENOW . ",
'$version_vb', '$version_hack', '','" . addslashes($post['message']) . "', '$installation', '$queries', '$templates_news', '$templates_mod', '$files_mod', '$files_news',
'$phrases', '', '0', '$installer', '" . $post['postid'] . "', '$addonid')");

$DB_site->query("UPDATE " . TABLE_PREFIX . "thread SET showfirstpost = 1 WHERE threadid = $threadinfo[threadid]");
}
// ######################### Hack Poster END ############################

=================
Kaydet ve upLoad et.
=================

#########################
functions_showthread.php aç;
#########################

======
Ara:


global $counter, $firstnew, $highlight, $postid, $forum, $replacewords, $bgclass, $altbgclass;

===================
aLtına ekLe:



// ######################### Hack Poster Start ###########################################
global $hacks , $install_button, $install_check, $hack_options, $userarea;
// ######################### Hack Poster End #############################################


================
Kaydet ve upLoad et.
================

########################
functions_databuild.php aç;
########################

======
Ara:


while ($post = $DB_site->fetch_array($posts))
{
if ($countposts AND !$post['isdeleted'] AND $post['userid'])
{ // deleted posts have already been subtracted and ignore guest posts
if (!isset($userbyuserid["$post[userid]"]))
{
$userbyuserid["$post[userid]"] = 1;
}
else
{
$userbyuserid["$post[userid]"]++;
}
}
$postids .= $post['postid'] . ',';
$attachmentids['postid'] = $post['attach'];
if ($physicaldel == 1)
{
delete_post_index($post['postid']); //remove search engine entries
}
}

============
aLtına ekLe:


// ######################### Hack Poster START ############################
$DB_site->query("DELETE FROM " . TABLE_PREFIX . "lockdown WHERE threadid='$threadid'");
$DB_site->query("DELETE FROM " . TABLE_PREFIX . "lockdown_install WHERE threadid='$threadid'");
$DB_site->query("DELETE FROM " . TABLE_PREFIX . "lockdown_userarea WHERE threadid='$threadid'");
// ######################### Hack Poster END ############################

================
Kaydet ve upLoad et.
================

##################
admincp/forum.php aç;
##################

======
Ara:


if ($_REQUEST['do'] == 'add')
{
// Set Defaults;
$forum = array(
'displayorder' => 1,
'daysprune' => 30,
'parentid' => $parentid,
'styleid' => '',
'cancontainthreads' => 1,
'active' => 1,
'allowposting' => 1,
'allowbbcode' => 1,
'allowsmilies' => 1,
'allowicons' => 1,
'allowimages' => 1,
'allowratings' => 1,
'countposts' => 1,
'indexposts' => 1,
'showonforumjump' => 1,
'warnall' => 0
);

=======================
Değiştir :


if ($_REQUEST['do'] == 'add')
{
// Set Defaults;
$forum = array(
'displayorder' => 1,
'daysprune' => 30,
'parentid' => $parentid,
'styleid' => '',
'cancontainthreads' => 1,
'active' => 1,
'allowposting' => 1,
'allowbbcode' => 1,
'allowsmilies' => 1,
'allowicons' => 1,
'allowimages' => 1,
'allowratings' => 1,
'countposts' => 1,
'indexposts' => 1,
'showonforumjump' => 1,
'hack_poster' => 0,
'hack_poster_private' => 0,
'warnall' => 0
);

======
Ara:


print_yes_no_row($vbphrase['allow_html'], 'options[allowhtml]', $forum['allowhtml']);
print_yes_no_row($vbphrase['allow_bbcode'], 'options[allowbbcode]', $forum['allowbbcode']);
print_yes_no_row($vbphrase['allow_img_code'], 'options[allowimages]', $forum['allowimages']);
print_yes_no_row($vbphrase['allow_smilies'], 'options[allowsmilies]', $forum['allowsmilies']);
print_yes_no_row($vbphrase['allow_icons'], 'options[allowicons]', $forum['allowicons']);
print_yes_no_row($vbphrase['allow_thread_ratings_in_this_forum'], 'options[allowratings]', $forum['allowratings']);
print_yes_no_row($vbphrase['count_posts_in_forum'], 'options[countposts]', $forum['countposts']);
print_yes_no_row($vbphrase['show_forum_on_forum_jump'], 'options[showonforumjump]', $forum['showonforumjump']);

============
aLtına ekLe:


// ######################### Hack Poster Start ############################
print_table_header($vbphrase['enable_disable_features_hacks']);
print_yes_no_row('Enable Hack Poster', 'forum[hack_poster]', $forum['hack_poster']);
print_yes_no_row('Show Uninstall Button', 'forum[hack_poster_private]', $forum['hack_poster_private']);
// ######################### Hack Poster END ############################

=================
Kaydet ve upLoad et.
=================

################
Yeni Sözcük EkLe:
################


Control Panel Global

varname: enable_disable_features_hacks
text: Hack Poster Options

################################
template newthread & editpost aç;
################################

======
Ara:


<fieldset class="fieldset">
<legend>$vbphrase[miscellaneous_options]</legend>

===========
Üstüne EkLe:


$hackoptions

#####################
template showthread aç:
#####################

======
Ara:


<div id="posts">$postbits</div>

===========
Üstüne EkLe:


<if condition="$pagenumber != 1">
<div id="firstpost">$postbits_firstpost</div>
</if>


##################################
template: threadadmin_movethread aç;
##################################

======
Ara:


<div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" checked="checked" />$vbphrase[move_thread_and_leave_redirect_in_previous_forum]</label></div>

<div><label for="rb_method_copy"><input type="radio" name="method" value="copy" id="rb_method_copy" />$vbphrase[copy_thread_to_destination_forum]</label></div>

==============
Değiştir:


<if condition="$foruminfo[hack_poster] !='1'">
<div><label for="rb_method_movered"><input type="radio" name="method" value="movered" id="rb_method_movered" checked="checked" />$vbphrase[move_thread_and_leave_redirect_in_previous_forum]</label></div>
</if>
<if condition="$foruminfo[hack_poster] !='1'">
<div><label for="rb_method_copy"><input type="radio" name="method" value="copy" id="rb_method_copy" />$vbphrase[copy_thread_to_destination_forum]</label></div>
</if>


####################################
template: threadbit aç;
####################################


======
Ara:



$thread[movedprefix]
$thread[typeprefix]
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><if condition="$show['gotonewpost']"><strong>$thread[threadtitle]</strong><else />$thread[threadtitle]</if></a>



===========
Değiştir:




$thread[movedprefix]
$thread[typeprefix]
<a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]"><if condition="$show['gotonewpost']"><strong><if condition="$ishack">[$hack[version_vb]]&nbsp;</if>$thread[threadtitle]<if condition="$ishack">&nbsp;[$hack[version_hack]]</if></strong><else /><if condition="$ishack">[$hack[version_vb]]&nbsp;</if>$thread[threadtitle]<if condition="$ishack">&nbsp;[$hack[version_hack]]</if></if></a>


======
Ara:



<if condition="$show['paperclip']"><img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" alt="<phrase 1="$thread[attach]">$vbphrase[x_attachments]</phrase>" /></if>


===========
Üstüne EkLe:




<if condition="$ishack">($install_count)</if>




######################################
hackposter.php dosyasını forum ana dizinine atınız
######################################

################################################## ################################################## ################################################## #######
navbar yada header template'nde görünmesi istediğiniz yere ekleyin: <a href="hackposter.php?$session[sessionurl]&do=membersarea">Members Area</a>
################################################## ################################################## ################################################## #######

##############################################
EkLentiyi kurmadan önce tempLate'Leri .txt dosyası oLarak yedeğini aLın.
##############################################

##############################
sql.txt dosyasını kendi sqL'ınıza import ediniz.
##############################

##############################
EkLenti Sahibi : Maxx
TR Çeviri : DeadLy
##############################

dps
12-28-2006, 19:01
eline sağlık sağol.

Yes10
01-08-2007, 16:25
Bunun işlevi tam nedir?

DeadLy
01-09-2007, 01:39
vBuLLetin.org'un kuLLandığı InstaLL Modifications ekLentisinin vB 3.0 için oLanı. CapsLara bakarsan nasıL bişe oLduğunu daha iyi anLarsın ;)

Yes10
01-09-2007, 06:04
Teşekkürler:)

joopss
03-08-2007, 12:33
İnan teşekkür ediyorum peki 3.6.X veya 3.6.5 için olanı veya uyarmı ???

DeadLy
03-08-2007, 12:57
ZH - Hack System LITE (http://www.ultravb.com/forum/showthread.php?t=4983)

geveze
03-08-2007, 15:41
eline sağlık 2.bir lisans alırsam bir sistemin destek sitesi yapmayı düşünüyorum. orda kullanırım.şu anki forumumda bir işe yaramasada gerçekten çok şık ve güzel bir sistem. 1 numara adminim.

NEFRETLAZ
04-28-2007, 10:26
güzel anlatım ellerine saglık

Alsawi
06-19-2007, 22:05
Teşekkürler :)

berkneis
06-21-2007, 04:39
çok saolun yav

tetex
09-20-2007, 00:57
ellerine saglik

mdirice
01-05-2008, 16:46
saol kanka

meKanSizKraL
03-07-2008, 01:47
tesekkurler