Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jul 2002
Posts: 42
Member
Member
Offline
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? [Linked Image]

Thanks in advance. smile

Sponsored Links
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 wink ... Search the recent visitors files for admin, those instances are where you'd add the megamods wink ...

And yeh, I know I'm no help smirk


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

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?


UBBDev - 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: Jul 2002
Posts: 42
Member
Member
Offline
Joined: Jul 2002
Posts: 42
Quote
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. smile
Thanks Brett, that worked perfectly. thumbsup

Now if I can get this weird glitch in my "thinking clock" fixed, I'll try not to bother you guys anymore. wink

Sponsored Links
Joined: May 2001
Posts: 1,042
Likes: 7
Moderator
Moderator
Offline
Joined: May 2001
Posts: 1,042
Likes: 7
Quote
Originally posted by Gizzy:

do i hear an update in stock code for megamods?
Now it is, i was looking for positive feedback beforehand. smile


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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,575
Posts293,932
Members13,824
Most Online6,139
Sep 21st, 2024
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,835
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)