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.
drhime
Registered User
Posts: 27
Joined: Wed Jul 30, 2008 5:00 am

Re: Thanks for posts

Post by drhime » Wed Jul 15, 2009 7:48 pm

Палыч wrote:
drhime wrote:Thank you very much.....could you please fix the following so that I can launch it in the live forum please...check the line in the top.

& This....it should be "Thank the author" :oops:
You are right, the effects of haste. But you can easily fix this with an editor, for example, photoshop ;)
drhime wrote:& How to disable meta redirection? I mean after I thank someone or, remove thanks(select yes or no) I don't need that success message if possible.
You can delete or commented out the function call meta_refresh in the file includes / functions_thanks.php (three times)
The spelling isn't the issue, I can do that myself, but I need to fix that effect problem! Can you site some help about that please?! I guess the image size has something to do with it & I can't figure out what the size should be :oops:

EDIT: if I comment out those then the page doesn't go back where it should! I just wanted to make that success page vanish.

User avatar
Палыч
Translator
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: Thanks for posts

Post by Палыч » Wed Jul 15, 2009 8:16 pm

drhime wrote:The spelling isn't the issue, I can do that myself, but I need to fix that effect problem! Can you site some help about that please?! I guess the image size has something to do with it & I can't figure out what the size should be :oops:
OK, but at a later date. Now I do not have the necessary programs.
drhime wrote:EDIT: if I comment out those then the page doesn't go back where it should! I just wanted to make that success page vanish.

Code: Select all

== OPEN ==
includes/functions_thanks.php
== FIND ==
            meta_refresh (1, append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&p=$post_id#p$post_id"));
            trigger_error($user->lang['THANKS_INFO_'.$lang_act] . '<br /><br /><a href="'.append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&p=$post_id#p$post_id").'">'.$user->lang['RETURN_POST'].'</a>');
== REPLACE ==
            redirect (append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&p=$post_id#p$post_id"));
== FIND ==
                    meta_refresh (1, append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&p=$post_id#p$post_id"));
                    trigger_error($user->lang['THANKS_INFO_'.$lang_act].'<br /><br /><a href="'.append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&p=$post_id#p$post_id").'">'.$user->lang['RETURN_POST'].'</a>');
== REPLACE ==
                    redirect (append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&p=$post_id#p$post_id")); 
When you delete confirmation is necessary in order to prevent erroneous actions.
Sorry for my bad english

neodelta
Registered User
Posts: 47
Joined: Tue Jan 13, 2009 6:52 pm

Re: Thanks for posts

Post by neodelta » Wed Jul 15, 2009 9:10 pm

hey thanks very much :)
Im a woman trying to learn how to use phpbb. http://www.riseandrecover.info

drhime
Registered User
Posts: 27
Joined: Wed Jul 30, 2008 5:00 am

Re: Thanks for posts

Post by drhime » Thu Jul 16, 2009 2:48 pm

Done & running in my live forum. If you remember or, have the pm from me, then please do check it in action :)

I just had to edit the imageset.cfg file differently to fix that effect & had nothing to do with the size of the images.

Thanks for this nice mod, I will update with the load etc. as soon as possible too.

Thanks & regards.

Edrondol
Registered User
Posts: 36
Joined: Tue Jan 27, 2009 6:56 pm

Re: Thanks for posts

Post by Edrondol » Thu Jul 16, 2009 9:46 pm

After testing the heck out of this I want to reset the values. Is there an easy way of resetting all thanks (given and received) back to 0?

In addition, which file do I edit to change it from:

Has thanked: # time
Have thanks: # time

to

Has thanked: # times
Have thanks: # times

drhime
Registered User
Posts: 27
Joined: Wed Jul 30, 2008 5:00 am

Re: Thanks for posts

Post by drhime » Thu Jul 16, 2009 10:22 pm

Edrondol wrote:Has thanked: # time
Have thanks: # time

to

Has thanked: # times
Have thanks: # times
It will be thank_mod.php language file!

How could I miss that!! Thanks, I will fix it right away in my forum.

Find -

Code: Select all

	'THANKS'					=> 'time',
Replace with -

Code: Select all

	'THANKS'					=> 'times',
Done :)

Edrondol
Registered User
Posts: 36
Joined: Tue Jan 27, 2009 6:56 pm

Re: Thanks for posts

Post by Edrondol » Fri Jul 17, 2009 12:47 am

Worked gangbusters! But then my users have asked that I get rid of that part altogether. They don't like it in the avatar field. I attempted to comment out certain portions but didn't get what I needed. Any way to do this easily?

User avatar
Палыч
Translator
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: Thanks for posts

Post by Палыч » Fri Jul 17, 2009 4:25 am

Edrondol wrote: Is there an easy way of resetting all thanks (given and received) back to 0?

Code: Select all

TRUNCATE TABLE `phpbb_thanks`;
Edrondol wrote: They don't like it in the avatar field.
File viewtopic_body.html - Remove this snippet

Code: Select all

		<!-- IF not postrow.S_POST_ANONYMOUS and postrow.S_FORUM_THANKS -->
			<dd><strong>{L_GIVEN}:</strong> {postrow.POSTER_GIVE_COUNT} {L_THANKS}</dd>
			<dd><strong>{L_RECEIVED}:</strong> {postrow.POSTER_RECEIVE_COUNT} {L_THANKS}</dd>
		<!-- ENDIF -->
Sorry for my bad english

User avatar
Stucker™
Registered User
Posts: 7
Joined: Fri Jul 17, 2009 5:38 am

Re: Thanks for posts

Post by Stucker™ » Fri Jul 17, 2009 6:55 am

Hi! Great MOD!

How can I set the default sort of thankslist to Received Thanks Descending?
Sorry for my bad english!

User avatar
napus
Registered User
Posts: 128
Joined: Sat Apr 25, 2009 12:01 pm
Location: Poland
Contact:

Re: Thanks for posts

Post by napus » Fri Jul 17, 2009 12:11 pm

Hi, thx for mod
It's seems that mod won't work with Ultimate SEO 0.6.0, when i click on button just page refreshing and do not adds thanks.

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: Thanks for posts

Post by autinhyeu » Fri Jul 17, 2009 1:23 pm

napus wrote:Hi, thx for mod
It's seems that mod won't work with Ultimate SEO 0.6.0, when i click on button just page refreshing and do not adds thanks.
try this follow instruction:
http://www.phpbb-seo.com/en/advanced-se ... tml#p28758
after do it, function thank will work great with SEO 0.6.0, but i can't fix function remove thank :(
Best regards!
Autinhyeu
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

User avatar
napus
Registered User
Posts: 128
Joined: Sat Apr 25, 2009 12:01 pm
Location: Poland
Contact:

Re: Thanks for posts

Post by napus » Fri Jul 17, 2009 1:57 pm

Thx autinhyeu
It's works the function remove as well.

jayfella
Registered User
Posts: 3
Joined: Fri Feb 13, 2009 2:38 pm

Re: Thanks for posts

Post by jayfella » Fri Jul 17, 2009 2:11 pm

Works like a charm. slight issues with the english language, but completely understandable since your not english/american.

Many thanks :)

User avatar
Палыч
Translator
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: Thanks for posts

Post by Палыч » Fri Jul 17, 2009 5:10 pm

drhime wrote:I just had to edit the imageset.cfg file differently to fix that effect & had nothing to do with the size of the images.
replace code

Code: Select all

img_thankposts = thankposts.gif*19*118
img_removethanks = removethanks.gif*19*118
and use this
thankposts1.gif
thankposts1.gif (3.64 KiB) Viewed 1182 times
removethanks1.gif
removethanks1.gif (3.62 KiB) Viewed 1182 times
or this
thankposts2.gif
thankposts2.gif (3.57 KiB) Viewed 1182 times
removethanks2.gif
removethanks2.gif (3.67 KiB) Viewed 1182 times
Sorry for my bad english

User avatar
Палыч
Translator
Posts: 1543
Joined: Sun Jul 01, 2007 7:59 pm
Location: St. Petersburg
Name: Сергей
Contact:

Re: Thanks for posts

Post by Палыч » Fri Jul 17, 2009 6:08 pm

jayfella wrote:slight issues with the english language
I would be grateful if you could submit your translation ;)
Sorry for my bad english

Locked

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