vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Easy Add Forum Moderator (https://vborg.vbsupport.ru/showthread.php?t=92351)

Revan 07-16-2005 10:00 PM

Easy Add Forum Moderator
 
Easy Add Forum Moderator v1.5

This Extension was inspired by this thread. I found this to be a rather useful feature, so I decided to add it.

What this mod does:
It enables you to add a single user to multiple forums at once.
The new moderator will have the same permissions everywhere, so fine-tuned permissions still need to be done individually.

Features:
  • Detecting of Category or parent-less forums
  • Add the moderator to any combination of your forum list
  • Same detailed configuration options as if you were adding the Moderator manually
  • Multiple moderators can be added to the same forums
  • Username existance check to prevent nonexistant users from being moderators
  • Fully phrased
  • NO Code Modifications needed!


Screenshot attached.

Install instructions:
  1. Click install (you want your precious support, don't you?).
  2. Upload the files.
  3. Run /admincp/forummod_install.php.
  4. Delete above file.
  5. Enjoy.


https://vborg.vbsupport.ru/
All Your Money Are Belong To Me :)

Dan 07-17-2005 01:09 AM

Awsome mod :) thanks for sharing it!

[high]* Dan clicks install[/high]

Tony G 07-17-2005 02:05 AM

Great mod, I've been waiting for something like that which simplifies the addition of moderators.

Thanks for sharing. :)

bigcurt 07-17-2005 02:51 AM

I am sorry to ask this :P but can you please port to vB 3.0.X? :)

Revan 07-17-2005 11:19 AM

Quote:

Originally Posted by bigcurt
I am sorry to ask this :P but can you please port to vB 3.0.X? :)

I'm working on that now :)


Update: Now includes an error check that displays an error if no forums was selected.
This is not a critical update. To upgrade, run Uninstall then Install from the /admincp/forummod_install.php.

bigcurt 07-17-2005 11:22 AM

Oh great, thanks alot Revan

Revan 07-17-2005 11:47 AM

Done :)

Rich 07-19-2005 12:59 AM

Hello,

Did the install work for anyone? I uploaded the files, and ran the install on a test forum....and nothing. I thought perhaps I need to run a search and save one of the phrases, but again, nothing. I even went and manually typed in the forummod.php in the acp directory, and when it loads, it is empty. Any ideas? Anyone else have this problem?

****Update****

It created a NEW Forums and Moderators drop down, and when I tried to use that one, it gave me a blank screen. When I refreshed my browser, I can then access the forummod, but I now have TWO Forums & Moderators. Is that supposed to happen?

Rich 07-23-2005 11:45 AM

Hello,

Bumping this up to hopefully see someone respond.

Revan 07-29-2005 10:47 PM

What in the bluest... I tried this on Beta4 and it worked just fine.
What version are you trying this on?

Boofo 07-29-2005 10:50 PM

It works fine on RC 1. ;)

Any way to make it so if the forum is a link it doesn't get listed to add a mod to? And a drop down with the forums might be better especially if you have a lot of fourms. ;)

Revan 07-29-2005 11:28 PM

But you cant select multiple forums in a dropdown, can you, f00l!?!?!?!?! :p
And Ill look into that linkage stuff tomorrow :)

Zero Tolerance 07-29-2005 11:29 PM

Hmm, seem's good, like IPB used to have it in 1.3, i guess to improve you could add mulltiple moderators to x forums?

I'm sure it would come in use for me then if that was made =)

- Zero Tolerance

Boofo 07-29-2005 11:30 PM

Quote:

Originally Posted by Revan
But you cant select multiple forums in a dropdown, can you, f00l!?!?!?!?! :p
And Ill look into that linkage stuff tomorrow :)

There is a plug-in here that does just that. Sure you can select multiple forums. You didn't know that really? ;)

Revan 07-30-2005 11:00 AM

Quote:

Originally Posted by Zero Tolerance
i guess to improve you could add mulltiple moderators to x forums?

PHPwned, seperate mod usernames with ;
Also the error checking works for multiple usernames, it removes any invalid entries then proceeds to add the correct ones as moderators.
Quote:

Originally Posted by Boofo
Any way to make it so if the forum is a link it doesn't get listed to add a mod to?

PHPwned too.


To upgrade, run uninstall then reinstall :)
Beware that this will most likely delete any custom translations of this hack.

Boofo 07-30-2005 11:34 AM

Revan, this is the mod I was telling you about that had the box to pick multiple forums. Would save some space, I think. Just a thought. ;)

Out-Out Forums from Get New/Get Daily

- KirbyDE did it I think for 3.5 RC 1

Yorixz 10-01-2005 01:45 PM

Wonderfull mod, only suggestion I would have is that it would look nice to also have tabs so you can see what forum is a subforum and what one isn't.

Great work!

VaaKo 10-01-2005 06:59 PM

I don't understand
this mod adds a new line under "add a forum" called "add a moderator" or adds a feature in the "add a moderator" existing feature?

Yorixz 10-02-2005 06:59 AM

It adds the new line which will give you more options; you can select multiple forums there etc.

thedvs 10-03-2005 02:35 PM

does this work on 3.5 gold?

Revan 10-03-2005 03:32 PM

I would say so, what with this being an Extension, you can install it without having to worry about something going wonky.
If it doesn't work, then let me know.
I currently don't have anywhere proper to test the mod with Gold.

SAngove 10-03-2005 04:03 PM

Quote:

Originally Posted by Revan
I would say so, what with this being an Extension, you can install it without having to worry about something going wonky.
If it doesn't work, then let me know.
I currently don't have anywhere proper to test the mod with Gold.

It Does, works perfect no errors or anything :) Nice extension.

thedvs 10-03-2005 04:43 PM

yes installed, works great on 3.5g, awsome... well done.

csidlernet 10-05-2005 02:44 AM

/me installs

hotrod1 10-10-2005 01:49 PM

Extremely fast and easy install, thanks!

SnowBot 10-10-2005 05:09 PM

gonna give this a whirl, thanks fella :)

darcon 10-10-2005 05:15 PM

/me installs
works great in 3.5 gold

Aylwin 10-12-2005 10:27 AM

What a wonderful mod! Thanks!

Nathan2006 05-22-2006 08:36 AM

Thank you Revan

I wish I had found this a while ago :( lol

Well its definitely going to be used in the future :D

Install:cool:

Ramsesx 10-23-2006 01:10 PM

Very nice, thank you. One suggestion, would be cool if there's a point to select all forum at one, useful if there are a lot of forums.

bashy 10-28-2006 07:34 PM

This works ok on 3.6.2 :) thanks

tmod 10-29-2006 09:02 PM

Hmmm I am getting this error on two different db's.

Database error in vBulletin 3.6.2:

Invalid SQL:
INSERT INTO `*******_testphrase` (`languageid`, `varname`, `text`, `phrasetypeid`, `product`) VALUES (0, 'forummod_add_new_moderator', 'Add New Moderator', 1, 'vbulletin');;

MySQL Error : Unknown column 'phrasetypeid' in 'field list'
Error Number : 1054

Any ideas?

Thanks

Tmod

tmod 10-30-2006 01:56 PM

I uploaded the files and installed the phrases using the phrase manager and it works fine on vBulletin 3.6.2.

The forummod_install.php needs to be updated.

Tmod

Kayden 12-19-2006 06:19 PM

What phrases, and where would they go?

Cars2007 07-17-2007 07:32 PM

Change the phrase insert statements in forummod_install.php to look like this, if you are on vB 3.6.7pl1:
Code:

        $db->query_write("INSERT INTO `" . TABLE_PREFIX . "phrase` (`languageid`, `varname`, `fieldname`, `text`, `product`, `dateline`) VALUES (0, 'forummod_add_new_moderator', 'global', 'Add New Moderator', 'vbulletin', unix_timestamp(now()) );");
        $db->query_write("INSERT INTO `" . TABLE_PREFIX . "phrase` (`languageid`, `varname`, `fieldname`, `text`, `product`, `dateline`) VALUES (0, 'forummod_make_user_mod_of_this_forum', 'global', 'Make user moderator of this forum:', 'vbulletin', unix_timestamp(now()) );");
        $db->query_write("INSERT INTO `" . TABLE_PREFIX . "phrase` (`languageid`, `varname`, `fieldname`, `text`, `product`, `dateline`) VALUES (0, 'forummod_possible_category_x', 'global', '{1} (<i><b>Category or parent-less forum</b></i>)', 'vbulletin', unix_timestamp(now()) );");
        $db->query_write("INSERT INTO `" . TABLE_PREFIX . "phrase` (`languageid`, `varname`, `fieldname`, `text`, `product`, `dateline`) VALUES (0, 'forummod_user_does_not_exist', 'global', 'User does not exist.', 'vbulletin', unix_timestamp(now()) );");
        $db->query_write("INSERT INTO `" . TABLE_PREFIX . "phrase` (`languageid`, `varname`, `fieldname`, `text`, `product`, `dateline`) VALUES (0, 'forummod_no_selected_forums', 'global', 'You did not select any forums.', 'vbulletin', unix_timestamp(now()) );");

Previous versions had a column that doesn't exist in 3.6.7 - and, 3.6.7 requires that the fieldname be set to global, or the phrases won't show up.

vbuser99 10-05-2007 04:10 PM

Just installed, with additional info from Cars2007.

After entering mod name and choosing all "Category or parent-less forum", submitted request and response was moderator was added.

But it did not, I wonder if something changed in version 3.6.8

I had to add the mod on each Category manually.

CCV_Pinto 12-22-2007 07:08 PM

someone can please make it functional with 3.6.8 pl 2?

thanks

Hammon 02-25-2008 10:17 AM

I'm also interested in this indispensable hack for 3.6.8

Harley D 05-28-2008 12:06 AM

Quote:

Originally Posted by Hammon (Post 1450591)
I'm also interested in this indispensable hack for 3.6.8

Ditto!

blaskow 08-25-2008 09:26 PM

need this for 3.7.2! PLLLEEAAASSEE! :p


All times are GMT. The time now is 06:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01400 seconds
  • Memory Usage 1,809KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete