Question, Regarding Thanks Option


Subject: Question, Regarding Thanks Option
I was just wondering, could there be "Thanks" option for every post. And not just for topic.

Because, someone could start topic in searching for help about something. And if user who replies, gives good answer and solution. That user deserve "Thanks". But there is no way to Thank that user for good reply.

Also would be nice, to see how many "Thanks" user collected.

I didn't found that feature among many IP features :loveit:
Could someone please help me and point me the way??

Profile PM  
Subject: Re: Question, Regarding Thanks Option
Since I didn't find what was I looking for in IP. Now I'm trying to install phpbb2 Thank Post by User v0.3.2 http://www.phpbb.com/community/viewtopic.php?f=16&t=441758

I've tried few times, but no success

So can someone take a quick look at the installation file, and give some pointers how to properly install it to IP

Spoiler: [ Show ]

Profile PM  
Subject: Re: Question, Regarding Thanks Option
Hi

Which part are you stuck on...?

Subject: Re: Question, Regarding Thanks Option
Well I can't get to show me "thanks" image in post. So problem might be in viewtopic_body.tpl

Profile PM  
Subject: Re: Question, Regarding Thanks Option
What template are you using?

Profile PM  
Subject: Re: Question, Regarding Thanks Option
Scott wrote: [View Post]
What template are you using?


My template is milky way.


I done it. Not fully, but "thanks" image is shown, and users can thank.
There are few more features which aren't working, but I'll fix them tomorrow.

And if someone is interested in this mod I'll modify the installation file and post it.
So, just say if someone needs this mod

Profile PM  
Subject: Re: Question, Regarding Thanks Option
It doesn't seem to work properly on this site either. I have a version that shows the users number of thanks he received in the viewtopic profile area.

Profile PM  
Subject: Re: Question, Regarding Thanks Option
Scott wrote: [View Post]
It doesn't seem to work properly on this site either. I have a version that shows the users number of thanks he received in the viewtopic profile area.


Mod I'm trying to install also shows number of thanks in posts, and how many times thank have been given. And shows user who thanked under post.
But I'm having some problem with that showing users in viewtopic

This line of code should display users who thanked. Right?
Code: [Download] [Hide] [Select]
<!-- BEGIN thanks -->
<tr>
<td colspan="2" class="{postrow.ROW_CLASS}" width="100%" valign="bottom"><table cellspacing="0" cellpadding="0" border="0" height="18">
<tr>
<td valign="middle"><span class="gen">{postrow.thanks.L_THANKS_TEXT}: {postrow.thanks.THANKS_USERS}</span></td>
</tr>
</table></td>
</tr>
<!-- END thanks -->


It's not working for me. Only ":" apears, {postrow.thanks.L_THANKS_TEXT} and {postrow.thanks.THANKS_USERS} are empty.

Does anyone knows why??

Profile PM  
Subject: Re: Question, Regarding Thanks Option
Almost everything is working like it should. Except one thing in admin_forums.php

In instalation says:
Code: [Download] [Hide] [Select]
$template->assign_block_vars('catrow.forumrow',


#
#-----[ BEFORE, ADD ]---------------------------------
#

$thanks_enabled = 'Yes';
$thanks_disabled = '<b>No</b>';

if ($forum_rows[$j]['thanks_enabled'] == 1) {
$thanks_enabled = '<b>Yes</b>';
$thanks_disabled = 'No';
}


So this piece should go somewhere in here
Spoiler: [ Show ]


I understood this piece of code like, checking is or is not thank enabled in this forum.
Also I believe that this code should be modified, that "$forum_rows[$j]" doesn't look right to me.

Any idea how to solve this, I would really appreciate

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1522s (PHP: 15% SQL: 85%)
SQL queries: 14 - Debug Off - GZIP Enabled