[DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
Locked
wolfman24
Registered User
Posts: 387
Joined: Tue Mar 07, 2006 12:07 pm

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by wolfman24 »

Greight wrote:Seems no support is available here !
You can tell this after 2 or 3 days? Maybe the originator is on vacation? It's Eastern all around the world. And you really need support for removing the thanks button, or better replacing it with a link?
User avatar
Greight
Registered User
Posts: 163
Joined: Sun Jan 18, 2009 12:10 pm

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by Greight »

Actually I said
I wanna remove REMOVE THANKS button and put its link just there. How is it possible ?
It means I want to replace the REMOVE THANKS BUTTON not the thanks button itself , right ? and I dont know what u mean by support. I interpret support as sth available all the time. Anyway I think what I want is so simple that any coder can do it. I dont direct my problem only to the originator.
User avatar
Mahoney
Registered User
Posts: 196
Joined: Sun Mar 16, 2008 4:07 pm
Contact:

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by Mahoney »

Hello
You can either remove this code from the viewtopic_body.html

Code: Select all

<a href="{postrow.U_THANKS}"><img src="{T_IMAGESET_PATH}/removethankspro.gif" alt="{L_THANKS_REMOVE}"/></a>
then there is no button removethanks more (ie for all users), or you replace the code with the following

Code: Select all

<!-- IF U_MCP --><a href="{postrow.U_THANKS}"><img src="{T_IMAGESET_PATH}/removethankspro.gif" alt="{L_THANKS_REMOVE}"/></a><!-- ENDIF -->

then can only Administrators (and global Moderators) their Thanks remove.


best regards Mahony
Last edited by Mahoney on Sat Apr 11, 2009 8:51 pm, edited 1 time in total.
AquariusPL
Registered User
Posts: 16
Joined: Mon Aug 25, 2008 10:31 am

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by AquariusPL »

Mahoney,
please think about unhiding message just only in post where thanks was given, not in all topic, that would be very helpful and maybe in ACP configurable?
User avatar
Mahoney
Registered User
Posts: 196
Joined: Sun Mar 16, 2008 4:07 pm
Contact:

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by Mahoney »

Hello
AquariusPL wrote:Mahoney,
please think about unhiding message just only in post where thanks was given, not in all topic, that would be very helpful and maybe in ACP configurable?
No - this Feature is not planned.

best regards Mahony
NTH08
Registered User
Posts: 50
Joined: Sat Dec 13, 2008 11:31 am
Location: Vietnam
Contact:

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by NTH08 »

Can you add something similar to this ? :D
* Total Thanks: 0
* Thanked 10 times 10 posts
* Find all thanked posts by USER
* Find all posts thanked by USER
User avatar
Greight
Registered User
Posts: 163
Joined: Sun Jan 18, 2009 12:10 pm

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by Greight »

Mahoney wrote:Hello
You can either remove this code from the viewtopic_body.html

Code: Select all

<a href="{postrow.U_THANKS}"><img src="{T_IMAGESET_PATH}/removethankspro.gif" alt="{L_THANKS_REMOVE}"/></a>
then there is no button removethanks more (ie for all users), or you replace the code with the following

Code: Select all

<!-- IF U_MCP --><a href="{postrow.U_THANKS}"><img src="{T_IMAGESET_PATH}/removethankspro.gif" alt="{L_THANKS_REMOVE}"/></a><!-- ENDIF -->

then can only Administrators (and global Moderators) their Thanks remove.


best regards Mahony
My dear friend
Seems I couldnt express what I want clearly
I want to replace the remove thanks button IMAGE with just a link. I mean I want only a link titled : remove thanks be available there , not the image.
Anyway what u provided was also interesting. Please provide edits for what I want too.
Thx
User avatar
Manhattan
Registered User
Posts: 211
Joined: Fri Nov 28, 2008 7:55 pm

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by Manhattan »

Greight wrote:
Mahoney wrote:Hello
You can either remove this code from the viewtopic_body.html

Code: Select all

<a href="{postrow.U_THANKS}"><img src="{T_IMAGESET_PATH}/removethankspro.gif" alt="{L_THANKS_REMOVE}"/></a>
then there is no button removethanks more (ie for all users), or you replace the code with the following

Code: Select all

<!-- IF U_MCP --><a href="{postrow.U_THANKS}"><img src="{T_IMAGESET_PATH}/removethankspro.gif" alt="{L_THANKS_REMOVE}"/></a><!-- ENDIF -->

then can only Administrators (and global Moderators) their Thanks remove.


best regards Mahony
My dear friend
Seems I couldnt express what I want clearly
I want to replace the remove thanks button IMAGE with just a link. I mean I want only a link titled : remove thanks be available there , not the image.
Anyway what u provided was also interesting. Please provide edits for what I want too.
Thx
Find this in the viewtopic_body.html:

Code: Select all

    <a href="{postrow.U_THANKS}"><img src="{T_IMAGESET_PATH}/removethankspro.gif" alt="{L_THANKS_REMOVE}"/></a>
Replace with:

Code: Select all

    <a href="{postrow.U_THANKS}">{L_THANKS_REMOVE}</a>
SantoLeardo
Registered User
Posts: 20
Joined: Sun Apr 05, 2009 2:05 pm

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by SantoLeardo »

Help me,enabled mod not appear button thank :cry:
fastdriver50
Registered User
Posts: 2
Joined: Fri Apr 24, 2009 5:47 pm

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by fastdriver50 »

perfect mod!it work's perfect!!!
can we add the top 5 thanked users in index?
User avatar
Manhattan
Registered User
Posts: 211
Joined: Fri Nov 28, 2008 7:55 pm

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by Manhattan »

SantoLeardo wrote:Help me,enabled mod not appear button thank :cry:
Purge your template imagesets cache via ACP > styles > Imagesets > Your Style Name > Refresh
User avatar
Mahoney
Registered User
Posts: 196
Joined: Sun Mar 16, 2008 4:07 pm
Contact:

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by Mahoney »

Hello
fastdriver50 wrote:perfect mod!it work's perfect!!!
can we add the top 5 thanked users in index?
Look here top x thanked members add-on

best regards Mahoney
SantoLeardo
Registered User
Posts: 20
Joined: Sun Apr 05, 2009 2:05 pm

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by SantoLeardo »

Manhattan wrote:
SantoLeardo wrote:Help me,enabled mod not appear button thank :cry:
Purge your template imagesets cache via ACP > styles > Imagesets > Your Style Name > Refresh
All hide links results visible all users :(
Chrissylynn1993
Registered User
Posts: 14
Joined: Thu Mar 26, 2009 10:48 pm

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by Chrissylynn1993 »

I have installed this and I seem to have done something wrong because the prosilver style is nothing but a list and there is no formatting whatsoever. I backed and and reinstalled and got the same thing but it is working just fine in subsilver2. Any suggestions would be greatly appreciated.
jerry2005
Registered User
Posts: 11
Joined: Tue Mar 17, 2009 2:22 pm

Re: [DEV] Thank Post Mod (hide MOD compatible ) 0.2.0

Post by jerry2005 »

Can someone give the link to the Simple HIDE BB Code MOD this is comapitlbe with?
Locked

Return to “[3.0.x] MODs in Development”