[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!
Anti-Spam Guide
Locked
User avatar
zenrei
Registered User
Posts: 172
Joined: Fri Oct 06, 2006 1:34 pm

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

Post by zenrei » Sat Dec 06, 2008 2:28 pm

*edit*
Last edited by zenrei on Sat Dec 06, 2008 2:29 pm, edited 1 time in total.

User avatar
zenrei
Registered User
Posts: 172
Joined: Fri Oct 06, 2006 1:34 pm

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

Post by zenrei » Sat Dec 06, 2008 2:29 pm

wingnut144 wrote:What styles is everyone using with this MOD??
i'm using 4 different themes, but they're all based on prosilver (i like the css code)...

Bl@ck
prosilver_special edition
eMuza2
CarbonCopy

are the names of the themes

User avatar
Lisbon
Registered User
Posts: 825
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

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

Post by Lisbon » Sat Dec 06, 2008 2:35 pm

zenrei wrote:are you trying to turn it on for all forums? There's an SQL command in this thread that will turn it on for all forums
In ACP i have just this:
Image

Where i turn it on the foruns?
zenrei wrote:Otherwise, you do it in each of the forums in the ACP
Where? :oops:

User avatar
zenrei
Registered User
Posts: 172
Joined: Fri Oct 06, 2006 1:34 pm

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

Post by zenrei » Sat Dec 06, 2008 3:21 pm

Lisbon wrote:
zenrei wrote:are you trying to turn it on for all forums? There's an SQL command in this thread that will turn it on for all forums
In ACP i have just this:
Image

Where i turn it on the foruns?
zenrei wrote:Otherwise, you do it in each of the forums in the ACP
Where? :oops:
if you want to turn it on in all your forums, just run this code on your databases:

Code: Select all

UPDATE phpbb_forums SET enable_thanks = "1" WHERE enable_thanks = "0";
Otherwise, you go to the admin console > forums > manage forums then you go into each one of your forums in edit mode and go to the General Forum Settings and you'll see:

Enable the Thanks MOD: Yes No

if you don't see it, you'll need to purge your cache on the General tab

(Purge the cache - Purge all cache related items, this includes any cached template files or queries... click on the "run now" button)

I tried to do an overall turn on, but it didn't work, you either have to run that script or go into each forum and subcategory one by one and turn it on. (i don't have that kind of patience, personally lol)
Last edited by zenrei on Sun Dec 07, 2008 1:00 am, edited 1 time in total.

User avatar
Lisbon
Registered User
Posts: 825
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

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

Post by Lisbon » Sat Dec 06, 2008 7:19 pm

Uauuu. Find! tks ;)

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 » Sun Dec 07, 2008 5:14 am

Manhattan wrote:Hi guys

Is it possible that the page is not refreshed after clicking the thanks button?(Ajax)

Best regards

User avatar
zenrei
Registered User
Posts: 172
Joined: Fri Oct 06, 2006 1:34 pm

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

Post by zenrei » Sun Dec 07, 2008 5:41 am

Manhattan wrote:
Manhattan wrote:Hi guys

Is it possible that the page is not refreshed after clicking the thanks button?(Ajax)

Best regards
how could that happen? it has to refresh because it adds the thank list under the post. if it didn't refresh, that would never happen

User avatar
MotoXtreme.info
Registered User
Posts: 28
Joined: Sun Nov 09, 2008 8:11 am

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

Post by MotoXtreme.info » Sun Dec 07, 2008 6:33 am

PhpBB 3.0.3
Black Pearl Theme ( is subsilver2 based )

this error msg i got:

Code: Select all

Error
SQL query:

CREATE TABLE  `phpbb_thanks` (
 `thanks_id` MEDIUMINT( 8 ) UNSIGNED NOT NULL AUTO_INCREMENT ,
 `thanks_from` MEDIUMINT( 8 ) UNSIGNED NOT NULL ,
 `thanks_to` MEDIUMINT( 8 ) UNSIGNED NOT NULL ,
 `post_id` MEDIUMINT( 8 ) UNSIGNED NOT NULL ,
PRIMARY KEY (  `thanks_id` )
);


MySQL said: 

#1050 - Table 'phpbb_thanks' already exists 
What is the problem ? or where should i rectify ??

There is no Thanks Button too ???

User avatar
knmt
Registered User
Posts: 110
Joined: Fri Aug 29, 2008 10:13 am
Contact:

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

Post by knmt » Sun Dec 07, 2008 7:10 am

'phpbb_thanks' already exists
This indicates that phpbb_thanks is already created in your database, you will have to either drop that table or just simply don't run any SQL.
Hi guys

Is it possible that the page is not refreshed after clicking the thanks button?(Ajax)

Best regards
I think what he asked is a new feature, not current feature. It is possible of course, but POST works just nicely.

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 » Sun Dec 07, 2008 10:53 am

zenrei wrote:
Manhattan wrote:
Manhattan wrote:Hi guys

Is it possible that the page is not refreshed after clicking the thanks button?(Ajax)

Best regards
how could that happen? it has to refresh because it adds the thank list under the post. if it didn't refresh, that would never happen

I know that, but by using of the ajax system it will be added too without the reloading of the whole page.
Where should I say my request?

User avatar
MotoXtreme.info
Registered User
Posts: 28
Joined: Sun Nov 09, 2008 8:11 am

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

Post by MotoXtreme.info » Mon Dec 08, 2008 7:06 am

previously me installed Anti Double Post, could it be not compatible with this MOD ??

User avatar
Lisbon
Registered User
Posts: 825
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

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

Post by Lisbon » Mon Dec 08, 2008 6:21 pm

Whre i accept thanks that the other give me? And here i remove thanks?

User avatar
AllCity
Registered User
Posts: 230
Joined: Sun Jun 22, 2008 6:33 pm
Name: Andrey Shapoval
Contact:

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

Post by AllCity » Tue Dec 09, 2008 7:31 am

If you delete the user and leave him a message that is a bug with thanks.
My mods home page.

User avatar
wingnut144
Registered User
Posts: 595
Joined: Thu Jan 20, 2005 4:52 pm
Location: Boise, ID
Contact:

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

Post by wingnut144 » Tue Dec 09, 2008 3:46 pm

What would need to change in the code so that a email was sent to the user who received thanks letting them know that someone thanked them??

Is this hard to add to the MOD??

User avatar
Lisbon
Registered User
Posts: 825
Joined: Wed Jan 30, 2008 12:28 pm
Location: Zermatt

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

Post by Lisbon » Tue Dec 09, 2008 4:52 pm

wingnut144 wrote:What would need to change in the code so that a email was sent to the user who received thanks letting them know that someone thanked them??

Is this hard to add to the MOD??
Nice sugestion ;)

Locked

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