Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
#198847 01/28/2003 2:55 AM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
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)

Sponsored Links
Joined: Nov 2001
Posts: 1,080
Member
Member
Offline
Joined: Nov 2001
Posts: 1,080
Quote
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.

smile

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


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
No Prob guys, just trying to keep up with everything. smile

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


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
https://www.ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic&f=33&t=000025#000000 wink

I forgot to mention it before, but i updated the zip, per Gizzy's request, to add megamod to the cp member search.

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


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
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
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. frown My first attempts to integrate this, failed. But as soon as i get it, i'll report back. smile

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
wink , tell me when you need another place to test :x...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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 confused we just upgraded to 6.4, I don't know what to do, anyone know how to help? help

Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
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 confused we just upgraded to 6.4, I don't know what to do, anyone know how to help? help
anyone? frown please? help

#198858 02/03/2003 11:01 PM
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Are you looking the templates directory? (/noncgi/Templates)

Joined: May 2002
Posts: 35
Member
Member
Offline
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
Offline
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
Offline
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:
[Linked Image]
[Linked Image]

Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
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
Offline
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?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
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. laugh All you have to do, is open up the file, and change the variable $mm_count to however many you want.
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
All you had to do was add more
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
wink how sexy is that!


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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 smile )

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.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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
Offline
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
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
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 smile

#198874 07/10/2003 12:26 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
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
Offline
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" smirk... Lend a hand?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#198877 07/23/2003 10:05 PM
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?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Hrm, shocked

Did you miss part of the directions:
Code
########################################################
###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
Offline
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
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
oh, alright then. Try this:

Code
###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
Offline
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 smile !!!


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
#198883 10/30/2003 10:50 AM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Broken link from ivegeta.com again, and I guess Brett isn't around... frown

#198884 10/30/2003 11:11 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
lemme check my hard drive...

https://www.ubbdev.com/ubb/upload/00020028/megamod6.4.zip

That was from back when I had 6.4, so make sure to apply any updates he posted in this thread

#198885 10/30/2003 11:20 AM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
You're my own personal saviour, Al... Thanks laugh

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


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Page 1 of 2 1 2

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)