[Alpha] Troll MOD (Alpha 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
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [Dev] Troll MOD

Post by igorw »

Wow, thanks for the huge ammounts of comments, and special thanks to you who tested it :)
idiotnesia wrote:nice idea evil....

I thinks it's better if you change the name of your mod become Evil Mod :lol:
Whahaha :lol:
devinliao wrote:Would be nice to get a redirection to somewhere else as well.
Any suggestions? I think redirection to google or something like that would be too suspicious. This MOD should make the user think he is having bad luck. Which... in a way he is :lol:
devinliao wrote:Also It would be nice to specify in ACP the % that you want for each setting.
Yeah, that's a good idea, and i'm planning to implement something like this. Still thinking of how to do it. I was thinking of having a pie chart with flash and you could drag the borders. Any ideas, suggestions or offers are appreciated :)
devinliao wrote:Another nice thing but not really needed is: specific settings for users.
It's an okay idea but not really worth it imo. Maybe somebody can create an add-on for it.
kevinroxx wrote:Cool idea, but that is just plain evil.....I like it :D
Why do you think i chose this username? :twisted:
spaceace wrote:also good for admins to play tricks on your moderators :twisted:
gigitrix wrote:I see some great site-wide april fools potential...
And i thought i was evil... :lol:
mtrs wrote:If I don't remember wrong, someone mentioned before. The troll mod for phpbb2 was leaving a troll track cookie in troll members' pc. So, if the troll enters board with another account from the same pc, can be treated like a troll again. I wonder if it wil also be utilised by this mod.. ;)
Thanks for the suggestion, it's been implemented 8-).
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [Dev] Troll MOD

Post by igorw »

I decided to make 2 posts :).

Thanks for all of you who tested it. There were some small, silly an annoying bugs in the code. First of all, the FIND action in the MOD file was bad (multiple instances), secondly the add belonging to that find was messed up in the MODX file, due to a mistake in my mod to modx convertor. Also, the code to run the SQL was commented out... :x :roll:

Anyways, i have fixed up a few things, here's a changelog:
  • r20
    # fixed/improved the find in the mod
    # don't make founders trolls
    # troll cookie support
    # pseudo modular actions system (to be improved)
    # installer: process sql (it was commented out, duh)
    # installer: add function to remove itself if /install/ is writable
    # fix a bug with the mod version for updating
  • r21
    add caching for troll actions (works like cache::obtain_hooks())
I'd be glad if you guys could do some more testing. I've also done some more myself and it should be working better now. Things needing testing: troll cookies, self-delete function of installer, make sure caching for actions works.

If you have an account on assembla.com (you can register one for free), you can suscribe to updates for my mods (i think you'll get updates for all then...). That can be found here.

Thanks for all your support and comments so far! I'm glad this MOD is so popular :)
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
Matze89
Registered User
Posts: 1
Joined: Fri Nov 09, 2007 10:48 pm

Re: [Dev] Troll MOD

Post by Matze89 »

i have all the time a error-message with the Troll - Nickname:

Code: Select all

Parse error: syntax error, unexpected ';', expecting '{' in /homepages/38/includes/troll/base.php on line 24
can i help me?
jmjm003
Registered User
Posts: 275
Joined: Sat Dec 22, 2007 7:05 pm

Re: [Dev] Troll MOD

Post by jmjm003 »

Couldn't wait to test it any longer. :D

I seem to have the issues that most were having on the first go around.
Had to run the table manually because the install did not create it. Added module in ACP. After that, set my normal user test account as a troll. DB table list the ID of this user. When browsing the forums I do not see any changes in the way it behaves.
idiotnesia
Registered User
Posts: 509
Joined: Sun Jun 18, 2006 10:58 am
Location: www.phpbbindonesia.com
Name: Pungky Putra

Re: [Dev] Troll MOD

Post by idiotnesia »

I've just got the files from the repository. I will test it soon...

About redirection:
Just redirect to your forum (http://www.phpbbmodders.net) :P

offtopic:
wew, i found something interesting in your repo (annual_stars and forum_prune_move)
my phpBB will be full wth your mods :P :P
RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [Dev] Troll MOD

Post by RedTrinity »

Ok have tested the updated version on our board, this error is appearing everywhere for the guinea pig 'troll':

Code: Select all

Fatal error: Non-abstract method troll_action::action() must contain body in /home/****/public_html/forum/includes/troll/base.php on line 24
:?
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [Dev] Troll MOD

Post by igorw »

Matze89 and RedTrinity, thanks for testing. It should now be working. I fixed that little mistake. It didn't seem to happen for me... Just update to r22 :)

jmjm00, can you explain the problem in detail?
idiotnesia wrote:About redirection:
Just redirect to your forum (http://www.phpbbmodders.net) :P
Hahaha :lol:
idiotnesia wrote:offtopic:
wew, i found something interesting in your repo (annual_stars and forum_prune_move)
my phpBB will be full wth your mods :P :P
;)

Thanks for the support so far guys - you're great!
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [Dev] Troll MOD

Post by RedTrinity »

Hi Evil!

Good news, we just tested the latest version and it works :D My guinea pig member (moderator lol) experienced blank pages, being logged out and very slow loading times. She also logged out intentionally and the forum continued to run slow, took her ages to log back in.

Yay!!! Congrats on a job well done :D

Now, I have a couple of suggestions if that is ok? Firstly, are any of these able to be implemented from V2 as well?
1. Login (only works 25% of the time)
2. Posting (no post is ever saved, but 25% of the time it will APPEAR to work)
3. Private messaging (no PM is ever sent, again 25% of the time it will look like it has worked)
4. Email (no email is ever sent, same as PM and posting)
Particularly that of the preventing posts/PMs going through - I feel this is an important aspect as if the troll is experiencing problems, then its not going to be long until they are wandering over to the feedback section to report them. This doesn't look good for other members who may view the topics at another time and assume that the board plays up regularly, but also might cause some suspicion for the troll if its confirmed by other members that they are the only one experiencing issues.

Also of course most trolls only post up worthless material anyway :D

My other suggestion - not really an important aspect but more for amusement's sake - V2 also had funny 'joke' messages as well such as telling the troll that they couldn't login due to the forum being full, please try again later etc. Might be worth considering ;)

Sorry for overloading you with suggestions btw, I realise that chances are these have already been considered in future - just thought I would go over some of the ideas used in the last one which I believe would be great ported to the PHPBB3 version!!

Thanks again for such a great MOD and for finally converting it, you have no idea how much it was missed on our forum LOL :D
RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [Dev] Troll MOD

Post by RedTrinity »

Oh I forgot to mention, its not really a bug but at the moment usernames entered into the ACP to set trolls are case sensitive - the names have to match exactly in order for them to work :)
jalaln
Registered User
Posts: 1076
Joined: Tue Jul 05, 2005 5:05 am

Re: [Dev] Troll MOD

Post by jalaln »

I don't like this type of MODs because I feel "pity" for them which "hurts me" even though they deserve it. Banning is better IMHO.
No more spambots for phpBB2 and phpBB3.
RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [Dev] Troll MOD

Post by RedTrinity »

jalaln wrote:Banning is better IMHO.
I believe banning can be more offending for somebody who would know they have been deliberately turned away - especially since if they are a troublemaker (ie. a troll which this MOD is intended for) they will just come straight back with a new account to cause further problems. Trolls always find a way around any kind of ban.

This MOD encourages a troublemaker to leave of their own accord and never come back, as they believe the forum is genuinely malfunctioning. No point re-registering or trying to cause problems at a broken forum, right?

So each to their own :) But I am very happy this MOD is back and only use it in extreme situations - therefore I don't have any need to pity the victim because they have truly earnt the consequences. Besides, I would prefer them suffer than both the staff and the folks of our community ,who are there for genuine reasons and don't appreciate somebody there whose purpose is to intentionally cause conflict/problems.
blablaman
Registered User
Posts: 20
Joined: Thu Nov 01, 2007 2:11 pm

Re: [Dev] Troll MOD

Post by blablaman »

first sorry for my enlish. I'am not very good in writing enlish.

I have a idea for this great mod.
Is it possible to go after 5 (shorter or longer) days to a page to explain to the user why this al happens.
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [Dev] Troll MOD

Post by igorw »

RedTrinity wrote:Good news, we just tested the latest version and it works :D My guinea pig member (moderator lol) experienced blank pages, being logged out and very slow loading times. She also logged out intentionally and the forum continued to run slow, took her ages to log back in.

Yay!!! Congrats on a job well done :D
Awesome! :) Thanks for testing!
RedTrinity wrote:Now, I have a couple of suggestions if that is ok? Firstly, are any of these able to be implemented from V2 as well?
1. Login (only works 25% of the time)
2. Posting (no post is ever saved, but 25% of the time it will APPEAR to work)
3. Private messaging (no PM is ever sent, again 25% of the time it will look like it has worked)
4. Email (no email is ever sent, same as PM and posting)
I might add some of these as "extra options".
RedTrinity wrote:Particularly that of the preventing posts/PMs going through - I feel this is an important aspect as if the troll is experiencing problems, then its not going to be long until they are wandering over to the feedback section to report them. This doesn't look good for other members who may view the topics at another time and assume that the board plays up regularly, but also might cause some suspicion for the troll if its confirmed by other members that they are the only one experiencing issues.
This is a good point. I will see if i can find a good way to add this :) I had something like this planned originally but then removed that because i didn't want to add too much to it. But I'll have another look at it.
RedTrinity wrote:My other suggestion - not really an important aspect but more for amusement's sake - V2 also had funny 'joke' messages as well such as telling the troll that they couldn't login due to the forum being full, please try again later etc. Might be worth considering ;)
It's sure funny, but imo that would be something for april 1st, not the troll mod. But that's just me ;)
RedTrinity wrote:Sorry for overloading you with suggestions btw, I realise that chances are these have already been considered in future - just thought I would go over some of the ideas used in the last one which I believe would be great ported to the PHPBB3 version!!
No, your suggestions are great, seriousley! Keep them coming :)
RedTrinity wrote:Oh I forgot to mention, its not really a bug but at the moment usernames entered into the ACP to set trolls are case sensitive - the names have to match exactly in order for them to work :)
I'll have a look at this. ;)
jalaln wrote:I don't like this type of MODs because I feel "pity" for them which "hurts me" even though they deserve it. Banning is better IMHO.
This MOD is not for just annoying users you don't like. At least that's not my understanding of it. There are users that are just plain annoying. You ban them and they keep coming back. That's a real pain, the Troll MOD should be the last try to get rid of a user. But how they use it is up to the admins. It's not my fault if admins abuse their powers. I personally have never had to do something like this, and it takes a lot until i ban a user when i run a forum.
blablaman wrote:I have a idea for this great mod.
Is it possible to go after 5 (shorter or longer) days to a page to explain to the user why this al happens.
This would be possible, but i don't think i will add it. The Troll MOD should (imo) not be used as a replacement for banning. If you want to get rid of a user, ban him, give him a ban reason. If everything fails, make him a troll. But thanks for your ideas anyway. As always, i'm open to addons and will - if they are good - include them. :D

Thanks for the testing and input guys, keep it coming!
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three
jmjm003
Registered User
Posts: 275
Joined: Sat Dec 22, 2007 7:05 pm

Re: [Dev] Troll MOD

Post by jmjm003 »

eviL<3 wrote: jmjm00, can you explain the problem in detail?
Let me reinstall it. Maybe I missed a file or something when downloading all of them. Not use to having to get files that way. ;)

It appears to work for most of the members that have installed it now. Most likely I did something wrong.
I'll get back to you.
jmjm003
Registered User
Posts: 275
Joined: Sat Dec 22, 2007 7:05 pm

Re: [Dev] Troll MOD

Post by jmjm003 »

I was at fault. As it is things seem to be workin fine. Well, unless your the victim of this mod. What a pain in the ***!

I do get one eror with debug on.

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/functions_troll.php on line 84: Undefined variable: config
Thank You for bringing this mod back to life with 3.0!

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