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

@hawaii
Have you tried installing the mod manually? Any success?
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

#41
Update:
Post group members cannot access/edit their Account Settings because of a misplaced round bracket.  I apologize. It's the package for SMF 1.1.5 that was affected.

edit
For those who don't want to uninstall/reinstall the mod and want to edit the code, Sources/Profile.php.
Code (find) Select
if (($context['user']['is_owner'] && allowedTo('profile_identity_own') && $memID == 1) || allowedTo(array('profile_identity_any', 'manage_membergroups')) && $memID != 1)
Code (replace) Select
if (($context['user']['is_owner'] && allowedTo('profile_identity_own' && $memID == 1)) || allowedTo(array('profile_identity_any', 'manage_membergroups')) && $memID != 1)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Basie

'spy mode' does not work with tiny portal.

A spy user is still displayed in the TP "users online" block.

Bulakbol

Ah, I forgot about Tiny Portal. I'll update the package for version 1.1.5 then. Thanks Basie.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Basie

#44
Awesome, thanks JohnyB. Great mod btw. Very useful feature. :)

Bulakbol

Thanks Basie. The package is already updated. I forgot to post about the update.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

masternewbie

I have a question about installation using the package manager.

I have SMF 115 and TP installed. Do you think that it is because of the TP I get this one error on file #9?
I am running the default core theme that is a little bit tweaked. http://www.luckie8.com/forum if you want to see it.

This is the error I get for the one file #9:
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 successful
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 successful
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/ManageBoards.english.php            Test successful
14.    Execute Modification    ./Themes/default/languages/index.english-utf8.php                    Skipping file
15.    Execute Modification    ./Themes/default/languages/ManageBoards.english-utf8.php    Skipping file
16.    Execute Modification    ./SSI.php                                                                                     Test successful

Can I just install it and then do a manual edit of the ManageBoards.template.php file as specified by the manual install directions?

More information about my forum. I have these mods installed.
Mod Name                             Version     
1.    Global Headers Footers    1.3
2.    Treasury    2.12    
3.    SMF Arcade    2.0.14    
4.    FontandSizeDropdown_1.2    1.3    
5.    RemovePM    1.1.4    
6.       
7.    Colorize Boards    2.0    
8.    Limit A Guests Daily PageViews Mod    1.0    
9.    Avatar Under Membergroups Rank    1.1b    
10.    Password Protect Boards    0.2    
11.    
12.    Are You Human? Anti-Bot Registration Check    1.1    
13.    Previous and Next Links for Page Index    1.0    
14.    Auto Embed Video Clips    2.1.1    
15.    EmailFlash    2.0    
16.    Integrate Lightbox    1.4    
17.    Admin member list registration date    1.0    
18.    MessagePreviewOnHover    1.5    
19.    AddThis Social Bookmarks    1.0    
20.    SMFbuy    1.3    
21.    Sarcasmics smiley set    1.1    
22.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    
23.    Bookmarks    1.1    
24.    Prevent Adding Signature Images And Links

I tried to install a couple of mods today through the package manager (ImageOn board, Super Admin) and they both were affected this way.
Thanks!
Any help would be appreciated.

Bulakbol

Tiny Portal uses SSI.php so TP has nothing to do with other files. You can manually edit the file that failed the test by using the parser. Find the ManageBoards.template.php  and do the neccessary edits.

http://custom.simplemachines.org/mods/index.php?action=parse;mod=1306;attach=65141;smf_version=1.1.5
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

masternewbie

Johny,

Thanks for the quick reply. I will do as instructed.

Thanks a lot!

Mr_Lon

It sounds like a great mod but I'm using SMF version 1.1.6 and it don't like that version and see that it states that it is for 1.1.5 only?
I get 4 not compatible messages with V1.1.6 when I try to install it.

I get this message:
Error in Package Installation
3. Execute Modification ./Sources/Subs-Boards.php Test failed
6. Execute Modification ./Sources/BoardIndex.php Test failed
9. Execute Modification ./Themes/default/ManageBoards.template.php Test failed
10. Execute Modification ./Themes/default/Profile.template.php Test failed

Is there an updates version in the works? Or something that I can do?


Bulakbol

You have to install the mod manually Mr_Lon. There must be lots of mods installed.  The first three files are only few lines with one line each to edit. The Profile.template.php is the biggest one. I will help you with the last one if you'll do the first three. Attach your Profile.template.php if you want me to edit it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

machmanx

There is a flaw in the mod, the forum still keeps track of when user was last active, including time.  So it's not a perfect spy mod unless that issue is solved.  Besides that, the mod is great ;)

Bulakbol

@machmanx
I don't know if you can call it a flaw. I'll listen to any suggestion.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

SpectroPro

Johny,

I am wondering if mine didn't install properly..  You fixed my error I posted before but now I get this one:

'label' => $txt['hide_from_list'],

Rather, the error is that line. 

I looked in the install.english.php file and it isn't in there..  Can you please tell me what to add?

Thanks.
- Greg
Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

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

Bulakbol

You didn't mention what error you got. Anyway, if "undefined index", then you have to add
$txt['hide_from_list'] = 'Hide Super Admin from list of installed packages?';

to your default/languages/index.english.php. Mahe sure the
$txt['no_way'] = 'Sorry, You are not allowed to access this section.';
is also there.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

SpectroPro

Added those 2 along with the first one you gave me..  Those seem fixed...

Thank you!!  LOVE this mod.  (came in handy just this last week when I fired an admin, and she went on a spree..tried to delete my account..  I installed this just the day before (just in case...lol).)

Stats:  SMF v. 2b4  -  Mambo v4.65  -  Bridge v2.0b1

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

Bulakbol

@SpectroPro
Good to know it's working now. That's the purpose of this mod, in case other admin get mad at you.  :D

@Mr_Lon
Here's your edited Profile.template.php. Use this file after installing this mod. Don't forget to make a backup.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

machmanx

Quote from: JohnyB on August 04, 2008, 06:44:30 PM


Super Admin


  • Hide important information of admin#1 from other admins.


Spy members are:


  • Invisible and cannot be seen by members or other admins.


Spy Profile:

  • Never logged-in.



To be a complete spy, there should be no revealing info on Admin #1 being there.  Yet they are "logged" by the "Last Active" feature of the forum profile.  If members see the "Last Active" time still counting, it does get suspicious, especially for angry admins ;) 

Anyway, I'm just giving you a tip on how to further the "Spy" feature of this mod better.

Bulakbol

#58
Quote from: machmanx on October 16, 2008, 10:39:02 PM

To be a complete spy, there should be no revealing info on Admin #1 being there.  Yet they are "logged" by the "Last Active" feature of the forum profile.  If members see the "Last Active" time still counting, it does get suspicious, especially for angry admins ;) 

Anyway, I'm just giving you a tip on how to further the "Spy" feature of this mod better.

If you stay as spy, the "Last active" will be "never".  I didn't hide lots of info because other admins might get suspicious. You can create another account as admin for yourself and keep the Admin#1 as spy if you want. That's what I did.

Maybe an option to hide admin#1's profile from everyone will be better. And that only admin#1 can enable/disable the option. Thanks for your suggestion.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Adalla

Hi I would like to install this mod but I get failed tests on Subs_boards.php, profile.template.php and settings.template.php

I understand in such cases one is to manually install the mod for those files.

Question is how? Do I follow the .xml instructions? I have done so before I believe. Also, can I install the mod and then modify the failed files? Or will I have to install everything manually?

Thanx

Advertisement: