Jump to content


- - - - -

[MA23] Topic Moderator


  • Please log in to reply
29 replies to this topic

#1 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 11 October 2008 - 09:56 PM

File Name: [MA23] Topic Moderator
Author: m4rtin
Category: IP.Board v2.3.x Mods
Description: Allows you (or any other groups you give access) to add a moderator to a single topic. This moderator have the ability to close, open, pin, unpin, delete posts, edit posts and/or edit topic title.

Demo:
http://www.invisionm.../demo/topicmod/

Compatibility:
This mod is compatible with the IP.Board 2.3.x series (May work with 2.2, haven't tested)

Requirements:
This mod was designed to be installed using the Universal Mod Installer, available from IPS Resources or Invision Modding.

Files Affected:

  • index.php
  • ./sources/action_public/forums.php
  • ./sources/action_public/moderate.php
  • ./sources/action_public/topics.php
  • ./sources/classes/post/class_post.php

Purchase [MA23] Topic Moderator
Cost: $10 (USD)



Before purchasing this Modification, be sure to review the Terms and Conditions.

#2 emoney

emoney

    I'll do graffiti if you sing to me in french

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,269 posts
  • Real Name:Eric
  • IPB Version:v3.1.x
Contributor

Posted 12 October 2008 - 06:43 PM

That is just ridiculously slick!  GJ m4rtin!

#3 Sean

Sean

    The One Man Show - IB.Bored

  • IM Supporters
  • PipPipPipPipPipPipPipPipPipPip
  • 3,857 posts
  • Location:England, UK
  • Real Name:Sean Ellis
  • IPB Version:v2.3.x
Contributor

Posted 12 October 2008 - 07:38 PM

That's incredible ;)

Posted Image

My Free Modifications | For Sale Modifications | Photos of Moi | Services System

My computer is messed up. I can't develop anything until I get my grubby paws a new computer.

I do not offer support via PM or any other messenger service. Please use the forums.


#4 TX5

TX5

    Coder

  • Members
  • PipPipPipPipPip
  • 228 posts
  • Location:brisbane
  • Real Name:james
  • IPB Version:v2.3.x

Posted 16 October 2008 - 11:56 PM

wtf, why pay for this mod, 2.3x series boards come with this feature built in lol

gl with with the sale  ;)

#5 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 17 October 2008 - 12:47 AM

Oh, really?
Show me.

#6 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 17 October 2008 - 12:54 AM

TX5... 2.3 series comes with moderation PER FORUM! Not PER TOPIC! ;)

#7 TX5

TX5

    Coder

  • Members
  • PipPipPipPipPip
  • 228 posts
  • Location:brisbane
  • Real Name:james
  • IPB Version:v2.3.x

Posted 17 October 2008 - 01:18 AM

ah well.. ;)

but like i said.. gl with it :)

#8 emoney

emoney

    I'll do graffiti if you sing to me in french

  • Modders
  • PipPipPipPipPipPipPipPip
  • 1,269 posts
  • Real Name:Eric
  • IPB Version:v3.1.x
Contributor

Posted 17 October 2008 - 02:10 AM

Even if IPB did have Topic Moderators built-in, I'm sure it wouldn't be as sick as this looks.  I don't have any real need for it, but I've been thinking of buying it just because of the demo. ;)

Edited by emoney, 17 October 2008 - 02:20 AM.


#9 Lindsey

Lindsey

    Programmer

  • IM Supporters
  • PipPipPipPipPipPip
  • 261 posts
  • IPB Version:v2.3.x
Contributor

Posted 17 October 2008 - 03:17 AM

oooh, I'm getting this next week sometime! ;)

#10 AmgedOsman

AmgedOsman

    aka Sacred

  • IM Supporters
  • PipPipPipPipPipPipPipPipPip
  • 2,027 posts
  • Location:Egypt - Cairo
  • Real Name:amGed
  • IPB Version:v3.3.x
Contributor

Posted 17 October 2008 - 04:14 AM

View PostTX5, on Oct 17 2008, 01:56 AM, said:

wtf, why pay for this mod, 2.3x series boards come with this feature built in lol

gl with with the sale  ;)
Please build ur replies on facts before jumping on some one's mods
in my opinion this mod is by far the best moderation-related kind of mods that has been released this year!!!!

very good job martin keep up the good work man!
Facebook Senior Account Manager (MENA Region)
MSN Senior Account Manager (MENA Region)

Posted Image
@amgedosman | AmgedOsman.com

#11 emmi

emmi

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 136 posts
  • Location:Iceland
  • Real Name:Emil Valsson
  • IPB Version:v2.3.x

Posted 11 March 2009 - 03:53 PM

Nice, does it offer the topic creator to moderate his own topic?
PSX.is

#12 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 11 March 2009 - 06:28 PM

As it is now, an administrator has to add a moderator to the topic.

#13 Telemacus

Telemacus

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 132 posts
  • Location:Sydney, Australia
  • Real Name:Javier
  • IPB Version:v2.3.x

Posted 17 March 2009 - 08:40 PM

Amazing Job Martin!  ;)

I have a question: the users that are granted permission to moderate the topic, can they also moderate replies to it? For example, delete/edit replies?

Feature suggestion: only assigned moderators can reply to topic. (why? well, I can think of several scenaries where it would be nice to let  x users participate in a topic).

#14 WarRockShop

WarRockShop

    Advanced Member

  • IM Supporters
  • PipPipPipPip
  • 84 posts
  • IPB Version:v2.3.x

Posted 17 March 2009 - 09:03 PM

You choose what rights you want to give to the Topic Moderator from:

- Edits all posts (replies) in the topic (of anyone).
- Delete all posts in the topci.
- Close/Open the topic.
- Pin/Unpin topic.
- Etc...

So, yes.

You could close the topic, that way only the moderator can reply ;)

I bought it, it's a 'good job' indeed.

#15 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 17 March 2009 - 10:20 PM

View PostTelemacus, on Mar 17 2009, 09:40 PM, said:

Amazing Job Martin!  ;)
Thanks :)

View PostWarRockShop, on Mar 17 2009, 10:03 PM, said:

You could close the topic, that way only the moderator can reply :)
Unfortunately, it's not that easy. The permission settings to post in a closed topic is a per-group setting, not per moderator. So no, at the moment it's not possible.

But, it can be forced with two simple file edits.

Open ./sources/action_public/topics.php and ./sources/classes/post/class_post.php (Same edit is for both files)
Find:
$this->moderator = $this->ipsclass->cache['topicMod'][ $this->ipsclass->input['t'] ][ $this->ipsclass->member['id'] ];
				$this->ipsclass->member['is_mod'] = 1;
Add below:
$this->ipsclass->member['g_post_closed'] = 1;
Save and upload

Just note that this will allow all topic moderators to post in a closed topic. It is possible to set it based on other topic moderator permissions. Just let me know, and I'll adjust the edit to suit your needs.

#16 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 28 March 2009 - 02:32 PM

To celebrate Invision Modding's fifth anniversary, I'm slicing the price in half, to $10.

#17 emmi

emmi

    Coder

  • IM Supporters
  • PipPipPipPipPip
  • 136 posts
  • Location:Iceland
  • Real Name:Emil Valsson
  • IPB Version:v2.3.x

Posted 28 March 2009 - 03:51 PM

Just purchased a copy. ;)
PSX.is

#18 Liquid 1520

Liquid 1520

    Novice

  • IM Supporters
  • PipPip
  • 10 posts
  • IPB Version:v2.3.x

Posted 23 May 2009 - 10:31 PM

I can't get the file edit for /sources/action_public/forums.php to work.  Every time I try to do it, i get a fatal error, any idea why?

#19 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 23 May 2009 - 10:50 PM

Just saw a typo in the instructions.
The last edit in that file should be added above, not below.

#20 Liquid 1520

Liquid 1520

    Novice

  • IM Supporters
  • PipPip
  • 10 posts
  • IPB Version:v2.3.x

Posted 23 May 2009 - 10:51 PM

Fatal error: Call to undefined method forums::getTopicModerator() in /home/alrs/public_html/forums/sources/action_public/forums.php on line 1439

Still getting that




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users