Page 36 of 75

Re: [DEV] Thanks for posts

Posted: Wed Oct 07, 2015 3:34 pm
by Galixte de EzCom
eterror wrote:you read my post?I wrote - there is no all options i have only 2.
Yes and you don't specify on which permission pages you don’t find the appropriate permissions !
eterror wrote:I have little problem. There is no options for set priveleges for Thanks for Post in ACP/Priveleges

I can only set two:
ACL_U_VIEWTHANKS
ACL_U_VIEWTOPLIST
Those are in ACP :
  1. click on « PERMISSIONS » tab,
  2. click on « Group permissions » section,
  3. choose a group like « Registered users »,
  4. click on « Advanced Permissions » link,
  5. click on « Misc » tab, there are two appropriate permissions :
    • Can view list of all thanks
    • Can view toplist
eterror wrote:there is no:
'ACL_F_THANKS' => 'Can thank for posts',
'ACL_M_THANKS' => 'Can clear the thanks list',

I have latets extension version (phpbb 3.1.6)

btw. admins and mods can thanks for posts.6…
Those are differents :
  • the first is for normal users, in ACP :
    1. click on « PERMISSIONS » tab,
    2. click on « Group forum permissions » section,
    3. choose a group like « Registered users »,
    4. select a forum,
    5. click on « Advanced Permissions » link,
    6. click on « Misc » tab, there is one appropriate permission : Can thank for posts
  • the second is for moderator users, in ACP :
    1. click on « PERMISSIONS » tab,
    2. click on « Global moderators » section,
    3. choose a group like « Global moderators »,
    4. click on « Advanced Permissions » link,
    5. click on « Misc » tab, there is one appropriate permission : Can clear the thanks list
Of course, i suggest you to modify the : « PERMISSION ROLES », it’s better to manage permissions for user groups.

Re: [DEV] Thanks for posts

Posted: Wed Oct 07, 2015 4:57 pm
by nhseacoast
Awesome extension and it took me all of about 5 minutes to turn it into a "Like" extension simply by changing the language file.

Thank you.

Re: [DEV] Thanks for posts

Posted: Wed Oct 07, 2015 6:28 pm
by yasser33311
waiting for stable version :roll:

Re: [DEV] Thanks for posts

Posted: Wed Oct 07, 2015 7:00 pm
by nhseacoast
yasser33311 wrote:waiting for stable version :roll:
Yeah...I'm impatient. So far so good with no issues, but it's early. I'll report any problems if they happen.

Re: [DEV] Thanks for posts

Posted: Mon Oct 12, 2015 8:29 am
by Cin-
rxu wrote:Incompatible with 3.2 currently.
Is 3.2 compatibility a 'quick fix' or does it requires substantial changes?

Re: [DEV] Thanks for posts

Posted: Tue Oct 13, 2015 12:42 am
by koreldan
It works also with Tapatalk ?

I mean if i click the button "like" on tapatalk this mod shows those "likes" ?

Re: [DEV] Thanks for posts

Posted: Thu Oct 15, 2015 7:05 am
by Holger
rxu, thank you for this great ext!
I have a request: I feel the thanks-list is a little bit "lost" under the message in viewtopic.

Image

Would it maybe be possible to move the "Delete thanks"-icon to the far right side and put the thanks-icon in that place (left of the list) instead?


Edit: hmmm, I changed viewtopic_body_postrow_post_notices_after.html to

Code: Select all

<div id='list_thanks{postrow.POST_ID}'>
<!-- IF postrow.THANKS and postrow.THANKS_POSTLIST_VIEW and not postrow.S_POST_ANONYMOUS and not S_IS_BOT -->
	<div class="notice">
		<dl>
			<!-- IF postrow.S_MOD_THANKS -->
			<ul class="post-buttons" style="float: right; position: static;">
				<li>
					<a id='clear_list_thanks{postrow.POST_ID}' href="{postrow.U_CLEAR_LIST_THANKS_POST}" title="{L_CLEAR_LIST_THANKS}" class="button icon-button delete-icon" style="float:left"><span>{L_CLEAR_LIST_THANKS}</span></a>
				</li>
			</ul>
			<!-- ENDIF -->
			<ul class="post-buttons" style="float: left; position: static;">
				<li>
					<a id='lnk_thanks_post{postrow.POST_ID}' href="{postrow.THANKS_LINK}" title="{postrow.THANK_ALT}{postrow.POST_AUTHOR}" class="button icon-button {postrow.THANKS_IMG}"><span>{postrow.THANK_ALT_SHORT}</span></a>
				</li>
			</ul>
			<dt>{postrow.THANK_TEXT}{postrow.POST_AUTHOR_FULL}{postrow.THANK_TEXT_2}</dt>
			<dd>{postrow.THANKS}</dd>
		</dl>
	</div>
<!-- ENDIF -->
</div>
<div id='div_post_reput{postrow.POST_ID}'>
<!-- IF postrow.S_THANKS_POST_REPUT_VIEW and postrow.POST_REPUT and not postrow.S_POST_ANONYMOUS and not S_IS_BOT -->
	<div class="notice">
		<dl>
			<dt class="small"><strong>{L_REPUT}{L_COLON}</strong>&nbsp;{postrow.POST_REPUT}</dt>
			<dd>
			<!-- IF postrow.S_THANKS_REPUT_GRAPHIC -->
			<div style="width: {postrow.THANKS_REPUT_GRAPHIC_WIDTH}; height: {postrow.THANKS_REPUT_HEIGHT};" class="thanks_reput_image_back"><div style="height: {postrow.THANKS_REPUT_HEIGHT}; width: {postrow.POST_REPUT};" class="thanks_reput_image"></div></div>&nbsp;
			<!-- ENDIF -->
			</dd>
		</dl>
	</div>
<!-- ENDIF -->
</div>
It does what I want. Is there any (security-) concern with this change?


Edit2: now I see that when thanked I have a thumb-down-icon. That does not look good (looks like the thanks are "negative"). Is there a way to show only the thumbsup? BTW I do not have the thumbs-down at the other place (post_buttons_before)!

Re: [DEV] Thanks for posts

Posted: Sat Oct 17, 2015 8:59 pm
by John45
How do i fix this:

Image

Re: [DEV] Thanks for posts

Posted: Sun Oct 18, 2015 4:22 am
by rxu
John45 wrote:How do i fix this:
Elaborate?

Re: [DEV] Thanks for posts

Posted: Sun Oct 18, 2015 4:54 pm
by Leinad4Mind
I've installed phpbbseo, and now installed this, and it doesn't work.
I've try to install the ajax addon, but still doesn't work.

Any idea where to start to fix this?

There was a solution for 3.0 here: http://www.phpbb-seo.com/en/advanced-se ... 08-15.html

Maybe the author could read and understand how to fix on this 3.1 version.


EDIT: I get it working, wow! :mrgreen: The fault is nos from phpbbseo "usu", but from phpbbseo "No Duplication" :twisted:

Re: [DEV] Thanks for posts

Posted: Mon Oct 19, 2015 6:08 pm
by John45
rxu wrote:
John45 wrote:How do i fix this:
Elaborate?
I want it so it change to thumb up and thumb down position and change color during hover, I want one image not 4.

Re: [DEV] Thanks for posts

Posted: Mon Oct 19, 2015 6:11 pm
by rxu
John45 wrote:I want one image not 4.
What style are you using?

Re: [DEV] Thanks for posts

Posted: Mon Oct 19, 2015 6:27 pm
by John45
rxu wrote:
John45 wrote:I want one image not 4.
What style are you using?
Metro

Re: [DEV] Thanks for posts

Posted: Mon Oct 19, 2015 10:22 pm
by null2
PLEASE, DELETE THIS POST

Re: [DEV] Thanks for posts

Posted: Mon Oct 19, 2015 11:02 pm
by Leinad4Mind
John45 wrote:
rxu wrote:
John45 wrote:I want one image not 4.
What style are you using?
Metro
Read the documentation of that style. There is a code where you can on .css put the correspondent for the like button. it's a 4 char code.

Best regards