Super Admin

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

Previous topic - Next topic

SpectroPro

I personally edit the failed files before I install the mod..

So on the screen that shows you the errors, just click the page icon on the left and open the failed file information.  It shows you what it is looking for and what it wants to change it to. 

Now, open that file in your editor. 

If it failed, it couldn't find what it was looking for.  So, just do a search for the first line or couple lines of code.. NOT all of it.  MOST likely, the culprit is another mod moved something that this mod was looking for at the start or end.  So, not a big deal...

When you manually find the code it was looking for, verify it is all there. (what is in your file is what you see in the little pop up window showing you what the mod wants...)

Now, copy the code from the bottom part of the pop up window, which is your new code, and replace the original with it. 

Save your file.

Repeat for any other files that failed. 

Once you have changed ONLY the failed files manually, go ahead and click the install button.  It will do the rest of the files normally and your mod should now be installed and working as intended.  :)

I hope that helps..  I have done this soooo many times, I find this to be the easiest way.  The same goes for when you uninstall a file and get failures..  Just fix the failed files first, then click uninstall. 

Again, 99% (probably 100%) of the problems are literally just an added line space, or different line at the end of the code it is searching for. 



----------------
Greg is currently listening to: Molly Hatchet - Flirtin' with Disaster
via FoxyTunes
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

http://www.therealityrocks.com    http://forum.therealityrocks.com/trr
- Greg

machmanx

I see.  I don't always stay as "Spy", I just do it when I actually want to spy.  I guess I didn't explain myself right, I just wanted the "Last Active" counter to stop counting when I go into spy mode, that way it will give the illusion that I've logged out of the forums.

Bulakbol

#62
@Adalla
Yes, you have to follow the xml install file. Or you can use the in-built parser.
http://custom.simplemachines.org/mods/index.php?action=parse;mod=1306;attach=68228;smf_version=1.1.5

@machmanx
While you are in spy mode, your "Last Active" will display "never" but when you get out of spy mode,  it will display the time you logged-in/out.  That's why I suggested to create another account and leave the Admin#1 always in spy mode.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Adalla

Thanx, just installed some other mods manually using XML, I'll get to it sometime.

I installed it on another forum that has fewer mods, and it worked, except it's on TP so I havnt checked yet, but I guess the spy feature wont work as I hard someone say it will be displayed in TP's user online.

Also, I dont see a "hide package' option under 'current theme' for the Babylon theme...and if I try to delete the package it gives me a warning that i might not be able to uninstall the package if I delete it.

Sudhakar Arjunan

I was waiting to install the super admin mod in new smf 2.0.4 though earlier i was using 1.1.6.

Now i had a small prob. May be relevant to the super admin mod.

Whenever i as a Admin = 1 = post new message or reply. It shows the post needs to be moderated by an moderator.

Then i have to click approve button to post the message.

Will there be any issue due to super admin mod.

Thanks a lot for Johny B for developing this useful mod.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Bulakbol

#65
@Adalla
You have to manually edit your custom theme's Settings.template.php.
Code (look for) Select
'description' => $txt['hide_post_group_desc'],
),
);

Code (replace) Select
'description' => $txt['hide_post_group_desc'],
),
);
if ($context['user']['id'] == 1)
$context['theme_settings'] = array_merge($context['theme_settings'],array(
array(
'id' => 'hide_from_list',
'label' => $txt['hide_from_list'],
)
)
);


@asudhakar
I don't think this mod has something to do with your issue. It seems someone has warned you already before you installed this mod. :)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sudhakar Arjunan

Quote from: JohnyB on October 22, 2008, 03:19:26 AM

@asudhakar
I don't think this mod has something to do with your issue. It seems someone has warned you already before you installed this mod. :)

Hi Johny B,
Am not sure what you have mentioned.
Could you please tell me what i have to do to over come this issue.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Bulakbol

What I mean is one of your admins might had issued you a warning.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sudhakar Arjunan

Sir, i got it.

Am the olny administrator and other two were only global moderators in side my forum.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Trinny

I used this mod on 1.1.6 with no errors, GREAT mod. However, on the mod download page, it states that this is compatible with 2.0b4, yet when I try to apply the mod, it says: Installations actions for "Super Admin with UOT":
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

So yeah, the board is heavily modded, but it's generally fewer mods than I was running on 1.1.6

I'm perplexed. Is the current 115_UOT version supposed to work on beta 4 as indicated?

Bulakbol

@asudhakar
Uninstall the mod and see if it is the cause of your issue.



@Trinny
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.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Trinny

Quote from: JohnyB on October 23, 2008, 09:50:46 PM
@asudhakar
Uninstall the mod and see if it is the cause of your issue.



@Trinny
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.

Sweet, cheers :D

HateFlavor

So I needed to backtrack some mods and find out what's happened to my stats page, and am having a really hard time removing this one. I did the manual install but never really got around to editing my theme for it, It was never really causing a problem nor did I ever notice it working... no harm no foul. Since my Stats page is wacky and getting an error and I think that it's the UOT MOD but it's not cooperating on uninstall either.

Parse error: syntax error, unexpected ';' in /usr/local/etc/httpd/htdocs/SMF/Sources/Stats.php on line 198
I can't seem to uninstall the superadmin mod or The UOT mod I was wondering if maybe some one here could help me out.

BCK

i have smf 1.1.6  and  a different theme not default...can this be installed still..it sounds great..sure hope so..and im fairly new at code etc...will it install thru acp or do i have to have edits in themes???thx in advance....

RustyBarnacle

I have a suggestion for the next version for older forums like mine.

We no longer have a #1 user anymore.  Rather than go through the stuff surrounding changing someone to #1 that I saw mentioned, can you add the option to assign someone as the super admin?

edi67

QuoteHide important information of admin#1 from other admins.

How i can do that?? others account admins in my forum can view my details (IP, EMAIL ecc ECC) my Globa ìl Mod too can view them.

Which information must be hidden ? and how
thx for reply johnny
CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

Bulakbol

@HateFlavor
This mod didn't touch the Stats.php. The only help I can do is to check your Stats.php and try to fix the error. You can attach the file if you want.

@BCK
If it installed without error, I don't think you need to edit any files.

@RustyBarnacle
Who would you like to assign a Super Admin?

@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. :)

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

RustyBarnacle

Myself.  We have 3 admins now but I'm by far the most active one.  I'm user #34.

BCK

#78
thx for your responce...wasnt sure im pretty new at this..awesome can be done thru acp...thx again

just installed..no problems or errors..awesome thanks ..great mod..

Bulakbol

Quote from: RustyBarnacle on October 28, 2008, 11:35:24 AM
Myself.  We have 3 admins now but I'm by far the most active one.  I'm user #34.

Well, we have to change #1 to #34 from the package before installing this mod.


@BCK
Thanks too for using or trying this mod.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Advertisement: