Перейти к контенту
  • 0

"Delete Cookies" Problem


Вопрос

Hi Everybody.

 

When I click on forum to "Delete Cookies" It says that I need to log in and I do not have permission to do it.

No matter what kind of group you are. It always says that you need to log in to use this function.

 

Is anybody able to fix my problem?

 

Thank You Beforehand.

Ссылка на комментарий
Поделиться на других сайтах

Рекомендуемые сообщения

  • 0

It can be problem with url that provides this function. Make sure that url has the same type:

 

index.php?act=Login&CODE=06&k=9a01db623ff450246ac97ec8af28435b

 

Bolded text is important; if this part is missing it is a problem

Ссылка на комментарий
Поделиться на других сайтах

  • 0

Arhar

 

An url ends here index.php?act=Login&CODE=06

there is no &k=9a01db623ff450246ac97ec8af28435b

 

My url redirect type in General Settings in ACP is "HTML META Redirect"

 

Can Anyone Help Me?

THANK YOU BEFOREHAND.

Ссылка на комментарий
Поделиться на других сайтах

  • 0

1. It's skin bug. You can redirect this issue to the skin author.

 

2. Otherwise you may open skin_boards->stats_header template and edit this link. Original link HTML is:

<a href="{$this->ipsclass->base_url}act=Login&CODE=06&k={$this->ipsclass->md5_check}">{$this->ipsclass->lang['d_delete_cookies']}</a>

If you have professional skin, this link may be in other template. In this case see #1.

Ссылка на комментарий
Поделиться на других сайтах

  • 0

Hi Sannis you are my rescuer :D

 

It is a big problem for me.

 

skin_boards->stats_header template

I can not find these templates. Exactly where are they?

 

I am not using a professional skin. Skin author does not response.

 

Thank you beforehand.

Ссылка на комментарий
Поделиться на других сайтах

  • 0
Hi Sannis you are my rescuer :D

 

It is a big problem for me.

 

skin_boards->stats_header template

I can not find these templates. Exactly where are they?

 

I am not using a professional skin. Skin author does not response.

 

Thank you beforehand.

I don't know, how this looks in English version... You should open templates groups list from "Look and feel" section in ACP by selection according menu, then open template group "Board Index", then select stats_header template.

Also you can use search tool in that section, try to find d_delete_cookies.

Ссылка на комментарий
Поделиться на других сайтах

  • 0

Thank you for detail explanation.

 

this is my "stats_header"

 

<!-- Board Stats -->
<div class="borderwrap" style="display:{$show['div_fc']}" id="fc_stat">
<div class="maintitle">
 <p class="expand"><a href="java script:togglecategory('stat',0);"><{E_PLUS}></a></p>
 <p><{CAT_IMG}> {$this->ipsclass->lang['board_stats']}</p>
</div>
<div class="formsubtitle">
<if="$this->ipsclass->vars['show_totals'] == 1">
<p class="members">$posts {$this->ipsclass->lang['cs_posts']} | $members {$this->ipsclass->lang['cs_members']}</p>
</if>
 <p>$active {$this->ipsclass->lang['cs_active']}</p>
</div>
</div>
<div class="borderwrap" style="display:{$show['div_fo']}" id="fo_stat">
<div class="maintitle">
 <p class="expand"><a href="java script:togglecategory('stat',1);"><{E_MINUS}></a></p>
 <p><{CAT_IMG}> {$this->ipsclass->lang['board_stats']}</p>
</div>
<table class='ipbtable' cellspacing=\"0\">

 

There is nothing that looks like this

 

<a href="{$this->ipsclass->base_url}act=Login&CODE=06&k={$this->ipsclass->md5_check}">{$this->ipsclass->lang['d_delete_cookies']}</a>

 

But in the member_bar template I found this

 

<a href="{$this->ipsclass->base_url}act=Login&CODE=06">Delete Cookies</a><br />

 

Could you please help me to fix this problem.

 

Thank you beforehand.

Изменено пользователем skvitkromkalka
Ссылка на комментарий
Поделиться на других сайтах

  • 0

Ok, all skins aren't equal :D

 

You should change in your member_bar

<a href="{$this->ipsclass->base_url}act=Login&CODE=06">Delete Cookies</a><br />

to

<a href="{$this->ipsclass->base_url}act=Login&CODE=06&k={$this->ipsclass->md5_check}">Delete Cookies</a><br />

Ссылка на комментарий
Поделиться на других сайтах

  • 0

I did so but it happens nothing after mouse click to "delete cookies". It even doesn't log out.

In the "member_bar" after line

<a href="{$this->ipsclass->base_url}act=Login&CODE=06">Delete Cookies</a><br />

There is

<a href="{$this->ipsclass->base_url}act=Stats&CODE=leaders">Administration</a><br />

It works perfect. Like this line I added "amp;" between "Login&" and "CODE=06" to first one but still nothing. Maybe it will help you to figure out what is going on.

 

Thank You.

 

P.S

 

I added this

<a href="{$this->ipsclass->base_url}act=Login&CODE=06&k={$this->ipsclass->md5_check}">{$this->ipsclass->lang['d_delete_cookies']}</a>

in the place of

<a href="{$this->ipsclass->base_url}act=Login&CODE=06">Delete Cookies</a><br />

but still nothing.

Ссылка на комментарий
Поделиться на других сайтах

  • 0
Maybe this is a bug in code. I can't solve it without debugging.
Ссылка на комментарий
Поделиться на других сайтах

Присоединиться к обсуждению

Вы можете ответить сейчас, а зарегистрироваться позже. Если у вас уже есть аккаунт, войдите, чтобы ответить от своего имени.

Гость
Ответить на вопрос...

×   Вы вставили отформатированный текст.   Удалить форматирование

  Допустимо не более 75 смайлов.

×   Ваша ссылка была автоматически заменена на медиа-контент.   Отображать как ссылку

×   Ваши публикации восстановлены.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.

Зарузка...
×
×
  • Создать...

Важная информация

Находясь на нашем сайте, вы соглашаетесь на использование файлов cookie, а также с нашим положением о конфиденциальности Политика конфиденциальности и пользовательским соглашением Условия использования.