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 » 05 Jun 2008, 16:33

harmlessgoat22 wrote:Contrary to this anti sexist crap that is going on, the masculine (he, him, etc.) was the accepted gender neutral form. But now, it is more proper to refer to someone as plural, which makes absolutely no sense.

See, you say this because you're male. But how would you feel if the "accepted gender neutral form" were she, her and so on? I personally would possibly feel slightly insulted. ;)
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby harmlessgoat22 » 05 Jun 2008, 16:57

Well, when used as the neutral form, it does not mean male, it means either. Just because they use the same tense doesn't mean that they are implying that male is dominant. If the feminine was the accepted form, and had been so for hundreds of years, I would be fine with that. I would not be fine, however, if females changed it to being feminine right now, based on them being better, which is not what the neutral being male implies.

I don't know if I'm making any sense, but hopefully I am...
Image
That's like, I can't beat my neighbor in an argument, so instead I kill his dog.
-Best English Teacher Ever
harmlessgoat22
Supporter
Supporter
 
Posts: 316
Joined: 18 Sep 2007, 14:35
Real name: David

Re: Troll MOD

Postby igorw » 06 Jun 2008, 14:00

I understand that society has made this over time, but you are still using male words for subjects (or objects) who may be female. :P

Anyway, let's get back on topic. If anybody wants to fight more gender war with me, send me PMs. :D
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby Bombadil » 10 Jun 2008, 02:07

Hi. I'm new in this forum (and in phpbb world, acctually). I've tried to install this awsome mod on my test board, but I get an error, when trying to access the Troll module in the ACP.

Code: Select all
SQL ERROR [ mysql4 ]

Table 'XXXXXXX_phpb2.TROLLS_TABLE' doesn't exist [1146]

SQL

SELECT t.troll_id, u.user_id, u.username, u.username_clean FROM TROLLS_TABLE t, phpbb_users u WHERE u.user_id = t.user_id ORDER BY u.username_clean ASC

BACKTRACE

FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()

FILE: includes/acp/acp_troll.php
LINE: 101
CALL: dbal_mysql->sql_query()

FILE: includes/functions_module.php
LINE: 471
CALL: acp_troll->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()


Thank you very much in advance for your help and, of course, for this great mod.
Bombadil
New member
New member
 
Posts: 3
Joined: 10 Jun 2008, 02:02

Re: Troll MOD

Postby igorw » 10 Jun 2008, 10:52

Hi,

you need to go to /install/index.php first 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 Obsidian » 10 Jun 2008, 12:43

evil, the random choice of the errors to use is handled internally, correct?

Also, to add a new problem for the troll, all that has to happen is the creation of another PHP file within includes/troll/ that matches the pattern of the rest, correct?

I think I've almost got my Troll-CSS Addon done...but I want to make sure it'll work. :)
User avatar
Obsidian
Supporter
Supporter
 
Posts: 866
Joined: 13 May 2008, 15:20
Real name: Damian

Re: Troll MOD

Postby igorw » 10 Jun 2008, 12:47

I don't really know what you mean with internally. But yes, adding a new file into the includes/troll/ folder is all you need to create a new troll action. :)
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby Obsidian » 10 Jun 2008, 12:55

All that I mean by internally is if I don't have to muck with something in order to have the new action work. :)
User avatar
Obsidian
Supporter
Supporter
 
Posts: 866
Joined: 13 May 2008, 15:20
Real name: Damian

Re: Troll MOD

Postby igorw » 10 Jun 2008, 13:05

Just make sure you purge the cache. :)
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby Obsidian » 10 Jun 2008, 13:35

Okay, here's my Addon for it, then.

Troll MOD Addon: CSS-be-gone!
Adds a stylesheet load failure feature for trolled users

Download:
Troll_MOD_addon_CSS.zip
(29.42 KiB) Downloaded 47 times


Version: 0.1.0

Muaaahahahah! :rootbeer:
User avatar
Obsidian
Supporter
Supporter
 
Posts: 866
Joined: 13 May 2008, 15:20
Real name: Damian

Re: Troll MOD

Postby igorw » 10 Jun 2008, 13:53

Very nice!

You could use before-/after-adds for the edits to not replace such a large block. Also, for a single template var, you can use $template->assign_var().

I know, i always complain about everything, sorry. Nice work :)
User avatar
igorw
Past Contributor
Past Contributor
 
Posts: 2321
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: Troll MOD

Postby Obsidian » 10 Jun 2008, 15:18

eviL<3 wrote:Very nice!

You could use before-/after-adds for the edits to not replace such a large block. Also, for a single template var, you can use $template->assign_var().

I know, i always complain about everything, sorry. Nice work :)


I used assign_vars because I don't know the syntax for assign_var. :lol: Oh well.

And thanks. :)
User avatar
Obsidian
Supporter
Supporter
 
Posts: 866
Joined: 13 May 2008, 15:20
Real name: Damian

Re: Troll MOD

Postby BetaDevil » 10 Jun 2008, 15:21

Code: Select all
$template->assign_var('S_VARIABLE'true); 
:ugeek:
BetaDevil
Supporter
Supporter
 
Posts: 27
Joined: 01 Sep 2007, 12:27
Real name: Tim

Re: Troll MOD

Postby momentum » 12 Jun 2008, 13:59

Can I suggest a new module for this MOD? How about sending the Troll to the "Board is offline" page in one out of ten loading attempts?

Craig.

Edit: Forget I typed that. I've just re-read the topic over at phpbb.com :oops:
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 momentum » 18 Jun 2008, 14:23

Hi Igor,

I've only just gotten around to playing with this MOD and on browsing to the install/index.php file I get the same error Bombadil posted above, but without the backtrace notes.
SQL ERROR [ mysqli ]

Table 'forum.phpbb_trolls' doesn't exist [1146]

An SQL error occurred while fetching this page. Please contact the Board Administrator if this problem persists.

This is on a local copy of my board running under xampp. (php 5.2.5) As there's no SQL query included in the install I expect the table is meant to be created by your installation script, but somehow it seems to have failed. I'm also not proficient enough in php to be able to decipher the query from the code. :?

Edit: Found the install/schemas directory and created the table manually. My problem now is that I can't figure how to add a user to the troll ist.

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

PreviousNext

Return to MOD Feedback

Who is online

Users browsing this forum: No registered users and 1 guest