Question, Regarding Thanks Option »  Show posts from    to     

Icy Phoenix


English Chit Chat - Question, Regarding Thanks Option



struja [ Mon 03 Nov, 2008 01:25 ]
Post 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
Could someone please help me and point me the way??


struja [ Mon 10 Nov, 2008 21:01 ]
Post 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 ]


DWho [ Mon 10 Nov, 2008 21:11 ]
Post subject: Re: Question, Regarding Thanks Option
Hi

Which part are you stuck on...?


struja [ Mon 10 Nov, 2008 21:19 ]
Post 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


Scott [ Mon 10 Nov, 2008 23:02 ]
Post subject: Re: Question, Regarding Thanks Option
What template are you using?


struja [ Mon 10 Nov, 2008 23:15 ]
Post 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


Scott [ Mon 10 Nov, 2008 23:27 ]
Post 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.


struja [ Wed 12 Nov, 2008 19:23 ]
Post 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: [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??


struja [ Mon 08 Dec, 2008 12:38 ]
Post subject: Re: Question, Regarding Thanks Option
Almost everything is working like it should. Except one thing in admin_forums.php

In instalation says:
Code: [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




Powered by Icy Phoenix