Welcome, Guest. Please Login or Register.
March 28, 2024, 02:35:56 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.1] Global Moderator center. « previous next »
Pages: 1 ... 11 12 [13] 14 15 ... 24 Reply Ignore Print
Author Topic: [Done 1.5.1] Global Moderator center.  (Read 142529 times)
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done] Global Moderator center.
« Reply #180 on: September 26, 2002, 04:13:17 PM »
Reply with quote

Quote from: Surfy on September 25, 2002, 07:52:01 PMOK, i am running into trouble  :P

1.)
The Topicmover asking in the UltraCoolTopicMover.php:
Quoteis_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.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Yari
Noobie
*
Posts: 2


I'm a llama!

Re:[Done] Global Moderator center.
« Reply #181 on: September 26, 2002, 05:51:32 PM »
Reply with quote

Quote from: Chris Cromer on September 26, 2002, 04:01:34 PMYes 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.
« Last Edit: September 26, 2002, 05:52:29 PM by Yari » Logged
lakings
Noobie
*
Posts: 14


Re:[Done] Global Moderator center.
« Reply #182 on: October 02, 2002, 10:50:26 PM »
Reply with quote

How do we install the mods?
Logged
Ringer
Noobie
*
Posts: 16


I'm a llama!

Re:[Done] Global Moderator center.
« Reply #183 on: October 18, 2002, 06:07:35 PM »
Reply with quote

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
Logged
+§ïléñ± Åñgè|+
Noobie
*
Posts: 47


fråñçïûm f|úòrîdë!¡

ICQ - 7202348ah3xiang@hotmail.com WWW
Re:[Done] Global Moderator center.
« Reply #184 on: November 04, 2002, 03:06:55 PM »
Reply with quote

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)
Logged

Jü§±Îñ, +§ïléñ± Åñgè|+, ¥® 2003.
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done] Global Moderator center.
« Reply #185 on: November 04, 2002, 03:47:08 PM »
Reply with quote

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
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
+§ïléñ± Åñgè|+
Noobie
*
Posts: 47


fråñçïûm f|úòrîdë!¡

ICQ - 7202348ah3xiang@hotmail.com WWW
Re:[Done] Global Moderator center.
« Reply #186 on: November 05, 2002, 12:12:12 AM »
Reply with quote

./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!
Logged

Jü§±Îñ, +§ïléñ± Åñgè|+, ¥® 2003.
Thunderace
Full Member
***
Posts: 211


I'm a llama!

Re:[Done] Global Moderator center.
« Reply #187 on: November 26, 2002, 07:44:45 PM »
Reply with quote

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
Logged
Vegeta
Noobie
*
Posts: 45


WWW
Re:[Done] Global Moderator center.
« Reply #188 on: December 17, 2002, 09:51:31 PM »
Reply with quote

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.
Logged

_______
-Vegeta
Dragonball News Informant, Forum Administration
Dragonball Unlimited!
DBU
Noobie
*
Posts: 15


I'm a llama!

Re:[Done] Global Moderator center.
« Reply #189 on: December 18, 2002, 04:23:12 AM »
Reply with quote

Interesting point made by Vegeta.. I think I'd like to see that too.
Logged
gkorim
Noobie
*
Posts: 23


Re:[Done] Global Moderator center.
« Reply #190 on: December 19, 2002, 06:32:21 AM »
Reply with quote

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
Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done] Global Moderator center.
« Reply #191 on: December 19, 2002, 10:04:32 AM »
Reply with quote

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.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done] Global Moderator center.
« Reply #192 on: December 19, 2002, 10:38:18 AM »
Reply with quote

Although I don't mind you having it up on that site, I am a bit peeved that you did not ask me first. :(
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Thunderace
Full Member
***
Posts: 211


I'm a llama!

Re:[Done] Global Moderator center.
« Reply #193 on: December 19, 2002, 10:54:53 AM »
Reply with quote

Thought I was helping out, sorry

Deleted
« Last Edit: December 19, 2002, 11:06:30 AM by Thunderace » Logged
Chris Cromer
The Strange One
Mod Team
YaBB God
*****
Posts: 3152


I am just a figment of your imagination.

WWW
Re:[Done] Global Moderator center.
« Reply #194 on: December 19, 2002, 02:13:25 PM »
Reply with quote

http://www.agigames.com/boardmod/

Almost all of my mods are up on that page.
Logged

Chris Cromer

I am not suffering from insanity, I am enjoying every minute of it.
Pages: 1 ... 11 12 [13] 14 15 ... 24 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.5.1] Global Moderator center. « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.026 seconds with 19 queries.