Check the editing includes/functions.phpasmalik12 wrote:Parse error: syntax error
Code: Select all
$user-> add_lang ('mods / thanks_mod');
Working on this.DoYouSpeakWak wrote:A feature request for the next version.
EdITEDjwhitakr wrote:Just got this mod installed. Very nice mod, thank you!
For anyone else who wants corrected English, here are the text changes that I made to the thanks_mod.php file:
Cheers!Code: Select all
'REMOVE_THANKS' => 'To remove the Thank You that you have given to another user. ', 'THANK_POST' => 'To give a Thank You to the author of the post: ', 'THANK_FROM' => 'from', 'THANK_TEXT_1' => 'The following people have thanked the author ', 'THANK_TEXT_2' => ' for this post', 'THANK_TEXT_2pl' => ' - %d', 'RECEIVED' => 'Thanked', 'THANKS' => 'times', 'GIVEN' => 'Thanks given', 'GRATITUDES' => 'Thanks', 'FOR_MESSAGE' => ' for post', 'THANKS_LIST' => 'View/Close list', 'THANKS_PM_SUBJECT_GIVE' => 'Thanks for the post', 'THANKS_PM_SUBJECT_REMOVE' => 'Remove thanks', 'THANKS_PM_MES_GIVE' => 'Thanks for the post', 'THANKS_PM_MES_REMOVE' => 'Remove thanks', 'THANKS_INFO_GIVE' => 'You have just given a Thank You for this post.', 'THANKS_INFO_REMOVE' => 'You have just removed your Thank You.', 'RETURN_POST' => 'Return', 'THANKS_USER' => 'List of thanks', 'THANKS_BACK' => 'Return', 'JUMP_TO_FORUM' => 'Jump to forum', 'JUMP_TO_TOPIC' => 'Jump to topic', 'INCORRECT_THANKS' => 'Invalid thanks', 'REMOVE_THANKS_CONFIRM' => 'Are you sure you want to remove your thanks?',
The procedure must be followed accurately! It works like a charm. Already running in my live forum.sixtiesrule wrote:The same thing happened to me...just a blank page when I tried to go to my forum, so I re-uploaded the original thanks_mod.php file, & all was well again.
I have a feeling it might have had something to do with this line:
'THANK_TEXT_2pl' => ' - %d',
but I don't really know.
I have one question though,
on my forum, once someone has given thanks for a particular post, then nobody else can give thanks for that same post.
The icon for thanking the poster doesn't even appear.
Is there some setting that determines how many times the one post can be given thanks?
Code: Select all
<!-- IF postrow.S_FORUM_THANKS and S_USER_LOGGED_IN and not postrow.S_IS_OWN_POST and (not postrow.S_ALREADY_THANKED or postrow.S_REMOVE_THANKS) -->
<a href="{postrow.THANKS_LINK}" alt="{postrow.THANK_ALT}{postrow.POST_AUTHOR}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}">{postrow.THANK_IMG}</a>
<!-- ENDIF -->
sixtiesrule wrote:The same thing happened to me...just a blank page when I tried to go to my forum, so I re-uploaded the original thanks_mod.php file, & all was well again.
I have a feeling it might have had something to do with this line:
'THANK_TEXT_2pl' => ' - %d',
but I don't really know.
I have one question though,
on my forum, once someone has given thanks for a particular post, then nobody else can give thanks for that same post.
The icon for thanking the poster doesn't even appear.
Is there some setting that determines how many times the one post can be given thanks?
This will do it.PERVEZ wrote:Is there any option so that guest users can see who thanks for the post? Now my forum guest can;t see who thank for the post.
Code: Select all
// www.phpBB-SEO.com SEO TOOLKIT BEGIN -> Zero dupe
$phpbb_seo->seo_opt['zero_dupe']['start'] = $phpbb_seo->seo_chk_start( $start, $config['posts_per_page'] );
Code: Select all
// Thanks mod
$to_id = request_var('to_id', 0);
$thanks = request_var('thanks', 0);
$rthanks = request_var('rthanks', 0);
Code: Select all
$phpbb_seo->seo_chk_dupe();
Code: Select all
if (!$to_id && !$thanks && !$rthanks) {
$phpbb_seo->seo_chk_dupe();
}
DoYouSpeakWak wrote:This will do it.PERVEZ wrote:Is there any option so that guest users can see who thanks for the post? Now my forum guest can;t see who thank for the post.
http://www.phpbb.com/community/viewtopi ... #p10333035
drhime wrote:@Палыч
Any features list which we can expect of the next release?
Thanks
Try it out yourself. It is not difficult, it just htmlPERVEZ wrote:Thank button beside the quote button. I use prosilver_se and profile for left. How to do that? Please help.