News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Super Admin

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

Previous topic - Next topic

Bulakbol

Wow, I was off for a day and here's what I got. Lots of messages.

@F.L.A.I.M.E.R.
  Just create another account and change the ID to 1 to make that account the Super Admin.

I thanks you guys for the kind words and help.
ccbtimewiz
edit67
LHVWB
Eliana Tamerin
[n3rve]
christiehurst

Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Adish - (F.L.A.M.E.R)

Quote from: JohnyB on August 06, 2008, 07:28:58 PM
@F.L.A.I.M.E.R.
  Just create another account and change the ID to 1 to make that account the Super Admin.


Yep sure, but how ? From database ? Thats where the complications come up. I was searching for a easier way out. Thought there might be some solution. Well, as you are the Mod maker, you maybe having some ideas ? Please share up to make life easy.

Thank you.

Bulakbol

Register a new account and then change the ID_MEMBER to 1 from database.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Adish - (F.L.A.M.E.R)

*cough* *cough* after checking it 3 times i got to know that i didnt edit one of the line in profile.template.php which Eliana Tamerin gave me. If not then, I rechecked everything up with the package parser but didnt compare it here. About 2-3 numbers to be edited where not given up here. (Wasnt bothered to check).

Well, Finally worked.. Cheers to all... Party at my house... :D

Bulakbol

Congratz! Let's have a drink. Cheers. :)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

Quote from: ccbtimewiz on August 04, 2008, 07:10:49 PM
Great mod, but one tiny problem. What if someone whom is admin (and not root admin) were to uninstall this package? How can you prevent them from doing so without deleting the package and/or preventing them from adding packages?

You can delete the package so it won't show up in the list of installed mods.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

edi67

One little problem jonhy: my Global Moderator CANNOT edit mermbers profile, the mod give them errors, so they cannot for example, change usergroup to each user.
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Bulakbol

Can you elaborate more edi67. Like what part of the members profile are they trying to modify? The mod is only for admin#1 and has nothing to do with any other membergroups permissions.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

edi67

Quote from: JohnyB on August 07, 2008, 02:42:17 AM
Can you elaborate more edi67. Like what part of the members profile are they trying to modify? The mod is only for admin#1 and has nothing to do with any other membergroups permissions.

part that my global mods want elaborate is ACCOUNT SETTINGS of user profile appear this error:

An Error Has Occurred!

without mod everything work.
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Bulakbol

#29
Leave it uninstalled for now. I will check the 2.0 b3 version. Thanks for letting me know.

<edit>
Sources/Profile.php, find
'any' => array('profile_identity_any', 'manage_membergroups') && $memID != 1,
and replace with
'any' => array('profile_identity_any', 'manage_membergroups'),
'enabled' => $memID != 1,


OR download the new updated package. Thanks.
</edit>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

edi67

Quote from: JohnyB on August 07, 2008, 04:08:15 AM
OR download the new updated package. Thanks.
</edit>


excellent your last package seems to work without errors, BRAVO johnny ;)
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Bulakbol

Thanks. I hope others who downloaded earlier copy will redownload the version for SMF 2.0 Beta 3.1 package again.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

hawaii

hi this is a mod i would really like but unfortunatly im having problems :(

im running smf1.15

this is the error message i get when i have dowloaded it and before i have applied mod supermod115_UOT


Error in Package Installation

At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Installation Readme
Author: JohnyB    Mod Name: SuperAdmin    Version: 1.0
Tested: Freshly installed SMF 1.1.5 and SMF 2.0 Beta 3.1

--------------------------------------------------------------------------------
This will install SuperAdmin mod version 1.0

Super Admin

Protect admin#1 from deletion of himself or by other admins.
No other admins can ban or post warn admin#1.
Hide important information of admin#1 from other admins.
A board switch that if enabled (checked), other admins can see the board in board index
but cannot modify permissions etcetera. Only admin#1 can.
Assign members as spies including himself as a superspy by going to
Profile => Account Related Settings. You won't miss it.
See who are online spies.

Spy members are:

Invisible and cannot be seen by members or other admins.
Cannot see theirselves.

Spy Profile:

Never logged-in.
Always offline.

Bunos

SMF 1.1.5: In Profile summary, hide icq, msn, website etc. if they are empty.

Note:

I have no more time to do the edits for you so please do not ask.

I thank you.

SuperAdmin115_UOT.zip

Contains installation codes for those who installed "Users Online Today" mod.
It's for version SMF 1.1.5 only.

SuperAdmin.zip

For version SMF 2.0 Beta 3.1 with or without "User Online Today" mod installed.
It is also for version SMF 1.1.5 without "Users Online Today" mod installed.



Install Actions
Installations actions for "Super Admin with UOT":
Installing this package will perform the following actions:  Type Action Description
1. Execute Code SuperAdminDB115.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 failed
7. Execute Modification ./Sources/Who.php Test successful
8. Execute Modification ./Themes/default/Memberlist.template.php Test successful
9. Execute Modification ./Themes/default/ManageBoards.template.php Test failed
10. Execute Modification ./Themes/default/Profile.template.php Test failed
11. Execute Modification ./Themes/default/Who.template.php Test successful
12. Execute Modification ./Themes/default/languages/index.english.php Test successful
13. Execute Modification ./Themes/default/languages/index.english-utf8.php Test successful
14. Execute Modification ./Themes/default/languages/ManageBoards.english.php Test successful
15. Execute Modification ./Themes/default/languages/ManageBoards.english-utf8.php Test successful





would apprecaite any help

thanks.

Adish - (F.L.A.M.E.R)

@ hawaii
Do you have user online today mod installed ?

If yes then do the edits manually for the files, the test has failed.

If no then use another version of this mod as it is for the people who havnt got user online today mod installed.

Hope that helps you out.

hawaii

thankyou will check that out now.

Bulakbol

#35
Thanks guys. The mod is temporary unavailable because of a bug. Please uninstall the mod. I'll let you know when the bug is dead.

Bug fixed. The mod is up again. Thanks.

Only the version for SMF 2.0 Beta 3 that has bug. The one for version 1.1.5 is bug-free.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Adish - (F.L.A.M.E.R)

what what..?? What was the bug.? Anything major ?

Eliana Tamerin

Nothing major if you upgrade.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

Bulakbol

Yes, Eliana is right. Grab the latest upgrade. Thanks Eliana.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

hawaii

hi, sorry im still having the same probs, i have the users online today ive installed both packages and im getting the same probs with both.

Sorry to sound abit dim but im usless with this type of thing but i really do need this package and would be gratefull for any help

many thanks.

Advertisement: