Super Admin

Started by Bulakbol, August 04, 2008, 06:44:30 PM

Previous topic - Next topic

RustyBarnacle

Hehe, well if its that easy thats great.  :)

Thanks

Anticipation

Hi,

I just installed this mod, and now get a Database Error when i visit my forum.

Quote
SQL logic error or missing database
no such column: mem.spy
File: /www/110mb.com/a/n/t/i/c/i/p/a/anticipation/htdocs/forum/Sources/Subs-MembersOnline.php
Line: 96

Any help would really be appreciated.
Thanks.

Bulakbol

@RustyBarnacle
Can't you use member #1 account as the Super admin?


@Anticipation
Are there any files failed the test when you installed this mod? Please unimstall the mod and then reinstall it. See if that will get rid of the error. The spy field was not added to the database I think. Let me know how things goes.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Trinny

Quote from: JohnyB on October 28, 2008, 03:04:50 AM


@edi67
This mod hides important information of admin #1. The other Admins cannot access the admin #1's "Account Related Settings". Like Real name and display name, membergroups, email address, password etc. No one can delete super admin's account even the super admin. :)



while using this mod, one of the other admins was able to change my member group (done as a test).

Additionally, when a theme setting is set to show the users names who are viewing the thread, Spies are visible to everyone while viewing any thread. I've skirted this by turning off the option to show who is viewing a thread, but it's a band aid, not a cure.

Bulakbol

@Trinny
Which version? The 1.1.7 or the one for 2.0 Beta 4? The other admins should have no access to member #1's account.  Are you using member #1's account?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Trinny

Quote from: JohnyB on November 11, 2008, 07:29:35 PM
@Trinny
Which version? The 1.1.7 or the one for 2.0 Beta 4? The other admins should have no access to member #1's account.  Are you using member #1's account?
2.0b4 and yes, I'm user 1. There were no failed tests when I installed, and the mod itself is throwing no errors in the log. I was in spy mode one moment, and the next moment, had no access to administrate forumside. My usergroup had been easily changed by another admin.

Bulakbol

Not sure Trinny but the mod works in my test forum. I'll look at the codes again. Meanwhile, uninstall this mod if it is not working for you.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

RustyBarnacle

I'll try changing the mod to my user number as this is a very old forum and I've only been on a few years.

The number one user has been deleted and so we don't have one anymore.

Bulakbol

I suggest to create a new account and by using PhpMyAdmin, change the new account number to #1. I am not comfortable making a revised version because I don't want other admins using it without admin #1 knowing. I don't want other admins to use this mod against admin #1. I hope you understand.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

RustyBarnacle


Anticipation

Quote from: JohnyB on November 11, 2008, 07:16:37 PM
@Anticipation
Are there any files failed the test when you installed this mod? Please unimstall the mod and then reinstall it. See if that will get rid of the error. The spy field was not added to the database I think. Let me know how things goes.

None of the files failed the test.

Also, i uninstalled the mod; It's not listed the Browse Packages section, anymore. It didn't help.

If it matters, the forum is SMF 2 beta 4, and the database is sqlite.

Thanks.

Bulakbol

Sorry about that. I'll make changes to the code and see if it will work for you.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Pinball Wizard

I installed this mod, no problems at all, it shows on the admin panel that it was successfully installed and everything...but How can I make someone a superadmin? I have on specific user that I want to promote to superadmin, but I can't seem to find this option on member's control...

ENRESINADO

#93
Hi,

I have smf 1.1.7 and this mods gives me an error when trying to install it.

The error appear to be in the Subs-Boards.php file. I've edit the file myself and the string b.boardOrder, b.countPosts, b.memberGroups, b.ID_THEME, b.override_theme, isn't there...

Could this be the problem?

My default language is not English.

Some weeks ago, when I've start to installed the forum, this mod installed successfully, although it didn't worked very well, because I was the admin #1 and when making a test with another admin, I was able to delete myself...

All help will be appreciated.

Thanks in advance.

Best regards,
ENRESINADO

Bulakbol

@Pinball Wizard
You can't. Super admin is only admin#1. Super admin can assign spy tho. That's all.

@ENRESINADO
Another mod added something in that line I guess. You can add it yourself manually though. In Subs-Boards.php, find
function getBoardTree()
and about 8 lines below, you can find at least the "b.boardOrder". Add " b.admin1, " (no quotes) before or after it and you'll be fine assuming it's the only issue you have.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

ENRESINADO

Thanks JohnyB, I'll try it and give you feedback after.

Bulakbol

Did it work ENRESINADO? If you want me to do it for you, attach the file to be edited to your post.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

romper

I get failed test at load.php..any quick fixes? THX!

nguirado

Man, I need this! I'm running 1.17

I get this error:

Quote1.     Execute Code     SuperAdminDB117.php     
2.    Execute Modification    ./Sources/Load.php    Test successful
3.    Execute Modification    ./Sources/Subs-Boards.php    Test successful
4.    Execute Modification    ./Sources/ManageBoards.php    Test successful
5.    Execute Modification    ./Sources/Profile.php    Test successful
6.    Execute Modification    ./Sources/BoardIndex.php    Test successful
7.    Execute Modification    ./Sources/ManageMembers.php    Test successful
8.    Execute Modification    ./Sources/Who.php    Test successful
9.    Execute Modification    ./Sources/Modlog.php    Test successful
10.    Execute Modification    ./Sources/Subs-Package.php    Test successful
11.    Execute Modification    ./Themes/default/Modlog.template.php    Test successful
12.    Execute Modification    ./Themes/default/Memberlist.template.php    Test successful
13.    Execute Modification    ./Themes/default/ManageBoards.template.php    Test successful
14.    Execute Modification    ./Themes/default/Profile.template.php    Test successful
15.    Execute Modification    ./Themes/default/Who.template.php    Test successful
16.    Execute Modification    ./Themes/default/Packages.template.php    Test successful
17.    Execute Modification    ./Themes/default/Settings.template.php    Test successful
18.    Execute Modification    ./Themes/default/languages/index.english.php    Test successful
19.    Execute Modification    ./Themes/default/languages/ManageBoards.english.php    Test successful
20.    Execute Modification    ./Themes/default/languages/index.english-utf8.php    Test successful
21.    Execute Modification    ./Themes/default/languages/ManageBoards.english-utf8.php    Test successful
22.    Execute Modification    ./SSI.php    Test failed

Here are the mods I have:

Quote1.     Global Headers Footers      1.4.1       [ Uninstall ]  [ List Files ]  [ Delete ]
2.    Super Admin    1.3    [ Apply Mod ] [ List Files ] [ Delete ]
3.    SMF File Manager    2.1.3    [ Uninstall ] [ List Files ] [ Delete ]
4.    Googlebot & Spiders Mod    2.0.4    [ Uninstall ] [ List Files ] [ Delete ]
5.    YouTube BBCode    2.4    [ Uninstall ] [ List Files ] [ Delete ]
6.    Search Topic    1.01    [ Uninstall ] [ List Files ] [ Delete ]
7.    Gender On Registration    1.0    [ Uninstall ] [ List Files ] [ Delete ]
8.    Social Bookmarks    1.1    [ Uninstall ] [ List Files ] [ Delete ]
9.    User Email System    1.3    [ Uninstall ] [ List Files ] [ Delete ]
10.    Smf Logo Clickable    1.0    [ Uninstall ] [ List Files ] [ Delete ]
11.    Anti-Bot Registration Puzzles    1.2    [ Uninstall ] [ List Files ] [ Delete ]
12.    Popular icons under signature    1.0    [ Uninstall ] [ List Files ] [ Delete ]
13.    Drafts (for 1.1.x)    1.08    [ Uninstall ] [ List Files ] [ Delete ]
14.    EarnFromAmazonLinksMod    1.0    [ Uninstall ] [ List Files ] [ Delete ]
15.    Last Topics of Person    1.0    [ Uninstall ] [ List Files ] [ Delete ]
16.    Karma On Memberlist    1.0    [ Uninstall ] [ List Files ] [ Delete ]
17.    SearchResultsMod    1.0    [ Uninstall ] [ List Files ] [ Delete ]
18.    Super Admin with UOT    1.3    [ Apply Mod ] [ List Files ] [ Delete ]
19.    Contact Page    1.1    [ Uninstall ] [ List Files ] [ Delete ]

<a href="http://www.nelsonguirado.com">Asymmetric blog</a>

nguirado

Never mind. It was the Googlebot mod.
<a href="http://www.nelsonguirado.com">Asymmetric blog</a>

Advertisement: