|
|
Joined: Feb 2000
Posts: 62
Member
|
Member
Joined: Feb 2000
Posts: 62 |
I posed the following question at IP: Is there a way of preventing Mods from viewing IPs and restricting them to Admin only (6.3.0) Graeme responded: Hint: ubb_get_topic.cgi, sub get_ip - search for the call to is_admin_or_modSadly, my skills being what they are, I need a little more info - my "guess" was: should I turn is_admin_or_mod into is_admin ? but obviously IP can't take me any further . . Any ideas here? Thanks a lot 
I'm depriving a village somewhere of an idiot.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Open ubb_lib.cgi find: sub is_admin_or_mod above that add: [/code]ubb_get_topic find:
</pre></div></div>replace with:<br>[code] That, in theory, should do it.
|
|
|
|
Joined: Feb 2000
Posts: 62
Member
|
Member
Joined: Feb 2000
Posts: 62 |
Thank you Greg - I'll give a try 
I'm depriving a village somewhere of an idiot.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I've always wanted my mods to not snoop around the IP's. Might try this out.
|
|
|
|
Joined: Feb 2000
Posts: 62
Member
|
Member
Joined: Feb 2000
Posts: 62 |
Sorry Greg, Could you take another look at the above code please, now (as the admin) when I click the "ip-logged" link, I get the error message about only admins (took out mods in wordlets) are allowed to perform this function. Thanks a lot 
I'm depriving a village somewhere of an idiot.
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
Can you just paste the error here?
|
|
|
|
Joined: Feb 2000
Posts: 62
Member
|
Member
Joined: Feb 2000
Posts: 62 |
It's not really an error, it's standard issue out of the error message wordlets:"not_admin_or_mod "
It means that since I applied the mod, for the purpose of viewing IPs (against each post) - the system doesn't recognise me as an admin.
All other admin functions are OK.
I'm depriving a village somewhere of an idiot.
|
|
|
|
Joined: Sep 2001
Posts: 379
Member
|
Member
Joined: Sep 2001
Posts: 379 |
I believe there's a minor glitch in Greg's code. Try this instead: [code][/code]This is similar to what I've been using at some BBS I administrate, hasn't failed me yet. :rolleyes:
|
|
|
|
Joined: Feb 2000
Posts: 62
Member
|
Member
Joined: Feb 2000
Posts: 62 |
Yayyyy - go Idle  - thanks for that Now that I have admin only on the IPs and your advanced IP logging working like a charm, my people "problem" has gone away. I'm not sure - but did you update the MH as yet? - I d/l a fresh copy but had to delete the public_display_profile.pl hack and use your text fix [ here ]to prevent mods from viewing the bonus info. Anyway thanks again 
I'm depriving a village somewhere of an idiot.
|
|
|
|
Joined: Sep 2001
Posts: 379
Member
|
Member
Joined: Sep 2001
Posts: 379 |
No problem.
No, I haven't updated the MultiHack files, and I'm afraid that I won't update them again.
So far I've found MultiHack to be too unreliable for already modified UBBs, beside the annoying fact I don't have time to maintain both the text files and MHP files.
|
|
|
|
Joined: Jun 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 16 |
wicked, thanks alot. EXACTLY what i was looking for.
|
|
|
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: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|