Page 6 of 51

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

Posted: Tue Aug 26, 2008 8:11 pm
by starwar
I update to 0.2.0,my thank icon is disappear.

In admin panel,I can't find enable/disable,where is this?

can u help me pls?

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

Posted: Tue Aug 26, 2008 8:29 pm
by Mahoney
Hello starwar
starwar wrote: In admin panel,I can't find enable/disable,where is this?

can u help me pls?
Edit a Forum and under "General forum settings" you will find the Option "Enable the Thanks MOD:"

Best regards: Mahoney

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

Posted: Wed Aug 27, 2008 3:50 am
by starwar
It don't appear for me,what I may need?

thank

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

Posted: Wed Aug 27, 2008 3:57 am
by construaprende
Error using Seven MODX installer:
style/prosilver/memberlist_view.html
Does not Exist

It Should be:
styles/prosilver/template/memberlist_view.html

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

Posted: Wed Aug 27, 2008 4:52 am
by construaprende
starwar wrote:It don't appear for me,what I may need?

thank
I have the same problem, but this is my fist time I install this module 0.2, I don't see how to enable it

EDITED:
I Cleaned all cache from General (Main) Admin Page, and know I see how to enable it

But i See twice the option to enable it

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

Posted: Wed Aug 27, 2008 5:59 am
by starwar
ya,it work :D

thank

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

Posted: Wed Aug 27, 2008 9:56 am
by madtay
Hi, just to let you know i encountered a problem with this mod giving me errors in viewtopic.php when no forum or topic id was used...

Code: Select all

[27-Aug-2008 10:25:06] PHP Warning:  strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in /home/f1racing/public_html/includes/session.php on line 1899
[27-Aug-2008 10:25:06] PHP Warning:  strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in /home/f1racing/public_html/includes/session.php on line 1899
[27-Aug-2008 10:25:06] PHP Warning:  strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in /home/f1racing/public_html/includes/session.php on line 1899
[27-Aug-2008 10:25:06] PHP Warning:  strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in /home/f1racing/public_html/includes/session.php on line 1899
[27-Aug-2008 10:25:06] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/f1racing/public_html/includes/session.php:1899) in /home/f1racing/public_html/includes/functions.php on line 3613
[27-Aug-2008 10:25:06] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/f1racing/public_html/includes/session.php:1899) in /home/f1racing/public_html/includes/functions.php on line 3615
[27-Aug-2008 10:25:06] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/f1racing/public_html/includes/session.php:1899) in /home/f1racing/public_html/includes/functions.php on line 3616
[27-Aug-2008 10:25:06] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/f1racing/public_html/includes/session.php:1899) in /home/f1racing/public_html/includes/functions.php on line 3617
[27-Aug-2008 10:25:06] PHP Fatal error:  template->_tpl_load_file(): File /message_body.html does not exist or is empty in /home/f1racing/public_html/includes/functions_template.php on line 63
[27-Aug-2008 10:44:05] PHP Warning:  strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in /home/f1racing/public_html/includes/session.php on line 1899
[27-Aug-2008 10:44:05] PHP Warning:  strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in /home/f1racing/public_html/includes/session.php on line 1899
[27-Aug-2008 10:44:05] PHP Warning:  strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in /home/f1racing/public_html/includes/session.php on line 1899
[27-Aug-2008 10:44:05] PHP Warning:  strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array. in /home/f1racing/public_html/includes/session.php on line 1899
[27-Aug-2008 10:44:05] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/f1racing/public_html/includes/session.php:1899) in /home/f1racing/public_html/includes/functions.php on line 3613
[27-Aug-2008 10:44:05] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/f1racing/public_html/includes/session.php:1899) in /home/f1racing/public_html/includes/functions.php on line 3615
[27-Aug-2008 10:44:05] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/f1racing/public_html/includes/session.php:1899) in /home/f1racing/public_html/includes/functions.php on line 3616
[27-Aug-2008 10:44:05] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/f1racing/public_html/includes/session.php:1899) in /home/f1racing/public_html/includes/functions.php on line 3617
[27-Aug-2008 10:44:05] PHP Fatal error:  template->_tpl_load_file(): File /message_body.html does not exist or is empty in /home/f1racing/public_html/includes/functions_template.php on line 63
I searched these forums for a solution and found where the problem seemed to be, it is explained in this thread...
http://www.phpbb.com/community/viewtopi ... 1&t=548841

So to resolve this i have had to remove the line:

Code: Select all

$user->add_lang('mods/thanks');
from the viewtopic.php

and add the language entries to common.php language file.

This has resolved the issue but i thought you might like to know.

Thanks

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

Posted: Wed Aug 27, 2008 10:10 am
by Mahoney
Hello construaprende
construaprende wrote:Error using Seven MODX installer:
style/prosilver/memberlist_view.html
Does not Exist

It Should be:
styles/prosilver/template/memberlist_view.html
Thank you for your message. The bug is now fixed.


Edit: @madtay
Thank you for your message. The bug is now fixed and the package has been updated.

Find in viewtopic.php

Code: Select all

//Begin Thank Post MOD
	$user->setup('mods/thanks');
//End Thank Post MOD

Replace With
(or delete it)

Code: Select all

//Nothing
Find

Code: Select all

// Send vars to template
Add before

Code: Select all

//Begin Thank Post MOD
$user->add_lang('mods/thanks');
//End Thank Post MOD


Best regards: Mahoney

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

Posted: Wed Aug 27, 2008 1:08 pm
by Professional
the subsilver2 changes files is noot included at this file.
is it like the previous version?

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

Posted: Wed Aug 27, 2008 2:46 pm
by Mahoney
Hello
Look at contrib/update_0.1.0_to_0.2.0/subsilver2.xml


Best regards: Mahoney

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

Posted: Wed Aug 27, 2008 3:06 pm
by Professional
sorry yes.
another thing i run the 0.1 sql query before and now i run this:

Code: Select all

ALTER TABLE `phpbb_forums` ADD COLUMN `enable_thanks` TINYINT(1) DEFAULT '0' NOT NULL; 
i think it isn't nedd to do the db_update.php as wel lbecause it ays:

Code: Select all

SQL ERROR [ mysql4 ]

Duplicate column name 'enable_thanks' [1060]

SQL

ALTER TABLE phpbb_forums ADD COLUMN enable_thanks TINYINT(1) DEFAULT '0' NOT NULL

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: db_update.php
LINE: 58
CALL: dbal_mysql->sql_query()
is it right?

and where shoud i enabel thank?

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

Posted: Wed Aug 27, 2008 3:25 pm
by Mahoney
Hello
The Error Message
Duplicate column name 'enable_thanks'
says, the column 'enable_thanks' already exists.
You have nothing to do more.

Best regards: Mahoney

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

Posted: Wed Aug 27, 2008 3:32 pm
by Professional
thank u,what about the enabling the mod?

i installed it now,how can i enable it now?

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

Posted: Wed Aug 27, 2008 3:42 pm
by usenet2you
Professional wrote:thank u,what about the enabling the mod?

i installed it now,how can i enable it now?
ACP ==> Forums > Click on a category ==> Then edit a forum where you want the thanks is enabled.

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

Posted: Thu Aug 28, 2008 6:09 am
by Professional
graet tnx,this is a very good mod. :D
it works perfect ,and as u said it use fewer ram taht the first thank mod.

i have only a question that if i want to place remove thank button center at subsilver2 style what shoud i do? :oops:

is it possible to place thank post button at the same place of remove thanks?