|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Title: MegaMod Tested on ubb: 6.4.0.1 Description: Makes a new status of a moderator to every board(like an administrator) without being listed, but no access to control panel(if not desired). Download: https://www.ubbdev.com/ubb/upload/00006378/megamod6.4.zip Credits: Al Bundy for 6.0 version, Cal for 5.x versions Special Thanks: Oblivion Knight, TheX, Gizzy Bug fixes since last version: - v1.0 - Inital release for 6.01 by Al Bundy
- 1.5 - Ported to 6.1 betas, fixing the posting bug
- 2.0 - Port to 6.2
- 2.1 - Port to 6.3
- 2.2 - Port to 6.4(reworked cp_megamods, fixing the demoding bug)
|
|
|
|
Joined: Nov 2001
Posts: 1,080
Member
|
Member
Joined: Nov 2001
Posts: 1,080 |
quote: Originally posted by Brett: 2.2 - Port to 6.4(reworked cp_megamods, fixing the demoding bug) Thanks Brett. I thought I was the only one who experienced that everytime I updated a members profile in CP. I'll try it and let you know how it goes.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
OMG, you worked out the bug! which ones exactly, I know there were a few :x...
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
No Prob guys, just trying to keep up with everything. UPDATE: You'll need to redownload the zip, if have already and reupload cp_megamods.cgi, as i missed something important. Sorry about it.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Yeh no thanks to Gizzy and the 4 hours of conversation and 3 feature requests :x...
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Hey, my Mega Moderators are complaining about not being able to post polls... Also, with the user titles option in the control pannel, users can set their own titles if you deam their level able to do so, figured some people would find it useful for megamods to be able to set it.
HEH, i've been added to the thanks, i feel special now :x... I was just jokin btw, didn't expect you to actually add thanks lol...
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Gizzy's problem was that, the megamod were not properly set, which is not a problem with the files. However, i did learn that megamod was not integrated into the user groups yet. I have updated the zip to incorporate this. But for users already installed this. Here is the upgrade instructions: quote: ###Open cp_user_groups.pl
### find
my @group_order = qw(administrators moderators senior_members junior_members COPPA_members);
### replace with
my @group_order = qw(administrators megamoderators moderators senior_members junior_members COPPA_members);
### open vars_wordlets_cp.cgi
### add in:
q!user_group_megamoderators! => q!MegaModerator!, The installation docs has been touched up for easier reading. Also i found that the directory is untouched. My first attempts to integrate this, failed. But as soon as i get it, i'll report back.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
, tell me when you need another place to test :x...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
cp_vars_avatar.pl cp_user_search_form.pl cp_user_titles.pl the webmaster tried to install this hack and he says we don't even have those 3 files we just upgraded to 6.4, I don't know what to do, anyone know how to help?
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote: Originally posted by Weird Al: cp_vars_avatar.pl cp_user_search_form.pl cp_user_titles.pl
the webmaster tried to install this hack and he says we don't even have those 3 files we just upgraded to 6.4, I don't know what to do, anyone know how to help? anyone? please?
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Are you looking the templates directory? (/noncgi/Templates)
|
|
|
|
Joined: May 2002
Posts: 35
Member
|
Member
Joined: May 2002
Posts: 35 |
none of the variables show up, in the cp menu, in the user titles etc... (yes I added them to the vars file and they show up in the wordlet list in the cp) any idea what I left out/did wrong? I would really rather not do all that over again, hehe.
thanks, Mirek
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Did you make sure you edited the template files and upload them?
|
|
|
|
Joined: May 2002
Posts: 35
Member
|
Member
Joined: May 2002
Posts: 35 |
Well.. I thought I did, but I guess I must have forgotten something, was kind of hoping it would be something that could be tracked down from the description instead of me having to go back over everything (the script seems to be working fine though.. just none of the wordlets show up where they should) example:
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
That particular drop down is located in cp_common.pl. Check for the existance of: [code][/code]in sub CPMenu
|
|
|
|
Joined: May 2002
Posts: 35
Member
|
Member
Joined: May 2002
Posts: 35 |
Yup, it's in there, exactly.
It's not just that one wordlet that doesn't show up though, it's all of them...
Edit: Just found my problem.. and boy was it something stupid; I had added the wordlets to vars_wordlets.cgi instead of vars_wordlets_cp.cgi
Thanks for the help Brett.. I'm going to go and hide now
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Hey brett, was curious if you could add the functionality of 12 megamods to run along side of my 12 moderator mod?
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
All you had to do was add more tables, because the coding in cp_megamods.cgi accepts unlimited number of megamods.
I just updated cp_vars_megamods.pl to make it even simpiler. All you have to do, is open up the file, and change the variable $mm_count to however many you want.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
how sexy is that!
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
Does anyone know if this will work on 6.5? I would test it but I don't have access to ftp on my boards (I'm trying to get the owner to let me have a test board ) Does anyone know if it'll work? cause we are upgrading tomor... today to 6.5 no matter what and we really need this hack
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
I had it running on 6.5, there weren't too many code additions to 6.5 hence why theres one forum for 6.4 and 6.5 mods.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
I have had one problem with it. When I go to Admin someone, some Megamods get demodded, but they still show as megamods in the cp. How could this be fixed?
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
It was a common error. Your best bet is to upgrade to 6.5 and use Brett's.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
In the directory, when you sort by member status, Megamods are listed at the very end. how could I make them appear right after admins?
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Try this out. [code][/code]
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
quote: Originally posted by Brett: Try this out. [code][/code] I couldn't figure out why that wouldn't work, so I checked and sure enough it was in there twice. It now works great, thanks
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
does anyone have a copy of this hack, his server hasn't worked for weeks.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Sorry about that, the link is fixed.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Hey brett, I'm glancing at the user titles page here, for some reason "Allow users to set a custom title" doesn't show "MegaModerators" ... Lend a hand?
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
::checks brett for pulse:: ::bump:: Brett, anyway to get it set so megamod's can set a custom title?
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Hrm, Did you miss part of the directions: ######################################################## ###Open cp_user_titles.pl ########################################################
######## # find # ########
&RegField($vars_wordlets_cp{user_titles_mod_title}, "ModeratorTitle", "yes", "40", "1000", "", UBBCGI::escapeHTML($vars_misc{ModeratorTitle}), 3);
############# # add below # #############
&AlternateColors; &RegField($vars_wordlets_cp{user_titles_megamod_title}, "MegaModeratorTitle", "yes", "40", "1000", "", UBBCGI::escapeHTML($vars_misc{MegaModeratorTitle}), 3);
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
he meant allowing them custom titles, that just sets what the title is for the Megamods.
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
oh, alright then. Try this: ###Open cp_user_titles.pl # find #
<label for="ct_allow_administrators" class="radio">$vars_wordlets_cp{group_administrators}</label>
# add below #
<input type="checkbox" id="ct_allow_megamoderators" name="ct_allow_megamoderators" $ct_allow_select{'megamoderators'} /> <label for="ct_allow_megamoderators" class="radio">$vars_wordlets_cp{group_megamoderators}</label> Zip file updated.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
hey Brett, any chance of this being ported to 6.6?
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
YEY, WORKS !!!
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Broken link from ivegeta.com again, and I guess Brett isn't around...
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
You're my own personal saviour, Al... Thanks
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 70
Joined: January 2007
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|