Troll MOD

Post your MODs, receive and provide feedback!
Topics in this forum are not for MOD support, they are for giving the author feedback.
Forum rules
The topics in this forum are not for general MOD support, they are for giving the MOD author some feedback, ideas and bug reports.

Re: Troll MOD

Postby igorw » 18 Jun 2008, 15:45

You need to go to install/index.php to install the MOD. ;)
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby momentum » 19 Jun 2008, 01:02

eviL<3 wrote:You need to go to install/index.php to install the MOD. ;)

I did that. That's what got me the error. :shock:

Seems the install script failed on all counts.

After updating the database manually I finally figured out how to add the module to the ACP.

Craig.
User avatar
momentum
New member
New member
 
Posts: 37
Joined: 28 Feb 2008, 04:54
Location: Melbourne, Australia
Real name: Craig

Re: Troll MOD

Postby Bombadil » 19 Jun 2008, 01:24

eviL<3 wrote:Hi,

you need to go to /install/index.php first to install the MOD. :)


I have done that and I still get the error when trying to enter to the module.

If it helps, I'm trying to run it on a test forum with VistaX as the default Style.

Again, many thanks,
Bombadil.

-edit- Just in case the problem is a conflict with another mod, I here post a list of the mods currently installed on my test board.
acp_add_user_mod
Advanced Quick Reply
cpffa
phpkg
instant_post_redirect_1_0_2
Bombadil
New member
New member
 
Posts: 3
Joined: 10 Jun 2008, 02:02

Re: Troll MOD

Postby igorw » 19 Jun 2008, 19:14

Okay, i'll take a look into that then. Last time i tried it, it worked... :oops:

You guys are running 3.0.1, right?
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby momentum » 20 Jun 2008, 00:41

I certainly am. :D

Craig.
User avatar
momentum
New member
New member
 
Posts: 37
Joined: 28 Feb 2008, 04:54
Location: Melbourne, Australia
Real name: Craig

Re: Troll MOD

Postby igorw » 20 Jun 2008, 20:50

I've tested it on 3.0.1 and it works for me. Using SVN version though, but alpha1 should work fine too.
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby momentum » 21 Jun 2008, 01:30

I was using the SVN version.

If you can tell me how to completely remove the changes made by the script I'll happily try again.

Craig.
User avatar
momentum
New member
New member
 
Posts: 37
Joined: 28 Feb 2008, 04:54
Location: Melbourne, Australia
Real name: Craig

Re: Troll MOD

Postby igorw » 21 Jun 2008, 08:12

If you mean by install/index.php, run following SQL queries:
Code: Select all
DROP TABLE phpbb_trolls

Code: Select all
DELETE FROM phpbb_config WHERE config_name = 'troll_version'


In fact, i believe that's all.
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby igorw » 21 Jun 2008, 08:39

Oh, and another thing. There should be an alpha2 within the next few days! :)
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby momentum » 21 Jun 2008, 11:55

After deleting the module from the ACP, cleaning out the database table & row, then checking that all of the files were installed as they should be I ran the /install/index.php and got this.

Code: Select all
[phpBB Debug] PHP Notice: in file /includes/constants_troll.php on line 21: Constant TROLLS_TABLE already defined
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3530: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2960)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3532: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2960)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3533: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2960)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3534: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2960)


Craig.
User avatar
momentum
New member
New member
 
Posts: 37
Joined: 28 Feb 2008, 04:54
Location: Melbourne, Australia
Real name: Craig

Re: Troll MOD

Postby igorw » 21 Jun 2008, 12:08

Use the alpha, the current SVN is pretty unstable. :)
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby igorw » 23 Jun 2008, 23:20

I've just released alpha 2 of the MOD. It has its own tag in the SVN repo, so you can also get it from there. Or else you can also get it here. :)

eviL<3 wrote:Okay guys, alpha 2 is out! Important changes:
  • Using MODX 1.2.0
  • Now has a config page, and the ACP module has its own tab in the acp
  • Config options are: troll virus, troll chance; possibility to reject posts, pms and emails
  • The constants for the MOD have been moved to a separate file, so the edit to constants.php is no longer needed
  • Fixed some small things, like trolling bots
  • Added an a_troll permission, so that'll be needed to access the troll modules
  • Added two new troll actions: SQL error and auth removal

Please test it out and report any problems as soon as possible! I've also included some update instructions, look in the contrib folder.

My plan is to get alpha 3 (or beta 1) out next weekend, with some nice new stuff. I hope i can make it :mrgreen:.
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby Obsidian » 24 Jun 2008, 01:02

Awesomeness! Any big changes as far as the actions are concerned? Will my add-on still work, you think?
User avatar
Obsidian
Supporter
Supporter
 
Posts: 866
Joined: 13 May 2008, 15:20
Real name: Damian

Re: Troll MOD

Postby Winky » 24 Jun 2008, 07:15

Nice work evil ;)
User avatar
Winky
New member
New member
 
Posts: 12
Joined: 10 Jun 2008, 20:33
Location: The Netherlands

Re: Troll MOD

Postby igorw » 24 Jun 2008, 07:33

Should work, strato. It will need updating for the next version though. :D
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

PreviousNext

Return to MOD Feedback

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest

cron