[MODDB] Karma MOD

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!
Scam Warning
Locked
User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: [DEV] Karma MOD | SVN Version published

Post by m157y »

currently i'm packaging B1 for publishing.. it'll be published at few minutes..
and i'll have a little idea :) maybe we can add topic and post karma to next beta? :) we store karmas for posts and topics at DB (for search), so we can do it with minimum editings :) i think it's good :) of course, it'll be with enabling/disabling via ACP :)
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter
User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: [BETA] Karma MOD

Post by m157y »

i'm glad to present you: Beta 1 is published :)
more details at first post..
post here about all founded errors..
french translation was dropped..
if anyone want to translate this mod to another language, write to me for more details..
my previous question (about posts and topics) is actual yet..
i think that's all for now :)
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter
azzurri
Registered User
Posts: 910
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Karma MOD

Post by azzurri »

Yeaahhh!!! I'll try it out tonigth! Thank you guys. I am proud of you!

*EDIT* just looked at the "todo" list in the download and it seems there is very much to do still. Is not Karma shown in viewtopic on beta? Anyways, I know you will solve it all, I just cant wait :D
azzurri
Registered User
Posts: 910
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Karma MOD

Post by azzurri »

I ran into problems right away.
General Error

SQL ERROR [ mysqli ]

Duplicate entry 'karma_version' for key 1 [1062]

SQL

INSERT INTO phpbb3_config (config_name, config_value) VALUES ('karma_version', '1.0.B1')

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 118
CALL: dbal->sql_error()

FILE: install_karma/install_install.php
LINE: 498
CALL: dbal_mysqli->sql_query()

FILE: install_karma/install_install.php
LINE: 86
CALL: install_install->load_schema()

FILE: install_karma/index.php
LINE: 200
CALL: install_install->main()

FILE: install_karma/index.php
LINE: 72
CALL: module->load()
User avatar
funowner
Registered User
Posts: 109
Joined: Sat May 26, 2007 4:29 pm
Location: Germany
Contact:

Re: [BETA] Karma MOD

Post by funowner »

Oh i was too late then?

I'm sorry.
Live your life as long as possible ;)
User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34459
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run
Contact:

Re: [BETA] Karma MOD

Post by A_Jelly_Doughnut »

azzuri: did you have the karma MOD previously installed on that database? If so, that is the source of your problem :?

Karma is shown on viewtopic, but not the user's karma power.
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish
In Spades
Registered User
Posts: 1
Joined: Thu Aug 23, 2007 5:09 am

Re: [BETA] Karma MOD

Post by In Spades »

A few problems I've seen within the KarmaMOD.txt file:

1.

Code: Select all

#-----[ FIND ]------------------------------------------
#

// We need to grab it because we do reverse ordering sometimes
$max_post_time = 0;

#
#-----[ FIND ]------------------------------------------
#

		AND u.user_id = p.poster_id'
));
The first find implicates we should find the written code, but there's no instruction on what to do afterwards. Either the first find was meaningless (which I'm sure it wasn't), or there's something missing.

2.

Code: Select all

## Files To Edit: (16)
##      adm/style/acp_users_prefs.html
##      includes/acp/acp_styles.php
##      includes/acp/acp_users.php
##      includes/functions_module.php
##      includes/session.php
##      styles/prosilver/imageset/imageset.cfg
##      styles/prosilver/template/index_body.html
##      styles/prosilver/template/jumpbox.html
##      styles/prosilver/template/memberlist_view.html
##      styles/prosilver/template/posting_buttons.html
##      styles/prosilver/template/viewtopic_body.html
##      styles/prosilver/theme/stylesheet.css
##      common.php
##      index.php
##      memberlist.php
##      viewtopic.php
however:

Code: Select all

#----[ OPEN ]-------------------------------------------
#

search.php
search.php isn't listed as one of the files to edit. So, I'm thinking it should be added to the "files to edit" list, as well as changing the file count from 16 to 17.

3.

Code: Select all

#-----[ OPEN ]------------------------------------------
#

styles/prosilver/template/jumpbox.html

#
#-----[ FIND ]------------------------------------------
#

	<!-- ENDIF -->
There're two <!-- ENDIF --> lines within jumpbox.html. I'd suggest clarrifying it by adding the next/previous line of code to your find value.

4. In viewtopic.php, it calls for the following:

Code: Select all

#-----[ FIND ]------------------------------------------
#

	// Define the global bbcode bitfield, will be used to load bbcodes
I can't seem to find this line of code anywhere in viewtopic.php. I've tried searching for it in pieces, but I've yet to locate it. It could be a local problem, however, I am positive I'm using RC4 and the search algorithm went through the entire page.

Anywho, nice little mod for phpBB3. I'll have to completely install it whenever the process is clarified/I'm unlazy enough to try again.
azzurri
Registered User
Posts: 910
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Karma MOD

Post by azzurri »

A_Jelly_Doughnut wrote:azzuri: did you have the karma MOD previously installed on that database? If so, that is the source of your problem :?

Karma is shown on viewtopic, but not the user's karma power.
No I didnt have karma mod previously installed.

Isnt this a little bit like the previous errors...
***Blaze*** wrote:
m157y wrote:2 ***Blaze
did you read error message?
Table 'phpbb_karma' already exists [1050]
Yes i read :(
m157y wrote:you install on vanilla phpbb or not?
if not, was you used svn packages of karma mod?
I instal karma mod on the phpBB3 RC4. I Used SVN VERSION karma mod.
User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: [BETA] Karma MOD

Post by m157y »

2 funowner
you wasn't late ;) only french translator was late :)
2 In Spades
1. here is nothing missed :) it's for right place finding :)
2. yeah.. we forgot this :) will be fixed at next beta...
3. here is 1 find instruction, so it's must be near first finded code :)
2 azzurri
i was fixed Blaze's error... but i'll try to find your error..
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter
User avatar
funowner
Registered User
Posts: 109
Joined: Sat May 26, 2007 4:29 pm
Location: Germany
Contact:

Re: [BETA] Karma MOD

Post by funowner »

ok, that's good.

btw: There could be some corrections in the english langfiles. I'm not english, I have to admit but I reckon there some variables that could be improved;)
Live your life as long as possible ;)
azzurri
Registered User
Posts: 910
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Karma MOD

Post by azzurri »

Is there something wrong with the tables added to phpbb3_posts because they take ages to delete (I mean really hard to delete) while the other tables are deleted instantly.

Also installation of database is rather slow, but maybe its because I had duplicate entries.
Last edited by azzurri on Thu Aug 23, 2007 10:34 pm, edited 1 time in total.
azzurri
Registered User
Posts: 910
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Karma MOD

Post by azzurri »

m157y wrote: 2 azzurri
i was fixed Blaze's error... but i'll try to find your error..

m157y I think I might of had old tables left from an old install, so maybe it is not a bug after all.
User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: [BETA] Karma MOD

Post by m157y »

2 azzurri
okay, i'll add checker for installed sql-parts and add ability to delete this :)
and i don't understand your trouble with posts table :)
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter
azzurri
Registered User
Posts: 910
Joined: Fri Jul 21, 2006 7:48 pm

Re: [BETA] Karma MOD

Post by azzurri »

For some reason it took ages to delete the karma from posts table. I tried it several times but it was the same every time. The page wouldnt even reload I had to reload manually to see if it was erased. It was the only area of the karma db that was like this.
User avatar
m157y
Registered User
Posts: 482
Joined: Mon Apr 30, 2007 9:39 am
Location: Russia, Moscow, Khimki
Contact:

Re: [BETA] Karma MOD

Post by m157y »

is your posts table very big? :)
if yes, it's normal :) because mysql, must delete all values of this fields.. if not, i'll look on this :)
m157y aka Misty
NO SUPPORT VIA PM
KarmaMOD for phpBB 3.0.x | bbAJAX
Follow me on twitter
Locked

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