News:

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

Main Menu

Thank You Mod (V1.2.3)

Started by ディン1031, January 11, 2006, 12:29:00 PM

Previous topic - Next topic

Turk Navy

Upss, sorry.. Thank you..

-TMG-

Quote from: -TMG- on March 03, 2007, 05:36:02 PM
maybe im blind.. but after reading 13 pages im confused

in default rtemplate everything works fine even in german... but im way to dumb to make the changes in display.template.php at my helios theme because the codes that arrange the buttons differ way to much... has anybody any hint how to solve it?

no hint???
smf 1.1.11

dheeraj


Shonick

#203
I have problem like the picture
could any one help me please?

jennifer dent

First this is a WONDERFUL MOD!!!

I have a couple of questions if I may:

1) Can I change the word "Thank You" to "Amen"
2) Is this an option for individual post or for topics only?
3) Is this mod compatible with the tinyportal mod?

Thank you in advance for this wonderful mod :)
Checkout the new set of bible study tools www.NeXtBible.org [nofollow] all free!! 8)

Bigguy

1.) You should be able to change it in the modifications.english.php file
2.) I do believe topics only
3.) Yes there should be no problem with TP. :)

jennifer dent

Thanks for the response Bigguy!  If it is only for topics and not individual posts I may have to wait. I would love to be able to have something that would permit users to give a "thumbs up" or a hearty "amen" to individual posts 8)

Thanks again for the quick response!  I appreciate it!!
Checkout the new set of bible study tools www.NeXtBible.org [nofollow] all free!! 8)

Shonick

I remember the old version is used for individual post.Why this new version only use for the topic.

ディン1031

#208
Quote from: viet on March 21, 2007, 10:56:14 PM
I remember the old version is used for individual post.Why this new version only use for the topic.
No there where never a version for posts ;). It's not possible with this mod. There was a time where you could use the button on each post was because of a error by my site << but it was a topic realated Thank You Mod.

If you like to try the beta version of the VBulltin in Thank You to posts try this one

The Beta3 is quite stable, but need some beta testing =).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Mrs_Robota

Quote from: Turk Navy on March 14, 2007, 01:48:17 PM
Quote from: DIN1031 on March 13, 2007, 02:02:43 AM
Quote from: gffb on March 12, 2007, 07:16:00 PM
I have installed this mod on smf 1.1.2 and T.P. 0.97 says installed fine but I see no thank you botton on the posts, is there anything that I am missing or need to setup?
Did you enable it in the boards?
Also set Premissions for it?

Bye
DIN1031

Yes, i have same problem.

My permissions:


So, what i must do?

Please I have same problem I installed the mod in my forum SMF 1.1.2 but I don't know where I have to go for made it work, where are the permissions?? I don't find the settings for activate it, I don't see the buttons, please guide me, I never ever install a mod in a forum, I wait their help!!

ディン1031

Did you not read the posts after it? ;)

I think you forgot to enable it in the boards...

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

leomai

i got an error everything installed fine.. but JUST that one.. anything i can do to fix it??

13. Execute Modification ./Sources/ManageBoards.php Test failed


kill4h

Hallo.

Erstmal Respekt für den Mod!  ;)

Leider schaffe ich es nicht den Mod in das von mir verwendete Template einzubauen.
Die Installation war fehlerfrei und im Standard-Template funktioniert es. Das Problem liegt soweit ich das erkennen kann in der Display.template.php, hier wird ein eigenes Menu verwendet. Lediglich scheitere ich dort am Einbau der einzelnen Buttons.  ::)

Wäre nett wenn mir einer sagen kann mit welchem Befehl ich die einbauen muss. Danke!

function theme_show_normal_buttons() {
  global $context, $settings, $options, $txt, $scripturl, $modSettings;

  $buttonArray = array();
if ($context['can_reply'])
$buttonArray[] = '<a href="' . $scripturl . '?action=post;topic=' . $context['current_topic'] . '.' . $context['start'] . ';num_replies=' . $context['num_replies'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/reply.gif" alt="' . $txt[146] . '" border="0" />' : $txt[146]) . '</a>';
if ($context['can_mark_notify'])
$buttonArray[] = '<a href="' . $scripturl . '?action=notify;sa=' . ($context['is_marked_notify'] ? 'off' : 'on') . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '" onclick="return confirm(\'' . ($context['is_marked_notify'] ? $txt['notification_disable_topic'] : $txt['notification_enable_topic']) . '\');">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/notify.gif" alt="' . $txt[131] . '" border="0" />' : $txt[131]) . '</a>';

// This is a special case; if they can see mark unread, put it at the top... otherwise show add poll.
if ($context['user']['is_logged'] && $settings['show_mark_read'])
$buttonArray[] = '<a href="' . $scripturl . '?action=markasread;sa=topic;t=' . $context['mark_unread_time'] . ';topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/markunread.gif" alt="' . $txt['mark_unread'] . '" border="0" />' : $txt['mark_unread']) . '</a>';
elseif ($context['can_add_poll'])
$buttonArray[] = '<a href="' . $scripturl . '?action=editpoll;add;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/addpoll.gif" alt="' . $txt['add_poll'] . '" border="0" />' : $txt['add_poll']) . '</a>';

if ($context['can_send_topic'])
$buttonArray[] = '<a href="' . $scripturl . '?action=sendtopic;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/sendtopic.gif" alt="' . $txt[707] . '" border="0" />' : $txt[707]) . '</a>';
$buttonArray[] = '<a href="' . $scripturl . '?action=printpage;topic=' . $context['current_topic'] . '.0" target="_blank">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/print.gif" alt="' . $txt[465] . '" border="0" />' : $txt[465]) . '</a>';

echo implode("", $buttonArray);
}


function theme_show_mod_buttons()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;

$moderationButtons = array();

if ($context['can_move'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=movetopic;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_move.gif" alt="' . $txt[132] . '" border="0" />' : $txt[132]) . '</a>';
if ($context['can_delete'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=removetopic2;topic=' . $context['current_topic'] . '.0;sesc=' . $context['session_id'] . '" onclick="return confirm(\'' . $txt[162] . '\');">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_rem.gif" alt="' . $txt[63] . '" border="0" />' : $txt[63]) . '</a>';
if ($context['can_lock'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=lock;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_lock.gif" alt="' . (empty($context['is_locked']) ? $txt['smf279'] : $txt['smf280']) . '" border="0" />' : (empty($context['is_locked']) ? $txt['smf279'] : $txt['smf280'])) . '</a>';
if ($context['can_sticky'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=sticky;topic=' . $context['current_topic'] . '.' . $context['start'] . ';sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_sticky.gif" alt="' . (empty($context['is_sticky']) ? $txt['smf277'] : $txt['smf278']) . '" border="0" />' : (empty($context['is_sticky']) ? $txt['smf277'] : $txt['smf278'])) . '</a>';
if ($context['can_merge'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=mergetopics;board=' . $context['current_board'] . '.0;from=' . $context['current_topic'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/merge.gif" alt="' . $txt['smf252'] . '" border="0" />' : $txt['smf252']) . '</a>';
if ($context['can_remove_poll'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=removepoll;topic=' . $context['current_topic'] . '.' . $context['start'] . '" onclick="return confirm(\'' . $txt['poll_remove_warn'] . '\');">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/admin_remove_poll.gif" alt="' . $txt['poll_remove'] . '" border="0" />' : $txt['poll_remove']) . '</a>';

if ($context['calendar_post'])
$moderationButtons[] = '<a href="' . $scripturl . '?action=post;calendar;msg=' . $context['topic_first_message'] . ';topic=' . $context['current_topic'] . '.0;sesc=' . $context['session_id'] . '">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/linktocal.gif" alt="' . $txt['calendar37'] . '" border="0" />' : $txt['calendar37']) . '</a>';

if ($context['can_remove_post'] && !empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1)
$moderationButtons[] = $settings['use_image_buttons'] ? '<input type="image" name="submit" id="quickmodSubmit" src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/delete_selected.gif" alt="' . $txt['quickmod_delete_selected'] . '" />' : '<a href="javascript:document.forms.quickModForm.submit();" id="quickmodSubmit">' . $txt['quickmod_delete_selected'] . '</a>';

return implode("", $moderationButtons);
}

?>

edwardsiow

this mod same with Thank-O-Matic (Beta)??

ディン1031

#214
Nope has nothing to do with the other mod!

@kill4h
I don't know if it work but i think this are the arrays for the Thank You Mod:

//Normal Button Array ;)
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you']['premission']['post'])
$buttonArray[] = '<a href="' . $scripturl . '?action=thankyoupost;topic=' . $context['current_topic'] . '0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/thank_you.gif" alt="' . $txt['d_thank_you'] . '" border="0" />' : $txt['d_thank_you']) . '</a>';
elseif ($context['thank_you']['premission']['add'])
$buttonArray[] = '<a href="' . $scripturl . '?action=thankyouadd;topic=' . $context['current_topic'] . '0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/thank_you_add.gif" alt="' . $txt['d_thank_you_add'] . '" border="0" />' : $txt['d_thank_you_add']) . '</a>';
}


This is the code for the modarray ;)


//Thank You Mod Buttons ;)
if (isset($context['thank_you']['premission'])) {
if ($context['thank_you_lock'])
$buttonArray[] = '<a href="' . $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/thank_you_lock'.$context['ThankYouLockStatus'].'.gif'" alt="' . $txt['thank_you_lock'.$context['ThankYouLockStatus']] . '" border="0" />' : $txt['thank_you_lock'.$context['ThankYouLockStatus']]) . '</a>';
if ($context['thank_you_delete'])
$buttonArray[] = '<a href="' . $scripturl . '?action=thankyoulock;topic=' . $context['current_topic'] . '.0">' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/' . $context['templatestyle'] . '/thank_you_lock'.$context['ThankYouLockStatus'].'.gif'" alt="' . $txt['thank_you_lock'.$context['ThankYouLockStatus']] . '" border="0" />' : $txt['thank_you_lock'.$context['ThankYouLockStatus']]) . '</a>';
}


Use on own risk ;) it's untest because i can't test it ;D.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

torquone

DIN1031 Thank you very much for your great Mod. ;)

Is it possible to have an Italian Language pack ?

Thank you in advance. :D

Bye
Torquone
My site : http://www.quattrochiacchiere.net [nofollow]

ディン1031

#216
Quote from: torquone on April 16, 2007, 11:26:54 AM
DIN1031 Thank you very much for your great Mod. ;)

Is it possible to have an Italian Language pack ?

Thank you in advance. :D

Bye
Torquone
I can speak only german and english so if not someone else made it *g*, no chance.

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

jellybelly

Hi where do i find the setting for this so that i can set up the thanks mod

QuoteDid you enable it in the boards?
Also set Premissions for it?

thanks

ディン1031

Admin -> Boards -> "Some Borad" -> Modifiy

The other Admin -> Permissions -> "Some Group"

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

p-chan

Hi..i can't get the mod to work properly so I decided to delete it. However, even after deleting it, the Thank you Mod permissions as follows is still found in the Features and Options catagory in the Admin panel. Any Idea how I can delete it manually? =) Thanks.

Last Thank You on first position (normal at last position)   
Show Colored Member Links   
Show a counter in front of every user who said Thanks.   

--------------------------------------------------------------------------------

No member preview list, only link to the thank you list   
Add link each time on the end of the list   
How many user in the Thank You member preview list
(0 = all)   

--------------------------------------------------------------------------------

Show hidden content
(require Hide Mod Special)   
Unhide the post of "Hide Post" Mod by Leaf
(Only if set "replay" to unhide)
(require Hide Post)
PLEASE USE ONLY ONE OF THE MODS NOT BOTH AT SAME TIME STRANGE THINGS COULD BE HAPPEN! 

Advertisement: