News:

Wondering if this will always be free?  See why free is better.

Main Menu

Rate That Topic

Started by slinouille, August 20, 2008, 02:57:44 PM

Previous topic - Next topic

[SiNaN]

I meant, can you show me codes to figure that out?

If it doesn't have Display.template.php, it should be working.
Former SMF Core Developer | My Mods | SimplePortal

nwobhm

Quote from: [SiNaN] on August 25, 2008, 12:01:42 PM
I meant, can you show me codes to figure that out?

If it doesn't have Display.template.php, it should be working.
Problem solved. Manual installation worked and the code which I couldn't  replace, I just ignored tose parts. Mod worked fine after all :D

[SiNaN]

Okay, glad you get it working. :)
Former SMF Core Developer | My Mods | SimplePortal


TechPrince


[SiNaN]

NIBOGO:

Thanks.

TechPrince:

Your MessageIndex.template.php file is attached. But I need Display.template.php not BoardIndex.template.php.
Former SMF Core Developer | My Mods | SimplePortal

tk2012

Yeah, this would be great for v2.0 b3.1

I've been waiting for a mod that would rate only the starting topic post instead of every reply like the thumbs up mod.  I like this way much much more!  Great job.  Just makes me wish I wasn't going live to v2.0 b3.1 in two weeks!  :(

TechPrince

OOPS, here is the file :

MaXiForum.cz

I have a problem:

I can´t speak english very well.
Has the problem solved someone?
THX

locau

Quote from: MaxiPes on August 28, 2008, 12:12:31 PM
I have a problem:

I can´t speak english very well.
Has the problem solved someone?
THX

Check first post pls

locau

#70
hello there [SiNaN]

I'm using "overview" theme and it doesn't have any Display.template.php included so it's supost to use the default.

I've installed with sucess this mod and it works with default template but not with mine, what can causing this?

I've checked manual install and i don't see any code to insert on my theme files, what i'm missing here pls ?


-----

Nevermind i got this working by itself, didn't do any change... no clue :(

MaXiForum.cz

Sorry, I am lama :D
I will try...

digger

Can you make option for don't show stars on Message Index where message rating is empty.

Nibogo

#73
Quote from: digger on August 28, 2008, 09:03:28 PM
Can you make option for don't show stars on Message Index where message rating is empty.

Easy Way:

You can delete or change your "tr0.png" in your images dir

PHP Way:

Search in MessageIndex.template:

FIND:
Quoteif(!empty($context['show_rate']) && !$topic['is_locked'] && !empty($modSettings['rate_showMessageIndex']) && ($modSettings['rate_showMessageIndex'] == 2 || ($modSettings['rate_showMessageIndex'] == 1 && !$topic['is_sticky'])))
REPLACE:
Quoteif(!empty($context['show_rate']) && !$topic['is_locked'] && !empty($modSettings['rate_showMessageIndex']) && ($modSettings['rate_showMessageIndex'] == 2 || ($modSettings['rate_showMessageIndex'] == 1 && !$topic['is_sticky'])) && (!($topic['rating_average'] == 0)))

MaXiForum.cz

Nice work, thanks [SiNaN]   ;D

CZ translation Modifications.czech-utf8.php THERE

[SiNaN]

TechPrince:

Sorry for delay. What is the theme you are using? Can you provide a link?

MaxiPes:

Thanks MaxiPes. I'll add it ASAP.
Former SMF Core Developer | My Mods | SimplePortal

jeri

I installed this mod and got an error at the top of the forum. I have uninstalled and deleted the mod but its still there. This is what it says:

// Topic Rating Mod $txt['rate_adminTitle'] = 'Topic Rating Admin'; $txt['rate_adminHelp'] = 'This panel gives you possibilty to change the Topic Rating settings.'; $txt['rate_adminDesc'] = 'Topic Rating control panel.'; $txt['rate_defaultTitle'] = 'Default Settings'; $txt['rate_defaultDesc'] = 'Panel which allows you to change default settings for the mod.'; $txt['rate_boardsTitle'] = 'Board Settings'; $txt['rate_boardsDesc'] = 'Panel which allows you to change board specific settings for the mod.'; $txt['rate_enabled'] = 'Enable Topic Rating?'; $txt['rate_againType'] = 'Rate again type:'; $txt['rate_againTypeOp'] = 'Disable|Change Rating|Rate Again'; $txt['rate_againWait'] = 'Rate again wait time:'; $txt['rate_showMessageIndex'] = 'Topic Ratings on Message Index?'; $txt['rate_showMessageIndexOp'] = 'Disable|Exclude Sticky|Enable'; $txt['rate_excludedGroups'] = 'Excluded Groups:'; $txt['rate_reset'] = 'Reset Topic Ratings'; $txt['rate_resetConfirm'] = 'Are you sure to reset topic ratings?'; $txt['rate_resetSuccess'] = 'All topic ratings are reset.'; $txt['rate_resetFail'] = 'An Error Occured: Topic Rating could not be reset.'; $txt['rate_boardsName'] = 'Name'; $txt['rate_boardsModify'] = 'Modify'; $txt['rate_typeDefault'] = 'Default'; $txt['rate_typeLocal'] = 'Local'; $txt['rate_qtDisable'] = 'Disable'; $txt['rate_qtEnable'] = 'Enable'; $txt['rate_qtDefault'] = 'Set Default'; $txt['rate_qtLocal'] = 'Set Local'; $txt['rate_qtGo'] = 'Go!'; $txt['rate_qtConfirm'] = 'Are you sure?'; $txt['rate_undefined_type'] = 'Undefined type input.'; $txt['rate_undefined_id'] = 'Undefined ID input.'; $txt['rate_undefined_board'] = 'Undefined board input.'; $txt['rate_missing_info'] = 'There are missing info need to be passed.'; $txt['rate_not_allowed'] = 'You are not allowed to rate.'; $txt['rate_not_in_range'] = 'Your rating is not in range.'; $txt['rate_average'] = 'Average Rating'; $txt['rate_topicNew'] = 'Rate Topic:'; $txt['rate_topicAgain'] = 'Change your rate:'; $txt['rate_topicGo'] = 'Go!'; $txt['rate_logTitle'] = 'Rating Log'; $txt['rate_logRate'] = 'Rating'; $txt['rate_logTime'] = 'Time'; // Topic Rating Mod

My forum is www.megansmadams.com/forum


[SiNaN]

Open

../Themes/default/languages/Modifications.english.php

Find and Cut:

?>

Paste at the very end of the file.
Former SMF Core Developer | My Mods | SimplePortal

TechPrince


Rifugio

I've got to say SiNaN that this is a wonderful and very well thought out Mod - I've changed your stars slightly on my site by making the non rated stars black and white for further contrast which looks neat in the default scheme.

Quick question if I may - currently the system does not allow users to rate locked topics is there a way round this, because it would be very nice if my members could rate these topics as well?

Fantastic work!

Advertisement: