Open: sources/classes/class_session.php:
Find:
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->function load_member($member_id=0)
{
$member_id = intval($member_id);
if ($member_id != 0)
{
$this->ipsclass->DB->build_query( array( 'select' => "id, name, mgroup, member_login_key, email, restrict_post, view_sigs, view_avs, view_pop, view_img, auto_track,
mod_posts, language, skin, new_msg, show_popup, msg_total, time_offset, posts, joined, last_post, subs_pkg_chosen,
ignored_users, login_anonymous, last_visit, last_activity, dst_in_use, view_prefs, org_perm_id, mgroup_others, temp_ban, sub_end,
has_blog, members_markers, members_editor_choice, members_auto_dst, members_display_name, members_created_remote,
members_cache, members_disable_pm",
'from' => 'members',
'where' => 'id='.$member_id ) );<!--c2--></div><!--ec2-->
After:<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->members_cache, members_disable_pm<!--c2--></div><!--ec2-->
Add:<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->, thanks_point<!--c2--></div><!--ec2-->
После того как я это делаю, при заходе в look And Feel появляется следующее сообщение:<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/web1757/web/sources/classes/class_session.php on line 774<!--c2--></div><!--ec2-->
ps
line 774 это 'from' => 'members',
Find:
<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->function load_member($member_id=0)
{
$member_id = intval($member_id);
if ($member_id != 0)
{
$this->ipsclass->DB->build_query( array( 'select' => "id, name, mgroup, member_login_key, email, restrict_post, view_sigs, view_avs, view_pop, view_img, auto_track,
mod_posts, language, skin, new_msg, show_popup, msg_total, time_offset, posts, joined, last_post, subs_pkg_chosen,
ignored_users, login_anonymous, last_visit, last_activity, dst_in_use, view_prefs, org_perm_id, mgroup_others, temp_ban, sub_end,
has_blog, members_markers, members_editor_choice, members_auto_dst, members_display_name, members_created_remote,
members_cache, members_disable_pm",
'from' => 'members',
'where' => 'id='.$member_id ) );<!--c2--></div><!--ec2-->
After:<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->members_cache, members_disable_pm<!--c2--></div><!--ec2-->
Add:<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->, thanks_point<!--c2--></div><!--ec2-->
После того как я это делаю, при заходе в look And Feel появляется следующее сообщение:<!--c1--><div class='codetop'>Код</div><div class='codemain'><!--ec1-->Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/web1757/web/sources/classes/class_session.php on line 774<!--c2--></div><!--ec2-->
ps
line 774 это 'from' => 'members',