Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.

  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[ANY] Simple Admin and VIP Manager [SAVM]


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7170
  • Lokalizacja:AMXX.PL
Offline

Napisano 01.02.2015 16:31

<div><font size="6"><font color="#2E64FE">Description :</font></font><br />It allow you to help to manage your admins and vip's very simply. Also, a simple web interface, why ? 'cause I HAVE TOO MUCH FREETIME ! <font size="2">(and it's cool)</font><br /><br /><font size="6"><font color="#2E64FE">Demostration :</font></font><br />A exemple of the web interface can be found here :<br /><a href="http://serverofarkar...minVIPManager/"target="_blank">http://serverofarkar...Manager/</a><br />Username : demo<br />Password : 123<br /><br />PS: Don't remove database configuration please :fox:<br /><br /><font size="6"><font color="#2E64FE">Screenshots &amp; Videos :</font></font><br /><div align="center"><br /><img src="http://puu.sh/fklFF/89cdc4ee8f.png" border="0" alt="" /><br />Preview of the web-interface<br /></div><br /><font size="6"><font color="#2E64FE">Cvar &amp; installation</font><br /></font><br /><b>Cvar :</b><br />none<br /><b>Commands :</b><br /><br />sm_savmadd - Add a admin / vip in the database<br /><br />sm_savmedit - Edit a admin / vip in the database<br /><br />sm_savmdremove - Remove a admin / vip in the database<br /><br /><b>Installation :</b><br /><font size="1">Oh fuuuu...</font><br /><br />1) Download &quot;webinterface.zip&quot; extract and put it in your website using a FTP client, for exemple...<br />1.1) Now, visit the web page, the path should be something like <a href="http://www.YOURHOST.com/SimpleAdminVIPManager/" target="_blank">www.YOURHOST.com/SimpleAdminVIPManager/</a><br />1.2) You should have a failure : Your database configuration doesn't exist, Oh sh*t mm ? Well, not a problem, all planned. Log to your phpmyadmin web interface (<a href="http://www.YOURHOST.com/phpmyadmin" target="_blank">www.YOURHOST.com/phpmyadmin</a>) or what ever you use and <b>create a database named like you want</b>, for exemple &quot;SuperCoolDatabase&quot;<br />1.3) Now, visit again the web interface, put this time, go to <a href="http://www.YOURHOST.com/SimpleAdminVIPManager/install/install.php" target="_blank">http://www.YOURHOST....install.php</a> and put the corrects infos into fields, and push &quot;accept&quot; button, if the connetion to database worked, you should have the same webpage as in the screenshot (see &quot;Screenshots &amp; Videos&quot; section of this post) then :<br /><font color="red"><b><font size="7">REMOVE THE &quot;install&quot; FOLDER IN YOUR WEBSITE !!!</font></b></font><br />2) Put ManageAdmins.smx in your plugins folder.<br />3) Configure your database.cfg (in your configs folder!)<br />Put this at the very end of the file, but right before the last '}' :<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">&nbsp; &nbsp; &nbsp; &nbsp; &quot;SAVM_Database&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;driver&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;default&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;host&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;<font color="Red">YOUR HOST</font>&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;database&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;<font color="red">YOUR DATABASE NAME</font>&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;user&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;<font color="red">YOUR PHPMYADMIN USER</font>&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;pass&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;<font color="red">YOUR PHPMYADMIN PASSWORD</font>&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; }</code><hr />
</div>4) Reload plugins folder, restart map or restart server.<br />5) You are done!<br /><br />For those who wanna compille the plugin manually, you will need :<ul><li>MoreColors</li>
</ul><br /><font size="6"><font color="#2E64FE">Configuration</font></font><br />Any yet... <br /><br /><font size="6"><font color="#2E64FE">Bugs :</font><br /></font><br /><br />Any ! Yay everything is fully working !<br /><br /><font size="6"><font color="#2E64FE">Request :</font><br /></font><br /><ul><li>Feel free to ask !</li>
</ul><br /><font size="6"><font color="#2E64FE">Thanks to :</font><br /></font><br />Erf ? Anyone want to appear here ?<br /><br /><b>Logs :</b><br />------<br />0.1 : First public release.<br />0.2 : Now, when you edit the database via the plugin, changes are immediatly made !<br />-------<br /><br /><b>IMPORTANT NOTE</b>:<br />Nothing.</div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie...attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...terface.zip</a>(1.67 MB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...78"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1422807541">GetSource</a> (ManageAdmins.sp - 7.2 KB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/smx.gif"alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...eAdmins.smx</a>(13.2 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych