Jak zmienić Super Administratora

Założony przez  tytanrps.

wersja skryptu MyBB: 1.8.4
adres forum: www.miastogry.eu
na czym polega problem (screen, opis, komunikaty):  Witam mam problem dotyczący zmiany Super Administratora czytałem sporo poradników i wszystkie sprowadzają się do 
Cytat:$config['super_admins'] = '1'; zmienić na swój UDI 
Zmieniłem w moim przypadku to 1217 i dalej nie działa proszę o szybką odpowiedź ponieważ osoba pod udi 1 ostatnio skasowała mi cały index.
Udostępnij screen'a stopki forum to odpowiem na Twoje pytanie.

Gdzie znajdę tą stopkę jest 2:14 i ledwo myślę ponieważ kilka godzin próbuję zmienić to.
Kliknij w button który dałem Ci w poprzednim poście.
Screena nie mogę bo jest za duży kod więc daje cytat

Cytat:</div></div><br />

<div class="mainfooter">
<div class="wrap">
<div class="footspan">
<a href="#" title="{$mybb->settings['homename']}" class="sologo"></a>
<h3 class="h3description"><span>MiastoGry.eu </span></h3>
<div class="solline"><span></span><i class="fa fa-asterisk"></i><span></span></div>
<p>Siec MiastoGry.eu to prężnie rozwijajaca sie siec, ktora zostala stworzona przez graczy dla graczy.
Posiadamy wyjatkowe serwery, na ktorych administracja doklada codziennie wszelkich staran, aby wszystko dzialalo jak nalezy. </p>
</div>

<div class="footspan">
<h3 class="h3main"><span>Linki</span></h3>
<ul class="footnav">
<li><a href="http://miastogry.eu/forum/forumdisplay.php?fid=75">Przywitaj sie!</a></li>
<li><a href="http://miastogry.eu/forum/forumdisplay.php?fid=246">Prośby o UB!</a></li>
<li><a href="http://miastogry.eu/forum/forumdisplay.php?fid=88">Aktualne konkursy!</a></li>
</ul>
</div>

<div class="footspan">
<h3 class="h3main"><span>Linki</span></h3>
<ul class="footnav">
<li><a href="http://miastogry.eu/forum/forumdisplay.php?fid=248">Zareklamuj nas!</a></li>
<li><a href="http://miastogry.eu/forum/forumdisplay.php?fid=197">Zareklamuj się!</a></li>
<li><a href="https://www.facebook.com/maxkillpl">Fanpage</a></li>
<li><a href="http://steamcommunity.com/groups/miastogry">Grupa Steam</a></li>
<li><a href="http://pobierzcs.xaa.pl"> Cs 1.6 Download!</a></li>
</ul>
</div>
<br>
<br>
<br>
<ul>
<div class="footspan">
<div class="myskins"><a href="http://www.myskins.org" title="Custom Encoded by MySkins Studio" target="_blank"><h4>Styl wykonała ekipa: MySkins</h4>
Edycje wykonał : <a href="GG:5279115"><span style="text-shadow: 2px 2px 9px; font-weight: bold; color: red;no-repeat;">Miastogry.eu</span></a> | <a href="http://codewebs.pl"><span style="text-shadow:0px 0px 5px red; color: #ff9933; no-repeat; font-weight:bold;">CodeWebs.pl</span></a> <i class="fa fa-heart hmyskinsorg" style="margin-left:8px;"></i></h2>
</a><br>
Właściciel :<span> <a href="{$mybb->settings['bburl']}">miastogry.eu</a><br>
Wszelkie prawa zastrzeżone. Zastanów się, nim coś skopiujesz.

{$lang_select}
{$theme_select}
</div>
</div>

</div>
</div>

<div class="solfooter">
<div class="righter"></div>
<div class="wrap">

<div class="copyright">
<div id="debug"><debugstuff></div>
<!-- MyBB is free software developed and maintained by a volunteer community.
It would be much appreciated by the MyBB Group if you left the full copyright and "powered by" notice intact,
to show your support for MyBB. If you choose to remove or modify the copyright below,
you may be refused support on the MyBB Community Forums.

This is free software, support us and we'll support you. -->

Silnik forum MyBB 1.8.4 </a>, &copy; 2002-2015 <a href="http://www.mybb.com" target="_blank">MyBB Group</a>.

<!-- End powered by -->
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
</div>

<div class="footermenu">
<ul>
<li><a href=""><i class="fa fa-envelope footicon"></i> {$lang->bottomlinks_contactus}</a></li>
<li><a href=""><i class="fa fa-home footicon"></i> {$mybb->settings['homename']}</a></li>
<li><a href="misc.php?action=switch_version&amp;do=gomobile&amp;my_post_key={$GLOBALS['gmb_post_key']}"><i class="fa fa-briefcase footicon"></i> Wersja Mobilna</a></li>
<li><a href="{$mybb->settings['bburl']}/misc.php?action=syndication"><i class="fa fa-rss footicon"></i> {$lang->bottomlinks_syndication}</a></li>
</ul>
</div>
<a href="#top" class="go-top"><i class="fa fa-chevron-up"></i></a>
</div>
</div>
Widzę, że jest link do MyBB.pl, ale powinien być jeszcze do Polskiego Tłumaczeni skryptu czyli mybboard.pl
Będzie przy wgraniu nowego stylu więc dostanę odpowiedź na pytanie?
Niech będzię:

$config['super_admins'] = '1','UID';

Spróbuj tak.

@edited 

Błąd był
$config['super_admins'] = '1,UID';
@edited 
Przepraszam jeszcze raz teraz masz dobrze, błędy mnie dzisiaj trochę gonią i dlatego.
Nie działa dodałem tak jak mi napisałeś. Masz jeszcze jakieś rozwiązanie?

(03.02.2016, 02:37)Antymed napisał(a): $config['super_admins'] = '1,UID';
[size=small][font=Monaco, Consolas, Courier, monospace]



Niestety to nie spełniło moich oczekiwań dalej nie mogę usunąć gościa, który rozwalił mi index

Chyba, że wiesz jak usunąć użytkownika z poziomu phpmyadmin
(03.02.2016, 02:39)tytanrps napisał(a): $config['super_admins'] = '1,UID';
$config['super_admins'] = '1,UID';

Tak wpisz, przepraszam za błędy wcześniejsze.
Niestety dalej nic

Jest napisane, że nie jestem super administratorem.
Daj kod tutaj.
Cytat:/**
* Admin CP directory
* For security reasons, it is recommended you
* rename your Admin CP directory. You then need
* to adjust the value below to point to the
* new directory.
*/

$config['admin_dir'] = 'admin';

/**
* Hide all Admin CP links
* If you wish to hide all Admin CP links
* on the front end of the board after
* renaming your Admin CP directory, set this
* to 1.
*/

$config['hide_admin_links'] = 0;

/**
* Data-cache configuration
* The data cache is a temporary cache
* of the most commonly accessed data in MyBB.
* By default, the database is used to store this data.
*
* If you wish to use the file system (cache/ directory), MemCache (or MemCached), xcache, APC, or eAccelerator
* you can change the value below to 'files', 'memcache', 'memcached', 'xcache', 'apc' or 'eaccelerator' from 'db'.
*/

$config['cache_store'] = 'db';

/**
* Memcache configuration
* If you are using memcache or memcached as your
* data-cache, you need to configure the hostname
* and port of your memcache server below.
*
* If not using memcache, ignore this section.
*/

$config['memcache']['host'] = 'localhost';
$config['memcache']['port'] = 11211;

/**
* Super Administrators
* A comma separated list of user IDs who cannot
* be edited, deleted or banned in the Admin CP.
* The administrator permissions for these users
* cannot be altered either.
*/
$config['super_admins'] = '1,1217';

/**
* Database Encoding
* If you wish to set an encoding for MyBB uncomment
* the line below (if it isn't already) and change
* the current value to the mysql charset:
* http://dev.mysql.com/doc/refman/5.1/en/c...mysql.html
*/

$config['database']['encoding'] = 'utf8';

/**
* Automatic Log Pruning
* The MyBB task system can automatically prune
* various log files created by MyBB.
* To enable this functionality for the logs below, set the
* the number of days before each log should be pruned.
* If you set the value to 0, the logs will not be pruned.
*/

$config['log_pruning'] = array(
'admin_logs' => 365, // Administrator logs
'mod_logs' => 365, // Moderator logs
'task_logs' => 30, // Scheduled task logs
'mail_logs' => 180, // Mail error logs
'user_mail_logs' => 180, // User mail logs
'promotion_logs' => 180 // Promotion logs
$config['acp_pin'] = '3317';
);
/**
* Admin CP directory
* For security reasons, it is recommended you
* rename your Admin CP directory. You then need
* to adjust the value below to point to the
* new directory.
*/

$config['admin_dir'] = 'admin';

/**
* Hide all Admin CP links
* If you wish to hide all Admin CP links
* on the front end of the board after
* renaming your Admin CP directory, set this
* to 1.
*/

$config['hide_admin_links'] = 0;

/**
* Data-cache configuration
* The data cache is a temporary cache
* of the most commonly accessed data in MyBB.
* By default, the database is used to store this data.
*
* If you wish to use the file system (cache/ directory), MemCache (or MemCached), xcache, APC, or eAccelerator
* you can change the value below to 'files', 'memcache', 'memcached', 'xcache', 'apc' or 'eaccelerator' from 'db'.
*/

$config['cache_store'] = 'db';

/**
* Memcache configuration
* If you are using memcache or memcached as your
* data-cache, you need to configure the hostname
* and port of your memcache server below.
*
* If not using memcache, ignore this section.
*/

$config['memcache']['host'] = 'localhost';
$config['memcache']['port'] = 11211;

/**
* Super Administrators
* A comma separated list of user IDs who cannot
* be edited, deleted or banned in the Admin CP.
* The administrator permissions for these users
* cannot be altered either.
*/
$config['super_admins'] = '1,1217'; - TWOJE UID WYŚWIETLA SIĘ NA KOŃCU LINKU DO TWOJEGO PROFILU.

/**
* Database Encoding
* If you wish to set an encoding for MyBB uncomment
* the line below (if it isn't already) and change
* the current value to the mysql charset:
* http://dev.mysql.com/doc/refman/5.1/en/c...mysql.html
*/

$config['database']['encoding'] = 'utf8';

/**
* Automatic Log Pruning
* The MyBB task system can automatically prune
* various log files created by MyBB.
* To enable this functionality for the logs below, set the
* the number of days before each log should be pruned.
* If you set the value to 0, the logs will not be pruned.
*/

$config['log_pruning'] = array(
'admin_logs' => 365, // Administrator logs
'mod_logs' => 365, // Moderator logs
'task_logs' => 30, // Scheduled task logs
'mail_logs' => 180, // Mail error logs
'user_mail_logs' => 180, // User mail logs
'promotion_logs' => 180 // Promotion logs
$config['acp_pin'] = '3317';
);
Tak zgadza się moje udi to 1217 dodaje je tam jak napisałeś i nie działa usuwam UDI tej osoby czyli "1" i też to nic nie daje.



Użytkownicy przeglądający ten wątek:

1 gości