Thanks for posts

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
User avatar
PowWowPalace
Registered User
Posts: 58
Joined: Thu Jul 09, 2009 3:28 pm
Contact:

Re: Thanks for posts

Post by PowWowPalace »

I installed this mod on phpBB 3.0.5 and everything works fine. Great Mod!
User avatar
Палыч
Registered User
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: Thanks for posts

Post by Палыч »

asmalik12 wrote:Parse error: syntax error
Check the editing includes/functions.php
Perhaps you forgot ";" after

Code: Select all

$user-> add_lang ('mods / thanks_mod');
DoYouSpeakWak wrote:A feature request for the next version.
Working on this.

simpledollarz
thinkfast
All styles for phpbb3 based on prosilver or subsilver2, so you need to choose the appropriate instructions in the archives of MOD use it by changing the rules when necessary to html
Sorry for my bad english
PERVEZ
Registered User
Posts: 105
Joined: Wed Sep 17, 2008 4:07 pm
Contact:

Re: Thanks for posts

Post by PERVEZ »

jwhitakr 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:

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?',
Cheers!
EdITED
Last edited by PERVEZ on Wed Jul 29, 2009 10:31 pm, edited 1 time in total.
User avatar
DoYouSpeakWak
Registered User
Posts: 2311
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Contact:

Re: Thanks for posts

Post by DoYouSpeakWak »

This file has nothing at all to do with that. You must have deleted or moved something else.

upload the backup and restore it. If you didnt take a backup, well i guess you will do next time right.
Whatever you share comes back. Support the phpBB Communities
Offering paid services. 15+ years of experience with phpBB3 and server management.
sixtiesrule
Registered User
Posts: 48
Joined: Fri Jan 02, 2009 10:18 pm
Location: Australia
Contact:

Re: Thanks for posts

Post by sixtiesrule »

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?
Fun & Friendly forum www.thenorteecorner.com/forums
drhime
Registered User
Posts: 27
Joined: Wed Jul 30, 2008 5:00 am

Re: Thanks for posts

Post by drhime »

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?
The procedure must be followed accurately! It works like a charm. Already running in my live forum.

@Палыч
Any features list which we can expect of the next release?

Thanks :)
indijanac
Registered User
Posts: 105
Joined: Wed Jan 14, 2009 1:10 am

Re: Thanks for posts

Post by indijanac »

Hi, i installed MOD and everythink works great. I just have one question. I have redesigned the look of this mod so i need one think to finish it like i wanted it.

I've got that this code is for thanks or remove thanks button:

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 -->
So, can u tell me how to split this code to thanks and remove thanks, because i want to place Thanks button near EDIT button, and remove thanks to other location. I figured it out but when i click Tahnks button near edit then there is remove thanks, i want to splih this code too two buttons so when i click thanks that this button will disapire and remove thanks will appeare on other location. Thanks
sixtiesrule
Registered User
Posts: 48
Joined: Fri Jan 02, 2009 10:18 pm
Location: Australia
Contact:

Re: Thanks for posts

Post by sixtiesrule »

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?

:oops: Disregard this question, sorry...other users can give thanks to a post someone else has already thanked.
Fun & Friendly forum www.thenorteecorner.com/forums
PERVEZ
Registered User
Posts: 105
Joined: Wed Sep 17, 2008 4:07 pm
Contact:

Re: Thanks for posts

Post by PERVEZ »

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.
User avatar
DoYouSpeakWak
Registered User
Posts: 2311
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak
Contact:

Re: Thanks for posts

Post by DoYouSpeakWak »

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.
This will do it.

http://www.phpbb.com/community/viewtopi ... #p10333035
Whatever you share comes back. Support the phpBB Communities
Offering paid services. 15+ years of experience with phpBB3 and server management.
autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: Thanks for posts

Post by autinhyeu »

Hi, if you use SEO Ultimate at phpbb-seo.com, try this in viewtopic.php ;)
find:

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'] );
Before add:

Code: Select all

// Thanks mod
$to_id = request_var('to_id', 0);
$thanks = request_var('thanks', 0);
$rthanks = request_var('rthanks', 0);
find:

Code: Select all

$phpbb_seo->seo_chk_dupe();
Replace with:

Code: Select all

if (!$to_id && !$thanks && !$rthanks) {
     $phpbb_seo->seo_chk_dupe();
}
Done :D

I hope it's helpful ;)

Best regards!!!
Autinhyeu
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible
PERVEZ
Registered User
Posts: 105
Joined: Wed Sep 17, 2008 4:07 pm
Contact:

Re: Thanks for posts

Post by PERVEZ »

DoYouSpeakWak wrote:
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.
This will do it.

http://www.phpbb.com/community/viewtopi ... #p10333035
Image

Hi thanks but there is a little problem. I follow your modified instruction for this mod. But my :thank the author" button dont show in right place showed in your provided picture. May be its because i use prosilver_se style and use left side profile field.

Image

After follow the modified instruction the thank button shows in this place. I want to show it as shown in your provided picture. Thank button beside the quote button. I use prosilver_se and profile for left. How to do that? Please help.
User avatar
Палыч
Registered User
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: Thanks for posts

Post by Палыч »

drhime wrote:@Палыч
Any features list which we can expect of the next release?
Thanks :)
  • Change the terms of inserting a thanks to avoid messages about sql-error when user double-click on button.
  • Optimized function refresh().
  • Fixed translation of linguistic variables.
  • Added option on/off display counters thanks.
  • Added option on/off display info pages.
  • Added option clear the list of thanks.
  • Added option thanks only to the first message to the topic.
  • Fix minor bag in viewtopic.php.
  • Change image buttons style prosilver.
thankposts.gif
thankposts.gif (1.2 KiB) Viewed 1127 times
removethanks.gif
removethanks.gif (1.2 KiB) Viewed 1127 times
Sorry for my bad english
User avatar
Палыч
Registered User
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: Thanks for posts

Post by Палыч »

PERVEZ wrote:Thank button beside the quote button. I use prosilver_se and profile for left. How to do that? Please help.
Try it out yourself. It is not difficult, it just html
In reality, it is impossible to deal with all the styles are too many of them. :(
Sorry for my bad english
indijanac
Registered User
Posts: 105
Joined: Wed Jan 14, 2009 1:10 am

Re: Thanks for posts

Post by indijanac »

What about my question?
Locked

Return to “[3.0.x] MOD Database Releases”