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.
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Post by igorw »

You need to go to install/index.php to install the MOD. ;)
momentum
New member
New member
Posts: 32
Joined: 28 Feb 2008, 04:54
Real name: Craig
Location: Melbourne, Australia
Contact:

Re: Troll MOD

Post by momentum »

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.
Bombadil
New member
New member
Posts: 3
Joined: 10 Jun 2008, 02:02

Re: Troll MOD

Post by Bombadil »

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
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Post by igorw »

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?
momentum
New member
New member
Posts: 32
Joined: 28 Feb 2008, 04:54
Real name: Craig
Location: Melbourne, Australia
Contact:

Re: Troll MOD

Post by momentum »

I certainly am. :D

Craig.
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Post by igorw »

I've tested it on 3.0.1 and it works for me. Using SVN version though, but alpha1 should work fine too.
momentum
New member
New member
Posts: 32
Joined: 28 Feb 2008, 04:54
Real name: Craig
Location: Melbourne, Australia
Contact:

Re: Troll MOD

Post by momentum »

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.
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Post by igorw »

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.
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Post by igorw »

Oh, and another thing. There should be an alpha2 within the next few days! :)
momentum
New member
New member
Posts: 32
Joined: 28 Feb 2008, 04:54
Real name: Craig
Location: Melbourne, Australia
Contact:

Re: Troll MOD

Post by momentum »

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.
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Post by igorw »

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

Re: Troll MOD

Post by igorw »

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
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian
Contact:

Re: Troll MOD

Post by Obsidian »

Awesomeness! Any big changes as far as the actions are concerned? Will my add-on still work, you think?
User avatar
Winky
New member
New member
Posts: 12
Joined: 10 Jun 2008, 20:33
Location: The Netherlands

Re: Troll MOD

Post by Winky »

Nice work evil ;)
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Post by igorw »

Should work, strato. It will need updating for the next version though. :D
Post Reply