[BETA] Advanced Points System v.0.9.2

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
BBRAIN
Registered User
Posts: 55
Joined: Tue Aug 26, 2008 10:33 am

Re: [BETA] Points System v.0.6.4

Post by BBRAIN » Thu Aug 28, 2008 8:25 pm

no worries pal, will try to trace it ;)

BBRAIN
Registered User
Posts: 55
Joined: Tue Aug 26, 2008 10:33 am

Re: [BETA] Points System v.0.6.4

Post by BBRAIN » Thu Aug 28, 2008 8:41 pm

Think this may be an issue with phpBB-3.0.2 I loaded a style from a previous version and copied the templates to this theme and all is working fine. :D

phpBB-3.0.2 has trouble seeing the subsilver theme think there maybe files missing or something.

danswano
Registered User
Posts: 273
Joined: Sun Apr 06, 2008 10:43 pm

Re: [BETA] Points System v.0.6.4

Post by danswano » Thu Aug 28, 2008 9:03 pm

Adrian1 wrote:
danswano wrote:I'm using mini knowledge mod http://www.phpbb.com/community/viewtopi ... 0&t=589907 and when i try to create a topic in the base i get this error:

Code: Select all

I'm using Points mod and it's seems that it's conflicting with this mod because each new topic will give points to the author, so each time i create or approve a topic in the KB  i get this error:

[code]General Error
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE user_id = '2'' at line 1 [1064]

SQL

UPDATE phpbb_users SET points = points + WHERE user_id = '2'

BACKTRACE

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

FILE: includes/functions_posting.php
LINE: 1901
CALL: dbal_mysqli->sql_query()

FILE: includes/functions_kb.php
LINE: 499
CALL: submit_post()

FILE: knowledge/kbposting.php
LINE: 169
CALL: activate_article()

The forum is trying to give the user points for the KB new topic but it's giving this error

any solution please ?[/code]


anyidea ?
Fixed:
Here is the fix:

Code: Select all

In posting.php

Find:
					case "edit":
						$Points = ($Points['points_peredit']) ? $post_data['forum_peredit'] : 0;
					break;

Add after:
					default:
						$Points = 0;
					break;
Still getting the same error.

Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [BETA] Points System v.0.6.4

Post by Adrian1 » Thu Aug 28, 2008 9:34 pm

danswano wrote:
Adrian1 wrote:
danswano wrote:I'm using mini knowledge mod http://www.phpbb.com/community/viewtopi ... 0&t=589907 and when i try to create a topic in the base i get this error:

Code: Select all

I'm using Points mod and it's seems that it's conflicting with this mod because each new topic will give points to the author, so each time i create or approve a topic in the KB  i get this error:

[code]General Error
SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE user_id = '2'' at line 1 [1064]

SQL

UPDATE phpbb_users SET points = points + WHERE user_id = '2'

BACKTRACE

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

FILE: includes/functions_posting.php
LINE: 1901
CALL: dbal_mysqli->sql_query()

FILE: includes/functions_kb.php
LINE: 499
CALL: submit_post()

FILE: knowledge/kbposting.php
LINE: 169
CALL: activate_article()

The forum is trying to give the user points for the KB new topic but it's giving this error

any solution please ?[/code]


anyidea ?
Fixed:
Here is the fix:

Code: Select all

In posting.php

Find:
					case "edit":
						$Points = ($Points['points_peredit']) ? $post_data['forum_peredit'] : 0;
					break;

Add after:
					default:
						$Points = 0;
					break;
Still getting the same error.
Uhh, i will install KB tomorrow, end try to fix it.
RPG MOD for phpbb3

pieterbas
Registered User
Posts: 106
Joined: Mon Feb 04, 2008 7:39 pm

Re: [BETA] Points System v.0.6.4

Post by pieterbas » Thu Aug 28, 2008 9:53 pm

Live demo of the addon shop!!!!! on http://www.support.forumspellen.nl



yes there are some mistake in hihihi :D

Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [BETA] Points System v.0.7.0

Post by Adrian1 » Fri Aug 29, 2008 9:35 pm

New version v.0.7.0

[Adding] Delete points when user get warn
[Fixing] A missing language syntax
[Fixing] Install.xml bug
[Fixing] Version check, thanks to pieterbas
[Fixing] All some compatibility problem with other mods.
[Adding] Shop System !!!

Download: http://myfreefilehosting.com/f/aa564daaf4_0.39MB
RPG MOD for phpbb3

danswano
Registered User
Posts: 273
Joined: Sun Apr 06, 2008 10:43 pm

Re: [BETA] Points System v.0.7.0

Post by danswano » Sat Aug 30, 2008 1:39 am

The knowledge base mod bug fixed buddy ?
and what about deleting the points gained fron new topic when delete topic ?
also there is no update in the 0.7.0 package, can you include it please.

kazango
Registered User
Posts: 50
Joined: Fri Jul 23, 2004 3:42 pm
Location: Holland
Contact:

Re: [BETA] Points System v.0.7.0

Post by kazango » Sat Aug 30, 2008 8:02 am

How install after 0.64?
Last edited by Kazango on Thu Jul 29, 2004 6:35 am; edited 458 times in total

pieterbas
Registered User
Posts: 106
Joined: Mon Feb 04, 2008 7:39 pm

Re: [BETA] Points System v.0.7.0

Post by pieterbas » Sat Aug 30, 2008 7:23 pm

kazango wrote:How install after 0.64?


Update from: V0.6.4 to V0.7.0

- Copy file from root to root.
-

Code: Select all

 INSERT INTO phpbb_config (config_name, config_value) VALUES ('points_warn', '0');
- Make the change in includes/mcp/mcp_warn.php

[/b]



If you've done all you need to have even a change in a file.
Adrian is forgotten so should you can do that :D :

open: \root\adm\mods\advanced_points_check_version.php

find:

'0.6.4'


change to:
'0.7.0'

save this file end upload to the server.
Last edited by pieterbas on Sun Aug 31, 2008 9:21 am, edited 1 time in total.

pieterbas
Registered User
Posts: 106
Joined: Mon Feb 04, 2008 7:39 pm

Re: [BETA] Points System v.0.7.0

Post by pieterbas » Sat Aug 30, 2008 8:47 pm

In the shop are all errors.
If you still find what they do to us.
You can do here: http://www.support.forumspellen.nl/tracker.php?p=5
Thus, the mod even better;)

Regards,
pieterbas

kazango
Registered User
Posts: 50
Joined: Fri Jul 23, 2004 3:42 pm
Location: Holland
Contact:

Re: [BETA] Points System v.0.7.0

Post by kazango » Sat Aug 30, 2008 10:31 pm

I have only this in ACP.
  • Advanced Points System
    Donor Settings
    Point Settings
    Lottery Settings
    Bank Settings
The shop settings are missing. I have all the files uploaded and change de code in the files. I also use the shop+install file. How to solve this
Last edited by Kazango on Thu Jul 29, 2004 6:35 am; edited 458 times in total

Adrian1
Registered User
Posts: 630
Joined: Tue Jul 15, 2008 11:21 am
Contact:

Re: [BETA] Points System v.0.7.0

Post by Adrian1 » Sun Aug 31, 2008 5:14 am

kazango wrote:I have only this in ACP.
  • Advanced Points System
    Donor Settings
    Point Settings
    Lottery Settings
    Bank Settings
The shop settings are missing. I have all the files uploaded and change de code in the files. I also use the shop+install file. How to solve this
Add the Shop Settings, forom ACP->SYSTEM->Administrator ...
RPG MOD for phpbb3

pieterbas
Registered User
Posts: 106
Joined: Mon Feb 04, 2008 7:39 pm

Re: [BETA] Points System v.0.7.0

Post by pieterbas » Sun Aug 31, 2008 8:31 am

kazango wrote:I have only this in ACP.
  • Advanced Points System
    Donor Settings
    Point Settings
    Lottery Settings
    Bank Settings
The shop settings are missing. I have all the files uploaded and change de code in the files. I also use the shop+install file. How to solve this

\Points\contrib\plugins\Shop Mod v.0.0.1 :mrgreen:

danswano
Registered User
Posts: 273
Joined: Sun Apr 06, 2008 10:43 pm

Re: [BETA] Points System v.0.7.0

Post by danswano » Sun Aug 31, 2008 9:37 am

Buddy, can you make this addon for phpBB Gallery os each user will upload an image will gain points ? :)

kazango
Registered User
Posts: 50
Joined: Fri Jul 23, 2004 3:42 pm
Location: Holland
Contact:

Re: [BETA] Points System v.0.7.0

Post by kazango » Sun Aug 31, 2008 9:59 am

pieterbas wrote:\Points\contrib\plugins\Shop Mod v.0.0.1 :mrgreen:
I have installed that also. Shop is there but not in ACP
Last edited by Kazango on Thu Jul 29, 2004 6:35 am; edited 458 times in total

Locked

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