Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Cherena

Pages: [1]
1
Support / Re: Not able to login
« on: April 15, 2012, 09:08:29 AM »
It is necessary for you to provide access (login and the password) on the server where there is your site. I will copy files of a site and a database. On outside domain name (I have some empty domain names which aren't used) I will test operation of a code of a script. In case of detection of problem lines I will report a place where it is. I will help you free of charge.
Вам необходимо предоставить доступ (логин и пароль) на сервер, где находится Ваш сайт. Я скопирую файлы сайта и базу данных. На постороннем доменном имени (у меня есть несколько пустых доменных имен, которые не используются) протестирую работу кода скрипта. В случае обнаружения проблемных строк сообщу место, где это находится. Помогу Вам бесплатно.

2
Support / Re: Not able to login
« on: April 06, 2012, 11:12:23 PM »
Whence such confidence that a problem in cookie undertook

3
Support / admincp_groups_perms
« on: April 04, 2012, 08:21:33 PM »
I actively use the permissions/admin function/? a=admincp_groups&s=perms of a script of "articlems.com". I use this function on different sites. Such sites of more than 100. While I want to look, what menu items have at present permissions, or I want to change settings of a policy of permissions, I should tear a click of a mouse menu items. You are well familiar with this action. When I execute this action, I have certain feelings. What it for feelings? I want to punch in the monitor with all force! To strike 3 times! If you have similar feelings (thus already changed pair of monitors), use the cleared decision. I destroyed beautiful addition and turned the form into the normal table.

Я активно использую функцию разрешений /admin/?a=admincp_groups&s=perms скрипта «articlems.com». Использую данную функцию на разных сайтах. Таких сайтов больше 100. В тот момент, когда я хочу посмотреть, какие пункты меню в данный момент имеют разрешения, или хочу поменять настройки политики разрешений, мне приходится кликом мыши разворачивать пункты меню. Вы хорошо знакомы с данным действием. Когда я выполняю данное действие, я испытываю определенные чувства. Что это за чувства? Я хочу ударить кулаком в монитор со всей силой! Ударить 3 раза! Если Вы испытываете подобные чувства (при этом уже поменяли пару мониторов), то воспользуйтесь очищенным решением. Я уничтожил красивое дополнение и превратил форму в обычную таблицу.

Changes are entered in the following files: http://ck-kindergarten.ru/recyclebin/admincp_groups_perms.rar
Изменения внесены в следующие файлы:
/code/perms.php
/admin/templates/default/groups/perms.tpl
/admin/templates/default/groups/perms.php


4
Support / Re: Not able to login
« on: April 03, 2012, 06:03:25 PM »
Visit your basis data (MySQL) belonging to your site and in the section of users find the accounting entry of the manager. (ams_users) By default the manager has the identifier user_id #2. Edit the section of passwords. Arrive honest: set in e-mail section your address and get into condition the password through a script () recovery of the password. (Save your database with frequent periodicity that there was a possibility to be rolled away back in time …)
Посетите Вашу базу данные принадлежащую Вашему сайту и в разделе пользователей найдите учётную запись администратора. По умолчанию администратор имеет идентификатор 2. Редактируйте раздел паролей. Поступите честно: установите в разделе электронной почты ваш адрес и восстановите пароль через скрипт (форму) восстановления пароля. (Сохраняйте Вашу базу данных с частой периодичностью, чтобы была возможность откатиться назад во времени…)

5
Support / The complete list of attributes in a leaf of articles…
« on: April 03, 2012, 05:43:54 PM »
The complete list of attributes in a leaf of articles… Полный список атрибутов в листе статей…

Question: how in the best way to display the identifier of category of articles?
Вопрос: как наилучшим образом отобразить идентификатор категории статей?

{section name=$this->i loop=$this->articles_approved}
   {$this->articles_approved[$this->i]->category_id}
{/section}

Create the unit and place in it the following code: Создайте блок и разместите в нем следующий код:
HTML
<style type="text/css" media="all"><!--
body { color: black; font-size: 7pt; font-family: Verdana, Arial, Helvetica, sans-serif; background-color: white; }
table { background: #e6e6e6 no-repeat; }
table td, caption { background: white no-repeat; padding: 2px 4px; width: 18px; height: 12px; white-space: nowrap; }
/*{$this->Url->skin}*/
table td.edit { background: white url(http://ck-kindergarten.ru/skins/ckkindergartenru/icon_18x12_edit.gif) no-repeat center; }
table td.look { background: white url(http://ck-kindergarten.ru/skins/ckkindergartenru/icon_18x12_latest.gif) no-repeat center; }
--></style>
<table cellspacing="1"><caption><a href="{$this->relpath}">home</a></caption>
<tr>
<!--<th>about</th>-->
<th>author_id</th>
<th>category_id</th>
<th>comment_count</th>
<!--<th>custom_fields</th>
<th>custom_float</th>
<th>custom_string</th>-->
<th>date</th>
<th>edit_date</th>
<th>editor_id</th>
<th>featured_state</th>
<th>id</th>
<th>ip</th>
<!--<th>keywords</th>-->
<!--<th>options</th>-->
<th>parent_id</th>
<th>rating</th>
<!--<th>settings</th>-->
<th>state</th>
<!--<th>summary</th>-->
<!--<th>tags</th>-->
<!--<th>text</th>-->
<th></th>
<th></th>
<th>title</th>
<!--<th>type</th>-->
<!--<th>urltitle</th>-->
<th>view_count</th>
</tr>
{section name=$this->i loop=$this->articles_approved}
<tr>
<!--<td>{*$this->articles_approved[$this->i]->about*}</td>-->
<td>{$this->articles_approved[$this->i]->author_id}</td>
<td>{$this->articles_approved[$this->i]->category_id}</td>
<td>{$this->articles_approved[$this->i]->comment_count}</td>
<!--<td>{*$this->articles_approved[$this->i]->custom_fields*}</td>
<td>{*$this->articles_approved[$this->i]->custom_float*}</td>
<td>{*$this->articles_approved[$this->i]->custom_string*}</td>-->
<td>{$this->articles_approved[$this->i]->date}</td>
<td>{$this->articles_approved[$this->i]->edit_date}</td>
<td>{$this->articles_approved[$this->i]->editor_id}</td>
<td>{$this->articles_approved[$this->i]->featured_state}</td>
<td>{$this->articles_approved[$this->i]->id}</td>
<td>{$this->articles_approved[$this->i]->ip}</td>
<!--<td>{*$this->articles_approved[$this->i]->keywords*}</td>
<td>{*$this->articles_approved[$this->i]->options*}</td>-->
<td>{$this->articles_approved[$this->i]->parent_id}</td>
<td>{$this->articles_approved[$this->i]->rating}</td>
<!--<td>{*$this->articles_approved[$this->i]->settings*}</td>-->
<td>{$this->articles_approved[$this->i]->state}</td>
<!--<td>{*$this->articles_approved[$this->i]->summary*}</td>-->
<!--<td>{*$this->articles_approved[$this->i]->tags*}</td>
<td>{*$this->articles_approved[$this->i]->text*}</td>-->
<td class="edit" onclick="document.location.href='{$this->Url->edit_article}?id={$this->articles_approved[$this->i]->id}'" title="Редактировать"></td>
<td class="look" onclick="document.location.href='{$this->articles_approved[$this->i]->url}'" title="Посмотреть"></td>
<td>{$this->articles_approved[$this->i]->title}</td>
<!--<td>{*$this->articles_approved[$this->i]->type*}</td>-->
<!--<td>{*$this->articles_approved[$this->i]->urltitle*}</td>-->
<td>{$this->articles_approved[$this->i]->view_count}</td>
</tr>
{/section}
</table>
PHP
$this->bypass_cms = 2;
$this->_allow_site_bar = 0;
$this->title = '';
$user_id = $this->User->id;
if (isset($this->get['penname']) and $this->get['penname']) {
   $User = $this->getUser(intval($this->get['penname']));
   if ($User->main_id == $this->User->main_id) { $user_id = $User->id; }
}
//$this->articles_drafts = $this->getArticles("article_state = ".ARTICLE_STATE_DRAFT." AND article_author_id = {$user_id}", 'article_id DESC', 50, 1);
$this->articles_approved = $this->getArticles("article_author_id = {$user_id} AND article_category_id", 'article_id DESC', 250);
//$this->articles_pending = $this->getArticles("article_state = ".ARTICLE_STATE_PENDING." AND article_author_id = {$user_id}", 'article_id', 50, 1);
//$this->articles_declined = $this->getArticles("article_state = ".ARTICLE_STATE_DECLINED." AND article_author_id = {$user_id}", 'article_id DESC', 50, 1);


Question: how in the best way to display the identifier of category of articles?
Вопрос: как наилучшим образом отобразить идентификатор категории статей?

{section name=$this->i loop=$this->articles_approved}
   {$this->articles_approved[$this->i]->category_id}
{/section}

6
Support / Re: Help us out with Documentation
« on: December 04, 2011, 01:20:55 AM »
Как получить членство в группе, у которой есть привилегии размещения статей в категории: http://www.articlems.com/docs/templates/
How to receive membership in group which has privileges of layout of articles in a category: http:// www.articlems.com/docs/templates/

7
Support / Destiny "user_display_name"
« on: December 04, 2011, 01:07:54 AM »
Я продолжаю использовать поле "user_display_name" Уверен, что многие из Вас тоже используют это поле "user_display_name" Прошу разработчика не исключать эту опцию в дальнейших версиях скрипта…
I continue to use a field "user_display_name" Is assured that many of you too use this field "user_display_name" I Ask the developer not to eliminate this option in the further versions of a script…
/admin/a/admincp_members.php
Code: [Select]
$result = $this->db->query("UPDATE {$this->pre}users SET user_name = %s, user_display_name = %s, user_points = %d, user_email = %s, user_homepage = %s, ".$group_query." user_birthday = %s, ".$passwordquery." user_bio = %s, user_custom_fields = %s WHERE user_id = %d LIMIT 1", $this->post['user_name'], $this->post['user_display_name'], intval($this->post['user_points']), $this->post['user_email'], $this->post['user_homepage'], $user_birthday, $this->post['user_bio'], serialize($Member->custom_fields), intval($this->get['userid']));//user_display_name = '".$this->post['user_display_name']."',

8
Support / Re: EXAMPLE TEMPLATE: The template is cleared
« on: November 14, 2011, 02:05:47 AM »
В своей работе я использую скрипт articlems.com – постоянно приходится переделывать и очищать исходный код. Я думаю, что мое желание публиковать очищенный и переписанный код, по мере трансформации…
In the operation I use a script articlems.com – permanently it is necessary to alter and clear the source code. I think that my desire to publish the cleared and rewritten code, in process of transformation…

9
Support / EXAMPLE TEMPLATE: The template is cleared
« on: November 12, 2011, 09:51:55 PM »
Code: [Select]
{$Blocks->message}<h3>EXAMPLE TEMPLATE</h3><dl><dt>{$type_display_name}</dt>{if $this->show_review_link}<dd><a href="?a=admincp_articles&amp;s=review">Review Pending</a> <strong>{$this->countresult['articlecount']}</strong></dd><li><a href="?a=admincp_articles&amp;s=search&amp;go=review">Search for Review</a></li>{/if}<dd><a href="?a=admincp_articles&amp;s=manage">Manage</a></dd><li><a href="?a=admincp_articles&amp;s=search">Search</a></li><li><a href="?a=admincp_articles&amp;s=manage&amp;view_trash=1">Trash</a></li>{section name=$i loop=$this->skin_settings['type_settings']}{if $this->skin_settings['type_settings'][$i]['type_submission_option'] != 0}<dd><a href="?a=admincp_articles&s=edit&type={$this->skin_settings['type_settings'][$i]['type_name']}">Write {$this->skin_settings['type_settings'][$i]['type_display_name']}</a></dd>{else}<dd><a href="{$this->Url->submit}">Write {$this->skin_settings['type_settings'][$i]['type_display_name']}</a></dd>{/if}{/section}<dt>Categories</dt><li><a href="?a=admincp_articles&amp;s=categories&amp;i=new">Create New Category</a></li><li><a href="?a=admincp_articles&amp;s=categories&amp;i=edit">Edit a Category</a></li><li><a href="?a=admincp_articles&amp;s=categories&amp;i=delete">Delete a Category</a></li><dt>Pages</dt><dd><a href="?a=admincp_pages&s=edit">Create a new Page</a></dd><dd><a href="?a=admincp_pages">Manage Pages</a></dd><dt>Comments</dt><dd><a href="?a=admincp_comments&s=manage&filter_comment=&filter_state=0&filter_author=">Review Comments</a> <strong>{$this->reviewcount}</strong></dd><dd><a href="index.php?a=admincp_comments&amp;s=manage">Manage Comments</a></dd><dt>Members</dt><dd><a href="?a=admincp_members&s=manage">Manage members</a></dd><dd><a href="?a=admincp_members&s=find&dest=edit">Edit a member</a></dd><dd><a href="?a=admincp_members&s=find&dest=perms">Edit member permissions</a></dd><dd><a href="?a=admincp_groups&s=perms">Edit group permissions</a></dd><dt>Templates</dt><dd><a href="index.php?a=admincp_templates">Edit Templates</a></dd><dd><a href="index.php?a=admincp_templates&amp;s=install">Manage Skins</a></dd><dd><a href="index.php?a=admincp_templates&s=sections">Manage Sections</a></dd><dt>Settings</dt><dd><a href="?a=admincp_settings">Edit Settings</a></dd><dd><a href="?s=phpinfo">phpinfo()</a></dd><dd><a href="?s=refresh_stats">Recount Articles</a></dd><dd><a href="?s=refresh_user_article_count">Recount User Article Count</a></dd><dt>Help</dt><dd><a href="http://www.articlems.com/">ArticleMS Homepage</a></dd><dd><a href="http://www.articletrader.com/forum/">ArticleTrader Forums</a></dd></dl>
/admin/templates/example/home/home.tpl

Pages: [1]