Topic View Log

Started by vbgamer45, July 25, 2008, 02:30:24 PM

Previous topic - Next topic

squad



Now installed and working perfectly, thank you for all your help.

I will be making good use of this mod :) it's wonderful :)

[SiNaN]

You're welcome, glad that you could get it working. ;)

Feel free to ask here if you will have any problems about the mod.
Former SMF Core Developer | My Mods | SimplePortal

chriscodes

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


bros

That's Modifications.english.php, I believe.

JimM

Great mod [SiNaN].  Installed perfectly and works with all 3 themes that I have installed.
Jim "JimM" Moore
Former Support Specialist

chriscodes


bros

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

chriscodes

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?

Adish - (F.L.A.M.E.R)

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.

bronxe

Which mod is this forum using to display topics on the index page of his forum. www.nairaland.com [nofollow] . The jpeg image is attached.

[SiNaN]

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 mod.
Former SMF Core Developer | My Mods | SimplePortal

willow1201

#91
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.

JimM

In your
./Themes/default/languages/Modifications.english.php
Find this
?>

Move it so that it is the last line in the file.
Jim "JimM" Moore
Former Support Specialist

willow1201

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.

BYUFanatic

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

Sudhakar Arjunan

Hi siNan,

When we will have compactable topic log mod for 2.0.4.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Septimus

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 :).

[SiNaN]

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
Former SMF Core Developer | My Mods | SimplePortal

Sudhakar Arjunan

Ok SiNaN, thanks for the information.

I have missed all your modification on smf 2.0.4.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

BYUFanatic

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

Advertisement: