YaBB SE Community

Development => Completed mods => Topic started by: Chris Cromer on May 03, 2002, 06:03:08 PM

Title: [Done 1.5.1] Global Moderator center.
Post by: Chris Cromer on May 03, 2002, 06:03:08 PM
Well I finished it. :)

Now global moderators have their own center. The admin can control what powers the global moderator has. All of the settings for what they can do is located in forum preferences and settings.

Here it is: http://www.agigames.com/boardmod/

Give me any opinions, suggestions, and problems you have. Also on step 18 and 19, the mod program doesn't like searching for a comment... which means it gives off an error, just click ignore for them and it will install properly.

Man this is the biggest mod I have made so far... it edits 8 files, and has 26 steps. :)
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 03, 2002, 06:19:18 PM
Do you know a Mod Prg., which has an ignore Button? Not BoardModSE... In Board Mod SE 2.5 on Errors the  Installation stops and you've got to do everything by your own hands, normally no prob for me but 26 Steps, 8 Files...

If you know another Mod Prg as Board Mod SE, which contains an Ignore Function, would you give me the Download Link?  8)
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 03, 2002, 06:29:49 PM
The ignore button will only appear if it is a certain type of error. The error that my mod generates makes the ignore button appear.

I used Board Mod SE 2.5 to install it. When the error pops up it gives you 2 choices, canel the installation of the mod or ignore the error. It isn't really much of an error, it is more of a message saying that "The line to search for is not complete. It seems that some spaces are missing in front of the line. This could cause some errors with the script." For some reason it says that even though the line is complete. The Board Mod program does not like comments and says that there is no text there.

The program will install just fine, just press ignore and it will continue the installation the way it is supposed to.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 03, 2002, 06:34:57 PM
Okay, If you say so, I will try and report here when ready!  

And if it works like your Member List Button I think it woudn't make Probs.  ;)
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 03, 2002, 06:52:31 PM
I am hopeing is to get enough experience with php, mySQL, mods, and YaBB, so that I can join the mod team...
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 03, 2002, 07:00:55 PM
Sure I'm hoping with you, but I just started Board Mod 2.5SE and in the first step comes a String not found Message and there is no way to ignore this - installation stops...

Are you sure there is no other Prg?
How ever, I'll do now manually. This will take a while  :( so don't wait for results...
Title: Re:[Done] Global Moderator center.
Post by: Jedi~ on May 03, 2002, 07:02:38 PM
Hopefully with all the mods I'm working on (and the couple I did already) I can join the mod team.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 03, 2002, 07:05:29 PM
This is the exact version of the Board Mod I downloaded, and I downloaded it a few days ago:

http://dns3.omnibit.it/mangaitalia/tmp/BoardMOD.zip

Quote
Hopefully with all the mods I'm working on (and the couple I did already) I can join the mod team but I haven't heard ANYTHING from them

I am sure you will probably be able to join the mod team, you have done some great mods.

So far this one is my best mod... but then again once I get that avatar uploader mod finished that one should be pretty cool.
Title: Re:[Done] Global Moderator center.
Post by: Jedi~ on May 03, 2002, 07:07:02 PM
I had actually planned doing that mod for YaBB Gold before I found this place but I forgot that I didn't know any perl :P
Title: Re:[Done] Global Moderator center.
Post by: iamdamnsam on May 03, 2002, 07:20:24 PM
Do you have any screen shots?
Title: Re:[Done] Global Moderator center.
Post by: Jedi~ on May 03, 2002, 07:26:54 PM
Notice the words "had planned to", meaning I didn't even start ;)
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 03, 2002, 07:28:53 PM
No I don't have a screen shot, hold on and I will get one.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 03, 2002, 07:35:53 PM
image removed because it keeps appearing in my error log at my site
Title: Re:[Done] Global Moderator center.
Post by: Jedi~ on May 03, 2002, 07:38:14 PM
Oh of course you meant him duh  :-[
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 03, 2002, 07:49:44 PM
Don't worry about that, I have been in more enbarrassing situations than that.

But anyway, I noticed a bug in Gmod.php so redownload the zip above and use the new version of Gmod.php.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 03, 2002, 08:14:27 PM
Installed, works fine!!!  ;D What a great and really useful mod.

But what's that:
(http://www.web-k.de/bilder/profile.gif)

I can enter the Profiles and all the given Informations from the Users are there and I can change it and it will be saved correctly, also in the Threads everything is correct. It's just that screen above which is not correct.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 03, 2002, 08:18:32 PM
After I make my first post my IP will be shown in my profile... it is used to see the IP of members for banning. It works for both the admin and the global mod.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 03, 2002, 08:26:33 PM
It is still the same... I can't see anything but the Username in the Profile Overview.

There is no big Problem it seems, because the settings you make in the profile will be saved. It will only be not shown in the Overview.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 03, 2002, 08:28:17 PM
As I said on the test board I think it has something to do with one of the other mods you have installed on the board. It works just fine on my board.
Title: Re:[Done] Global Moderator center.
Post by: savavn on May 03, 2002, 10:44:03 PM
lolz, very nice mod AGISCI, well done

but , hehe, coz im using text menu instead of text menu, and it won't show up the link to Global Mod Center

i need to add 1 more line to english.lng right ? and which line is this ? ;)
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 03, 2002, 10:59:34 PM
Actually I noticed that about an hour ago when I was wanting to see what it looked like as links, and have been adding some code to it to fix this.

This same bug is in the member button for the menu mod also.

I have reuploaded both of them with the fix for this. Plus I moved the hardcoded text to English.lng to make it easier to port these mods to other languages.

So everybody download the new version.
Title: Re:[Done] Global Moderator center.
Post by: savavn on May 03, 2002, 11:28:31 PM
man i've downloaded it, open n look at <edit>English.lng</edit> part, still the same, nothing's changed compare to the one i got
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 02:39:01 AM
There is a good reason for that, you are downloading the cached version, clear your cache then download it. I added this to the english file:

Code: [Select]
$img['global'] = "Global Moderator";
Also I have completly rewritten it and it now uses mySQL instead of settings.php. Also I moved the admin options for choosing what the Global Moderators can and can't do to "intalled 'mods' settings and options".
One of the biggest reasons for the rewrite was to get rid of the error message, it is now gone and the install functions normally.

The download is at URL REMOVED

I included dbmod.php upload it to the directory where your settings.php files is and then run it. It will then create all the tables needed to run the global mod center.
Title: Re:[Done] Global Moderator center.
Post by: savavn on May 04, 2002, 03:29:18 AM
thanx ;) working
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 03:36:17 AM
Be sure to tell me of any bugs or anything you find in it. Also tell me of anyways I can impove it.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 07:21:32 AM
Well, everything fixed. Imust say on an 'empty' fresh installed board ist so easy to install.

Another Question: In which file can I translate this:
'Sorry but the admin has not given you permission to ...' ?
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 07:26:12 AM
Whoops looks like I forgot to add that string to English.lng

But for right now it is located in index.php
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 07:48:38 AM
@AGISCI: Now it's perfect, if you want to take a Look, I gave you (for a while  ;)) the Global Mod Status, so you can see how it works on my Board (http://www.barbetex.de/mario/tb/).
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 10:04:53 AM
By the way, is it extendable with a function that the Admin can allow/disallow the Global Mod to edit the Template?

If yes, what do I have to do to make it so?

Thx, Ironman.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 03:44:22 PM
I can add that function. I asked earlier what functions everyone wanted but nobody responded so I just added: banning, reserved name modifying, edit censor words, and edit news.

Before I go and add the template function is there any other things anybody would like to see in it. And every function the global moderator can do, can be turned on or off by the admin.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 04:28:57 PM
I just can't await it.
Can't you give me the instructions just for that Template edit?  :)

Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 04:35:07 PM
All you do is edit Gmod.php and add a link to the template editing function, then open up index.php find the part where it tells what to include when editing the template and check settings[7] to see if the person trying to edit it is an global moderator or a administrator, if they are an admin the inlclude admin.php if they are a global moderator include gmod.php.(warning though, this doesn't add options in the admin center to turn off access to editing the template.) If you open up my mod, you can see the exact things I did and just use them as an example in making it do this.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 04:52:40 PM
Huh, slowly...

My english is as well as your german...  ;)

I'll try my Best and report -the same procedure as last year ;D- here, when ready and works.  8)
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 05:01:26 PM
I only know a few words in German... I tried to learn a little bit since I am half German and half Jew...

But anyway, open Gmod.php and add this wherever you want the link to edit the template to be:

Code: [Select]
<a href="$cgi;action=modtemp">$txt[216]</a><br>
Then you need to add these functions to the bottom of Gmod.php but right before the ?>

Code: [Select]
function ModifyTemplate (){
   global $yytitle,$boarddir,$txt,$imagesdir,$color,$cgi,$db_prefix;

/*** Added Dave by Smulders - .html & .php template support ***/
   $templateFile = "$boarddir/template.php";
   if (!file_exists($templateFile))
      $templateFile = "$boarddir/template.html";

 /*** Matt Siegman's Admin Fix ***/
   $file = fopen($templateFile,"r");
   $fulltemplate = fread($file,filesize($templateFile));
   $fulltemplate = eregi_replace("</textarea>","&lt;/textarea&gt;",$fulltemplate);  //fix by Omar Bazavilvazo
   fclose($file);
   /*** Matt Siegman's Admin Fix ***/
   $yytitle = $txt[216];
   template_header();
   print <<<EOT
<form action="$cgi;action=modtemp2" method="POST">
<table border="0" width="100%" cellspacing="1" bgcolor="$color[bordercolor]" class="bordercolor" cellpadding="4">
  <tr>
    <td class="titlebg" bgcolor="$color[titlebg]">
    <script language="javascript" TYPE="text/javascript">
      <!--
      function reqWin(desktopURL){
        desktop =window.open(desktopURL,"name","toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=400,height=200,resizable=no");
        }
      // -->
   </script>
    <a href="javascript:reqWin('help.php?help=9')" class="help"><img src="$imagesdir/helptopics.gif" border="0" alt="$txt[119]"></a>
    <font size="2" class="text1" color="$color[titletext]"><b>$txt[216]</b></font></td>
  </tr><tr>
    <td class="windowbg" bgcolor="$color[windowbg]">
    <BR><font size="1">$txt[682]</font><BR><BR></td>
  </tr><tr>
    <td class="windowbg2" bgcolor="$color[windowbg2]" align="center"><font size="2">
    <form action="$cgi;action=modtemp2" method="POST"><BR>
    <textarea rows="30" cols="95" name="template" style="width:98%">$fulltemplate</textarea>
    <br><BR><input type="submit" value="$txt[10]"></font></td>
  </tr>
</table>
</form>
EOT;
   footer();
   obExit();
}

function ModifyTemplate2 (){
   global $template,$boarddir,$yySetLocation,$cgi,$db_prefix;
   $template = stripslashes($template);

 /*** Added by Dave Smulders - .html & .php template support ***/
   $templateFile = "$boarddir/template.php";
   if (!file_exists($templateFile))
      $templateFile = "$boarddir/template.html";

   $fh = fopen($templateFile,'w');
   fputs ($fh,$template);
   fclose($fh);
 /*** End Added by Dave Smulders ***/
   $yySetLocation = "$cgi;action=gmod";
   redirectexit();
}

Tell me when your finished with this, then I will tell you what to do next.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 05:21:20 PM
Done. And now?
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 05:31:14 PM
Open index.php and look for:

Code: [Select]
      else if ($action == 'modtemp') { include_once ("$sourcedir/Admin.php"); ModifyTemplate(); }
      else if ($action == 'modtemp2') { include_once ("$sourcedir/Admin.php"); ModifyTemplate2(); }


And replace it with:

Code: [Select]
else if ($action == 'modtemp') {
global $settings,$txt,$gmodnews,$gmodcensor,$gmodreserve,$gmodban;
 if($settings[7] == 'Global Moderator') {
   include_once "$sourcedir/Gmod.php";
 }
 if($settings[7] == 'Administrator') {   
   include_once "$sourcedir/Admin.php";
 }
 ModifyTemplate();
}
else if ($action == 'modtemp2') {
global $settings,$txt,$gmodnews,$gmodcensor,$gmodreserve,$gmodban;
 if($settings[7] == 'Global Moderator') {
   include_once "$sourcedir/Gmod.php";
 }
 if($settings[7] == 'Administrator') {   
   include_once "$sourcedir/Admin.php";
 }
 ModifyTemplate2();
}


This is all you need to do to get it to work, if you want to add admin options to enable and disable it that will take some more code.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 05:37:46 PM
Thank you so much, I think this will work.  ;)
Is it much more code to add admin options to enable and disable?
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 05:47:32 PM
Not too much more code, but you would have to edit the mySQL settings tables.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 05:59:12 PM
This is not a big Problem for me I think, if I know what I've to change...  ;)
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 06:01:15 PM
Alright well first off open myphpadmin, then open the settings prefix, then add 'gmodtemplate' to it and set it to 1.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 06:13:09 PM
settings prefix? is this yabbse_settings? Could you give me a sql query for this?
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 06:16:56 PM
Yes the yabbse_settings

You need to create 'gmodtemplate' and make sure it has a setting of '1' which means that the global moderator can edit the template.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 06:20:45 PM
ALTER TABLE `myserver`.`yabbse_settings` ADD `gmodtemplate` TINYINT DEFAULT '1' NOT NULL

I did this, correct?
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 06:26:18 PM
Actually you need to click browse in the yabbse_settings

Then click insert new row, then add the name gmodtemplate and the value of 1.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 06:33:47 PM
Done.  8)

And, so that I can switch it on/off its only 2 more Modifications, right?

In the language File and in the ModSettings.php, if I'm not wrong.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 06:46:37 PM
Alright now open ModSettings.php and look for this:

Code: [Select]
   $gmodcensorChecked = ($modSettings['gmodcensor'] == '1')?' checked':'';
And add this after it:

Code: [Select]
   $gmodtemplateChecked = ($modSettings['gmodtemplate'] == '1')?' checked':'';
Then search for:

Code: [Select]
   <td class="windowbg2" bgcolor="$color[windowbg2]"><input type=checkbox name="gmodnewsChecked" $gmodnewsChecked></td>
  </tr><tr>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><font size="2">$txt[gmod6]</font></td>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><input type=checkbox name="gmodbanChecked" $gmodbanChecked></td>
  </tr><tr>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><font size="2">$txt[gmod7]</font></td>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><input type=checkbox name="gmodreserveChecked" $gmodreserveChecked></td>
  </tr><tr>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><font size="2">$txt[gmod8]</font></td>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><input type=checkbox name="gmodcensorChecked" $gmodcensorChecked></td>
  </tr><tr>
    <td class="windowbg2" bgcolor="$color[windowbg2]" colspan="2" align="center" valign="middle">
    <HR size="1" width="100%" class="windowbg3"><input type="submit" value="$txt[10]">
    </td>
  </tr>[code]

and replace it with:

[code]<tr>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><font size="2">$txt[gmod5]</font></td>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><input type=checkbox name="gmodnewsChecked" $gmodnewsChecked></td>
  </tr><tr>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><font size="2">$txt[gmod6]</font></td>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><input type=checkbox name="gmodbanChecked" $gmodbanChecked></td>
  </tr><tr>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><font size="2">$txt[gmod7]</font></td>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><input type=checkbox name="gmodreserveChecked" $gmodreserveChecked></td>
  </tr><tr>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><font size="2">$txt[gmod8]</font></td>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><input type=checkbox name="gmodcensorChecked" $gmodcensorChecked></td>
  </tr><tr>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><font size="2">Moderator can edit template</font></td>
    <td class="windowbg2" bgcolor="$color[windowbg2]"><input type=checkbox name="gmodtemplateChecked" $gmodtemplateChecked></td>
  </tr><tr>
    <td class="windowbg2" bgcolor="$color[windowbg2]" colspan="2" align="center" valign="middle">
    <HR size="1" width="100%" class="windowbg3"><input type="submit" value="$txt[10]">
    </td>
  </tr>

Then look for:

Code: [Select]
   $onoffArray = array('stickyTopicsChecked'=>'enableStickyTopics', 'titlesEnableChecked'=>'titlesEnable', 'onlineEnableChecked'=>'onlineEnable', 'todayModChecked'=>'todayMod', 'previousNextModChecked'=>'enablePreviousNext', 'enableVBStyleLoginChecked'=>'enableVBStyleLogin', 'enableCompressedOutputChecked'=>'enableCompressedOutput', 'karmaTRAChecked'=>'karmaTimeRestrictAdmins', 'disableCachingChecked'=>'disableCaching', 'enableInlineLinksChecked'=>'enableInlineLinks', 'attachCheckExten'=>'attachmentCheckExtensions', 'attachGuest'=>'attachmentEnableGuest', 'attachShow'=>'attachmentShowImages', 'enableSP1Info'=>'enableSP1Info', 'enableUserTopicLockingChecked'=>'enableUserTopicLocking', 'enableReportToModChecked'=>'enableReportToMod', 'enableErrorLoggingChecked'=>'enableErrorLogging', 'viewNewestFirstChecked'=>'viewNewestFirst',  'userLanguageChecked'=>'userLanguage', 'trackStatsChecked'=>'trackStats', 'hitStatsChecked'=>'hitStats', 'notifyAnncmnts_UserDisable'=>'notifyAnncmnts_UserDisable', 'censorWholeWordChecked'=>'censorWholeWord', 'compactTopicPagesChecked'=>'compactTopicPagesEnable','gmodnewsChecked'=>'gmodnews','gmodbanChecked'=>'gmodban','gmodreserveChecked'=>'gmodreserve','gmodcensorChecked'=>'gmodcensor');
And replace it with:

Code: [Select]
   $onoffArray = array('stickyTopicsChecked'=>'enableStickyTopics', 'titlesEnableChecked'=>'titlesEnable', 'onlineEnableChecked'=>'onlineEnable', 'todayModChecked'=>'todayMod', 'previousNextModChecked'=>'enablePreviousNext', 'enableVBStyleLoginChecked'=>'enableVBStyleLogin', 'enableCompressedOutputChecked'=>'enableCompressedOutput', 'karmaTRAChecked'=>'karmaTimeRestrictAdmins', 'disableCachingChecked'=>'disableCaching', 'enableInlineLinksChecked'=>'enableInlineLinks', 'attachCheckExten'=>'attachmentCheckExtensions', 'attachGuest'=>'attachmentEnableGuest', 'attachShow'=>'attachmentShowImages', 'enableSP1Info'=>'enableSP1Info', 'enableUserTopicLockingChecked'=>'enableUserTopicLocking', 'enableReportToModChecked'=>'enableReportToMod', 'enableErrorLoggingChecked'=>'enableErrorLogging', 'viewNewestFirstChecked'=>'viewNewestFirst',  'userLanguageChecked'=>'userLanguage', 'trackStatsChecked'=>'trackStats', 'hitStatsChecked'=>'hitStats', 'notifyAnncmnts_UserDisable'=>'notifyAnncmnts_UserDisable', 'censorWholeWordChecked'=>'censorWholeWord', 'compactTopicPagesChecked'=>'compactTopicPagesEnable','gmodnewsChecked'=>'gmodnews','gmodbanChecked'=>'gmodban','gmodreserveChecked'=>'gmodreserve','gmodcensorChecked'=>'gmodcensor','gmodtemplateChecked'=>'gmodtemplate');
After you are through with this let me know[/code][/code]
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 07:09:43 PM
Done again.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 07:16:49 PM
Alright last step, open Subs.php and look for:

Code: [Select]
   if($modSettings['gmodban']==1 || $modSettings['gmodreserve']==1 || $modSettings['gmodcensor']==1 || $modSettings['gmodnews']==1) {
      if($settings[7] == 'Global Moderator') { $yymenu = $yymenu.$menusep."<a href=\"$cgi;action=gmod\">$img[global]</a>"; }
   }


And replace it with:

Code: [Select]
   if($modSettings['gmodban']==1 || $modSettings['gmodreserve']==1 || $modSettings['gmodcensor']==1 || $modSettings['gmodnews']==1 || $modSettings['gmodtemplate']==1) {
      if($settings[7] == 'Global Moderator') { $yymenu = $yymenu.$menusep."<a href=\"$cgi;action=gmod\">$img[global]</a>"; }
   }


Then it should work, tell me if you get any bugs or errors.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 07:25:14 PM
Whoops nevermind what I said about that being the last step, I forgot to tell you what to modify in Index.php... tell me when your ready to modify it.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 07:38:55 PM
Seems to work, but i still can't switch it off... I think in the index.php and/or in the admin.php is something missing...
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 07:43:10 PM
I told you there is still one more file to edit... index.php

Look for:

Code: [Select]
else if ($action == 'modtemp') {
global $settings,$txt,$gmodnews,$gmodcensor,$gmodreserve,$gmodban;
 if($settings[7] == 'Global Moderator') {
   include_once "$sourcedir/Gmod.php";
 }
 if($settings[7] == 'Administrator') {  
   include_once "$sourcedir/Admin.php";
 }
 ModifyTemplate();
}
else if ($action == 'modtemp2') {
global $settings,$txt,$gmodnews,$gmodcensor,$gmodreserve,$gmodban;
 if($settings[7] == 'Global Moderator') {
   include_once "$sourcedir/Gmod.php";
 }
 if($settings[7] == 'Administrator') {  
   include_once "$sourcedir/Admin.php";
 }
 ModifyTemplate2();
}


And replace it with:

Code: [Select]
else if ($action == 'modtemp') {
global $settings,$txt,$gmodnews,$gmodcensor,$gmodreserve,$gmodban;
 if($settings[7] == 'Global Moderator') {
   if ($modSettings['gmodtemplate']=='1'){
     include_once "$sourcedir/Gmod.php";
   }
 }
 if($settings[7] == 'Administrator') {  
   include_once "$sourcedir/Admin.php";
 }
 ModifyTemplate();
}
else if ($action == 'modtemp2') {
global $settings,$txt,$gmodnews,$gmodcensor,$gmodreserve,$gmodban;
 if($settings[7] == 'Global Moderator') {
   if ($modSettings['gmodtemplate']=='1'){
     include_once "$sourcedir/Gmod.php";
   }
 }
 if($settings[7] == 'Administrator') {  
   include_once "$sourcedir/Admin.php";
 }
 ModifyTemplate2();
}
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 07:46:29 PM

Whoops nevermind what I said about that being the last step, I forgot to tell you what to modify in Index.php... tell me when your ready to modify it.


Sorry, I've completely overseen this, sorry...  8)
I'll tell you when ready...
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 07:59:21 PM
If I do so, I get this if it is disallowed:
Fatal error: Call to undefined function: modifytemplate() in /www/htdocs/myserver/mario/tb/index.php on line 150

Line 150 of index.php:
ModifyTemplate();

If the Admin has allowed it, everything is okay.

Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 08:03:05 PM
Sorry about that replace:

Code: [Select]
else if ($action == 'modtemp') {
global $settings,$txt,$gmodnews,$gmodcensor,$gmodreserve,$gmodban;
  if($settings[7] == 'Global Moderator') {
    include_once "$sourcedir/Gmod.php";
  }
  if($settings[7] == 'Administrator') {  
    include_once "$sourcedir/Admin.php";
  }
  ModifyTemplate();
}
else if ($action == 'modtemp2') {
global $settings,$txt,$gmodnews,$gmodcensor,$gmodreserve,$gmodban;
  if($settings[7] == 'Global Moderator') {
    include_once "$sourcedir/Gmod.php";
  }
  if($settings[7] == 'Administrator') {  
    include_once "$sourcedir/Admin.php";
  }
  ModifyTemplate2();
}

with:

Code: [Select]
else if ($action == 'modtemp') {
global $settings,$txt,$gmodnews,$gmodcensor,$gmodreserve,$gmodban;
  if($settings[7] == 'Global Moderator') {
    if ($modSettings['gmodtemplate']=='1'){
      include_once "$sourcedir/Gmod.php";
    }
    else {
      fatal_error('Sorry but the admin has not given you permission to edit the template.');
    }
  }
  if($settings[7] == 'Administrator') {  
    include_once "$sourcedir/Admin.php";
  }
  ModifyTemplate();
}
else if ($action == 'modtemp2') {
global $settings,$txt,$gmodnews,$gmodcensor,$gmodreserve,$gmodban;
  if($settings[7] == 'Global Moderator') {
    if ($modSettings['gmodtemplate']=='1'){
      include_once "$sourcedir/Gmod.php";
    }
    else {
      fatal_error('Sorry but the admin has not given you permission to edit the template.');
    }
  }
  if($settings[7] == 'Administrator') {  
    include_once "$sourcedir/Admin.php";
  }
  ModifyTemplate2();
}


The reason it was giving off that error was because there wasn't any error message in place telling the user that he can't edit it.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 08:13:22 PM
Just to let you know, I noticed I accidentally left the $txt[] in my post above so I edited my post above to fix the weird looking text saying that the admin hasn't given you permission.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 08:14:10 PM
Hmm, that sounds logical.

But now, after I've taken $txt[] away from the two Error Messages, it's

PERFECT, Thank you!
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 08:18:51 PM
Glad I could help. I still have more plans and changes for this mod though, I want to make it so the Global Moderator can't see the admin's IP address, this would prevent the Global Moderator from banning the admins.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 04, 2002, 08:20:26 PM
I'll wait for any Updates of this awesome Mod and use them all!  8)
So as it is at the moment, I cann good work with it.  ;D
Title: Re:[Done] Global Moderator center.
Post by: fratze on May 04, 2002, 09:07:42 PM
Thanks for this,but ....

BoardMod says NO Errors but after installation is no Button "Global Moderator" appears.

In Mod Settings is also everything correct but my Global Moderators have no way to go to the Global Moderator Center,I've uploaded the image in the imagesdir,is that right ?

What went wrong,what can i do ??

Fratze
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 04, 2002, 11:48:07 PM
You have to upload dbmod.php and run it before it will work. dbmod.php will install all the needed database tables.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 05, 2002, 06:10:26 AM
Ehm, I installed all 4 (in my case 5) Tables by hand, because dbmod.php inserted 4x the news-table, nothing else.
Title: Re:[Done] Global Moderator center.
Post by: -=:Simon:=- on May 05, 2002, 02:48:25 PM
Hi!

I also have the problem that no Button is shown for the global moderators.

Having a look at my "installed mod settings" in my admin center always shows that only "Moderators can edit News" is checked and nothing more I checked before. ( :) ) So it seems as if I have the same problems as Ironman, but I´m not so skilled with editing my table on my own (ok let´s say I never tried it before).... ;)

Help!
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 05, 2002, 08:29:47 PM
I don't think you have the same problem as Ironman.... his has been working....

But anyway, I found the problem in dbmod.php and have reuploaded the zip. Just download the new version, and upload dbmod.php and run the new version and it should create the proper tables.

The problem in dbmod.php was I copied and pasted the first table which was the news table... and accidentally forgot to change the name of the field for the ones I pasted.
Title: Re:[Done] Global Moderator center.
Post by: -=:Simon:=- on May 06, 2002, 08:25:23 AM
Hi!

Yes, you´re right, I did a stupid mistake so that the button doesn´t appear  :o  (That kind of stupid I don´t wanna tell it ;) )
But right now everything works fine - very good work!!!

I still have one question:
Opening the memberprofiles shows a number over "Name:" - What kind of number is this?

Thanks and bye Simon
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 06, 2002, 08:34:55 AM
A number over name... what exactly do you mean? The only numbers that are added to the profile is the member ip address, this is used for banning. And it isn't added over the name rather it is under the position.
Title: Re:[Done] Global Moderator center.
Post by: -=:Simon:=- on May 06, 2002, 08:48:46 AM
ohoh....  :o

I mean the number where I put the two red arrows next to....

:::Screenshot:::  (http://www.prowler-germany.de/forumgrafx/screenshot01.jpg)
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 06, 2002, 08:53:48 AM
I haven't seen that before... nobody else has had that happen... send me Profile.php to agigames@agigames.com and I can then find out what is causing this.
Title: Re:[Done] Global Moderator center.
Post by: Robbie on May 06, 2002, 11:19:40 AM
I only get the button on the login2 screen. After that it disapears.  I am doing something wrong , right?
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 06, 2002, 03:30:23 PM
You uploaded and ran dbmod.php right? Also does the admin have any of the settings checked, if none are checked then the button will not appear because what is the point in having a global mod center if they can't do any of the functions anyway.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 06, 2002, 05:48:34 PM
Robbies board has got me stumped... it works for me but not for him... any suggestions as to why it might be only letting me and not him?
Title: Re:[Done] Global Moderator center.
Post by: Robbie on May 07, 2002, 07:09:20 AM
I made someone else global moderator and then it works

This line is in subs.php:
Code: [Select]
      if($settings[7] == 'Global Moderator') { $yymenu = $yymenu.$menusep."<a href=\"$cgi;action=gmod\">$img[global]</a>"; }

And this line in english (or dutch) .lng:

Code: [Select]
   $img['global'] = "Global Moderator";
Code: [Select]
   $img['global'] = "<img src=\"$imagesdir/global.gif\" alt=\"Global Moderator\" border=\"0\">";
[global]  in subs and ['global'] in english(dutch)

Is that ok??

[edit]i installed it in my "normal" board and so far it works fine . Beats me[/edit]
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 07, 2002, 02:48:17 PM
So everything is working fine for you now?

Also I tried to login at your board... I forgot my stupid password...
Title: Re:[Done] Global Moderator center.
Post by: Robbie on May 07, 2002, 04:51:14 PM
i'll change it for you and send you an IM]
And at the "normal" board it works ok so ....
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 07, 2002, 04:55:26 PM
Well I guess if it works at the normal board then that is all that matters.
Title: Re:[Done] Global Moderator center.
Post by: Robbie on May 07, 2002, 05:04:50 PM
You've got IM
(why do we call it PM , personal mail , And you call it IM , instant message? Is it cause we are walknig on wooden shoes?)
Title: Re:[Done] Global Moderator center.
Post by: bartolomeu on May 08, 2002, 01:36:41 AM
I got one.

My global mods need access to change member profiles.

Actually, more specifically they ONLY need access to change members' signatures and adjust their member group.  I'm not sure if it would be too difficult to code to allow them to only modify those two items, but it'd be great.

If not, global access to the profile by global mods I would like to see!
Title: Re:[Done] Global Moderator center.
Post by: Rpg Cyco on May 08, 2002, 05:36:31 AM
The mod conflicts with ModSettings.php if you have the Add More Smilies mod installed... You can download my manually edited ModSettings.php file from: -
http://rpgcyco.maxispace.net/downloads/ModSettings.zip

Make sure you remove the ModSettings steps from Globalcenter.mod before installing it! ;D

l8ter

Rpg Cyco

AGISCI: If you don't want me doing this, then I will gladly take the file down ;D
Title: Re:[Done] Global Moderator center.
Post by: almer on May 08, 2002, 06:35:17 AM
When i install this mod, do I have to activate it after running dbmod.php  .... I can't see the button..

i've upload the 4 files into the root map (http://loco.endoria.net/yabb) then I run http://loco.endoria.net/yabb/dbmod.php

I login with a mod function but no button apearse
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 08, 2002, 08:46:43 AM
almer: Alright, dbmod.php needs to uploaded and run in the root directory. The mod needs to be applied, then all of the affected files need to be uploaded in place of the originals on the server, then you also need to upload Gmod.php to the Sources directory. Also you need to have a button called global.gif located in the images directory.

Rpg Cyco: I don't mind if you host that mod settings file.

bartolomeu: That wouldn't be extremely hard to do, if you want I can look into setting that up. I don't think I will be able to give them access to adjust member groups though, this is a bit of a security risk because they would have access to take them away, and they would even be able to take away the admins powers.
Title: Re:[Done] Global Moderator center.
Post by: almer on May 08, 2002, 09:04:56 AM
my english is very bad, what do you mean with this:

Quote
The mod needs to be applied


do you mean that the people who are mod, have to be set AFTER the installation??

it doesn't work yet
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 08, 2002, 09:11:27 AM
No, I meant you have to install the mod, I use boardmod to install my mods on my board then I upload the files that where altered by it.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 08, 2002, 09:12:05 AM
Also remember this, only Global Moderators will see a Global Moderator button and no one else.
Title: Re:[Done] Global Moderator center.
Post by: almer on May 08, 2002, 09:27:17 AM

No, I meant you have to install the mod, I use boardmod to install my mods on my board then I upload the files that where altered by it.


Oh i didn't use boardmod, I thought that there wasn't anyone for se, can you tell me where to download?????

I'm stupid I know... I forget to install it into the 'main page' :D
Title: Re:[Done] Global Moderator center.
Post by: Jedi~ on May 08, 2002, 09:31:21 AM
You don't even have to use BoardModSE (yes there is one, but I don't have the link at the moment) just select the right directory with your index.php file in it and use normal BoardMod (that's what I use, I don't even have BoardModSE installed on my computer.)
Title: Re:[Done] Global Moderator center.
Post by: almer on May 08, 2002, 09:41:22 AM
I'll try that, hang on a moment pls
Title: Re:[Done] Global Moderator center.
Post by: almer on May 08, 2002, 09:48:09 AM
No i'm sorry, i've install it with boardmod 2.25 but after succesfull install the mod and reupload the hol yabb folder I didn't see a thing!
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 08, 2002, 09:50:21 AM
Here is the link to the boardmod se:

http://dns3.omnibit.it/mangaitalia/tmp/BoardMOD.zip

I used boardmod se when making and installing the center on my board.
Title: Re:[Done] Global Moderator center.
Post by: almer on May 08, 2002, 10:01:54 AM
It won't luck, also with the se thing
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 08, 2002, 10:06:01 AM
Well it edits 7 files, English.lng, index.php, Sources/Subs.php, Sources/Security.php, Sources/Display.php, Sources/Profile.php, and Sources/ModSettings.php

Make sure you uploaded all of these files.

Also what language are you looking at the board with? If it is a language other than english it will not work, in which case you will need to open English.lng and copy all of the $txt[gmod] strings and translate them into the language file you are using.
Title: Re:[Done] Global Moderator center.
Post by: almer on May 08, 2002, 10:15:39 AM
nope doesn't matter, I have for security reason the HOLE english.lng copied to dutch.lng but no difference...
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 08, 2002, 10:31:01 AM
Alright, where is your board let me take a look.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 08, 2002, 10:40:40 AM
Rpg Cyco, I am going to be rewriting the code a bit, I am going to change a few things in ModSettings.php to try and resolve the problem with that other mod.
Title: Re:[Done] Global Moderator center.
Post by: almer on May 08, 2002, 10:46:37 AM
Do I have to wait??

otherwise, here's my forum: http://www.locoradio.com/forum

thnx already!
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 08, 2002, 10:53:05 AM
I have registered at your board and have PM'ed you the instructions.
Title: Re:[Done] Global Moderator center.
Post by: almer on May 08, 2002, 12:33:46 PM
ok tell me when you're back online

ps. my forum is not public, so not anyone may have to register :D thnx
Title: Re:[Done] Global Moderator center.
Post by: goosemoose on May 08, 2002, 01:18:27 PM
AGISCI:
Does this mean that I should wait to install this mod if you are working on an update? Thanks!
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 08, 2002, 02:40:47 PM
Actually it is up to you whether or not to install this version or not, before you install the next version though you will be required to unistall the previous version then install the new version, mostly what will be changing is the code so the tables shouldn't change(unless I decide to add more features).
Title: Re:[Done] Global Moderator center.
Post by: bartolomeu on May 08, 2002, 09:47:53 PM
you're right, i guess that could be a security issue if gmods could change member groups.  Wouldn't like to log in some day and find one had removed my admin. :)

But I would like them to be able to change a member's signature.  That alone would make me a happy camper.

Meanwhile, I do need to figure out a way that global mods will be able to change a member's group to one of two options.  (My usage of this is to allow my gmods to up a non-member (the "blank" member group - just above guest on the access list) to either a "Member" or "Initiate" - and of course the reverse.)  I got some hard coding ahead of me.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 08, 2002, 10:01:10 PM
Shouldn't be too hard, to do this. Just make sure that nothing but those few member groups get written to the array for the list of member groups. This would prevent the global moderators from taking away power from specific titles such as admin. Of course though it will take some building upon my mod but go ahead and try if you want to.
Title: Re:[Done] Global Moderator center.
Post by: Rpg Cyco on May 09, 2002, 12:28:34 AM

Rpg Cyco, I am going to be rewriting the code a bit, I am going to change a few things in ModSettings.php to try and resolve the problem with that other mod.


Ok, I removed it off my server anyway, because Big P released a new version of Add More Smilies....;D

l8ter

Rpg Cyco
Title: Re:[Done] Global Moderator center.
Post by: almer on May 09, 2002, 08:59:42 AM
how far are you now??
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 09, 2002, 02:30:33 PM
Well since I am only modifying what already exists in my mod to make it more compatible it shouldn't take to long.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 09, 2002, 02:54:22 PM
Well I have fixed the incompatibility problem(I hope). I am now going to work on making the actual center a little bit better by removing the links that the admin hasn't activated yet. Then the final step... making it so the global moderators can't see admins IP addresses.

Just for reference the zip hasn't been update... and it won't be until I get finished with these few things.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 09, 2002, 03:35:47 PM
Well I am getting closer and closer to finishing. All I have to do now is alter Gmod.php and it should be finished.

I am also going to add another option to the admin center that can deactivate the global moderator center completly.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 09, 2002, 04:27:45 PM
Alright version 2.0 is complet, first of all everybody that has the previous versions installed... unistall them. Then download URL REMOVED

Then upload gmoddb.php and run it, it will install all the database info need for this to work. Then use boardmod to install it on your board, then upload all the affected files.

This should fix the incompatability problem with any other mods(that I know of).

There is a few cosmetic and other changes as well so it will act and look a little bit different.
Title: Re:[Done] Global Moderator center.
Post by: almer on May 09, 2002, 05:40:51 PM
how can you uninstall it with yabb board mod se?? sorry for the trouble

I think clear log, I'll take that one :D
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 09, 2002, 05:44:34 PM
No, if you clear the log your board will then become messed up.

Just uncheck the mod. It will then unistall it. Then dowload the new .mod file and put it in place of the other. Then check that mod and it will install it.
Title: Re:[Done] Global Moderator center.
Post by: almer on May 10, 2002, 11:01:16 AM
thanx people it's done, thnx for help!!!

Title: Re:[Done] Global Moderator center.
Post by: almer on May 10, 2002, 12:09:28 PM
oh i've got one question,

the global moderator option is only available if you login, then when you came back (refresh) the button is gone... is there any possiblity that it is always visible??
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 10, 2002, 02:30:37 PM
It will only be visible if you are logged in. Other wise the button won't be there. This is the same for the admin button as well.
Title: Re:[Done] Global Moderator center.
Post by: BloodThirsty229 on May 11, 2002, 12:02:48 PM
When I ran the gmoddb.php it gave me 4 errors all saying Database not selected.  ???
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 11, 2002, 02:17:27 PM
You need to upload it where the settings.php file is. It uses some variables that are located in settings.php and needs to be in the same directory as it before you run it.
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 21, 2002, 04:57:33 PM
Cant find this line in profile.php:

Code: [Select]
   # get the member's info
   $request = mysql_query("SELECT passwd,realName,emailAddress,websiteTitle,websiteUrl,signature,posts,memberGroup,ICQ,AIM,YIM,gender,personalText,avatar,dateRegistered,location,birthdate,timeFormat,timeOffset,hideEmail,ID_MEMBER,usertitle,karmaBad,karmaGood,lngfile,MSN FROM {$db_prefix}members WHERE memberName='$user'");

What do I do?
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 21, 2002, 05:00:47 PM

The mod conflicts with ModSettings.php if you have the Add More Smilies mod installed... You can download my manually edited ModSettings.php file from: -
http://rpgcyco.maxispace.net/downloads/ModSettings.zip

Make sure you remove the ModSettings steps from Globalcenter.mod before installing it! ;D

l8ter

Rpg Cyco

AGISCI: If you don't want me doing this, then I will gladly take the file down ;D


Um.. can you just tell me what you did there?

I have lots of mods installed, that might mess up one of them.
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 21, 2002, 05:14:14 PM
/me whistles


/me always does this so it says its the latest topic, so people will see it and reply to it because
 /me is not patient.
...
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 21, 2002, 05:31:12 PM
/me posted his question 45 minutes ago, still waiting.
Title: Re:[Done] Global Moderator center.
Post by: Rpg Cyco on May 21, 2002, 06:27:21 PM
Right well, first I done this poop, and then I smudged it all over this cows face, and somehow this ModSettings file poop outta its nose... It was weird..

l8ter

Rpg Cyco
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 21, 2002, 06:32:33 PM
Listen up Josh, I updated the global moderator center mod to be compatible with all other mods(that I know of).

As for the missing part... do you have the IP mod code installed on your board where you can see the IP in users profiles? If you do you need to uninstall that because my mod adds that to the profile(only difference is that both admin and global moderators can see it now).

Josh, calm down the fact that you keep posting to bring it up is annoying. I was asleep and couldn't help you with it. You must realize that other people have lives and stuff to do, so be patient.
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 21, 2002, 06:54:47 PM
Ok, so I uninstall the mod that lets only mods + admis see the IP, and this mod puts that back in? Ok... I can live with that.
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 21, 2002, 07:00:39 PM
Right well, first I done this poop, and then I smudged it all over this cows face, and somehow this ModSettings file poop outta its nose... It was weird..

l8ter

Rpg Cyco


LOL, u can't get much funnyer than that.
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 21, 2002, 07:17:47 PM

Listen up Josh, I updated the global moderator center mod to be compatible with all other mods(that I know of).

As for the missing part... do you have the IP mod code installed on your board where you can see the IP in users profiles? If you do you need to uninstall that because my mod adds that to the profile(only difference is that both admin and global moderators can see it now).

Josh, calm down the fact that you keep posting to bring it up is annoying. I was asleep and couldn't help you with it. You must realize that other people have lives and stuff to do, so be patient.


You mean this one?: http://www.yabb.info/community/index.php?board=158;action=display;threadid=7917

I don't have that one, must have been a mod I installed on another board... Because I remember installing it somewhere.
and I'm searching for it.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 21, 2002, 09:53:59 PM
No not that one, that is df's code for moderators to see the IP in the posts.
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 22, 2002, 12:51:50 PM
ok, I don't have any other "IP" mods installed, so now what?
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 22, 2002, 04:54:49 PM
Why not do the mod manually?
Title: Re:[Done] Global Moderator center.
Post by: Bartman on May 26, 2002, 08:10:12 AM
I got this error after the install ... when I went to the Admin's section, Forum Preferences and Settings, (not GlobalModerator:

Failed to make backup of Settings.php

I went there to just see if there were any selections I needed to activate; but there wasn't any.

Any thoughts?

Also, I selected the functions I want the Global Moderators to have, but when the Global Mod logs on and views the control panel, there's nothing there for them to do.

I've looked through this thread and didn't see anything addressing either one of these issues; let me know if I missed it!
Title: Re:[Done] Global Moderator center.
Post by: Bartman on May 26, 2002, 08:16:45 AM
Okay, I've narrowed this down ... that when I go to Installed 'Mods' Settings and Options as the Admin ... and assign the functions for Global Moderators, YABB SE is not saving the selections in the check boxes after I hit save.

I'm going to go back and make sure that I uploaded all the files, etc.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 26, 2002, 08:20:44 AM
Hmm that is odd. Which version did you install? The one from my package server or the one in boardmod SE form?

As for Settings.php, I don't touch it with my mod...
Title: Re:[Done] Global Moderator center.
Post by: Bartman on May 26, 2002, 09:49:53 AM
Well, I knew that you didn't touch the Settings.php ... which made it bizarre.

I used the BoardMOD version.

I'm running SE 1.3.

Just too wierd. Still getting the same issues/errors.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 26, 2002, 09:52:36 AM
Did you upload and run gmoddb.php?
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 26, 2002, 10:01:25 AM
From what I can see... you uploaded gmoddb.php to the Sources directory... it is supposed to be in your root directory with the Settings.php file.

Then run the file and it will alter the tables in the database then the mod should start working.
Title: Re:[Done] Global Moderator center.
Post by: Ironman on May 26, 2002, 11:28:52 AM
Hi Chris, did I tell you that it works on my board (http://www.mario472.de/) very well? ;D
I installed it after the Smileys and the Calendar Mod with BoardMod SE and -hey !- I got no Problems!  ;D
Don't be angry if I repeat: Really great Mod!  Congratulations!;)
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 26, 2002, 11:32:12 AM
Thanks, I am glad I get comments like that. It is one of the reasons I make the mods.

As soon as 1.4 is released I will begin working on some more mods. :)
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 28, 2002, 02:31:46 PM
Online time, kinda messin up.... Look at my profile on my boards:

http://24.222.22.25/joshcb/yabbse/index.php?action=viewprofile;user=joshxpcable11

It says my friends IP in the IP collum, and in the Online time Collom (with the online time mod) it says  24.197.73.241 second


I am really confused.... I hope I don't have to uninstall it. :(


please hurry, it says my friends IP in everyones profile, under online time, and if normal users can see it, the IP collum.
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 28, 2002, 02:33:26 PM
Ok, wait, the other profiles are differnt, but on everyones profile, IP and Online time are really skrewed up.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 28, 2002, 03:29:52 PM
Well I do know of one bug that YaBBSE makes in the way it stores the profile IP. For instance if I where to alter someones profile at my message board, it would log my IP as their IP. Maybe this is your problem?
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 28, 2002, 05:51:02 PM
Well could you tell me how to disable the "IP" feature in your mod?
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 28, 2002, 06:06:59 PM
The problem isn't with my IP feature, it is with the way YaBBSE stores the IP's.

But if you want to get rid of it, open the .mod file and remove anything that has to do with altering Profile.php(since that is where it adds the feature to).
Title: Re:[Done] Global Moderator center.
Post by: joshxpcable11 on May 28, 2002, 07:39:15 PM
Ok, thanks... I'll see if this clears up my Online Time... I'll post here with the results later.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 28, 2002, 07:45:45 PM
My mods don't have nothing to do with the online time though... must be another mod you have installed.
Title: Re:[Done] Global Moderator center.
Post by: Bartman on May 30, 2002, 04:17:20 AM
I've installed and uninstalled this mod several times and I can't get it to work.

While viewing the Installed 'Mods' Settings and Options, the four check boxes for assigning Global Moderator functions will not stay checked after hitting SAVE. It doesn't seem to be updating the Settings.php file ... although the date changes as if something had been updated.

I've given up.  >:(
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on May 30, 2002, 04:34:27 AM
I have taken a look at your board personally and have told you what your problem was, look back a few posts to see the solution!

You put the gmoddb.php file in the wrong location!

it goes in the directory with settings.php then run it and everything should work.
Title: Re:[Done] Global Moderator center.
Post by: Bartman on May 30, 2002, 11:20:02 PM

I have taken a look at your board personally and have told you what your problem was, look back a few posts to see the solution!

You put the gmoddb.php file in the wrong location!

it goes in the directory with settings.php then run it and everything should work.


Thanks for the heads up.

Sorry, but I don't remember that you told me that. It might be good to add those simple instructions in the mod file. Sure would save a lot of hassles and wasted time on your part ... having to answer and all.

Thanks again.
Title: Re:[Done] Global Moderator center.
Post by: groan on May 31, 2002, 09:40:05 AM
i'm having a problem in that the settings arent being retained.

i have a feelign that its the database table names.

i tried to find the dbsetup scripts but to no avail.

could you post the script to run the query for me unless you think it could be something else?
Title: Re:[Done] Global Moderator center.
Post by: Zulu on June 04, 2002, 11:01:21 AM
Will it work on 1.4.0 ?
Title: Re:[Done] Global Moderator center.
Post by: goosemoose on June 11, 2002, 04:18:19 PM
bump,
anyone know if this works in 1.4 yet?
Title: Re:[Done] Global Moderator center.
Post by: Zulu on June 11, 2002, 05:25:14 PM

here is the fixed version http://trushna.web.ctonet.it/globalmod.zip , it works on 1.4.0...


w00t w00t.. it works great, ty  :D :D :D :D
Title: Re:[Done] Global Moderator center.
Post by: itswheelie on June 16, 2002, 03:58:31 AM
I installed the "official" 1.4 version from Chris and it installed perfectly with Package manager.  My problem is that I don't have a single setting in Forum Preferences and Settings for Global Moderators.

Any suggestions please?
Title: Re:[Done] Global Moderator center.
Post by: fruity_baby on June 19, 2002, 08:30:20 AM
1.4 mod works well. What about glob mods having access to 'mail your members'?
Title: Re:[Done] Global Moderator center.
Post by: Flying Thunder on June 21, 2002, 12:23:39 PM
Installed Mod options.

I installed the "official" 1.4 version from Chris and it installed perfectly with Package manager.  My problem is that I don't have a single setting in Forum Preferences and Settings for Global Moderators.

Any suggestions please?
Title: Re:[Done] Global Moderator center.
Post by: itswheelie on June 21, 2002, 08:19:49 PM
for me it appears that Package Manager only actually installed about 4 steps so I manually installed the mod on the link posted by Trushna.  It works perfectly.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on June 22, 2002, 01:28:06 AM
The only way it would have not installed is if the board was already modded and my mod could not write to it.

Also the options are not put in forum preferences and settings.

They are put in installed 'mods' settings and options.
Title: Re:[Done] Global Moderator center.
Post by: goosemoose on July 04, 2002, 05:48:21 PM
Chris, the link to this mod is broken. Please fix!! Thanks :)
Title: Re:[Done] Global Moderator center.
Post by: fruity_baby on July 04, 2002, 08:12:24 PM
Can I have the option to have global_mods access to the member mailing list?
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on July 05, 2002, 08:28:53 PM
I haven't given them access to that, you might want to do it yourself. Sorry about the link... I removed all zips from my server and am going to put them into a yabbse folder to keep things more organized, I will tell you when the zips are back up.
Title: Re:[Done] Global Moderator center.
Post by: Bithunter on August 07, 2002, 02:42:56 PM
You could send the zip to me by email meanwhile? bithunter@ing.unp.edu.ar
(or tell me how I can get the zip :)

Thx!!
Title: Re:[Done] Global Moderator center.
Post by: Tha Master on August 07, 2002, 02:46:24 PM
and to me to please,

thx
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on August 07, 2002, 02:51:52 PM
URL REMOVED
Title: Re:[Done] Global Moderator center.
Post by: Tha Master on August 07, 2002, 02:56:34 PM
great dude
Title: Re:[Done] Global Moderator center.
Post by: Gus on August 16, 2002, 07:44:34 AM
Chris,

Great Mod mate :)

How do I add that Global Mods can add/setup boards?
I don't want them to have access to edit Categories or be able to delete boards once set up (Admins can do this task)

Cheers.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on August 16, 2002, 10:56:14 AM
Well you would have to alter some of the source code to do that, mostly just the permissions that global moderators have for certain parts of the board.
Title: Re:[Done] Global Moderator center.
Post by: Silver Eclipse on August 24, 2002, 05:17:37 PM
could someone give instructions on how to install it without boardmod?
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on August 24, 2002, 05:43:09 PM
Just open the .mod file and follow it's instructions

<search for>

<add after>

very easy to understand. Just search for what is inbetween the search for tag, then add what is in the add after tag after what you searched for.

There is also add before and replace. Just add before what you searched for, and replace what you searched for with the code in the replace tag.

Of course you can use the YaBBPak version as well by using the pacackage server:

URL REMOVED

Just go into your admin center, go into your YaBBPak center, download new YaBBPak's then add that package server to your list and browse my package server. Download the gmod center and install it.(the board will do everything for you).
Title: Re:[Done] Global Moderator center.
Post by: Silver Eclipse on August 31, 2002, 04:58:01 PM
i added and replaced everything and got some weird errors (also i cant use the yabbpak thing because it lets me download them but won't let me open them for some reason).
Title: Re:[Done] Global Moderator center.
Post by: Ben_S on September 01, 2002, 10:54:25 AM
Does this work with 1.4.1?

Getting errors trying to install it with boardmod, but it may be down to other mods...


Cheers
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on September 01, 2002, 11:16:16 AM
Havn't tried it out yet myself, can anybody confirm if it works with 1.4.1?
Title: Re:[Done] Global Moderator center.
Post by: Ben_S on September 01, 2002, 11:42:38 AM
Seems to be just step2 it was having problems, have edited it and it installs, havent tested it yet though as I'm not upgrading till tonight.

Ben
Title: Re:[Done] Global Moderator center.
Post by: Ben_S on September 01, 2002, 12:17:14 PM
Seems to work fine :)
Title: Missing: gmod.zip
Post by: Wiziwig on September 03, 2002, 12:17:22 AM
Sigh..

I seem to catch these mods when they are pulled.. Chris, will you be having this mod availible again soon?
Title: Re:[Done] Global Moderator center.
Post by: Eloya on September 03, 2002, 01:53:26 AM
Yes, I would also struggle to try them out *fg*

Nico
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on September 03, 2002, 06:42:30 AM
URL REMOVED ::)

If you had read a few posts back you would have seen that I had moved the file to a new location.
Title: Re:[Done] Global Moderator center.
Post by: Wiziwig on September 03, 2002, 09:54:55 AM
Thanks.

Couldn't find your post change, but I didnt have a ton of time either to read each and every one. Maybe updating your original post will save you some time from having to eventually do this again?



If you had read a few posts back you would have seen that I had moved the file to a new location.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on September 03, 2002, 10:29:23 AM
Alright I altered the first message to have the new url.
Title: Re:[Done] Global Moderator center.
Post by: @Sava- on September 07, 2002, 04:20:07 PM
hella

i've choosen which options fro Glo Mod in Admin section, but it didnt save those option ( i mean those check boxes werent kept checked )

whats wrong w/ that ???
Title: Re:[Done] Global Moderator center.
Post by: @Sava- on September 09, 2002, 06:36:59 PM
excuse me ???? noone's here I guess

or maybe my question wasnt clear enough eh ?

I went to "Installed Mods n Settings", and have checked on all GloMod's options avaiable there, and saved, but it just DONT saved.

what's wrong with that ?, my CHMOD's perfectly right
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on September 09, 2002, 09:41:52 PM
Just like all of the people who had the same problem in this thread(read back a few posts) run gmoddb.php ::)
Title: Re:[Done] Global Moderator center.
Post by: @Sava- on September 10, 2002, 09:13:31 AM
 hah , sorry Chris ;)))) coz i had had this mod b4, ur 1st version i think, but after upgrading from 1.4.0 to 1.4.1, it went away, so i just installed it again, and didnt notice of the changes hehe, sorry, n thanks alot too ;)
Title: Re:[Done] Global Moderator center.
Post by: Surfy on September 25, 2002, 01:24:26 PM
I want to include somethings from mostly other Mods:

Quote
Forum Funktionen:
Multiple Topic Mover

Mitglieder Funktionen:
E-Mail an Mitglieder

Wartungsfunktionen:
Undelete Topics/Messages
SQL Datenbankoptimierung


How can I implement this to this Mod?

thx a lot, Surfy

Title: Re:[Done] Global Moderator center.
Post by: Surfy on September 25, 2002, 02:52:01 PM
OK, i am running into trouble  :P

1.)
The Topicmover asking in the UltraCoolTopicMover.php:
Quote
is_admin();


If i delete it, it works too for Globalmods, but also for everyone... How can i tell the Script that only Admin and Globalmods could do that?

2.) I`m trying to get the Emailfunktion to work for the Globalmod center.

My Try:

Quote
      else if ($action == 'mailing') {
            global $settings,$txt,$modSettings;
            if($settings[7] == 'Global Moderator') {
            include_once "$sourcedir/Gmod.php";}
         }
         else {
            fatal_error($txt[gmod9]);         
      }
            if($settings[7] == 'Administrator') {   
             include_once "$sourcedir/Admin.php"; MailingList(); }


Then I get the "function MailingList" into Gmod.php

For the Admin all works fine, but if the GlobalMod try to Mailing, he landet on the Boardindex..

Whats wrong? I think, if i get this to work, my other changes are easy for me to make..

thx a lot, Surfy
Title: Re:[Done] Global Moderator center.
Post by: Yari on September 26, 2002, 08:59:06 AM
Hi.

I have tried to install this mod but when all is done I get an error when I try to look att Profile of someone and it happens when I try as admin and global Moderator, The error on the top of the site says:

Parse error: parse error, unexpected T_ELSE in /dunder1/home/userB/xxxxxx/public_html/xxxxxxxx.nu/yabbse/Sources/Profile.php on line 860

It looks like something is wrong with this lines of codes in profile.php:

EOT;

  if ($settings[7] != "Administrator")

{

print <<<EOT

   

EOT;

}

  else {

print <<<EOT

     <tr>

  <td width="45%"><font size=2><b>IP: </b></font></td>

<td><font size=2><a href="http://www.nic.com/cgi-bin/whois.cgi?query=$memberIP" target="_blank">$memberIP</font></td>

     </tr>      

EOT;

}

print <<<EOT

EOT;

  if ($settings[7] != "Global Moderator")

{

print <<<EOT

   

EOT;

}

  else {

if ($modSettings['gmodban']==1) {

print <<<EOT

     <tr>

  <td width="45%"><font size=2><b>IP: </b></font></td>

<td><font size=2><a href="http://www.nic.com/cgi-bin/whois.cgi?query=$memberIP" target="_blank">$memberIP</font></td>

     </tr>      

EOT;

}

}

print <<<EOT

If I remove thoes lines of code everything looks like it works and no error. Can anybody see anything wrong there ? What is the purpose of that code and does it work without it ? I have SE 1.4.1 and I'm new to this php coding :)

Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on September 26, 2002, 11:01:34 AM
Yes it does work without it, what that code does is let admins and global moderators see users ip for banning in the users profile(instead of having to find a message by them).
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on September 26, 2002, 11:13:17 AM

OK, i am running into trouble  :P

1.)
The Topicmover asking in the UltraCoolTopicMover.php:
Quote
is_admin();


If i delete it, it works too for Globalmods, but also for everyone... How can i tell the Script that only Admin and Globalmods could do that?

2.) I`m trying to get the Emailfunktion to work for the Globalmod center.

My Try:

Quote
      else if ($action == 'mailing') {
            global $settings,$txt,$modSettings;
            if($settings[7] == 'Global Moderator') {
            include_once "$sourcedir/Gmod.php";}
         }
         else {
            fatal_error($txt[gmod9]);         
      }
            if($settings[7] == 'Administrator') {   
             include_once "$sourcedir/Admin.php"; MailingList(); }


Then I get the "function MailingList" into Gmod.php

For the Admin all works fine, but if the GlobalMod try to Mailing, he landet on the Boardindex..

Whats wrong? I think, if i get this to work, my other changes are easy for me to make..

thx a lot, Surfy


To be able to get any other features to work for the global moderator your going to need to alter both index.php and Gmod.php

First of all you need to open index.php and follow what I did to make it so that users can access that function just look at the news editing function call and you will see what I did.

Next you need to copy the admin functions from Admin.php and put them in Gmod.php(the ones you want the gmod to be able to use.)

Now be sure to link index.php's function call and the file Gmod.php but only if the user is a gmod(the example such as news shows how to do this). You will need to do this for each function you add to Gmod.php.

You will also need to edit Gmod.php to add a link to the function you just implimented.

Sorry I can't be more helpfull and produce code for you but I am rather busy at this moment.
Title: Re:[Done] Global Moderator center.
Post by: Yari on September 26, 2002, 12:51:32 PM
Yes it does work without it, what that code does is let admins and global moderators see users ip for banning in the users profile(instead of having to find a message by them).

Thanks for the answer, I can live without the IP-thing ;D the mod is great enough without it :)

Yari.
Title: Re:[Done] Global Moderator center.
Post by: lakings on October 02, 2002, 05:50:26 PM
How do we install the mods?
Title: Re:[Done] Global Moderator center.
Post by: Ringer on October 18, 2002, 01:07:35 PM
I've read thro this, and still cant get the mod to load up, Im using boardmod 2.51, and getting the error on the second step, no way to ignor or get past, if I goto next step, they complete but the mod doesnt get installed..

What do i need..

ringer
Title: Re:[Done] Global Moderator center.
Post by: +§ïléñ± Åñgè|+ on November 04, 2002, 10:06:55 AM
Ok, I am a real newbie at this.

I am using YaBBSE 1.4.1

I would like to know the step by step to install this cool stuff.

I tried to install it with PacMan but it doesn't work, I downloaded your Pack and tried to install and got an error.

2: fopen("./YaBBImages/global.gif", "wb") - Permission denied
(/home/sapphire/www/www/Sources/Packer.php ln 125)
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on November 04, 2002, 10:47:08 AM
Make sure that the YaBBImages folder exists, and that it is chmoded 777, and make sure that the file global.gif if exists is chmoded 777.

Ringer: Try installing it by hand, I am guessing you have an altered board.

lakings: Read all of the sticky posts in this board! :P
Title: Re:[Done] Global Moderator center.
Post by: +§ïléñ± Åñgè|+ on November 04, 2002, 07:12:12 PM
./Packages/modification.mod ... ./Packages/modification.php ... ./Packages/modification.txt ... ./Sources/Gmod.php ... ./YaBBImages/global.gif ... Modification file was extracted, this modification also comes with a textfile with additional instructions/information, it's recommended that you read it.

ThanX!
Title: Re:[Done] Global Moderator center.
Post by: Thunderace on November 26, 2002, 02:44:45 PM
WOW Chris

First time that's happened in a long while

Lobbed it into my highly butchered 1.3.1 forum by Boardmod, Pressed the go button and off it went. With so many files changed too, credit m8
Title: Re:[Done] Global Moderator center.
Post by: Vegeta on December 17, 2002, 04:51:31 PM
Global moderators have the ability to ban members, right? Then why can't global moderators see hidden e-mail addresses. They should be able to since a user may need to be banned via e-mail.
Title: Re:[Done] Global Moderator center.
Post by: DBU on December 17, 2002, 11:23:12 PM
Interesting point made by Vegeta.. I think I'd like to see that too.
Title: Re:[Done] Global Moderator center.
Post by: gkorim on December 19, 2002, 01:32:21 AM
Hi

I'm very interested in this mod, however the link seems to be done, could you tell me a another address to get it from or let me know how I can get it.

Than I can install and see if I have any problems.

Using this Mod, can These Global Moderators change Boards and Category boards or add them or delete them as an option?

Gkorim
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on December 19, 2002, 05:04:32 AM
I shall say it once again, agigames.com went down, all database and files where lost, please be patient since I have to build alot from scratch and sort stuff out.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on December 19, 2002, 05:38:18 AM
Although I don't mind you having it up on that site, I am a bit peeved that you did not ask me first. :(
Title: Re:[Done] Global Moderator center.
Post by: Thunderace on December 19, 2002, 05:54:53 AM
Thought I was helping out, sorry

Deleted
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on December 19, 2002, 09:13:25 AM
http://www.agigames.com/boardmod/

Almost all of my mods are up on that page.
Title: Re:[Done] Global Moderator center.
Post by: Wistman on December 19, 2002, 05:31:26 PM
Thank you Chris for your hard work in getting your mods available for us once again so quickly
Title: Re:[Done] Global Moderator center.
Post by: gkorim on December 19, 2002, 08:36:54 PM
Much appreciated and will see I can get it working over the weekend and come back and let you know...

Thanks  ;D
Title: Re:[Done] Global Moderator center.
Post by: gkorim on December 26, 2002, 12:02:38 AM
Hi great mod I fe questions (I apologise for things I repeat from previous people)

This mod will be fantastic for what i need it for, however I would like to have the option to allow the Global Mods on board to:

Add News to the News Fader
Add, remove Boards under Categories (BUT not add the orginal category the boards sit under)

Be able to view members, modify them (except the orginal one that was made ADMIN)

Add Smilies and Avatars

If tese haven;t already been added as options to turn on or off for GM can it be done?

ALSO this isn't the aea I know but does anyone know how to prevent another Admin or GM in that have access to the memberlisting to modify not being able to delete the main Admin account that was created when the board was installed?

Much Appreciated!!!

G

PS Will this still work in the new version of the board just released?
Title: Re:[Done] Global Moderator center.
Post by: [Unknown] on December 26, 2002, 12:42:51 AM
As far as I know, this mod does not work with 1.5.... is the original writer at all interested in rewriting it?

-[Unknown]
Title: Re:[Done] Global Moderator center.
Post by: toppertje on December 31, 2002, 05:37:28 AM
I get the following error when opening Gmod.php:

Fatal error: Call to undefined function: is_gmod() in /usr/local/slash/apache/vhosts/climaxonline.nl/httpdocs/forum/Gmod.php on line 33

I've uploaded all the files and I runned gmoddb.php succesfully.
Title: Re:[Done] Global Moderator center.
Post by: [Unknown] on December 31, 2002, 06:52:10 AM

I get the following error when opening Gmod.php:

Fatal error: Call to undefined function: is_gmod() in /usr/local/slash/apache/vhosts/climaxonline.nl/httpdocs/forum/Gmod.php on line 33

I've uploaded all the files and I runned gmoddb.php succesfully.



You must apply the .mod file.

-[Unknown]
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on January 01, 2003, 09:29:53 PM
Well I haven't actually tested to see if it works with 1.5.0... infact I didn't even know it was released till just now... anyway, the mod would probably need to be somewhat rewritten to suit it since 1.5.0 is a major change to the core of YaBBSE.
Title: Re:[Done] Global Moderator center.
Post by: Joline Des`Chats on January 04, 2003, 04:51:34 PM
I Would like to download this to use for 1.50, the link seems to be broken tho.  I'll hang tight for now and wait for you to test it  ::)
Title: Re:[Done] Global Moderator center.
Post by: AJ on January 07, 2003, 12:51:18 PM
Unfortunately it's still down, so are all of Chris' downloads :'(
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on January 07, 2003, 01:03:07 PM
They are not down, http://www.agigames.com/boardmod/ :P
Title: Re:[Done] Global Moderator center.
Post by: Vegeta on January 07, 2003, 01:51:53 PM

Global moderators have the ability to ban members, right? Then why can't global moderators see hidden e-mail addresses. They should be able to since a user may need to be banned via e-mail.


I would still like to see this in the newest version of the mod. (http://boardmod.yabbforum.com/yabb/YaBBImages/sweatdrop.gif)
Title: Re:[Done] Global Moderator center.
Post by: sverrejon on January 09, 2003, 09:55:39 PM
where can i DL it ?

the link didnt work for me
Title: Re:[Done] Global Moderator center.
Post by: Rpg Cyco on January 09, 2003, 10:02:14 PM

They are not down, http://www.agigames.com/boardmod/ :P


Didn't you that post? That link works perfectly, download globalmod.zip

l8ter

Rpg Cyco
Title: Re:[Done] Global Moderator center.
Post by: sverrejon on January 10, 2003, 08:22:03 AM
how shall i install it ?

the .zip contains:

global.gif
gmod.php
globalcenter.mod
gmoddb.php

shall i just upload the .php files and the .gif and it works ?

dont i have to change something in other files ?

???
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on January 10, 2003, 10:54:22 AM
Global.gif goes in your images directory, gmod.php goes in your Sources directory, gmoddb.php goes into the main folder with the Settings.php file. You use the boardmod to install the .mod file it will alter your boards source then upload it to your site. Then you run gmoddb.php from your browser and delete it after you are done.
Title: Re:[Done] Global Moderator center.
Post by: N-Ur-Hand on January 19, 2003, 07:25:05 PM
 I downloaded this file and i tried to install in manually, I found that the first line to search for does not exist, So i shortened my search string and found the line, i looked over the line and found that the line to add does not match, it is typed in differently.

So checking before i add this..

Does it install and work with a clean v1.5.0 of YaBBse?

Title: Re:[Done] Global Moderator center.
Post by: [Unknown] on January 19, 2003, 07:29:18 PM
No, there are some things that are either not needed or changed in 1.5.x....

I've readapted it to 1.5.x, but Chris Chromer got mad at me for it, so ... it's possible, that's all I will say.

-[Unknown]
Title: Re:[Done] Global Moderator center.
Post by: mephisto_kur on January 19, 2003, 10:47:20 PM

No, there are some things that are either not needed or changed in 1.5.x....

I've readapted it to 1.5.x, but Chris Chromer got mad at me for it, so ... it's possible, that's all I will say.

-[Unknown]


GPL.
Title: Re:[Done] Global Moderator center.
Post by: David on January 19, 2003, 10:55:30 PM


No, there are some things that are either not needed or changed in 1.5.x....

I've readapted it to 1.5.x, but Chris Chromer got mad at me for it, so ... it's possible, that's all I will say.

-[Unknown]


GPL.

Yeah, so what.  Some people respect others and don't change their code if they request for them not too.
Title: Re:[Done] Global Moderator center.
Post by: mephisto_kur on January 20, 2003, 12:16:55 AM
Good for you!   ;)
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on January 20, 2003, 04:24:53 PM
I will update this mod when 1.5.1 is released, until then you guys will have to be patient.
Title: Re:[Done] Global Moderator center.
Post by: Coyote on January 20, 2003, 07:14:24 PM
Maybe not in this version but the next.....

It would be nice to let global mods add people to different member groups?

For instance I have a few private boards that only certain membergroups can join - the problem is only I(as the admin) can add people to membergroups. It would be nice to let the global moderators do it.

Obviously this would have to exclude the admin and global mod groups.

Just an Idea.

Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on January 20, 2003, 07:43:12 PM
I don't plan to add on to my mods, only update them to 1.5.1.
Title: Re:[Done] Global Moderator center.
Post by: mephisto_kur on January 21, 2003, 05:25:09 PM

No, there are some things that are either not needed or changed in 1.5.x....

I've readapted it to 1.5.x, but Chris Chromer got mad at me for it, so ... it's possible, that's all I will say.

-[Unknown]


Hey, unknown, I asked Chris over in the Portal's discussion if I\we could make his mods work with YaPP.  Could you PM me with info on this mod?  I want to try and convert your changes to work with YaPP once it hits the next version.
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on January 21, 2003, 09:26:46 PM
As I said, I will be updating the mod, just be patient while I update them all.
Title: Re:[Done] Global Moderator center.
Post by: mephisto_kur on January 22, 2003, 11:19:16 AM
But you don't work on YaPP anymore, and this mod *never* was YaPP compatible.
Title: Re:[Done] Global Moderator center.
Post by: stitch on January 22, 2003, 06:07:58 PM
Hi,

I did bring this up at the old mod after chris showed me where the main thread was, I think this is a good mod, however I have a member I have to make an Admin, but don't want to give him the Admin status and this mod I think is perfect, however is it possible to have the option to give access to all the areas (view memberlists, banning, news fader, adjusting board colours, creating and deleteing and modifying boards...

Please can you let me know if you can do this and where I can get it (I only ask since there seems to be some problem or issue on this I rather download from the correct place...)

Sttitch

PS  Unknown, I think your intentions were good, perhaps if you check with Chris if you can what you had said in the previous thread where I posted this then he may let you.  I also checked my version sorry I've got the 1.5.1 Beta which I must add is woring liking a dream thus far.  If you want to get in contact with me Unkown, I can be e-mailed on redback_paris@hotmail.com

I've been wanting such a mod with the different options I have mentioned/ suggested, would be excellent to see them in action on my board....
Title: Re:[Done] Global Moderator center.
Post by: Chris Cromer on January 23, 2003, 01:09:58 AM
Unknown is updating the mod for 1.5.1 for me, this time with permission from me. That was all the problem was last time, permission.

And sorry but I am not going to add more features to my mods right now. Of course you can add those features yourself by following the instructions somewhere in this topic, it explained how to add another feature for gmods to use.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Chris Cromer on January 23, 2003, 01:14:35 AM
Alright everyone, unknown has finished the updating for 1.5.1, so give your thanks to him for it being updated.

You can download the mod at http://www.agigames.com/boardmod/
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: N-Ur-Hand on January 23, 2003, 12:21:36 PM
the installer information or PHP file to install the SQL file is missing from the zip, other than that all went off without a hitch.. I like it..

-----------------------------------------------------------------------
Global Moderator Center 2.08
by Chris Chromer [modified by [Unknown] to work with YaBBSE 1.5]

Put global.gif in YaBBImages, and GmodCenter.php in Sources.

Execute the SQL in globalmodcenter.sql.

Apply the mod globalmodcenter.mod.
------------------------------------------------------------------------


I am unfamiliar with this but how do you execute the SQl file to install it into the database?

N-Ur-Hand



Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Chris Cromer on January 23, 2003, 12:38:03 PM
You do it in phpmyadmin.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: N-Ur-Hand on January 23, 2003, 01:03:09 PM
Ok chris you got me, I can only request databases and delete databases on myu server i do not have admin functions for installing anything in them.. So knowing that where do i go from there, does the database installer from 1.4 or other work for this one..?.. it would help..

Thanks chris...
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Chris Cromer on January 23, 2003, 01:11:48 PM
I wouldn't know... you need to direct your questions to [unknown].

Yeah the script from the 1.4.1 version should work because the db structure of the mod shouldn't have changed.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: N-Ur-Hand on January 23, 2003, 01:16:47 PM
ok now that you have wipped me up into a frenzy, heh.. Would you happen to know of a link or have a copy of a former version? that would have this installer?

Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Chris Cromer on January 23, 2003, 01:57:32 PM
Sorry but I don't have any of my mods on this pc, and I deleted the old one off the server.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: N-Ur-Hand on January 23, 2003, 07:01:28 PM
 I came home and still had a copy of the Database installer from a previous version and it worked like a charm..

Now in YaBB SP1.1 i was able to grant my global admins the ability to upgrade or downgrade members, is there a way to add this to this version, i know chris has stated he will not be adding to it, but i would like to see this feature..

N-Ur-Hand

Title: Re:[Done 1.5.1] Global Moderator center.
Post by: mephisto_kur on January 23, 2003, 11:36:42 PM
That would allow them to upgrade themselves to Admin.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: N-Ur-Hand on January 24, 2003, 12:45:18 AM
there was a setup in the SP1.1 that kept them from doing that, beleive me i know about that part. But since i have 2 others on my staff that need to be able to do that.  I need to try and talk someone into doing this for me..

N-Ur-Hand

Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Coyote on January 24, 2003, 03:35:17 AM
Find out if you have PHPmyadmin?

Its used for managing databases and most hosts provide it in there Control Panel (CP)

If you have, its easy - just paste the sql code in to it and run it.

It will then adjust your yabbse database(provided you have done it right.

Golden Rule #1 - Back up before you do it though!






Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Coyote on January 24, 2003, 03:37:49 AM
 :o  :o
Dont know what happend there  - I thought I was posting to ......................

Quote
the installer information or PHP file to install the SQL file is missing from the zip, other than that all went off without a hitch.. I like it..

-----------------------------------------------------------------------
Global Moderator Center 2.08
by Chris Chromer [modified by [Unknown] to work with YaBBSE 1.5]

Put global.gif in YaBBImages, and GmodCenter.php in Sources.

Execute the SQL in globalmodcenter.sql.

Apply the mod globalmodcenter.mod.
------------------------------------------------------------------------


I am unfamiliar with this but how do you execute the SQl file to install it into the database?

N-Ur-Hand


I must of been looking at a cache. :o
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on January 24, 2003, 04:04:42 AM
Sorry, this was designed to be run as a YaBBpak.  I can make up a quick dbmod, but I don't see why you can't just use the package manager to run the SQL - it will do it for you, step 3.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: N-Ur-Hand on January 24, 2003, 09:38:08 AM
 All is good, You all have done a great job at putting this all together..

I still need to allow my Gloabal Mods of who i trust to be able to MODIFY a users access.

Is this possible?


See i run the site but my global mods do all the dirty work with the users.. But i just don't want them to have the admin title..

Title: Re:[Done 1.5.1] Global Moderator center.
Post by: taznumber1 on January 25, 2003, 06:27:58 PM
Are the global moderators suppoes to be able to edit a users information in there profile?

Because I see that in the code that they are suppose to have alot of access but when I log in as a global moderator on my board they can not edit the members profile on my administrator can edit them.  There  is no modify link or anything there.  So I went in and found out where the Modify link was and added Global Moderators to that line, and they then could see that text but when they try to modify an account they say that there password must match the members password and they would not know that password.  I was just trying to make it like the administrators where the password did not matter.

So then at the top I put
if ($settings[7]=='Global Moderator')
$settings="Administrator"

That worked but I really do not want my global moderators to be able to edit member groups, mainly I do not want them to be able to take my control away you know.  
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: N-Ur-Hand on January 25, 2003, 07:55:32 PM
 That is my situation, I need my global mods to be able to modify an account..
They do not have access to do so, So if the addition above is what it takes so that they can modify an account then i need it..

Where and what next to do i add this?


Thanks way in advance...
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: N-Ur-Hand on January 25, 2003, 07:55:41 PM
 That is my situation, I need my global mods to be able to modify an account..
They do not have access to do so, So if the addition above is what it takes so that they can modify an account then i need it..

Where and what next to do i add this?


Thanks way in advance...
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: N-Ur-Hand on January 25, 2003, 07:57:52 PM
 That is my situation, I need my global mods to be able to modify an account..
They do not have access to do so, So if the addition above is what it takes so that they can modify an account then i need it..

Where and what next to do i add this?


Thanks way in advance...

Now if we could get it as a turn on or off option in the admin section for global mods..

Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Ben_S on January 25, 2003, 09:18:24 PM
download the mod in page one and apply it with boardmod which you can find in the link on the left menu over there

<------------
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Chris Cromer on January 25, 2003, 10:03:49 PM
Um, did you actually read what he said? Because he already has the mod installed. ::)

He just wants another feature, to have global moderators be able to edit profiles.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: N-Ur-Hand on January 25, 2003, 10:38:54 PM
Sorry, Thanks Chris.. This is almost becoming annoying because of my requests..

I can't grant globals admin access that is to much, And i can't grant them the access they need as globals..

The board is being run by a motorcycle club, some like myself have staff that take care of the registrations and so on.. I have a board that maintains materials for about 800 club members in 3 countries in 3 languages. So it is one of those things..

But i need to try and figure this out..

I already have the MOD installed, i just need to add 1 feature that will allow my GMODS to modify all access's except there own..

In the SP1.1 version that feature was addressed and taken care of, I thought that when i upgraded to SE i might be able to pull that one feature and it has not been easy..

N-Ur-Hand

Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Webby on January 29, 2003, 06:05:38 PM
I'd like this one too, I made some adjustments myself, and now I'm stuck with te message :

'The 'number of posts\' box can only contain digits.'
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on January 29, 2003, 06:51:40 PM

I'd like this one too, I made some adjustments myself, and now I'm stuck with te message :

'The 'number of posts\' box can only contain digits.'


Sounds as if you haven't posted yet.  This is a wierd bug I've seen - judt podt and it will go away.  (btw, it's in YaBB SE not this mod.)

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Webby on January 29, 2003, 11:49:15 PM
No, this message pops up when one of my Global Moderators edit a profile of another member.  All my GM's already have over xxx posts.

I was just trying to give the GM's the same rights in editing other members' profiles.

It's no YaBBSE bug, but rather a bug in this "mod" I'm trying to make ;)
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on January 30, 2003, 03:49:04 AM
Actually, you misunderstand me.  And, that is most likely because I hadn't slept for over 40 hours when I made that post.

If you edit the profile of someone who has not posted yet in 1.5.0, it will give that error.  This seams to be because it checks against the post count wrong.

I plan to fix this, but as I *should have* said - it has nothing to do with the global moderator editing the profile, rather the profile being edited.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: daleguerra on February 06, 2003, 04:37:29 PM
Hi [Unknown]:

Do you have 1.4.1 Mod version?

Thanks in advance...
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on February 06, 2003, 06:34:28 PM
http://gbaetc.homeip.net/yypack/globalmod141.zip

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: daleguerra on February 06, 2003, 07:37:18 PM
Thanks [Unknown]...  :D
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: DJTommyC on February 21, 2003, 12:06:00 PM
In the MOD-settings I can´t see the text belonging to the 4 checkboxes..What to do..
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on February 21, 2003, 12:10:37 PM
What language are you using?  I think there are only entries for english.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: DJTommyC on February 21, 2003, 12:39:10 PM
That should do it..
I´ll make the dutch file..Would you like to have it?
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Chris Cromer on February 22, 2003, 03:05:09 AM
Um, what javascript in the template? My mod doesn't add javascript to the template. :-\
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: GWP on February 22, 2003, 08:23:33 AM
Hi
I have downloaded this mod and want to use it.
Howvere, i am new to PHP & SQL and do-not understand the redame.txt file that is inc with the mod.
this part:
"Execute the SQL in globalmodcenter.sql."

I see there is also a YP file incleded, I presume this is a yabpack, is thera link to an "Idiots guide to using the Yabbpak feature" :)

Thanks
P.S. I know how to use boardmod
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: DJTommyC on February 22, 2003, 12:47:28 PM
You have to execute the SQL-query, you can do this i.e. in MyPHPAdmin or such.
Change the <yabbse> to your table prefix.
Hope this will do
Grtz
Tommy
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: GWP on February 22, 2003, 02:32:23 PM
Quote
You have to execute the SQL-query, you can do this i.e. in MyPHPAdmin or such.
sorry, it is all above my head.
i will have to leave this one alone
Thanks anyway
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on February 22, 2003, 02:42:44 PM
Quote
You have to execute the SQL-query, you can do this i.e. in MyPHPAdmin or such.
sorry, it is all above my head.
i will have to leave this one alone
Thanks anyway

Look, it's simple.  There are a few ways to do it..... the easiest being the package manager.

Open up your admin center, and click on YaBBpak Center.  Then click [ Download new YaBBpaks ].

As the server name, type GBAetc (or whatever), and as the server url, type http://gbaetc.homeip.net/yypack

Now click the [ Browse ] button next to my server.  You will see Global Moderator Center 2.09 in the list.  Click [ Download ] next to it.

Click [ Back ], and then [ Back ].  Go to [ Browse YaBBpaks ] at the bottom.  Now click [ Apply Mod ] next to globalmodcenter.mod.yp.

Follow the yellow brick road, and it will be installed.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: GWP on February 22, 2003, 02:58:41 PM
Wow!
Great instant reply  ;D
yet another question, what is the pak actually installing.
the SQL query or the whole thing?
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on February 22, 2003, 03:32:29 PM
Whole thing.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: GWP on February 22, 2003, 03:44:46 PM
Mmm
Folowed your instructions to the letter.
Even ran the test install first in the yabcenter.
Said everyting was ok and si I went on to install,
then it said to me
Quote
2: fopen(Sources/Subs.php) [function.fopen]: failed to create stream: Permission denied
(/home/site34/web/forum/Sources/Packages.php ln 359)

I have now tried to ftp to the files mentioned and I no longer have permission to dowload or chmod them??

Is there a way to uninstall these paks?
HELP!
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on February 22, 2003, 03:53:32 PM
Some hosts have apache set up odd, such that files are not chwon'd correctly.

The best fix is to upload the files yourself.  (from the upgrade package, for example.)

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: GWP on February 22, 2003, 04:02:22 PM
It seems to look like you cannot tell what files have been updated using the yabpaks.
When you click on file info, it just tells you what the mod files etc are called, not what files they are going to change.
This is a little worrying.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on February 22, 2003, 04:17:25 PM
It tells you what it modifies and what it changed while it does it.

You can do a test install to make sure it works.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: GWP on February 22, 2003, 04:21:43 PM
thats what i did do, it said all Ok, then when I went to do it.
I had the error (above)
Dont know how to get around it.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: TF on February 26, 2003, 11:08:11 AM
Damn!

Somebody who have this mod for YaBB SE 1.4.1?
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Daniel D. on February 26, 2003, 11:09:10 AM
Damn!

Somebody who have this mod for YaBB SE 1.4.1?
Please search after it ::) in the Completed Mods Board.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on February 26, 2003, 12:31:09 PM
http://gbaetc.homeip.net/yypack/globalmod141.zip

-[Unknown]

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: N-Ur-Hand on February 27, 2003, 07:56:17 PM
i used the yabbpak to install this mod and i ran into a problem. It would not work with the Avatar Upload mod installed, I tried to fix it manually and found it was searching for lines that belonged to another mod so i had to uninstall it..

N-Ur-Hand

Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Syrann on February 28, 2003, 12:31:45 PM
I used the yabbpack to install the mod, but I'm getting the problem where the check marks aren't saving (under "Installed 'Mods' Settings and Options")  so all of the GM functions say "None".

Any suggestions?
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Syrann on February 28, 2003, 12:47:15 PM
Okay, figured out that it has to do with the SQL-query.  Duh! :-[

All better now.  :)
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Happy Axeman on March 01, 2003, 07:01:40 AM
I am trying to Install the Mod via the Yabbpak, but once installed I cant click the the selection boxes for the Global mod to work either, I try running the SQL but I get this error message? I am completey new to MySQL so I have no idea  ??? What am I doing wrong?
Quote
SQL-query :  

INSERT INTO < TBLPREFIX > settings
VALUES ('gmodnews', '1'), ('gmodcensor', '1'), ('gmodreserve', '1'), ('gmodban', '1')

MySQL said:

You have an error in your SQL syntax near '< TBLPREFIX > settings VALUES (  'gmodnews',  '1' ), (  'gmodcensor',  '1' )' at line 1
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Big P on March 01, 2003, 03:46:02 PM
See where it says: < TBLPREFIX >. I take it you're meant to replace that with your actual YaBB SE table prefix. Something like yabbse_ or whatever you used when you installed it.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on March 01, 2003, 07:56:47 PM
The package manager replaces it for you....

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: buster on March 03, 2003, 11:54:54 AM
i like this mod. Is it an idea to add more functions?? For instance add forums and catagory's but don't let a moderator remove them if they made a mistake. ???
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on March 03, 2003, 07:43:48 PM
IMHO, if you want your global mod to be able to do that.... just make them an admin.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Ian_S on March 03, 2003, 08:03:40 PM
This is an awesome mod but it needs more features like being able to access the attachement manager (they are the gmods they should be allowed)... They should also be able to Repair All Boards and Topics and Recount All Board Totals... :)
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: plugplay on March 04, 2003, 09:57:10 AM
I had no problem installing the mod but am experiencing a small problem. Whenever I go to Admin > 'Installed 'Mods' Settings and Options ' and turn on the 'Global Moderator' options and click Save, I doesn't stay on. I am using WinNT. What can I be doing wrong?

Thanks
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on March 04, 2003, 10:06:07 AM
You didn't get the rows inserted into your table.

If you prefer a PHP file over an SQL one, you can use this.... the dbmod.php is the same in the 1.4.1 version.

http://gbaetc.homeip.net/yypack/globalmod141.zip

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: plugplay on March 04, 2003, 10:47:42 AM
Is there any way to fix this without switching versions?
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on March 04, 2003, 04:13:30 PM
Is there any way to fix this without switching versions?

You misunderstand.  The 1.4.1 database modifications still work for 1.5.1.  If you cannot get the 1.5.1 SQL to work, use the one from the 1.4.1 zip file.... it works for BOTH versions.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: plugplay on March 04, 2003, 05:17:05 PM
The reason why I want to do the changes manually is because I cannot un-install the mod (errors). Is there any way to do the necessary changes to get this version to work? Thanks
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on March 04, 2003, 07:30:27 PM
This is the query you need:

INSERT INTO {$db_prefix}settings VALUES ('gmodnews', '1'), ('gmodcensor', '1'), ('gmodreserve', '1'). ('gmodban', '1');

That puts all the settings into the database.  Works for version 1.4.1 and 1.5.x of this mod.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: plugplay on March 05, 2003, 10:08:13 AM
Thanks [Unknown] ,

 I an not exactly sure how to add those fields into the database and would appreciate the instuctions on how to do it manually. Again many thanks.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on March 05, 2003, 10:10:35 AM
Do you have phpMyAdmin?

If you do, use it to execute the query I showed above in the SQL tab.  Just replace {$db_prefix} with whatever your prefix is.  (ususally yabbse_.)

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: plugplay on March 05, 2003, 11:52:47 AM
I have installed phpMyAdmin and set it up. I have my  database called dssforum and when I put in

INSERT INTO {$dssforum_}settings VALUES ('gmodnews', '1'), ('gmodcensor', '1'), ('gmodreserve', '1'). ('gmodban', '1');

I get

Error

SQL-query :  

INSERT INTO {dssforum_}settings
VALUES (

'gmodnews', '1'
), (
'gmodcensor', '1'
), (
'gmodreserve', '1'
).(
'gmodban', '1'
)

MySQL said:


You have an error in your SQL syntax near '{dssforum_}settings VALUES (  'gmodnews',  '1' ), (  'gmodcensor',  '1' ), (  'g' at line 1

Any suggestions? Thanks
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on March 05, 2003, 11:54:47 AM
Take out the curly braces.  They are not needed in the query... (and are what is causing the error.)

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: plugplay on March 05, 2003, 12:10:23 PM
It still didn't work but I was able to manually add it in. Thank you for all your help. I truly appreciate it.

Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on March 08, 2003, 02:52:50 AM
New YaBBpak uploaded.... works with newest version of 1.5.1.

http://gbaetc.homeip.net/yypack

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: TheXerox on March 10, 2003, 08:20:01 PM
Just tried to install this on my clean 1.5.1 board from the pack above and got this..

Fatal error: Cannot redeclare is_gmod() (previously declared in /home/hfstival/public_html/yabbse/Sources/Security.php:39) in /home/hfstival/public_html/yabbse/Sources/Security.php on line 43
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: TheXerox on March 10, 2003, 08:29:39 PM
I put my backup sources back in, and the forums are working again, but it still says the mod is installed.. what should I do?
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on March 10, 2003, 08:29:41 PM
Looks like you installed it twice.

Try uninstalling it from the pacakage manager.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: TheXerox on March 11, 2003, 07:34:51 AM
It worked, your the man Unknown.. appreciate all the work you put into all of this :)
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: diversedesigns on March 30, 2003, 09:27:38 AM
Does the global moderator mod work with 1.5.1RC1??

Thx :)


New YaBBpak uploaded.... works with newest version of 1.5.1.

http://gbaetc.homeip.net/yypack

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Coyote on April 05, 2003, 07:10:41 PM
Yep - The Yab Pack version of this mod is working fine with the 1.51 Final Release.

It installed on my board that had already been modded with the smilies mod and the Global Mod centre!

Thanks Guys!



Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Daubers on April 10, 2003, 07:49:35 AM
When I tried to install this through the YaBBpak I got a 500 server error when I tried to apply the mod.

Have I done something wrong somewhere or should I contact oneandone and ask them?
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on April 10, 2003, 08:44:15 AM
When I tried to install this through the YaBBpak I got a 500 server error when I tried to apply the mod.

Have I done something wrong somewhere or should I contact oneandone and ask them?

Make sure the Packages directory, along with your source files, are all writable.
You may want to try downloading the mod with your computer, and uploading it to the Packages directory.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: jack-uk on April 12, 2003, 06:33:32 PM
When I installed this from the yabbpack, it created the file Gmod.php in my Sources directory. However, the code was looking for GmodCenter.php. Have I stumbled onto something really odd?

Once I renamed Gmod.php to GmodCenter.php, it seems to work fine.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on April 12, 2003, 06:52:09 PM
Strange....

file|^|Sources/GmodCenter.php|^|24634|^|1040730000

I don't know what to tell you.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: goosemoose on April 24, 2003, 01:58:28 PM
There is a mistake in the YaBBPak. The modsettings.php has
Quote
<tr>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '"></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><font size="2">$txt[gmod6]</font></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><input type=checkbox name="gmodbanChecked"' . $gmodbanChecked . '></td>
                     </tr><tr>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '"></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><font size="2">$txt[gmod7]</font></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><input type=checkbox name="gmodreserveChecked"' . $gmodreserveChecked . '></td>
                     </tr><tr>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '"></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><font size="2">$txt[gmod8]</font></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><input type=checkbox name="gmodcensorChecked"' . $gmodcensorChecked . '></td>
                     </tr>

but it should be
Quote
' . $txt['gmod6'] . '
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Silent` on April 24, 2003, 02:50:47 PM
Instead of this code:

Quote
<tr>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '"></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><font size="2">$txt[gmod6]</font></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><input type=checkbox name="gmodbanChecked"' . $gmodbanChecked . '></td>
                     </tr><tr>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '"></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><font size="2">$txt[gmod7]</font></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><input type=checkbox name="gmodreserveChecked"' . $gmodreserveChecked . '></td>
                     </tr><tr>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '"></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><font size="2">$txt[gmod8]</font></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><input type=checkbox name="gmodcensorChecked"' . $gmodcensorChecked . '></td>
                     </tr>

use this one

Quote
<tr>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '"></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><font size="2">' . $txt['gmod5'] . '</font></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><input type=checkbox name="gmodnewsChecked"' . $gmodnewsChecked . '></td>
                     </tr><tr>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '"></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><font size="2">' . $txt['gmod6'] . '</font></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><input type=checkbox name="gmodbanChecked"' . $gmodbanChecked . '></td>
                     </tr><tr>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '"></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><font size="2">' . $txt['gmod7'] . '</font></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><input type=checkbox name="gmodreserveChecked"' . $gmodreserveChecked . '></td>
                     </tr><tr>
                        <td class="windowbg2" bgcolor="' . $color['windowbg2'] . '"></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><font size="2">' . $txt['gmod8'] . '</font></td>
                        <td class="windowbg2" bgcolor=' . $color['windowbg2'] . '><input type=checkbox name="gmodcensorChecked"' . $gmodcensorChecked . '></td>
                     </tr>

You have to change it manually...
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on April 24, 2003, 08:00:10 PM
Strange... I swear I had fixed that.

I must not have uploaded it :$.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Daniel D. on April 25, 2003, 05:45:27 PM
German:

$txt['gmod0'] = 'Globaler Moderator';
$txt['gmod1'] = 'Global Mod Center';
$txt['gmod2'] = 'Das ist Dein '\' . $txt[gmod1] . '\'. Hier hast Du die M&ouml;glichkeit die News zu editieren, Mitglieder zu bannen und andere Global Mod Funktionen auszuf&uuml;hren.';
$txt['gmod3'] = 'Global Mod Optionen';
$txt['gmod4'] = 'Forum Globale Moderatoren';
$txt['gmod5'] = 'Globale Mods k&ouml;nnen News editieren';
$txt['gmod6'] = 'Globale Mods k&ouml;nnen Leute bannen';
$txt['gmod7'] = 'Globale Mods k&ouml;nnen Reservierungen von Namen editieren';
$txt['gmod8'] = 'Globale Mods k&ouml;nnen W&ouml;rter zensieren';
$txt['gmod9'] = 'Sorry, aber Du hast keine Rechte um News editieren zu k&ouml;nnen.';
$txt['gmod10'] = 'Du hast keine Rechte um User bannen zu k&ouml;nnen.';
$txt['gmod11'] = 'Du hast keine Rechte um Nicks reservieren zu k&ouml;nnen.';
$txt['gmod12'] = 'Du hast keine Rechte um W&ouml;rter zensieren zu k&ouml;nnen.';
$txt['gmod13'] = 'Keine';
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: jlp2 on May 29, 2003, 01:36:33 PM
where do i get that dbmod.php thing
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Chris Cromer on May 29, 2003, 01:44:19 PM
Everything is included in the zip.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: jlp2 on May 29, 2003, 01:45:07 PM
it was not in there not the dbmod.php
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Chris Cromer on May 29, 2003, 01:50:55 PM
Alright, I see what's going on, you downloaded the zip from my site, I no longer keep it up to date. Check [Unknown]'s server because he has the latest zip(because he updated it to 1.5.1 for me).

If you have phpmyadmin, you can just run the .sql file in the zip and it will have the same effect as running the dbmod.php file.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: jlp2 on May 29, 2003, 01:53:49 PM
What is the link??
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Chris Cromer on May 29, 2003, 02:09:50 PM
I honestly don't remember... I am sure [Unknown] can tell you though.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on May 29, 2003, 02:56:20 PM
New YaBBpak uploaded.... works with newest version of 1.5.1.

http://gbaetc.homeip.net/yypack

-[Unknown]

Direct link:
http://gbaetc.homeip.net/yypack/globalmodcenter.zip

I'm not sure it works for 1.5.3, but I doubt it wouldn't...

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Aquilo on May 30, 2003, 03:08:08 AM
well it installed with BoardMod 2.5SE with no hiccups what so ever there is no dbmod.php file in the zip file but one line in phpmyadmin didn't kill me  ;D

ok the board is still running fine!
[edit] I forgot to add that I am using a modifried YaBB SE 1.5.3 and all's cool!

why can't the admin get into the modcenter?? what if a Moderator say's there’s something funny going on in there ;D like half the page is not showing up, the admin is supreme ruler of there board!!!

oh well I'll modify the mob  for me!  ;D
this is nice and so cool! thank you!

Aquilo
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: eibon on May 31, 2003, 05:47:01 PM
I've tried just about all of the links provided and none of the zip files contain "dbmod.php".  Since I am a complete ignoramus when it comes to SQL, I'll probably screw it up if I try to make the changes myself, so does anyone know where I can get the "dbmod.php" file?

Thanks  :)
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on May 31, 2003, 06:34:17 PM
If you want a dbmod, use this:

http://gbaetc.homeip.net/yypack/globalmodcenter141.zip

At some point I'm going to make sure it works with 1.5.3 and include a database modification PHP file in the main zip...

I really wrote it as a YaBBpak though....

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: eibon on May 31, 2003, 07:12:22 PM
I received a 404 error with that link, but you put me on the right track, and I found what I needed here -

http://gbaetc.homeip.net/yypack/globalmod141.zip

Thanks  :)

I've just installed the mod on my 1.5.3 forum, and everything seems to be working perfectly.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: waldo on June 04, 2003, 11:03:15 AM
I'm having some trouble with this.. I tried to install the YaBBPack way and had a problem with elnglish.lng, the script reported it didn't have permissions.. so I tried to uninstall it and got this error:

Code: [Select]
english.lng
Original String:
--------------------------------------------------------------------------------

$locale = 'en_US';

--------------------------------------------------------------------------------
String not found, there's probably an error in your mod, or, your have modified this file since installation.
An Error Has Occurred!

2: Unable to create 'english.lng~': Permission denied
(/var/www/yabbse/Sources/Packages.php ln 704)
 

the error at the bottom is pretty much the same one I got when I tried to install it, as well

I have changed english.lng but not that much, and a quick look into english.lng shows the locale line under the copyright and licensing information.. other files have been modified so I'm trying to uninstall this pack..

permissions on the file are 666 and the owner is www-data (the webserver username)

any ideas?

I'm having the same problem with the "Posts Per Day" pack..  (same file, same error)

I'd rather not attempt this by hand so any help would be appreciated
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: natandrion on June 05, 2003, 02:33:58 AM
I would like for my GMs to be able certain parts of User Profiles...

Namely:
Display Name
Custom Title
Signature
Avatar
Biography (Bio Mod (http://www.yabbse.org/community/index.php?board=158;action=display;threadid=21395))

Any ideas?

nat@ue.p9r.net
Title: Release of Global Moderator center for yaBB ver 1.5.3 ?
Post by: B » on June 08, 2003, 10:24:45 AM
Just curious is there a plan to release an official version compatible with 1.5.3  ?! :D
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Daniel D. on June 08, 2003, 11:01:39 AM
I think it works with 1.5.3.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: babdon on June 25, 2003, 12:43:20 AM
oh great. the link unkown provided for us to get the dbmod is not working.

could someone please throw this dog a bone. i think this mod is cool and would luv to install it... i don't want to risk breakin' my forum thou so i'll wait till i have dbmod.php...

thanks.
Title: Global Moderator center.
Post by: B » on June 25, 2003, 12:59:00 PM
The link worked for me  ::)

Anyways, the mod is working just fine in 1.5.3 ... or should I say 1.5.4 as well  ;D
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: babdon on June 25, 2003, 04:00:02 PM
http://gbaetc.homeip.net/yypack/globalmod141.zip

the link above didn't work for me. it goes to a 404 page. Non of the links on the previous page of this thread worked. Is there another link you're using?

The one on the first page worked but from what i understand is outdated... (it doesn't include the dbmod.php page)
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Vegeta on June 28, 2003, 06:54:48 PM
I would greatly like to see an update of this mod (for version 1.5.1) that would allow the administrator to give the global moderator any ability from the administration center. This would be like a checkbox list that has all of the administration center's abilities and checking them on or off to choose which abilities to give to the global moderator center. Also, there would also be a checkbox for editing profiles the same way an administrator does (editing post count, registration date, member group, etc.) However, the global moderators' editing profiles ability would exclude editing a member group to that of an administrator.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: supamike on July 15, 2003, 03:15:18 PM
Looks like [Unknown]'s yabbpack server is fubar'd.  :P

Everything is "[Download]" nad "No Description Given"...
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: dar on July 26, 2003, 06:54:06 PM
I installed this on 1.5.4 and it works ok except when I go into the mod settings and click "allow to edit news" etc the settings won't stay, they just become unticked again when I submit the changes.  How do I fix this???
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on July 26, 2003, 06:55:34 PM
I installed this on 1.5.4 and it works ok except when I go into the mod settings and click "allow to edit news" etc the settings won't stay, they just become unticked again when I submit the changes.  How do I fix this???

You need to apply the database changes... ugh, I should really get around to repackaging this.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: dar on July 26, 2003, 06:57:33 PM
sorry I'm new to this, how do I do that?
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: dar on July 27, 2003, 05:31:12 AM
ok as you were all very helpful with that......

I looked back on the previous replies to this post and found some code to put into the database so I opened "yse153.sql" and pasted the code in and nothing happened.  As I said I know nothing about sql and modding boards or anything, and I don't know what mysql is I just have an account on a friend's server and I have a board on it.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on July 27, 2003, 01:02:57 PM
You have to execute the SQL... the yse153.sql is just a file the installer executes, nothing more.

If you have phpMyAdmin, that's a great place to do it.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Dgirllamius on August 01, 2003, 07:40:33 AM
Hmm, I've downloaded this and boardmodded it, but for some reason, I can't execute the database file.  I get this error:

Quote
Error

SQL-query :  

INSERT INTO < TBLPREFIX > settings
VALUES (

'gmodnews', '1'
), (
'gmodcensor', '1'
), (
'gmodreserve', '1'
), (
'gmodban', '1'
)

MySQL said:


You have an error in your SQL syntax near '< TBLPREFIX > settings
VALUES (  'gmodnews',  '1' ), (  'gmodcensor',  '1' ), ( ' at line 1
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on August 01, 2003, 12:21:46 PM
Replace <TBLPREFIX> with your table prefix.  The YabBpak center does this for you.

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Dgirllamius on August 26, 2003, 10:46:44 AM
Hmm, well I don't know what that means, MySQL tables and what not are new to me...

And I can't use YaBBPaks on my server because they for some reason don't allow it.  Whenever I try, I get errors and stuff... :-\
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: The Hypr One on August 31, 2003, 10:08:41 PM
The mod works great (thanks Chris Chromer and [Unknown]). However I need additional features such as allowing Global Mods to edit other people's profiles (avatars, sigs and possibly a custom title and such). Thanks in advance.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Nono on October 27, 2003, 12:31:35 PM
Know someone a link that i can download the newest version? The Links above from Unkow shows alyways error404...
or chan anybody send it me to my Mail: admin@soist.net im go than and Share it too :)
Im think i have installed the oldest version, Installed all Fine but nothing works  ;D
(The Global mod dont see a Admincenter or can use anything)
Greetings
Nono
[Edit]
German:
$txt['gmod2'] = 'Das ist Dein '\' . $txt[gmod1] . '\'. Hier hast Du die Möglichkeit die News zu editieren, Mitglieder zu bannen und andere Global Mod Funktionen auszuführen.';
You have type Wrong... its must be:
$txt['gmod2'] = 'Dies ist dein \'' . $txt[gmod1] . '\'. Hier hast Du die M&ouml;glichkeit die News zu editieren, Mitglieder zu bannen und andere Global Mod Funktionen auszuf&uuml;hren.';
[/Edit]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: rinspeed on November 20, 2003, 03:09:22 PM
Here is the NON expert again.

I have downloaded the file, put the files according to the readme in the right places.

But how do i execute a sql file ????

I found the way how to run the mod, by putting it in the packages folder on my forum.

Do I need to edit something to make it work in dutch?

Man is this hard.

I hoped it would be all more click and play.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Nono on November 20, 2003, 04:02:54 PM
Hi there

A mysql file can u Execute in the PhpMyAdmin under
- Run SQL query/queries on database
If u want write the commands
- Or Location of the textfile
....
If u want it to Work it in Dutch u must add:
Code: [Select]
$langimages = "/dutch";After that:
Code: [Select]
$txt['gmod0'] = 'Global Moderator';
$txt['gmod1'] = 'YaBB Global Moderator Center';
$txt['gmod2'] = 'This is your \'' . $txt[gmod1] . '\'. From here you can edit the news, ban members and do other various Global Moderator functions.';
$txt['gmod3'] = 'YaBB Global Moderator Options';
$txt['gmod4'] = 'Forum Global Moderators';
$txt['gmod5'] = 'Global Moderators can edit news';
$txt['gmod6'] = 'Global Moderators can ban people';
$txt['gmod7'] = 'Global Moderators can edit reserved names';
$txt['gmod8'] = 'Global Moderators can edit censored words';
$txt['gmod9'] = 'Sorry but the admin has not given you permission to edit the news.';
$txt['gmod10'] = 'Sorry but the admin has not given you permission to ban anyone.';
$txt['gmod11'] = 'Sorry but the admin has not given you permission to edit the reserved names.';
$txt['gmod12'] = 'Sorry but the admin has not given you permission to edit the censored words.';
$txt['gmod13'] = 'None';
You must translate it First, i cant Dutch  ;D
Hope its help
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: rinspeed on November 21, 2003, 05:18:06 AM
It took me a while to find where to do this, but the running of the sql file resulted in an error:
Error
SQL-query :  

INSERT INTO <TBLPREFIX>settings VALUES ('gmodnews', '1'), ('gmodcensor', '1'), ('gmodreserve', '1'), ('gmodban', '1')

MySQL retourneerde:


You have an error in your SQL syntax near '<TBLPREFIX>settings VALUES ('gmodnews', '1'), ('gmodcensor', '1'), ('gmodreserve' at line 1

Back


I have added this part:
Code: [Select]
$txt['gmod0'] = 'Global Moderator';
$txt['gmod1'] = 'YaBB Global Moderator Center';
$txt['gmod2'] = 'Dit is uw \'' . $txt[gmod1] . '\'. Hier kun je het Nieuws bewerken, Leden verbannen en andere Global Moderator Funkties.';
$txt['gmod3'] = 'YaBB Global Moderator Opties';
$txt['gmod4'] = 'Forum Global Moderators';
$txt['gmod5'] = 'Global Moderators kunnen nieuws bewerken';
$txt['gmod6'] = 'Global Moderators mensen verbannen';
$txt['gmod7'] = 'Global Moderators gereserveerde namen';
$txt['gmod8'] = 'Global Moderators gecensureerde woorden bewerken';
$txt['gmod9'] = 'Sorry de administrator geeft geen toestemming om het nieuws te bewerken.';
$txt['gmod10'] = 'Sorry de administrator geeft geen toestemming om leden te verbannen.';
$txt['gmod11'] = 'Sorry de administrator geeft geen toestemming om de gereserveerde namen te bewerken.';
$txt['gmod12'] = 'Sorry de administrator geeft geen toestemming om de gecensureerde woorden te bewerken.';
$txt['gmod13'] = 'Geen';

But I do not see it in the installed mod part, could it mee that the modification by the mod installer is done wrong?

Or I must be doing something wrong!!

This is very diffycult to understand!!

Rinspeed
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on November 21, 2003, 05:57:52 AM
INSERT INTO <TBLPREFIX>settings VALUES ('gmodnews', '1'), ('gmodcensor', '1'), ('gmodreserve', '1'), ('gmodban', '1');

Change that to include your prefix, for example:
INSERT INTO yabbse_settings VALUES ('gmodnews', '1'), ('gmodcensor', '1'), ('gmodreserve', '1'), ('gmodban', '1');

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: rinspeed on November 21, 2003, 07:36:02 AM
Thanx,

At least the script did run.

I did not open the file to see how the script looked like, and because I do not have knowlegde about sql, did i not recognise the formatting.

rinspeed
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Forbiden] on November 21, 2003, 02:09:26 PM
can someone help me install this mod?  I cant seem to get it right.   I need some help please.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: [Unknown] on November 21, 2003, 09:01:45 PM
Why doesn't anyone just use the package manager?  You say you don't have the experience to do it manually, but then you're not willing to do it with the package manager?

Just use the following package server:
http://unknown.network32.net

-[Unknown]
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: rinspeed on November 22, 2003, 05:37:13 AM
dude,

why so upset?

I could not see any mods when I looked in the list default to yabb se. I added your server, and the global admin or the quickreply mod where not on your server.

It took me ages to find the right places because EVERYONE on this server automatically asumes that all know how those things work.

Ok you might be very experienced admins, and know all the tricks in the book. But please do not forget where you started yourself.

Instead of judging, I would have more use if i got the answer.

Rinspeed
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: rinspeed on November 27, 2003, 03:29:11 PM
I did all the changes, even asked the help from another admin, she copied all her files to my site.

I did run the script in SQLadmin, added the tables to the settings file.

But it still does not work.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Nono on November 28, 2003, 10:30:41 AM
look if u got one of the Lastest Versions of it. Im get the Same problem to beginning, all installed and nothing Works. But i found a version that works: http://www.fragsquadron.de/downloads/yabbmods15/gmod_fix.zip
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: rinspeed on December 03, 2003, 07:07:37 AM
I installed this fix, was very diffycult because you can't load it from within the forum application, but I managed to load it with boardmod.

It still does not work.
Title: Re:[Done 1.5.1] Global Moderator center.
Post by: Nono on December 06, 2003, 09:35:27 AM
Do Board Mod run it to the End Whithout Errors?
If jes look if u Upload all 8 Modified Files to the right places, if u do this too:  look in Installed Mod Settings if Global Mod Center is enabled...
If BoardMod got a error its dont edit any File!
Its not Hard to find the errors out, i am do always open the File and Mod Editor - Sometimes is the Search string wrong, just replace it with you files.
Good luck  ;)