Link to the mod (https://custom.simplemachines.org/index.php?mod=1300)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fbit.ly%2FkZVDB6&hash=7836fdef4323714489209ed06cd4e4f88c199aea)
[glow=black,2,300]Topic View Log[/glow]
Developed by 4kstore (http://www.smfsimple.com/index.php?action=profile;u=55) for SMFSimple.com (http://www.smfsimple.com/)
Created by [SiNaN] (http://www.simplemachines.org/community/index.php?action=profile;u=118168)
SMF 1.1.X AND 2.0.1
[glow=black,2,300]El soporte oficial de los desarrolladores de nuestros mods lo encontraras en SMFSimple.com[/glow]
[glow=black,2,300]
Description:[/glow]
Time to see who viewed a topic. This modification enhances the topic log function of SMF and gives you the ability to view the log of the topic you want.[glow=black,2,300]
Descripcion:[/glow]
Con este mod usted podra ver un completo log de los usuarios que visitaron un tema
[glow=black,2,300]
Features:[/glow]
- Display view count for each member
- Display post count for each member in topic
- Display last view time
- 8 ways of sorting the list
- Pagination
- 2 types of 'View Topic Log' permission
- Show log topic name in who's online
[glow=black,2,300]
Caracteristicas:[/glow]
- Muestra cantidad de visitas de cada usuario
- Muestra cantidad de respuestas de cada usuarios en ese topic
- Muestra la ultima vez que visito el tema
- 8 formas de ordenar las tablas
- Paginacion
- 2 tipos de permisos
- Muestra log topic en la lista de Who`s online
[glow=black,2,300]Screenshots | Imagenes[/glow]
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FL1Tm4.png&hash=88a99bd73290028f0114775a0479eb8cf906f053)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F2xAO4.png&hash=762a97d69688c3177a2bffc8d6854743f696cc5b)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Ftkz35.png&hash=64452bae016bf2f2fbe6624cd2db957874a4c0e5)
Language Support | Lenguajes Soportados- English
- Spanish_latin
- Spanish_latin-utf8
- Spanish_es
- Spanish_es-utf8
- Portuguese
- Portuguese-utf8
- Brazilian-utf8
- Brazilian
- Polish
[glow=black,2,300]Topic View Log[/glow]
[glow=black,2,300]Copyright 2011 | SMFSimple.com (http://www.smfsimple.com/)[/glow]
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.creativecommons.org%2Fl%2Fby-nc-sa%2F3.0%2F88x31.png&hash=be27368905a4a8052533722bf679594f2501899d) (http://creativecommons.org/licenses/by-nc-sa/3.0/)
Nice mod thx sinan :)
Demo??
Where does it show?
very nice modification, I have a large forum, and creating the topic log will cost some time, but great work!!!
Well done again Sinan
Nice work ^^
Good
work
update portuguese and brazilian
<file name="$languagedir/Modifications.portuguese.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Log Mod
$txt['lt_title'] = 'Tópico Log';
$txt['lt_times'] = 'Times';
$txt['lt_lastView'] = 'Última Vista';
$txt['tl_no_topic_id'] = 'Tópico ID não está definido.';
$txt['tl_no_topic'] = 'Tópico não existe.';
$txt['who_log'] = 'Vendo o tópico de log <a href="' . $scripturl . '?action=topiclog;id=%d">%s</a>.';
$txt['cannot_view_topic_log_own'] = 'Você não tem, neste fórum, permissão para visualizar o tópico registado de suas próprias postagens.';
$txt['cannot_view_topic_log_any'] = 'Vendo apenas qualquer tópico log neste quadro não esta permitido.';
$txt['permissionname_view_topic_log'] = 'Ver tópico Log';
$txt['permissionhelp_view_topic_log'] = 'Isso permite que um membro tenha permissão para ver o tópico vista log.';
$txt['permissionname_view_topic_log_own'] = 'Seus tópico';
$txt['permissionname_view_topic_log_any'] = 'Qualquer tópico';
// Topic Log Mod
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Log Mod
$txt['lt_title'] = 'Tópico Log';
$txt['lt_times'] = 'Times';
$txt['lt_lastView'] = 'Última Vista';
$txt['tl_no_topic_id'] = 'Tópico ID não está definido.';
$txt['tl_no_topic'] = 'Tópico não existe.';
$txt['who_log'] = 'Vendo o tópico de log <a href="' . $scripturl . '?action=topiclog;id=%d">%s</a>.';
$txt['cannot_view_topic_log_own'] = 'Você não tem, neste fórum, permissão para visualizar o tópico registado de suas próprias postagens.';
$txt['cannot_view_topic_log_any'] = 'Vendo apenas qualquer tópico log neste quadro não esta permitido.';
$txt['permissionname_view_topic_log'] = 'Ver tópico Log';
$txt['permissionhelp_view_topic_log'] = 'Isso permite que um membro tenha permissão para ver o tópico vista log.';
$txt['permissionname_view_topic_log_own'] = 'Seus tópico';
$txt['permissionname_view_topic_log_any'] = 'Qualquer tópico';
// Topic Log Mod
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Log Mod
$txt['lt_title'] = 'Tópico Log';
$txt['lt_times'] = 'Times';
$txt['lt_lastView'] = 'Última Vista';
$txt['tl_no_topic_id'] = 'Tópico ID não está definido.';
$txt['tl_no_topic'] = 'Tópico não existe.';
$txt['who_log'] = 'Vendo o tópico de log <a href="' . $scripturl . '?action=topiclog;id=%d">%s</a>.';
$txt['cannot_view_topic_log_own'] = 'Você não tem, neste fórum, permissão para visualizar o tópico registado de suas próprias postagens.';
$txt['cannot_view_topic_log_any'] = 'Vendo apenas qualquer tópico log neste quadro não esta permitido.';
$txt['permissionname_view_topic_log'] = 'Ver tópico Log';
$txt['permissionhelp_view_topic_log'] = 'Isso permite que um membro tenha permissão para ver o tópico vista log.';
$txt['permissionname_view_topic_log_own'] = 'Seus tópico';
$txt['permissionname_view_topic_log_any'] = 'Qualquer tópico';
// Topic Log Mod
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.brazilian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// Topic Log Mod
$txt['lt_title'] = 'Tópico Log';
$txt['lt_times'] = 'Times';
$txt['lt_lastView'] = 'Última Vista';
$txt['tl_no_topic_id'] = 'Tópico ID não está definido.';
$txt['tl_no_topic'] = 'Tópico não existe.';
$txt['who_log'] = 'Vendo o tópico de log <a href="' . $scripturl . '?action=topiclog;id=%d">%s</a>.';
$txt['cannot_view_topic_log_own'] = 'Você não tem, neste fórum, permissão para visualizar o tópico registado de suas próprias postagens.';
$txt['cannot_view_topic_log_any'] = 'Vendo apenas qualquer tópico log neste quadro não esta permitido.';
$txt['permissionname_view_topic_log'] = 'Ver tópico Log';
$txt['permissionhelp_view_topic_log'] = 'Isso permite que um membro tenha permissão para ver o tópico vista log.';
$txt['permissionname_view_topic_log_own'] = 'Seus tópico';
$txt['permissionname_view_topic_log_any'] = 'Qualquer tópico';
// Topic Log Mod
]]></add>
</operation>
</file>
any screenshots available?
Great SiNaN
Thnx
I installed it but were does it show up ?
It shows up in the button bar, where "Reply" button stands too. One at the top, and another one at the bottom. I'll post a screen shot.
Screen shots from the mod are added to the mod page.
Hey SiNaN, Thanks for this good mod. Will install and write the feedback here. :)
Works great on 1.1.5 default and custom theme :)
Does not work properly on Overview on 1.1.5 [permission source code shows up at top of page].
Anyone have any solutions?
Found a glitch.. if you mark a topic as read (from your unread posts page or from Topic View in a board), you show up on the topic log for that topic as having read the topic but you didnt actually go in the topic and read it.
Any way to exclude it pulling from the those two areas? :P
stevebob:
Probably you've installed the mod manually. Check the modifications.english.php. The codes must be before ?> code. If there are any after ?> code, cut them and paste before.
Kimmie:
Are you sure? I've checked both. It didn't show me in the topic log. Actually the topics read with "Mark Read" feature are stored in smf_markread table I guess.
Nice modification, [SiNaN].
Here's the polish translation.
// Topic Log Mod
$txt['lt_title'] = 'Temat Sprawozdanie';
$txt['lt_times'] = 'Razy';
$txt['lt_lastView'] = 'Ostatnio Przegladane';
$txt['tl_no_topic_id'] = 'Temat ID brak ustawien.';
$txt['tl_no_topic'] = 'Temat nie istnieje.';
$txt['who_log'] = 'Przeglądanie logów tematów <a href="' . $scripturl . '?action=topiclog;id=%d">%s</a>.';
$txt['cannot_view_topic_log_own'] = 'Nie mozesz ogladac logow wlasnych tematów.';
$txt['cannot_view_topic_log_any'] = Ogladanie jakichkolwiek logów tematu w tym forum jest niedozwolone.';
$txt['permissionname_view_topic_log'] = 'Pokaz logi tematu';
$txt['permissionhelp_view_topic_log'] = Te przywileje pozwalaja userowi przegladanie tematu i logów.';
$txt['permissionname_view_topic_log_own'] = 'Własny Temat';
$txt['permissionname_view_topic_log_any'] = 'Dowolny Temat';
// Topic Log Mod
Quote from: [SiNaN] on July 27, 2008, 06:57:14 AM
Kimmie:
Are you sure? I've checked both. It didn't show me in the topic log. Actually the topics read with "Mark Read" feature are stored in smf_markread table I guess.
Yeah Im pretty sure. One of my staff brought it to my attention so I tested it. I pulled up my unread post page, marked a topic as read, and then went into the topic and checked the log. It showed 2 views. The only views it can be are 1 - when I marked it as read, and 2 - when I had to go into the topic to get to the log. I also have the Mark Selected Topics as Read mod installed so it may be conflicting with that.
I will check it again on the next new topic that gets posted though. :)
(Yours should have showed you as having read it atleast once because you had to go into the topic to get to the log right?)
==============
Edit: Just tested it out on a new topic. Marked it as read on my unread post list, then went to the topic to check the log - it shows 2 views (see image attached). Its either coming from the mark unread posts list or going into the actual topic is counting as 2 reads. I think its coming from the unread posts list because one of my staff reads all her unread posts via the unread posts page and this particular topic only shows her as having read it once.
Kimmie:
Hımmm, it should be something different. Test it like this. Create a new topic with your own account. Log in with another account and just mark it as read -do not view the topic-. Then check the topic log with your own account. You will see that the test guy wasn't added there. The count should be something different, I'll check that.
ok just tested it like that.. it didnt show the test account as having read the topic in that manner but it shows "me" reading it twice (and I never left the topic under my account - didnt refresh it either)
Also, when I marked the topic as read using the test account, I didnt use the "mark selected as read mod", I just marked them all as being read - so I think the mark selected as read mod is what is causing the additional read.
Love this mod Sinan! Thank you so much!! Great job!!!
~M
Kimmie:
I just remembered the issue. In the createPost() function, there should be a code which logs the poster as read the post that he sent. It logs you even if you do not view the topic or post. If you are the poster, then you are logged. Can find and show you the codes too. Do not try to find bugs, you cannot. :P I've found one, but will not say until fixing. LOL
Migraine:
Thanks for you too Migraine, for using my mod.
Great mod, SiNaN, as always.
A few suggestions (also as always):
-Show linktree so that users can get back to the topic if they want
-Page title should include topic name as well
-Include total number of guest views?
-Alter $topic['views'] on the MessageIndex to link to the topic log
Eliana Tamerin:
Great suggestions, as always. :) I'll do them all.
Quote from: [SiNaN] on July 28, 2008, 02:48:25 AM
Kimmie:
I just remembered the issue. In the createPost() function, there should be a code which logs the poster as read the post that he sent. It logs you even if you do not view the topic or post. If you are the poster, then you are logged. Can find and show you the codes too. Do not try to find bugs, you cannot. :P I've found one, but will not say until fixing. LOL
lol sorry.. I dont purposely try and find bugs in mods.. its quite the opposite actually..when I install them I hope and pray that they work like they are supposed to...lol. (then, from experience, and since I am anal about testing out "every single part of it", I find that most generally dont - theres usually something little that was overlooked, etc and I just happen to be one to find it). :P
I understand that when someone creates a topic it will automatically log them as viewing it "once" because when it posts, they will be inside the topic. My only concern is/was where is the
2nd viewing coming from. Its really not a big deal as it doesnt render any errors. I am just extremely observant when it comes to stuff like this which allows me to find the little things. lol.
Kimmie:
I understand Kimmie, just joking. :) Thanks, because we need people bugging out the bugs.
Okay, I mean this: when a user creates a topic, even if he do not view what he has posted means even if he don't view the topic the createPost() function logs him as he read the topic.
So I post the topic, but didn't view that. It is still showing as unread. But techically I've read that, while posting and SMF is clever enough to understand that and logged me as read. So now my view count is 1, the topic is still unread.
I go inside the topic to click to the topic log. Now, I've entered to the topic, so I'm logged again, it has been 2. Is it clear?
Quote from: [SiNaN] on July 27, 2008, 06:57:14 AM
stevebob:
Probably you've installed the mod manually. Check the modifications.english.php. The codes must be before ?> code. If there are any after ?> code, cut them and paste before.
I installed with the package installer.
I will try manually, though. Thanks.
stevebob:
Check that language file, sometimes that happens.
Quote from: [SiNaN] on July 29, 2008, 07:32:15 AM
Kimmie:
I understand Kimmie, just joking. :) Thanks, because we need people bugging out the bugs.
Okay, I mean this: when a user creates a topic, even if he do not view what he has posted means even if he don't view the topic the createPost() function logs him as he read the topic.
So I post the topic, but didn't view that. It is still showing as unread. But techically I've read that, while posting and SMF is clever enough to understand that and logged me as read. So now my view count is 1, the topic is still unread.
I go inside the topic to click to the topic log. Now, I've entered to the topic, so I'm logged again, it has been 2. Is it clear?
Actually. on my site, when I create a topic, it will not show up on my unread posts because "I" am the one that created it so its not new to "me" - but its new to everyone else. I am considered as reading it at that point because as soon as I click "Post" I am taken to the topic I just made because I have it set to take you to the topic instead of taking you back to Topic View (which is accounting for 1 of the reads).
What I was saying was, when I make a topic, and it directs me to inside the topic I just made as soon as I click on Post, If I click on Topic Log straight from there, its logging "2" views instead of just the 1.
Its really not that big of a deal though. 8)
Kimmie:
One of them is added as Subs-Post function does it automatically and the other one is because being redirected also counts as a view. :P
This Mod is awesome but why cant i view the mod on other themes???
It does appear on the default theme though...
I installed "insidebb-v1"
http://custom.simplemachines.org/themes/index.php?lemma=392
Quote from: jikoyster on August 01, 2008, 03:05:30 AM
This Mod is awesome but why cant i view the mod on other themes???
It does appear on the default theme though...
I installed "insidebb-v1"
http://custom.simplemachines.org/themes/index.php?lemma=392
In order to get this working on other themes, you know to manually edit the files of that theme via an FTP protocol.
How do I use FTP? / What is FTP? (http://docs.simplemachines.org/index.php?topic=480)
Use the manual installation (http://custom.simplemachines.org/mods/index.php?action=parse;mod=1300;attach=62098;smf_version=1.1.5) of the mod and make the theme file edits for your theme too.
Found something else..hehehe (sorry)
When you try to view the topic log on a topic that the members account who made it has been deleted, you get this: (see image)
Atleast thats the only reason I can think of that I would be getting that error - the members account that made this topic was deleted and I get this error on all his topics.
Kimmie:
Congrats, you've found it. :P
It is the bug, I said above. It doesn't display guests' topic log. Fix is simple but I'll include that in the update.
For now you can do this:
../Sources/TopicLog.php
Find:
if(empty($member))
Replace:
if(empty($board))
hehehe works like a charm. Thanks :P
This mod has messed my 1.1.5 forum. I have text/Jargon above the header EVEN after UN installing.
Quote from: roulettered56 on August 05, 2008, 09:54:33 PM
This mod has messed my 1.1.5 forum. I have text/Jargon above the header EVEN after UN installing.
Open modifications.english.php from your /languages directory in the default theme.
Find:
?>
Make sure all text is above that.
First off just wanted to let you know that this is a great mod and we find it very useful for running a Gaming Guild. Make it nice to see what members view the topics of our applying members, and for running polls for guild events/ideas.
Now just wanted to post to say that it dont appear to work 100%. I couldn't verify anything before not knowing really who is viewing and what not, but now I found one.
My one officer replied to one of our topic regarding an issue. So knowing he viewed it since he replied, he dont dont appear in the topic log.
Any way I can try to help figure this out, Just let me know. If this is a known issue, then im sorry for posting it again.
Thanks.
edit: Update: Our same officer posted again in the topic, and now it shows him viewing 1 time.
edit: Update2: Checked a few hours later and again, and now his name isnt on the Topiclog.
Shepx83:
Thanks for bug. I think that's because the of the createPost() function. I'll check it. We can have an update soon.
I've got one specific membergroup who's time wont show up on the log (just their screenname). Any idea why? (im probably missing a setting somewhere but I cant seem to find it..lol)
Could it be possible that user viewed that topic before this mod was installed?
Quote from: [SiNaN] on August 14, 2008, 03:32:15 AM
Could it be possible that user viewed that topic before this mod was installed?
No this was a topic that I just made last night and I have had the mod installed for about a week or so now. I only have one person in that group (its a staff group), and every topic that she is listed on the log, none of them have times, just her screenname.
Did that person posted in all those topics?
Quote from: [SiNaN] on August 14, 2008, 07:40:03 AM
Did that person posted in all those topics?
On the topic I just made last night, all she has done is viewed it once. Most of the topics are just her viewing them. I looked at another topic on another board that she has just viewed and it shows the time (and she has viewed it twice). I thought maybe it might be that you have to view it twice before the time shows up but it doesnt happen to anyone else like that. I also checked another topic that she has actually posted in, and the time shows up on it fine (shes viewd that one twice as well).
About 1/2 of hers have times, the other half dont. Maybe its an issue with the board itself...I dont know.. I will just keep an eye on it for a while. Its not "that" big of a deal but I wasnt sure if it was a bug or not.
I'll also check the files. Please inform us too if you find something wrong.
Thx a lot, very usefull mod for admins.... 8)
Here is German translation
// Topic Log Mod
$txt['lt_title'] = 'Log';
$txt['lt_times'] = 'Anzahl';
$txt['lt_lastView'] = 'Zuletzt';
$txt['tl_no_topic_id'] = 'Themen ID nicht bekannt.';
$txt['tl_no_topic'] = 'Thema existiert nicht.';
$txt['who_log'] = 'Zeigt Log von <a href="' . $scripturl . '?action=topiclog;id=%d">%s</a>.';
$txt['cannot_view_topic_log_own'] = 'In diesem Forum haben Sie keine Berechtigung Logs ihrer eigenen Beiträge anzuzeigen.';
$txt['cannot_view_topic_log_any'] = 'Nicht jedes Themenlog in diesem Forum darf angezeigt werden.';
$txt['permissionname_view_topic_log'] = 'Thema Log anzeigen';
$txt['permissionhelp_view_topic_log'] = 'Diese Berechtigung erlaubt Mutzern, die Logs der Leser anzuzeigen.';
$txt['permissionname_view_topic_log_own'] = 'Eigenes Thema';
$txt['permissionname_view_topic_log_any'] = 'Jedes Thema';
// Topic Log Mod
$txt['uot_users_online_today']='Leser heute ';
$txt['uot_yesterday']='Gestern um ';
$txt['uot_total']='Total';
$txt['uot_visible']='Sichtbar';
$txt['uot_hidden']='Versteckt';
// End of Topic Log Mod
Thanks SeKa. I'll add it.
Hi SiNaN,
a proposal from own interests! I had in my phpBB board something similar in a other direction. A mod which one the admin was able to log the viewed topics of each member. And this log was placed under the profile screen(doesn´t important where it is placed)
Do you think that would be an extended version for you, or a new mod with a lot of work? :)
I would be very happy if this possibility were present again...
Well, shouldn't be hard. I'll consider in the next version of the mod. Thanks.
Great :D
Duplicate column name 'times'
File: /home/MYSITE/public_html/forum/Packages/temp/db_install.php
Line: 8
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 1.1.5, while your database is at version 1.1.4. The above error might possibly go away if you execute the latest version of upgrade.php.
That isn't the case. Any advise? How do I manually install the required database fields?
I think my database might already have the columns from a previous install. I had to reinstall forums and I am adding the packages again.
Yup. Go into your database and delete the duplicate column.
Where would I look? ::)
I see only one times column, and it looks like there is alot of info in it.
Use the package attached, It doesn't include db query.
Thanks man. Great mods, all of em. ;)
Quick question, can i change the number of members shown on one page to more than 20?
Regards
Jon
;)
ps works perfectly on 1.1.6 custom themes!
Thank you for the mod.
Excuse my English since I can do in order that all the users see it and not only the managers?
Thank you
jonidfld:
Find:
, 20
Replace:
, 30
There are two.
sergioropase:
Admin CP >> Permissions
select the member group and give them the "View Topic Log" permission.
Thanks. Knew it was that just could see the 20 anywhere, ill take another nosey!! Thanks!
;)
Quote from: [SiNaN] on September 14, 2008, 01:07:25 PM
sergioropase:
Admin CP >> Permissions
select the member group and give them the "View Topic Log" permission.
Zenkiu is ok.
Zenkiu.
Hi [SiNaN] I tried to install this modification and sadly my forum died. I used the file attached to your post above :)
I have to say this was only the third or so modification I have attempted to download not via the Package Manager, which has not been working for me for days, but that it seems is another story :(
When I installed it all my posts displayed the following:
Database Error
Unknown column 'times' in 'field list'
File: /home/compingf/public_html/Sources/Display.php
Line: 284
I cannot thank metallica48423 enough for his help in getting it back up and working for me. I appreciated all the help metallica48423 has provided me recently :)
I hope that in the future I will be able to install this modification as it is a modification I will find extremely handy on my forum :)
Thank you for all your mods you write, if only I had 1% of your ability I'd be a happy person.
If the only file that a custom theme uses that is not a default file is the index.template.php file, and the topic log button pulls from the default display.template.php file, any ideas as to why the topic log button wont appear on the custom theme? I had an issue with my display.template.php file when I tried upgrading to 1.1.6 and I ended up having to manually reinstall several mod codes to that file, however this one was left intact during all that mess. It works when you click on it, the button just wont show up.
I have attached both an image to show you what I mean, and have also attached my display.template.php file.
squad:
Seems like the database query is not run or you installed the mod manually. So did you get it solved completely?
Kimmie:
If your custom theme uses images instead of text buttons, you should create a topiclog.gif button like reply.gif button.
Quote from: [SiNaN] on August 23, 2008, 08:58:32 AM
Use the package attached, It doesn't include db query.
I downloaded from the file you had attached to this (above) post, should I download the file from the Mods site?
I haven't gone near it since my first attempt, me a dill, me scared to do anything now :D :D :D
Yes, you should download the package on the Mod Site. The one I attached didn't had the db queries inside. So that's why you got that error.
If you install the mod without getting any errors during installation, it should work without problems.
Thank you very much [SiNaN] if it is successful, I won't annoy you again :)
You can be sure that we just feel happy when we help the community here. :)
Very interesting mod, any chance for smf2's version? :D
There is always chance but have no idea when it will come. :)
Rockin'! This is a good mod! Thanks S! :D
Ok I'm back, ::) I finally had the chance to look at some mods
via the 'Package Manager' and this mod is there tonight, nice
and easy way for this dummy to download :)
Well on the attempt this is what happened with the
download:
'Installations actions for "TopicLog":
Installing this package will perform the following actions: Type Action Description
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
3. Execute Modification ./Sources/Display.php Test successful
4. Execute Modification ./Sources/ManagePermissions.php Test successful
5. Execute Modification ./Sources/Who.php Test successful
6. Execute Modification ./index.php Test successful
7. Execute Modification ./Themes/default/Display.template.php Test successful
8. Extract File ./Sources/TopicLog.php
9. Extract File ./Themes/default/TopicLog.template.php
10. Execute Code db_install.php '
With the last three 'files and code' missing the words 'Test Successful' I backed out of
continuing :)
Duplicate column name 'times'
File: /home/goldysun/public_html/skywise/Packages/temp/db_install.php
Line: 8
While installing. What is to be done ?
SMF 1.1.6
Quote from: squad on October 03, 2008, 12:17:15 PM
Ok I'm back, ::) I finally had the chance to look at some mods
via the 'Package Manager' and this mod is there tonight, nice
and easy way for this dummy to download :)
Well on the attempt this is what happened with the
download:
'Installations actions for "TopicLog":
Installing this package will perform the following actions: Type Action Description
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
3. Execute Modification ./Sources/Display.php Test successful
4. Execute Modification ./Sources/ManagePermissions.php Test successful
5. Execute Modification ./Sources/Who.php Test successful
6. Execute Modification ./index.php Test successful
7. Execute Modification ./Themes/default/Display.template.php Test successful
8. Extract File ./Sources/TopicLog.php
9. Extract File ./Themes/default/TopicLog.template.php
10. Execute Code db_install.php '
With the last three 'files and code' missing the words 'Test Successful' I backed out of
continuing :)
It's okay to do it, just read the words behind the last three:
8.
Extract File ./Sources/TopicLog.php
9.
Extract File ./Themes/default/TopicLog.template.php
10.
Execute Code db_install.php '
That means it has to take stuff out of the .zip/.tar.gz and put them in your server so the mod works properly
squad:
As bros said, it will be okay if you continue. They just are different then editing so doesn't display any action.
F.L.A.M.E.R:
Drop the 'times' and 'lastView' columns in smf_log_topics table then try installing.
SiNaN this looks awesome, would you be willing to make it 2.0 compatible?
Thanks both to bros and [SiNaN] I will go ahead next time i see it on the Package Manager. I am looking forward to this, not that my site is very big, but will come in handy especially as my site grows :)
Thanks again.
Septimus:
I'll do that if I can find some time.
squad:
Okay, keep us informed about how it goes. ;)
Thank you SiNaN :D. I appreciate it :D.
Now installed and working perfectly, thank you for all your help.
I will be making good use of this mod :) it's wonderful :)
You're welcome, glad that you could get it working. ;)
Feel free to ask here if you will have any problems about the mod.
hey there, i have installed this mod to my forum.. but when i delete it , guest users can see the following error:
// Topic Log Mod $txt['lt_title'] = 'Topic Log'; $txt['lt_times'] = 'Times'; $txt['lt_lastView'] = 'Last View'; $txt['tl_no_topic_id'] = 'Topic ID is not set.'; $txt['tl_no_topic'] = 'Topic doesn\'t exist.'; $txt['who_log'] = 'Viewing the topic log of %s.'; $txt['cannot_view_topic_log_own'] = 'You are not, on this board, allowed to view the topic log of your own posts.'; $txt['cannot_view_topic_log_any'] = 'Viewing just any topic log in this board is not allowed.'; $txt['permissionname_view_topic_log'] = 'View Topic Log'; $txt['permissionhelp_view_topic_log'] = 'This permission allows a user to view the topic view log.'; $txt['permissionname_view_topic_log_own'] = 'Own topic'; $txt['permissionname_view_topic_log_any'] = 'Any topic'; // Topic Log Mod // Topic Log Mod $txt['lt_title'] = 'Topic Log'; $txt['lt_times'] = 'Times'; $txt['lt_lastView'] = 'Last View'; $txt['tl_no_topic_id'] = 'Topic ID is not set.'; $txt['tl_no_topic'] = 'Topic doesn\'t exist.'; $txt['who_log'] = 'Viewing the topic log of %s.'; $txt['cannot_view_topic_log_own'] = 'You are not, on this board, allowed to view the topic log of your own posts.'; $txt['cannot_view_topic_log_any'] = 'Viewing just any topic log in this board is not allowed.'; $txt['permissionname_view_topic_log'] = 'View Topic Log'; $txt['permissionhelp_view_topic_log'] = 'This permission allows a user to view the topic view log.'; $txt['permissionname_view_topic_log_own'] = 'Own topic'; $txt['permissionname_view_topic_log_any'] = 'Any topic'; // Topic Log Mod // Topic Log Mod $txt['lt_title'] = 'Topic Log'; $txt['lt_times'] = 'Times'; $txt['lt_lastView'] = 'Last View'; $txt['tl_no_topic_id'] = 'Topic ID is not set.'; $txt['tl_no_topic'] = 'Topic doesn\'t exist.'; $txt['who_log'] = 'Viewing the topic log of %s.'; $txt['cannot_view_topic_log_own'] = 'You are not, on this board, allowed to view the topic log of your own posts.'; $txt['cannot_view_topic_log_any'] = 'Viewing just any topic log in this board is not allowed.'; $txt['permissionname_view_topic_log'] = 'View Topic Log'; $txt['permissionhelp_view_topic_log'] = 'This permission allows a user to view the topic view log.'; $txt['permissionname_view_topic_log_own'] = 'Own topic'; $txt['permissionname_view_topic_log_any'] = 'Any topic'; // Topic Log Mod // Topic Log Mod $txt['lt_title'] = 'Topic Log'; $txt['lt_times'] = 'Times'; $txt['lt_lastView'] = 'Last View'; $txt['tl_no_topic_id'] = 'Topic ID is not set.'; $txt['tl_no_topic'] = 'Topic doesn\'t exist.'; $txt['who_log'] = 'Viewing the topic log of %s.'; $txt['cannot_view_topic_log_own'] = 'You are not, on this board, allowed to view the topic log of your own posts.'; $txt['cannot_view_topic_log_any'] = 'Viewing just any topic log in this board is not allowed.'; $txt['permissionname_view_topic_log'] = 'View Topic Log'; $txt['permissionhelp_view_topic_log'] = 'This permission allows a user to view the topic view log.'; $txt['permissionname_view_topic_log_own'] = 'Own topic'; $txt['permissionname_view_topic_log_any'] = 'Any topic'; // Topic Log Mod
That's Modifications.english.php, I believe.
Great mod [SiNaN]. Installed perfectly and works with all 3 themes that I have installed.
any help please??
Quote from: chriscodes on October 10, 2008, 01:58:26 PM
any help please??
You uninstalled the mod, right?
Remove that line from Modifications.english.php. Sometimes it doesn't remove it
Quote from: bros on October 10, 2008, 02:10:56 PM
Quote from: chriscodes on October 10, 2008, 01:58:26 PM
any help please??
You uninstalled the mod, right?
Remove that line from Modifications.english.php. Sometimes it doesn't remove it
were can i find this php file?
Quote from: [SiNaN] on October 04, 2008, 06:05:22 PM
F.L.A.M.E.R:
Drop the 'times' and 'lastView' columns in smf_log_topics table then try installing.
Sorry for the late reply, but that did it. I had problems with hosting. Thank you.
Which mod is this forum using to display topics on the index page of his forum. www.nairaland.com (http://www.nairaland.com) . The jpeg image is attached.
chriscodes:
Attach your ../Themes/default/languages/Modifications.english.php file here.
bronxe:
I don't think we have the exactly same mod here. But try the SMF Sitemamp (http://custom.simplemachines.org/mods/index.php?mod=755) mod.
i get this error, on top of every page:
// Topic Log Mod $txt['lt_title'] = 'Topic Log'; $txt['lt_times'] = 'Times'; $txt['lt_lastView'] = 'Last View'; $txt['tl_no_topic_id'] = 'Topic ID is not set.'; $txt['tl_no_topic'] = 'Topic doesn\'t exist.'; $txt['who_log'] = 'Viewing the topic log of %s.'; $txt['cannot_view_topic_log_own'] = 'You are not, on this board, allowed to view the topic log of your own posts.'; $txt['cannot_view_topic_log_any'] = 'Viewing just any topic log in this board is not allowed.'; $txt['permissionname_view_topic_log'] = 'View Topic Log'; $txt['permissionhelp_view_topic_log'] = 'This permission allows a user to view the topic view log.'; $txt['permissionname_view_topic_log_own'] = 'Own topic'; $txt['permissionname_view_topic_log_any'] = 'Any topic'; // Topic Log Mod
Using the "packages" install method.
In your
./Themes/default/languages/Modifications.english.php
Find this
?>
Move it so that it is the last line in the file.
Quote from: JimM on October 17, 2008, 08:20:34 AM
In your
./Themes/default/languages/Modifications.english.php
Find this
?>
Move it so that it is the last line in the file.
Thank you, its working perfectly.
OK... REALLY dumb question:
First off, I know that with the current release of SMF that if you use anything other than the original theme you have to manually add things in. No problem, I understand that.
However, I'm really trying to get my brain around WHAT files need to be modified. I follow the steps outlined in the manual installation instructions (modifying the appropriate files for that particular theme) but mods still aren't showing up unless I use the original theme.
What am I missing here? What is slipping by me?
Rob
Hi siNan,
When we will have compactable topic log mod for 2.0.4.
Quote from: [SiNaN] on October 05, 2008, 06:23:32 AM
Septimus:
I'll do that if I can find some time.
Thank you very much :D. My forum does need this :).
BYUFanatic:
Just the template files. For example the mod makes a change in Display.template.php file for default theme.
Then you will check your custom theme's files, if it has a Display.template.php file:
- If it has one; then make the same edit in that file too.
- If it doesn't have; that means it will use it from default theme, so nothing you should do.
asudhakar and Septimus:
http://www.simplemachines.org/community/index.php?topic=269092.0
Ok SiNaN, thanks for the information.
I have missed all your modification on smf 2.0.4.
Quote from: [SiNaN] on October 20, 2008, 06:11:25 AM
BYUFanatic:
Just the template files. For example the mod makes a change in Display.template.php file for default theme.
Then you will check your custom theme's files, if it has a Display.template.php file:
- If it has one; then make the same edit in that file too.
- If it doesn't have; that means it will use it from default theme, so nothing you should do.
Well, I have the following in BOTH my custom theme and in my default (original) theme:
// Topic Log button.
if ($context['can_view_topic_log'])
$normal_buttons['view_topic_log'] = array('text' => 'lt_title', 'image' => 'topiclog.gif', 'lang' => true, 'url' => $scripturl . '?action=topiclog;id=' . $context['current_topic'] . ';place=' . $context['current_board']);
But, it STILL only shows up in the default theme, not in the custom theme.
Rob
Quote from: BYUFanatic on October 20, 2008, 11:15:54 PM
Quote from: [SiNaN] on October 20, 2008, 06:11:25 AM
BYUFanatic:
Just the template files. For example the mod makes a change in Display.template.php file for default theme.
Then you will check your custom theme's files, if it has a Display.template.php file:
- If it has one; then make the same edit in that file too.
- If it doesn't have; that means it will use it from default theme, so nothing you should do.
Well, I have the following in BOTH my custom theme and in my default (original) theme:
// Topic Log button.
if ($context['can_view_topic_log'])
$normal_buttons['view_topic_log'] = array('text' => 'lt_title', 'image' => 'topiclog.gif', 'lang' => true, 'url' => $scripturl . '?action=topiclog;id=' . $context['current_topic'] . ';place=' . $context['current_board']);
But, it STILL only shows up in the default theme, not in the custom theme.
Rob
Bump.
Rob
Hello,
I'm running 1.1.6 and installed this MOD a day or so ago. I'm a bit concerned because I started watching a topic already running and the log listed some, but not all of the members who accessed it. Two members who did post were NOT listed, and two members who did not post WERE listed. It also appears that it might be losing count data (my count appears to have declined over yesterday).
Now, I also ran the Optimise feature under Forum Management. Could that result in reduced counts?
But I am concerned that two active participants to the topic have yet to appear in the topic log, even though I can see several posts made by them since I installed the MOD. And two members who have never visited the topic are listed.
At this time I have to question the validity of the data presented.
Could you look into this, as I really do like the idea of being able to know who has read a topic. This can be critical if one is trying to make sure of things such as all Moderators have read a Forum Policy Post.
Grazie,
Cal
BYUFanatic:
Can the Display.template.php file here and provide a test account which has the View TopicLog permission?
Cal O'Shaw:
I have checked it again, two issues:
1) If topic is moved, then logs will be reset.
2) When mark read feature is used, logs are removed.
It could be made completely stable by just creating a new table for this and only saving the info in the Display.php. But I don't have time for updating this mod, unfortunately.
http://www.simplemachines.org/community/index.php?topic=269092.0
I am running 1.1.6, just so you know, when I try to upload this package, my forum says "The package you tried to upload either is not a valid package or has become corrupted. "
Ignore me, I just had to change my Packages folder permissions. Works great, thanks!
Quote from: [SiNaN] on October 12, 2008, 08:57:21 AM
chriscodes:
Attach your ../Themes/default/languages/Modifications.english.php file here.
bronxe:
I don't think we have the exactly same mod here. But try the SMF Sitemamp (http://custom.simplemachines.org/mods/index.php?mod=755) mod.
i deleted it but im seeing the same message ontop of my forum...
You deleted what?
Quote from: [SiNaN] on November 02, 2008, 10:16:16 AM
You deleted what?
i get the following message in my forum when u enter as a guest:
// Topic Log Mod $txt['lt_title'] = 'Topic Log'; $txt['lt_times'] = 'Times'; $txt['lt_lastView'] = 'Last View'; $txt['tl_no_topic_id'] = 'Topic ID is not set.'; $txt['tl_no_topic'] = 'Topic doesn\'t exist.'; $txt['who_log'] = 'Viewing the topic log of %s.'; $txt['cannot_view_topic_log_own'] = 'You are not, on this board, allowed to view the topic log of your own posts.'; $txt['cannot_view_topic_log_any'] = 'Viewing just any topic log in this board is not allowed.'; $txt['permissionname_view_topic_log'] = 'View Topic Log'; $txt['permissionhelp_view_topic_log'] = 'This permission allows a user to view the topic view log.'; $txt['permissionname_view_topic_log_own'] = 'Own topic'; $txt['permissionname_view_topic_log_any'] = 'Any topic'; // Topic Log Mod // Topic Log Mod $txt['lt_title'] = 'Topic Log'; $txt['lt_times'] = 'Times'; $txt['lt_lastView'] = 'Last View'; $txt['tl_no_topic_id'] = 'Topic ID is not set.'; $txt['tl_no_topic'] = 'Topic doesn\'t exist.'; $txt['who_log'] = 'Viewing the topic log of %s.'; $txt['cannot_view_topic_log_own'] = 'You are not, on this board, allowed to view the topic log of your own posts.'; $txt['cannot_view_topic_log_any'] = 'Viewing just any topic log in this board is not allowed.'; $txt['permissionname_view_topic_log'] = 'View Topic Log'; $txt['permissionhelp_view_topic_log'] = 'This permission allows a user to view the topic view log.'; $txt['permissionname_view_topic_log_own'] = 'Own topic'; $txt['permissionname_view_topic_log_any'] = 'Any topic'; // Topic Log Mod // Topic Log Mod $txt['lt_title'] = 'Topic Log'; $txt['lt_times'] = 'Times'; $txt['lt_lastView'] = 'Last View'; $txt['tl_no_topic_id'] = 'Topic ID is not set.'; $txt['tl_no_topic'] = 'Topic doesn\'t exist.'; $txt['who_log'] = 'Viewing the topic log of %s.'; $txt['cannot_view_topic_log_own'] = 'You are not, on this board, allowed to view the topic log of your own posts.'; $txt['cannot_view_topic_log_any'] = 'Viewing just any topic log in this board is not allowed.'; $txt['permissionname_view_topic_log'] = 'View Topic Log'; $txt['permissionhelp_view_topic_log'] = 'This permission allows a user to view the topic view log.'; $txt['permissionname_view_topic_log_own'] = 'Own topic'; $txt['permissionname_view_topic_log_any'] = 'Any topic'; // Topic Log Mod // Topic Log Mod $txt['lt_title'] = 'Topic Log'; $txt['lt_times'] = 'Times'; $txt['lt_lastView'] = 'Last View'; $txt['tl_no_topic_id'] = 'Topic ID is not set.'; $txt['tl_no_topic'] = 'Topic doesn\'t exist.'; $txt['who_log'] = 'Viewing the topic log of %s.'; $txt['cannot_view_topic_log_own'] = 'You are not, on this board, allowed to view the topic log of your own posts.'; $txt['cannot_view_topic_log_any'] = 'Viewing just any topic log in this board is not allowed.'; $txt['permissionname_view_topic_log'] = 'View Topic Log'; $txt['permissionhelp_view_topic_log'] = 'This permission allows a user to view the topic view log.'; $txt['permissionname_view_topic_log_own'] = 'Own topic'; $txt['permissionname_view_topic_log_any'] = 'Any topic'; // Topic Log Mod
i want to delete it. i went to the modification.english php and took this line out from there but it still appears
Check the Modifications.english-utf8.php file.
Quote from: [SiNaN] on November 02, 2008, 10:56:45 AM
Check the Modifications.english-utf8.php file.
already did dat, and still nuthing..
Can you re-check if you have the files that doesn't include those texts again?
And is it possible to see your forum? Also can you attach both of your files?
Quote from: [SiNaN] on November 02, 2008, 11:02:02 AM
Can you re-check if you have the files that doesn't include those texts again?
And is it possible to see your forum? Also can you attach both of your files?
i just noticed i had 3 english files:
Modifications.english-utf8.php
Modifications.english.php
Modifications.english_british-utf8.php
i didnt check the last one, now its fine, thanx for the help
the button topiclog does not work
It( gives me this mistake.
Not Acceptable
An appropriate representation of the requested resource /smf/index.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I´m resolved this problem.
In file display_template.php I change
Quote$normal_buttons['view_topic_log'] = array('text' => 'lt_title', 'image' => 'topiclog.gif', 'lang' => true, 'url' => $scripturl . '?action=topiclog;id=' . $context['current_topic'] .
by
Quote$normal_buttons['view_topic_log'] = array('text' => 'lt_title', 'image' => 'topiclog.gif', 'lang' => true, 'url' => $scripturl . '?action=topiclog&id=' . $context['current_topic'] .
and now work ... !!!
Thank you for this mod [SiNaN]
Can you update the brazilian Translation?
Modifications.portuguese_brazilian.php
// Topic Log Mod
$txt['lt_title'] = 'Log do Tópico';
$txt['lt_times'] = 'Vezes';
$txt['lt_lastView'] = 'Última Visita';
$txt['tl_no_topic_id'] = 'O ID do tópico não foi colocado.';
$txt['tl_no_topic'] = 'O tópico não existe.';
$txt['who_log'] = 'Vendo o log do tópico <a href="' . $scripturl . '?action=topiclog;id=%d">%s</a>.';
$txt['cannot_view_topic_log_own'] = 'Neste quadro, você não tem permissão para ver o log do tópico dos seus posts.';
$txt['cannot_view_topic_log_any'] = 'Visualizar o log de tópicos neste quadro não é permitido.';
$txt['permissionname_view_topic_log'] = 'Ver Logs de tópicos';
$txt['permissionhelp_view_topic_log'] = 'Esta permissão permite ao usuário ver logs de tópicos.';
$txt['permissionname_view_topic_log_own'] = 'Próprio Tópico';
$txt['permissionname_view_topic_log_any'] = 'Qualquer Tópico';
// Topic Log Mod
Modifications.portuguese_brazilian_utf-8.php
// Topic Log Mod
$txt['lt_title'] = 'Log do Tópico';
$txt['lt_times'] = 'Vezes';
$txt['lt_lastView'] = 'Última Visita';
$txt['tl_no_topic_id'] = 'O ID do tópico não foi colocado.';
$txt['tl_no_topic'] = 'O tópico não existe.';
$txt['who_log'] = 'Vendo o log do tópico <a href="' . $scripturl . '?action=topiclog;id=%d">%s</a>.';
$txt['cannot_view_topic_log_own'] = 'Neste quadro, você não tem permissão para ver o log do tópico dos seus posts.';
$txt['cannot_view_topic_log_any'] = 'Visualizar o log de tópicos neste quadro não é permitido.';
$txt['permissionname_view_topic_log'] = 'Ver Logs de tópicos';
$txt['permissionhelp_view_topic_log'] = 'Esta permissão permite ao usuário ver logs de tópicos.';
$txt['permissionname_view_topic_log_own'] = 'Próprio Tópico';
$txt['permissionname_view_topic_log_any'] = 'Qualquer Tópico';
// Topic Log Mod
Farewell
- Costa
Wow Sinan... Excelent MOD, I have running in SMF 1.1.7 and So Fine Working... here the translation to Spanish in "Modifications.English" with "LoadStandardLanguage"
// Topic Log Mod
$txt['lt_title'] = 'Log Vistas';
$txt['lt_times'] = 'Veces';
$txt['lt_lastView'] = 'Ultima Vista';
$txt['tl_no_topic_id'] = 'La ID del Tema No esta Seteada.';
$txt['tl_no_topic'] = 'Tema No Existente.';
$txt['who_log'] = 'Ver las Vistas del Tema de <a href="' . $scripturl . '?action=topiclog;id=%d">%s</a>.';
$txt['cannot_view_topic_log_own'] = 'No Tienes Permitido ver El Registro de Las Vistas de Tu Tema.';
$txt['cannot_view_topic_log_any'] = 'No Esta Permitido ver El Registro de Las Vistas del Tema.';
$txt['permissionname_view_topic_log'] = 'Ver Topic Log';
$txt['permissionhelp_view_topic_log'] = 'Este permiso permite a un usuario ver el registro de vistas de un Tema.';
$txt['permissionname_view_topic_log_own'] = 'Tema Propio';
$txt['permissionname_view_topic_log_any'] = 'Cualquier tema';
// Topic Log Mod
Thanks again for this MOD... & Regards 8).-
Now mod is compatible with SMF 2.0 Beta 4. Check this post for details:
http://www.simplemachines.org/community/index.php?topic=251656.msg1629997#msg1629997
Such a wonderful mod for all Admins.
Thanks for the developer, i was waiting for 2.0.4 upgrade since i used this mod on 1.1.6.
this is a great mod! Thank you for making it!
This mod isnt recording views correctly. I have threads that members are actually replying to, and the log doesnt show that they even visited the thread..lol.
Any idea how to fix this?
SMF 2.0 Beta 4
Database Error
Table 'xxxx_smf1.smf_log_topic_view' doesn't exist
File: /home/xxxxx/public_html/boards/Sources/TopicViewLog.php
Line: 233
Kimmie:
As I said earlier in this topic, TopicLog 1.0 has bugs (I listed above). Version 1.1, which is SMF 2.0 only, does record topic view counts with 100% accuracy. I don't think I'll be coding an update for SMF 1.x version, sorry.
bros:
Did you install the mod manually?
Extract the package, copy the install.php file and upload it to your forum root directory. (where SSI.php is) Then call the file from your browser, like this: http://www.yoursite.com/install.php Then make sure you remove the file.
Quote from: Blue Dream on December 28, 2008, 03:57:55 AM
Kimmie:
As I said earlier in this topic, TopicLog 1.0 has bugs (I listed above). Version 1.1, which is SMF 2.0 only, does record topic view counts with 100% accuracy. I don't think I'll be coding an update for SMF 1.x version, sorry.
Well, can you atleast tell me what changes I need to make so that mine works correctly? I wont be using 2.0 any time soon and its not really fair to those of us who choose not to upgrade until 2.0 becomes stable and there is a final release. I have been asking for this issue to be fixed for quite a while now - I believe my initial report of the issue was even before you stated you were no longer going to support it.
(its also a good thing I double checked because just by looking at the name of the latest release (1.1), one would assume that it is compatible with all 1.x versions of SMF because mod most creators title their 2.0 releases "NameOfMod2.0")
Thanks :)
Well, if only I had time... Though I'll try it for you, or at least will give provide some fixes soon.
brilliant feature! going to install in a minute! :D
this will work great for forums who have applications to be approved etc.. so you "know" they read the rules instead of just saying "yeah i agree to obey the rules"
finding some useful things on SMF to further get my test boards ready to ditch VB
Quote from: Blue Dream on December 28, 2008, 03:57:55 AM
Kimmie:
As I said earlier in this topic, TopicLog 1.0 has bugs (I listed above). Version 1.1, which is SMF 2.0 only, does record topic view counts with 100% accuracy. I don't think I'll be coding an update for SMF 1.x version, sorry.
bros:
Did you install the mod manually?
Extract the package, copy the install.php file and upload it to your forum root directory. (where SSI.php is) Then call the file from your browser, like this: http://www.yoursite.com/install.php Then make sure you remove the file.
Installed it via package manager. Everything was successful
edit - Installed it via package manager then uploaded the install.php to the root directory of the forum. Ran install.php and it appears to be working
Question - Any way to make it display all of the times the user viewed the topic (Maybe an arrow you click and it shows all of the times they viewed it?) along with the IP(s) they used?
I am also having the same logging problems, because I am not using SMF 2.0 (I have and need to have TinyPortal installed - so cannot do any sort of upgrade to SMF 2.0 until its final version is out).
Any help in getting this fixed would be greatly appreciated. I really like this mod, but I need it to work correctly if I am going to be able to use it at all.
Also -- it might be a good idea to note on the download page there there ARE known bugs/problems in the version for SMF 1.1.7, so that folks know about the problems before installing (I just installed it 3 days ago).
bros:
Currently no. It will require a different entry for each log then. I may consider this for the future versions.
Rasyr:
Thanks for the feedback. I don't really have time to work on it now. I've removed SMF 1.x compatibility until I get it fixed.
Excellent, work perfectly in my sfm 2.0 Beta 4 thx ;)
Yeah...installed and working on my test smf2 forum without any problem. Another great mod! :D
Not working on SMF 2 RC1
Can this be made available for 2 RC1 PLLEEEAASSEEE :D
Pretty Please??
I don't have time for this yet, sorry.
Tried Installing over,
1. Replace ./Themes/default/Display.template.php Test failed
Find [Select]
// Special case for the custom one.
Replace [Select]
// Perhaps he will want to see the users viewed this topic... $normal_buttons['tvl'] = array('test' => 'can_view_topic_log', 'text' => 'tvl_title', 'image' => 'tvl.gif', 'lang' => true, 'url' => $scripturl . '?action=topicviewlog;topic=' . $context['current_topic'] . '.0'); // Special case for the custom one.
Blue Dream,
Is the mod not avail anymore for 1.1.X? I cant find it here.
I have it running on my 1.1.7 and it works fine. I want it for my other board now.
thanks
This mod seems to work in 2 RC1 too.
I installed the mod manually with the "Manual Instructions" the Mod Section Offers.
in Themes/default/Display.template.php the searchphrase is not there anymore.
Instead of
// Special case for the custom one.
search for
// Show the page index... "Pages: [1]"
before add:
// Perhaps he will want to see the users viewed this topic...
$normal_buttons['tvl'] = array('test' => 'can_view_topic_log', 'text' => 'tvl_title', 'image' => 'tvl.gif', 'lang' => true, 'url' => $scripturl . '?action=topicviewlog;topic=' . $context['current_topic'] . '.0');
(code as provided by mod, no changes by me)
Don't forget to copy TopicViewLog.php onto the server.
I'm still testing, but looks like it's working as it should.
Hi,
my Mods really love this mod because now we can track if new users really did read the forum rules or just claim to have read them.
They have one question though: Is it possible to use this mod for users? Have a look at the most recent topics a user viewed? Maybe by adding a "view log" button to the member's profile?
This would be really great!
Dani
Hi
I am using 1.1.8 and have been using this mod for quite a while
how can this mod be enhanced to auto 'pm' those who view those selected topics ?
any help is appreciated
I so love this modification, I have a question though.
It has bothered a few of our moderators that when
a particular member manages to reply to topics they
never show up in the Topic Log as viewing the Topic ???
Would that be because this member only views the majority
of posts via the 'Unread posts', via a members profile using
'Show the last posts of this person.' or by right clicking
on the Topic, opening in a new window/tab replying and
immediately closing it down.
This member also manages to post a topic, started by themselves
and when you go and check the Topic Log they don't even show
up then. It is becoming quiet annoying, this oneisn't the only
one but the major one it happens with, keeping track of certain
things with this member is near on impossible because of this.
Thank you for any help on this :)
dear Mr. Sinanis there such as this mod but work with smf 1.1.9please & thanks[/]
Quote from: A.SK on March 21, 2009, 02:11:44 AM
Tried Installing over,
1. Replace ./Themes/default/Display.template.php Test failed
Find [Select]
// Special case for the custom one.
Replace [Select]
// Perhaps he will want to see the users viewed this topic... $normal_buttons['tvl'] = array('test' => 'can_view_topic_log', 'text' => 'tvl_title', 'image' => 'tvl.gif', 'lang' => true, 'url' => $scripturl . '?action=topicviewlog;topic=' . $context['current_topic'] . '.0'); // Special case for the custom one.
Update for 2.0.RC1-1 sinan.
we are still waiting this mod...for 2.x
Does someone have the last compatible version with smf 1.1.x??
I need it badly.
Thanks in advanced
btw, I think there's more people running SMF 1.1.x than 2.0...
I have the 1.1x version but I think if it's not on the mod page then SiNaN does not want it available. If he gives permission here I can attach it.
Quote from: [SiNaN] on October 26, 2008, 05:43:37 AM
BYUFanatic:
Can the Display.template.php file here and provide a test account which has the View TopicLog permission?
Cal O'Shaw:
I have checked it again, two issues:
1) If topic is moved, then logs will be reset.
2) When mark read feature is used, logs are removed.
It could be made completely stable by just creating a new table for this and only saving the info in the Display.php. But I don't have time for updating this mod, unfortunately.
http://www.simplemachines.org/community/index.php?topic=269092.0
okay, I fix both issues... I'm testing it with SMF 1.1.9 and all seems to work smoothly...
I'm just testing it on my local machine... if [SiNaN] give me the okay I'll share it.
That would be wonderful.
To be honest, even if 2.0.0 came out today, we would probably not switch to it until 2010. For the same reason I can't upgrade from Firefox 3 to 3.5 -- essential MODs and Add-ins need to be supporting it before I can upgrade. If others want to be leading edge and the first on their block to run 2.0.0, super. We'll wait for the MODs and at least one or two patches before be look at applying 2.0.2 over 1.1.10 (or whatever the version numbers are by then).
A request to all the MOD authors... please don't give up on the 1.1.x line yet. I can understand not supporting the 1.0.x line (even if SMF is still supporting it), but 2.0 hasn't even been released yet! We still have at least one more RC coming, according to SMF, with the new curves theme. 1.1.x isn't dead yet. It's the CURRENT VERSION. Please hang in there, your hard work is greatly appreciated by us on the front lines.
Grazie,
Cal
Quote from: esttecb link=topic=251656.msg2142690#msg2142690quote author=[SiNaN] link=topic=251656.msg1768876#msg1768876
okay, I fix both issues... I'm testing it with SMF 1.1.9 and all seems to work smoothly...
I'm just testing it on my local machine... if [SiNaN] give me the okay I'll share it.
we waiting ...
Quote from: A.SK on June 23, 2009, 03:05:49 PM
Quote from: A.SK on March 21, 2009, 02:11:44 AM
Tried Installing over,
1. Replace ./Themes/default/Display.template.php Test failed
Find [Select]
// Special case for the custom one.
Replace [Select]
// Perhaps he will want to see the users viewed this topic... $normal_buttons['tvl'] = array('test' => 'can_view_topic_log', 'text' => 'tvl_title', 'image' => 'tvl.gif', 'lang' => true, 'url' => $scripturl . '?action=topicviewlog;topic=' . $context['current_topic'] . '.0'); // Special case for the custom one.
Update for 2.0.RC1-1 sinan.
I cannot find // Special case for the custom one. in my display.template.php
Quote from: bros on July 13, 2009, 05:35:56 PM
I cannot find // Special case for the custom one. in my display.template.php
Upgrading to SMF 2.0.RC1, requires complex and many changes.
The best is wait the new version.
[SiNaN] do u pretend to upgrade to SMF 2.0 RC1-2?
Quote from: esttecb on July 04, 2009, 12:34:16 AM
Quote from: [SiNaN] on October 26, 2008, 05:43:37 AM
BYUFanatic:
Can the Display.template.php file here and provide a test account which has the View TopicLog permission?
Cal O'Shaw:
I have checked it again, two issues:
1) If topic is moved, then logs will be reset.
2) When mark read feature is used, logs are removed.
It could be made completely stable by just creating a new table for this and only saving the info in the Display.php. But I don't have time for updating this mod, unfortunately.
http://www.simplemachines.org/community/index.php?topic=269092.0
okay, I fix both issues... I'm testing it with SMF 1.1.9 and all seems to work smoothly...
I'm just testing it on my local machine... if [SiNaN] give me the okay I'll share it.
I am also VERY interested in getting a version of this mod that is compatible with 1.1.x
I have take over this modification. Thanks [SiNaN].
Now it is compatible with SMF 2RC1.2 and some changes. Also, again is available for SMF1.1.X
For details see the changelog.
Hi .LORD. thanks for taking over this mod.
I uninstalled v1.0 and installed v1.2 but now all my logs are gone! I didn't think it would reset the existing topic view logs.
Is there any way to get them back?
Quote from: Blinker on September 04, 2009, 11:18:38 PM
Hi .LORD. thanks for taking over this mod.
I uninstalled v1.0 and installed v1.2 but now all my logs are gone! I didn't think it would reset the existing topic view logs.
Is there any way to get them back?
No, sorry. This isn't possible.
The old style (the first MOD -v.1.0- for SMF 1.1.X) isn't compatible with the new style (which existed from the SMF 2b -MOD v.1.1-).
Also it was inevitable. The old style was flawed at some times.
Sooner or later, should migrate to the new style, so better do it before.
you have did an excellent work .lord.
Most appreciated.
Good Update.
I have issues at line no 555 on modification.english.php
$txt['who_topiclog'] = 'Viewing the topic log of <a href="' . $scripturl . '?action=topiclog;id=%d.0">%s</a>.';
Error :
8: Undefined variable: scripturl
Apply Filter: Only show the errors from this file
File: /home/public_html/forum/Themes/default/languages/Modifications.english.php
Line: 555
Will this be updated for RC2?
... and ... does it work for RC2?
Given that http://custom.simplemachines.org/mods/index.php?mod=1300 doesn't say RC2 on it, it isn't RC2 compatible right now.
As for if/when... that's up to the author.
Quote from: Arantor on November 26, 2009, 09:34:00 AM
Given that http://custom.simplemachines.org/mods/index.php?mod=1300 doesn't say RC2 on it, it isn't RC2 compatible right now.
As for if/when... that's up to the author.
hehe, i was just asking if someone tried to install it into RC2... hehe :)
This mod installs fine in RC2. However after installation there will be a table missing in the datbase (well appear missing... it's actually just named wrong). To fix this in your package just change log_topic_view to {db_prefix}log_topic_view in the create table function. I think recent changes to RC2 now require you to add the prefix or you have disabled the prefix with one of your later options, I can't remember which of that is true.
Quote from: Robbo_ on December 03, 2009, 11:50:27 PM
This mod installs fine in RC2. However after installation there will be a table missing in the datbase (well appear missing... it's actually just named wrong). To fix this in your package just change log_topic_view to {db_prefix}log_topic_view in the create table function. I think recent changes to RC2 now require you to add the prefix or you have disabled the prefix with one of your later options, I can't remember which of that is true.
So do we have to install or not.
Any idea.
Using this mod with ver. 1.1.11 and the default theme. Love it. Thanks to the writer.
Would there be any (relatively?) easy way to mod the mod so that post views by the administrator do not register?
I have welcome posts and privacy posts stickied in all my boards. Plus there is a board readable (but not postable) for anyone that explains who the forum in intended for, why some personal info is asked for and what happens to it (for possible registrants that hesitate to provide that info), the registration process, etc.. I like to check these posts from time to time to see who's reading them; but I just think it looks odd to see the log with a count of 15 or 30 or 40 for the administrator and 1 or 2 for everyone else.
bump. and will re-word my question.
What code would you use (and where would it go) to exclude the administrator from being counted in the topic view log?
Without knowing the code, I'd have to venture that you'd be checking for !$context['user']['is_admin'] (i.e. user is not an admin) before adding to the log.
Sources/TopicLog.php
if (empty($topic) || $user_info['is_guest'])
if (empty($topic) || $user_info['is_guest'] || $user_info['is_admin'])
Thank you, SiNaN. Works like a charm.
Please update for SMF 2.0 RC2
I've this error in SMF 2.0RC
Database Error
Table 'smf2.smf2_log_topic_view' don't exist
File: ***\smf2\Sources\TopicViewLog.php
Line: 234
Can you help with this?
bump
I love this mod but really am only interested in who has read a topic and the last time they did. I really don't care about how many times one individual has read a topic. Would there be any way to eliminate the mod from keeping count of how many times a user read a topic?
Please make this mod compatible for 2.0 RC 3. Plz, pretty plz ;D
I would also like this to be compatible with RC3.
I implemented it more or less manually and it works in RC3.
No big deal.
humm... I also did it manually and it caused errors when i went to load any post in my browser.
Care to share the code that you manipulated?
I don't really remember what I did to make it work ;)
TVL was installed on my RC1.2, so all changes to the database had been made before I updated to RC3 and re-implemented TVL.
Did you upload the additional files? Or has the Package Manager?
Quote from: madman71 on April 06, 2010, 12:24:53 PM
it caused errors when i went to load any post in my browser.
Could be helpful if you'd post it :)
i went from 1.1.8 to 2.0 RC3
The forum loads fine, but when i go and try to view a topic, i get this error:
Table 'celebri_ios.smf_log_topic_view' doesn't exist
File: /home/celebri/public_html/forum/Sources/TopicViewLog.php
Line: 234
What additional files are you referring to?
looks like the install script didn't make the database changes.
if you know what you're doing you can try to enhance the database directly.
if not, you can try to re-run the install script, regardless of the warnings the package manager gives you, if you stopped him last time and coded the whole thing manually, the database part of installation is missing.
I'm no expert in this, just guessing. Backup first before trying. Or wait until someone comes up with a better idea ::)
Pretty sure I already told everyone why it doesn't make the database changes. I might package a fix oneday but this isn't my mod...
Any update for 2.0 RC3? O:)
please update to rc3
del
Brilliant! works great on 2.0 RC3
tanks, BUGO
Quote from: Bugo on May 18, 2010, 01:59:05 AM
Try this package. Tested on SMF 1.1.11, 2.0 RC2 and RC3.
Awesome! Many thanks!
Okay, I have a topic log 1.0, but I'm not sure if it's this one or not. Someone installed it a couple years ago.
I am getting this error, and for the life of me can't find where in all my code to fix it
// Topic Log Mod $txt['lt_title'] = 'Topic Log'; $txt['lt_times'] = 'Times'; $txt['lt_lastView'] = 'Last View'; $txt['tl_no_topic_id'] = 'Topic ID is not set.'; $txt['tl_no_topic'] = 'Topic doesn\'t exist.'; $txt['who_log'] = 'Viewing the topic log of %s.'; $txt['cannot_view_topic_log_own'] = 'You are not, on this board, allowed to view the topic log of your own posts.'; $txt['cannot_view_topic_log_any'] = 'Viewing just any topic log in this board is not allowed.'; $txt['permissionname_view_topic_log'] = 'View Topic Log'; $txt['permissionhelp_view_topic_log'] = 'This permission allows a user to view the topic view log.'; $txt['permissionname_view_topic_log_own'] = 'Own topic'; $txt['permissionname_view_topic_log_any'] = 'Any topic'; // Topic Log Mod
Any help would be appreciated
Edited: Well, I figured out what the problem was. Sorry for not reading before I posted. Nothing I searched for was coming up.
However I installed v1.0 and modified the dbquery, so now it's kind of all messed up and I'm not sure how to fix it. I will look at it more sometime soon and come back with any other questions.
For those with the same problem as above: Check your Modifications.english and the english-utf8 files.
Can someone please update this nice mod to work on SMF 2.0 RC4?
Thanks.
look a few posts up... it works just fine on RC4
Hi All--
When I check off "View Own Topic," the Topic Log button doesn't show up.
When I check off "Anyone Can View Topic," the Topic Log button is there for the clicking.
I'm running 1.1.12 with an arm long list of mods.
I manually installed this, so I MAY have missed a comma or a semi-colon or something.
Any ideas?
Thanks.
How can I allow Global Moderators and Moderators to view the topic log? When I enable the permission for it for both, nothing happens for the Moderators at all. GMs can see the link, but when they click on it it says:
An Error Has Occurred!
You cannot view the topic view log of topics.
Any help on this?
Sorry to bump, but I could really use help on this
Hi all--
I just moved and now get:
Method Not Implemented
GET to /index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
error page with each topic log. Any ideas?
please update to 2.0Gold
Quote from: Markco on June 23, 2011, 05:20:29 PM
please update to 2.0Gold
yes please
it´s an important mod
Yes, it is. But the modifier hasn't logged in for 6 months...
last version 2.0: http://www.simplemachines.org/community/index.php?topic=438656.msg3087119#msg3087119
Quote from: Am' on July 11, 2011, 02:42:19 PM
last version 2.0: http://www.simplemachines.org/community/index.php?topic=438656.msg3087119#msg3087119
Bravo Am'!
I just installed this on my 2.0 Gold.
THANK YOU!
I just installed it and found a few things, other than this, the mod is working great and it's a really cool feature. I'm running 2.0 by the way.
The database setup didn't include the {db_prefix} so it installed the table without smf_ in front of it. BUT .... I was installing it using a SimplePortal php page, and not manually through the database. Easy fix.
The part that modifies the ./Sources/MessageIndex.php file, it can't even find that variable, and I don't know if it's cause I have another mod installed or not. Anyways, just find the part of that file that defines the following:
$context['topics'][$row['id_topic']] = array(
Then find the 'views' part and put the instructed definition after it.
That's all, just the database and that one file was all I needed and it's working sweet. If you miss that messagindex.php file thing, you will not see how many views a post has when looking at the message index (where it lists all the topics and tells you how many replies/posts each has.
Hope that helps anyone.
Is there one for 2.0.1? This would be very useful to keep tabs on people who are on the warning list.
Quote from: Masrit on September 23, 2011, 05:52:26 PM
Is there one for 2.0.1? This would be very useful to keep tabs on people who are on the warning list.
2.0.1 Updated.
Please report any error and any translation are welcome
THanks!
How come this doesn't work on some threads for 1.1.15?
And can you can make a option for those who doesn't want to use the preview? Some users on my site doesn't like it, but majority love it. A option to turn it off or back on would be great.
I have a problem with this mod, please help!
I installed it about 8pm yesterday and it all installed fine, I set up the feed, then waited. It was midnight before the feed came through, then it brought 4 older items. I adjusted the numbers to 25 items, which seems to be the maximum, every 10 minutes, changed the settings to "all" and to use fake chronjobs and waited. At 6am this morning it brought through the next batch of feeds, then at 2pm this afternoon, some more arrived. I am still waiting for the 12 most recent items on the feed to filter through. That's the first issue I'm asking for help with.
The second issue is that, on the feeds that have come through, wherever an apostrophe ' appears in the original, it appears on my forum as a ? question mark. This is giving me topic headings such as "Woman?s body found" and "government?s reforms" which just isn't acceptable. How can I fix this? Thanks :)
suggestion: let the log come in a pop up instead of going to a separate page...
Could it be possible that user viewed that topic before this mod was installed?
Quote from: Jessica. on March 07, 2012, 04:48:27 PM
suggestion: let the log come in a pop up instead of going to a separate page...
Excellent mod! Thanks!
Here is Bulgarian translation:
// Topic View Log
$txt['tvl_title'] = 'Лог на темата';
$txt['tvl_times'] = 'Последен преглед';
$txt['tvl_lastView'] = 'Последен преглед';
$txt['permissionname_tvl_view'] = 'Разгледай лога на преглежданията';
$txt['permissionhelp_tvl_view'] = 'Тази опция позволява потребителите да разглеждат лога на темата.';
$txt['permissionname_tvl_view_own'] = 'Собствена тема';
$txt['permissionname_tvl_view_any'] = 'Всяка тема';
$txt['permissionname_simple_tvl_view_own'] = 'Разглеждане лога на собствените теми';
$txt['permissionname_simple_tvl_view_any'] = 'Разглеждане лога на всяка тема';
$txt['tvl_no_topic_id'] = 'Не е зададено ID на тема.';
$txt['tvl_no_topic'] = 'Темата не съществува.';
$txt['who_topiclog'] = 'Разглеждане лога на темата <a href="' . $scripturl . '?action=topiclog;id=%d.0">%s</a>.';
$txt['cannot_tvl_view_own'] = 'Не може да разглеждате лога на вашите теми.';
$txt['cannot_tvl_view_any'] = 'Не може да разглеждате лога на чуждите теми.';
Everything okay on the SMF 2.0.3 front?
Quote from: SugarD-x on December 17, 2012, 01:44:59 PM
Everything okay on the SMF 2.0.3 front?
Yes, you can try...
Doesn`t work on my 2.0.3.
Two errors on the Polish Lang.
I fix it but i have on error.
I can´t view the log.
Click on the view log link bring my to the topic without the log.
OK I can do to locate the error. The mod does not work if the mod is enabled while there PortaMx SEF is enabled.
",topicviewlog" needs to be added at PortaMx SEF
Quote from: Eclipse16V on January 02, 2013, 01:00:34 AM
OK I can do to locate the error. The mod does not work if the mod is enabled while there PortaMx SEF is enabled.
",topicviewlog" needs to be added at PortaMx SEF
Thanks for share the solution.
I have an issue:
For example: a topic-log from a thread is 3 pages long - but i can see always only page numer 1.
When i click on page number 2 or 3, it is loading page number 1.
In all topic-logs from my forum i can see only the first page. nothing more...
SMF 2.0.4 - no errors in my error-log.
Have somebody an idea?
More Infos....
Looks like that PrettyUrl Mod causes the error.
When i completly disable the PrettyUrl-Mod (including i have the Actions-rewriting disabled before !!!) the topicviewlog-mod is function.
When i add "topicviewlog" to the skip action list - nothing happends...
Quote from: Draffi on July 20, 2013, 08:52:21 AM
More Infos....
Looks like that PrettyUrl Mod causes the error.
When i completly disable the PrettyUrl-Mod (including i have the Actions-rewriting disabled before !!!) the topicviewlog-mod is function.
When i add "topicviewlog" to the skip action list - nothing happends...
Sorry I can't help you, I don't know how works pretty urls mods maybe you can post your issue in prettyurls support topic
OMG...
Fine, thank you.
(i`m sure, the mod-author from PrettyURL said the same...)