News:

Wondering if this will always be free?  See why free is better.

Main Menu

Staff Page Mod

Started by SMFHacks.com Team, May 18, 2006, 06:53:57 PM

Previous topic - Next topic

vbgamer45

I did something simliar to show only one group but that was group name
http://www.smfhacks.com/index.php?topic=12.msg113#msg113

You can change it to ID_GROUP and modify the script to see if ID_GROUP was set when passed to the page if was then only show that group.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Captain_Morrigan

Ok, I'll have to try it when I get home here at work it's filtering your site as a hacking site lol!

And it doesn't matter if it's by group name or ID I just want it to filter. Thanks!

HaxXxoR

Is there a way for the staff page mod to display secondary and third member groups as well? I run a gaming website and i have clan members that are moderators and i would like them to show up in both member groups.
Droppin' shells like a hailstorm, and bodys like a plague!
Http://www.tasty-fragism.com

vbgamer45

Not currently but I can see in the future having it support additonal member groups maybe have option to toggle it being shown.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

HaxXxoR

That would be awesome thanks
Droppin' shells like a hailstorm, and bodys like a plague!
Http://www.tasty-fragism.com

Captain_Morrigan

#65
The Hack worked great, I manipulated it so you can still show all of the staff members if you wanted.

My only problem is that it always shows the Mods (The Per board mods) I want them to be just like the other staff members that upon call it displays just that group. Could you help me do that?

You can see what I have so far by clicking on these links:
http://modernelf.enchantinge.com/index.php?action=staff&groupname=1 (Admins)
http://modernelf.enchantinge.com/index.php?action=staff&groupname=2 (Global Mods)
http://modernelf.enchantinge.com/index.php?action=staff&groupname=3 (Local Mods)

Nevermind, I fixed it. It just required a little more thought. Thanks for the great mod though.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Captain_Morrigan

Here's a more legitimate question. How can we put the member Online Color highlight for the mods?

sbclansite.com

There is a small bug or in short an error cause it gived t-string error in the admin panel > features

This is what is wrong :

<file name="$sourcedir/ModSettings.php">
<operation>
<search position="before"><![CDATA[array('check', 'who_enabled'),]]></search>
<add><![CDATA[
//SMF Staff Mod
array('text', 'staff_filter')]]></add>
</operation>
</file>
</modification>


See that line in the staff.xml notice this line array('text', 'staff_filter') its missing a , at the end and it should be array('text', 'staff_filter'), 

Well atleast i had issue with that and editing that line and adding the , fixed my admin>features panel.

Cheers
The Mod , Modifier :). For Mods/Scripts/GameServer Installations contact me via http://www.forums.sbclansite.com <<Free Image hosting, Free WebHosting and Free Featured Listing available also.
Webhosting @ 1.55$ : http://www.a1whs.com
Free Seo Friendly Directory : http://www.sbclansite.com

RBH

#69
everything seems to be working, but whats with the thick black border around the mod list? if i dont have a mod then that is just a big black space.


why wont my picture post ??? ???

vbgamer45

#70
Yeah need a picture to see what is going on. Seems you have the wrong url cause it says file not found when I try to go to that url.


As for the space I just wanted to seperate local moderators from the other groups. You can remove the extra line break <br /> in the staff.template.php
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

RBH

#71
there we go.....dont know why it would post before.....it wouldnt even show a broken link or nothing......it was like i wasnt even entering anything....oh well.

that makes sense, but what about the black underneath the local mod section? also, if i dont have a mod chosen it is a black void there, is that suppose to be?

ok, i think i figured it out......your copyright info is down there and with my borders being black it is covering them. i will play around tomorrow and work it out so your copyright shows correctly.

thanks for a cool mod!

ghostfreak

Working fine on my site (check sig for address).

http://www.xfilesforum.net - Dare To Believe?
http://www.idealforum.co.uk - The Green Blitz!

Skipdawg

Mod is working fine for me but dose anyone else get allot of errors for in in the forum error log?
Skipdawg's Community

Powered by SMF 1.1.3

onijin

Quote from: onijin on May 26, 2006, 04:24:39 PM
8: Undefined index: 38
File: /home/for10001/public_html/forum/Themes/default/Staff.template.php (eval?)
Line: 119

yeah.  Not a big issue, but I'm cleaning out my log everyday cause there are too many pages.

Skipdawg

Yea no big issue but I went 3 days without looking and had 2 pages of errors and almost all of them were for it.  :o
Skipdawg's Community

Powered by SMF 1.1.3

RBH

if you guys read back through you will see how to stop the errors. ;D

Skipdawg

Quote from: RBH on June 05, 2006, 11:57:11 PM
if you guys read back through you will see how to stop the errors. ;D

OK? do you mind pointing it out then for I see a few fixes mentioned but not for this. Yes i see it brought up before but no fix!
Skipdawg's Community

Powered by SMF 1.1.3

RBH

Quote from: ladyshanae on May 25, 2006, 07:33:27 AM
The modification itself works fine, but when I look in my error log, I get this error:

Quotehttp://mysiteinfo?action=staff
8: Undefined index: staff_filter
File: mysiteinfo/Staff.template.php (eval?)
Line: 13

I'm on a fresh install of 1.1RC2.

Edit:  Ok, I figured out I get this message if I do not add a filter of any kind in the Edit Feature and Options area in the admin panel.  So I'm not sure if you want to fix this or not - up to you :D  Thanks for a groovy mod!

i too was getting pages and pages of errors until i went in and added a group in the filter box suggested in this post. i happen to have other groups other then moderator, global moderator, and administrator so i just added the other two groups seperated by comas and i have not had one error since. go to features and options, layout and options and scroll to the bottom to see filter box.

onijin

Koo.

But  my  error isn't a "staff_filter" error, so it didn't work when I tried that.

Advertisement: