#57706
05/24/2004 9:01 PM
|
Joined: Jul 2002
Posts: 42
Member
|
Member
Joined: Jul 2002
Posts: 42 |
Can a modification be made to the MegaMod 6.7 version that allows MegaMods to view the "Admin View" in "Recent Visitors:" section? Thanks in advance. 
|
|
|
#57707
05/25/2004 11:41 AM
|
Joined: Jan 2000
Posts: 5,835 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,835 Likes: 20 |
Yes  ... Search the recent visitors files for admin, those instances are where you'd add the megamods  ... And yeh, I know I'm no help 
|
|
|
#57708
05/25/2004 11:36 PM
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Sorry about the delayed response. Looks like you caught something here, the logic isn't right. It was on the install file supposed to allow megamods to see admin view. But i see it's not right. You know the replacement in ubb_pntf.cgi to change to &StandardHTML("$vars_wordlets_err{no_access}") unless(($writeline =~ m/Admin/) && ($statusline =~ m/^(Administrator|MegaModerator)$/)); Well it's supposed to be: &StandardHTML("$vars_wordlets_err{no_access}") unless((($writeline =~ m/Admin/) && ($statusline eq "Administrator")) || $statusline eq "MegaModerator"); That should work. 
|
|
|
#57709
05/26/2004 10:38 AM
|
Joined: Jan 2000
Posts: 5,835 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,835 Likes: 20 |
do i hear an update in stock code for megamods?
|
|
|
#57710
05/26/2004 2:02 PM
|
Joined: Jul 2002
Posts: 42
Member
|
Member
Joined: Jul 2002
Posts: 42 |
Originally posted by Brett: Sorry about the delayed response. Looks like you caught something here, the logic isn't right. It was on the install file supposed to allow megamods to see admin view. But i see it's not right. You know the replacement in ubb_pntf.cgi to change to &StandardHTML("$vars_wordlets_err{no_access}") unless(($writeline =~ m/Admin/) && ($statusline =~ m/^(Administrator|MegaModerator)$/)); Well it's supposed to be: &StandardHTML("$vars_wordlets_err{no_access}") unless((($writeline =~ m/Admin/) && ($statusline eq "Administrator")) || $statusline eq "MegaModerator"); That should work. Thanks Brett, that worked perfectly. Now if I can get this weird glitch in my "thinking clock" fixed, I'll try not to bother you guys anymore. 
|
|
|
#57711
05/26/2004 7:40 PM
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Originally posted by Gizzy:
do i hear an update in stock code for megamods?
Now it is, i was looking for positive feedback beforehand. 
|
|
|
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: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,932
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|