News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Thank-O-Matic

Started by enik, June 12, 2007, 12:18:59 PM

Previous topic - Next topic

mamintoosi

Hi Dear DIN

I could not install ThankOMatic20Beta9Fix (2.0 RC1).zip on SMF 2.0 RC1.2.
Is there a problem with this version of SMF?
The messages in the install_2.x.x.php are appeared when I run it:
"Size of column (If applicable) - for example 255 for a large varchar, 10 for an int etc. If not set SMF will pick a size,...."

I appreciated your work.


ディン1031

Quote from: mamintoosi on October 08, 2009, 03:38:22 AM
Hi Dear DIN

I could not install ThankOMatic20Beta9Fix (2.0 RC1).zip on SMF 2.0 RC1.2.
Is there a problem with this version of SMF?
The messages in the install_2.x.x.php are appeared when I run it:
"Size of column (If applicable) - for example 255 for a large varchar, 10 for an int etc. If not set SMF will pick a size,...."

I appreciated your work.
?_? where appear this?
I installed it yesterday and it work without problems so i can not see a problem at the moment.
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

mamintoosi

Dear Din

The previous messages have been appeared when I ran the install in the local server.

Now I extracted the zip file into the SMF directory on the server, and run 'Install_2.x.x.php'. The following lines are demonstrated:
Start to create the Tables and update the current columns for Thank-O-Matic.
Table topics successful updated with column thank_you_post_locked.
Table boards successful updated with column thank_you_post_enable.
Table messages successful updated with column thank_you_post.
Table messages successful updated with column thank_you_post_counter.
Table members successful updated with column thank_you_post_made.
Table members successful updated with column thank_you_post_became.
DB Changes should be made now...


What do I do next?

ディン1031

Than everything is okay, and the database changes are done =). (Hope you installed the mod over the package manager xD).
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

mamintoosi

#1024
Dear Din

I successfully installed ThankOMatic20Beta10 (2.0 RC1-X) on SMF 2.0 RC1.2.
Thank you for the module.
But it has some problems with Persian styles, and Persian language.
I (or someone else) have to fit it to Persian language.
I successfully uninstalled the mod until later.

Would you let me know how I can translate the messages?
I found 'ThankOMatic-persian.zip' (www.yarantoos.com/index.php?action=tpmod;dl=get102) related to version 1.1.x.
I think that I have to change ThankYouPost.persian.php and ThankOMaticPersian.xml according to probably new commands in 2.x.x. before installation.
Is it right way?

ディン1031

For 2.x i change the language system, because there a lot of changes and a lot more langauge things avaible. But you will find the most translations in the persian langauge pack (Not all, but many).

You can found the english Version of the change in the ThankOMaticEnglish.xml i don't use any language related files anymore. The langaugestrings of the ThankOMatic.XXX.php is now in the Modification.XXX.php so that you can find and compare to find the missing strings between 1.1 and 2 ;).

Hope this will help you to make the persian translation for your forum. ;)
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

mamintoosi

Dear Din

Thank you for your response. I created 'ThankOMaticPersian-utf8.xml' based on the previous Persian .xml file. Currently some strings are not translated to Persian, mostly about to Admin pages. So in installation the appropriate Persian files will be modified.
I will translate the remaining English strings later.

slayer143

Install perfect

after members click at thank you button
they encounter this error

Unknown column 'member_name' in 'field list'
File: /home/isstar/public_html/forum/Sources/ThankYouPost.php
Line: 257

all permission are given
i have uninstall and reinstall it
still the same

i have upgraded SMF from ver 1.10 to the latest ver 2

any help ?

slayer143

Quote from: ディン1031 on August 21, 2009, 05:58:21 PM
Hmmmmm did you have an old thank-o-matic table? :)

You can rename the field memberName to member_name in the {$db_prefix}thank_you_post table insider you SQL table. It's strange normal the package convert the old table to the new version...

Bye
DIN1031



sorry
i solved with the above

farloccone

Hello, ive successfully installed this mod but when in acp i click on modify boards an error msg came up

Database Error
Unknown column 'b.thank_you_post_enable' in 'field list'
File: /www/site/Sources/Subs-Boards.php
Line: 1038


default lang is english utf8

Kimmie

#1030
I am able to run the task of recalculating everyones stats, however when I then try and run this one:

Delete all not needed items, remove thank you posts of disabled board (or deleted boards).


I get this error:

Fatal error: Call to undefined function ThankYouPostDelete() in /home/***/public_html/Sources/ThankYouPost-Maintaince.php on line 707


Any ideas? Thanks :)

==========

ok forget about that problem.. I have an even BIGGER one..lol. My host just moved everyone to new servers and I am having a MAJOR problem with it keeping up with everyones thanks stats now. When I run the overall recalculation, it wont recalculate anyones and if I hav it recalculate one persons, it works, but then as soon as that person posts again OR I try and have it recalculate someone elses, it resets the one I just had it recalculate to all 0's.... HELP!!!  (please)  :-[

ディン1031

#1031
Quote from: farloccone on October 12, 2009, 12:55:20 PM
Hello, ive successfully installed this mod but when in acp i click on modify boards an error msg came up

Database Error
Unknown column 'b.thank_you_post_enable' in 'field list'
File: /www/site/Sources/Subs-Boards.php
Line: 1038


default lang is english utf8
Upload the install.php file of the package and call it with the browser. There is a change not done!

Quote from: Kimmie on October 12, 2009, 01:53:31 PM
I am able to run the task of recalculating everyones stats, however when I then try and run this one:

Delete all not needed items, remove thank you posts of disabled board (or deleted boards).


I get this error:

Fatal error: Call to undefined function ThankYouPostDelete() in /home/***/public_html/Sources/ThankYouPost-Maintaince.php on line 707


Any ideas? Thanks :)

==========

ok forget about that problem.. I have an even BIGGER one..lol. My host just moved everyone to new servers and I am having a MAJOR problem with it keeping up with everyones thanks stats now. When I run the overall recalculation, it wont recalculate anyones and if I hav it recalculate one persons, it works, but then as soon as that person posts again OR I try and have it recalculate someone elses, it resets the one I just had it recalculate to all 0's.... HELP!!!  (please)  :-[

The first thing is major bug i fixed... but i want not release the new version before 2.0 RC2 Public is available...

The fix is:
$sourcedir/ThankYouPost-Maintaince.php
Code (Search for) Select

global $txt, $modSettings, $scripturl, $context, $options;

Code (Replace with) Select

global $txt, $modSettings, $scripturl, $context, $options, $sourcedir;

// This file is needed for some standard handling
require_once($sourcedir . '/ThankYouPost.php');

Than the recounter should work, too.

And don't forget to set you forum on maintain when you recount all stat, if someone post in the meantime it will be do some strange calculations...
Alternative you could upload the RC1 Version file that i postet. Normal it should work in the older beta's, too. <- it's the best way ;).

Bye
DIN1031
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

mamintoosi

I previously said:
Quote
I could not install ThankOMatic20Beta9Fix (2.0 RC1).zip on SMF 2.0 RC1.2.
Is there a problem with this version of SMF?
The messages in the install_2.x.x.php are appeared when I run it:
"Size of column (If applicable) - for example 255 for a large varchar, 10 for an int etc. If not set SMF will pick a size,...."
The first lint of file 'install_2.x.x.php' only contains '<?', I replaced it with '<?php', and the problem has been solved. I am wondered how the old file works on my site real server?!!

Kimmie

Quote from: ディン1031 on October 12, 2009, 05:03:49 PM

Quote from: Kimmie on October 12, 2009, 01:53:31 PM
I am able to run the task of recalculating everyones stats, however when I then try and run this one:

Delete all not needed items, remove thank you posts of disabled board (or deleted boards).


I get this error:

Fatal error: Call to undefined function ThankYouPostDelete() in /home/***/public_html/Sources/ThankYouPost-Maintaince.php on line 707


Any ideas? Thanks :)

==========

ok forget about that problem.. I have an even BIGGER one..lol. My host just moved everyone to new servers and I am having a MAJOR problem with it keeping up with everyones thanks stats now. When I run the overall recalculation, it wont recalculate anyones and if I hav it recalculate one persons, it works, but then as soon as that person posts again OR I try and have it recalculate someone elses, it resets the one I just had it recalculate to all 0's.... HELP!!!  (please)  :-[

The first thing is major bug i fixed... but i want not release the new version before 2.0 RC2 Public is available...

The fix is:
$sourcedir/ThankYouPost-Maintaince.php
Code (Search for) Select

global $txt, $modSettings, $scripturl, $context, $options;

Code (Replace with) Select

global $txt, $modSettings, $scripturl, $context, $options, $sourcedir;

// This file is needed for some standard handling
require_once($sourcedir . '/ThankYouPost.php');

Than the recounter should work, too.

And don't forget to set you forum on maintain when you recount all stat, if someone post in the meantime it will be do some strange calculations...
Alternative you could upload the RC1 Version file that i postet. Normal it should work in the older beta's, too. <- it's the best way ;).

Bye
DIN1031


ok I have uploaded the file you posted, put my site in maintenance mode, and had it recalculate everyones stats. Issue still remains:

1. It didnt recalculate anyones stats, but if I run the one where it will recalculate just one persons, it updates. (problem with this is, I have 5000+ members and I cannot sit there and do each one seperately..lol)

2. The issue where it resets everyones back to 0 as soon as someone posts again HAS been fixed.

ディン1031

Normal the Recount System should do that... hmmm i sent oyu an pm =).
I think i need to find a diffrent way... hope you will help me :).
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Kimmie

Quote from: ディン1031 on October 14, 2009, 01:18:59 AM
Normal the Recount System should do that... hmmm i sent oyu an pm =).
I think i need to find a diffrent way... hope you will help me :).

Got it and responded :)

jerdna

im havng couple of problems... i dont see link in features and optiones... i dont see text.. i guess it becouse i have custom theme.. but when i have to install manualy my theme doesnt have half of php's thats asked in pharse... for example... Admin.english.php, index.english.php,ManageBoards.english.php, ManagePermissions.english.php and so on..  what to do

mamintoosi

The english STRINGS which are require for showing the form are in the files that you mentioned.
It seems that these files have not been changed correctly.
Have you this problem with the default theme?

jerdna

unfortunately i do.. what should i do? manually install all the files?
but how can i do that if my theme doesnt have half of them.. does my custom theme load them from default or what?

ディン1031

Yes the costum theme alwas load the default one :).
Support only via MOD Thread! NO PM Support!
My Forum: ayu][kult Forum
My Mods: My Small Mod Collection
My Parser: DIN1031's ModParser
Current Info: More away the next days, because i've to much work to do :x

Advertisement: