Icy Phoenix
Old Support Topics - Topic_view_users.php Does Not Run
portalpez [ Sat 10 Dec, 2011 10:06 ]
Post subject: Topic_view_users.php Does Not Run
Hello,
topic_view_users.php does not run from 1 month ago.
Any ideas? I think is due to a user whit a ilegal character o something like that.
I test database from acp, clean, optimice... all, and nothing.
Thanks you in advance.
Mighty Gorgon [ Tue 03 Jan, 2012 19:40 ]
Post subject: Re: Topic_view_users.php Does Not Run
Can you report the error you are having?
portalpez [ Tue 03 Jan, 2012 22:34 ]
Post subject: Re: Topic_view_users.php Does Not Run
Sorry, but I have not updated yet ... I still have the old version 1.27. Therefore, I will wait to upgrade and if the problem continues I will open the report. Thank you anyway.
Boli [ Tue 06 Mar, 2012 12:35 ]
Post subject: Re: Topic_view_users.php Does Not Run
Me too. I will upgrade from 27 to 53b and the topic view user only i see how administrator. The rest of users not. I enable in ACp>icyphoenix>sql optimitation but not works.
In 27 yes it works, but when i upgrade to 53b not.
Joshua203 [ Tue 06 Mar, 2012 13:00 ]
Post subject: Re: Topic_view_users.php Does Not Run
Hi Boli,
I'm not sure I understand your question correct but could you check these settings in ACP please?
ACP >> Configuration >> Site >> Board Usage Statistics Settings (right side)
The settings there allow you to set who can see what!
Boli [ Tue 06 Mar, 2012 13:10 ]
Post subject: Re: Topic_view_users.php Does Not Run
The question is that my users
can to see what users have read one topic. But in my case only i how administrator can see this users.
Joshua203 [ Tue 06 Mar, 2012 13:15 ]
Post subject: Re: Topic_view_users.php Does Not Run
and you have set "Disable "Who read this topic" (Global Switch)" in SQL Optimization to "no" ?
Boli [ Tue 06 Mar, 2012 13:28 ]
Post subject: Re: Topic_view_users.php Does Not Run
Not, i have like enabled. But if i put in disabled this isn't see for any users any moderator any administrator.
If i enable only administrator can see. And i like, how works in 27c, that it will see for all my users, not only i like administrator.
This is the button that only see the administrator. There are a prismatics.
spydie [ Tue 06 Mar, 2012 23:25 ]
Post subject: Re: Topic_view_users.php Does Not Run
where should be a switch in Forum Administration aswell.
it says something like : Visor de Temas in spanish , Boli
Boli [ Wed 07 Mar, 2012 13:22 ]
Post subject: Re: Topic_view_users.php Does Not Run
This is the switch i see. ( Este es el único switch que veo en Icyphoenix>Optimizacion SQL y lo tengo hablitado )
( Lo que dices de visor de temas no lo veo en Administración>foro ) Sólo veo Administración>valoración de temas.
spydie [ Wed 07 Mar, 2012 23:34 ]
Post subject: Re: Topic_view_users.php Does Not Run
you´ve got to edit a forum to see it
But anyway. i just testet it in my testsite.
this option is only for admins now i think
tienes que ir a editar un Foro, para verlo
acabo de mirar y probar en mi sitio de pruebas, y creo que solo es para admin´s y como mucho moderadores.
creo que tiene que ver con carga de sql
Mighty Gorgon [ Tue 03 Apr, 2012 22:20 ]
Post subject: Re: Topic_view_users.php Does Not Run
For several reasons I forced only admins to be able to access that page.
In latest GIT version you should amend a couple of files to change that.
OPEN
topic_view_users.php
FIND AND REMOVE
if (empty($like) && ($user->data['user_level'] != ADMIN))
{
message_die(GENERAL_MESSAGE, $lang['Not_Auth_View']);
}
OPEN
viewtopic.php
FIND
if (empty($config['disable_topic_view']) && ($forum_topic_data['forum_topic_views'] == 1) && ($user->data['user_level'] == ADMIN))
{
$topic_viewed_link = append_sid('topic_view_users.' . PHP_EXT . '?' . $forum_id_append . '&' . $topic_id_append);
}
REPLACE WITH
if (empty($config['disable_topic_view']) && ($forum_topic_data['forum_topic_views'] == 1))
{
$topic_viewed_link = append_sid('topic_view_users.' . PHP_EXT . '?' . $forum_id_append . '&' . $topic_id_append);
}
These changes should allow you to enable the features for all users.