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

Group/Website Inviter v1.0


  • 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 12.02.2014 02:49

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font color="Orange"><b><font size="6"><div align="center">Group/Website Inviter v1.0</div></font></b></font><br /><br /><br /><b>-</b><font color="red"><font size="4">Description</font></font><b>-</b><br /><br />This plugin is basically made out of new ideas for some growing communities. Its basically a plugin where it invites people to your steam group threw the server and they can even visit your forums from your own server.<br /><br /><br /><b>-</b><font color="red"><font size="4">Cvars</font></font><b>-</b><br /><br /><b>Main:</b><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<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">gi_enable 1 <b>-</b> // This Cvar is for all the plugin to enable or disable it || 1 Enable || 0 Disable<br />gi_webmessage 1 <b>-</b> // Displays Message For Website On Connect || 1 Enable || 0 Disable</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b>-</b><font color="red"><font size="4">Commands</font></font><b>-</b><br /><br /><b>For the 2 VIP Plugins:</b><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<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">/join <b>-</b> Opens the Group Inviter Menu &amp; Asks again if he wants to join the group or not. <br />&nbsp; &nbsp; &nbsp; &nbsp; ( At the connect of the player, it will ask him if he wants to join or not if he press 'No' <br />&nbsp; &nbsp; &nbsp; &nbsp; well in chat it will tell him if he changes his mind....type /join. That's why there's this command. )<br />/leave <b>-</b> If the player decides to leave the group, he just type this command and he follow the instructions and then he will be out of the group.<br /><br />/website <b>-</b> Opens the website menu.<br />/web <b>-</b> Opens the website menu.<br />/forum <b>-</b> Opens the website menu.</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b>-</b><font color="red"><font size="4">Installation</font></font><b>-</b><br /><br />Put the <b>.amxx</b> in cstrike/addons/amxmodx/plugins<br />-Then in cstrike/addons/amxmodx/configs/plugins.ini<br /> You will type:<br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">Custom&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">Add&nbsp;3rd&nbsp;party&nbsp;plugins&nbsp;here</span><span style="color: #007700">.<br /><br /></span><span style="color: #0000BB">GroupInviter</span><span style="color: #007700">.</span><span style="color: #0000BB">amxx&nbsp;
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->Then put the 2 <b>.txt</b> files in cstrike/addons.<br /><br />After you put the .txt files, make sure that you added the .html files<br />in the website or fastdl FileZila.<br /><br /><b>-</b><font color="red"><font size="4">Requirements</font></font><b>-</b><br /><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">#include&nbsp;&lt;&nbsp;amxmodx&nbsp;&gt;&nbsp;<br />#include&nbsp;&lt;&nbsp;amxmisc&nbsp;&gt;&nbsp;<br />#include&nbsp;&lt;&nbsp;cstrike&nbsp;&gt;&nbsp;<br />#include&nbsp;&lt;&nbsp;nvault&nbsp;&gt;&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><b>If the AMXX is out dated, it will use the defines under ( GREEN, RED, BLUE..etc ) If it's not out dated and you have colorchat, it will use the colorchat.inc made by ConnorMcLeod.</b><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">#if&nbsp;AMXX_VERSION_NUM&nbsp;&gt;=&nbsp;183&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;#define&nbsp;ColorChat&nbsp;client_print_color&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;#define&nbsp;GREEN&nbsp;print_team_default&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;#define&nbsp;RED&nbsp;print_team_grey&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;#define&nbsp;BLUE&nbsp;print_team_red&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;#define&nbsp;GREY&nbsp;print_team_blue&nbsp;<br />#else&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;#include&nbsp;&lt;&nbsp;colorchat&nbsp;&gt;&nbsp;<br />#endif&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><b>-</b><font color="red"><font size="4">Notes</font></font><b>-</b><br /><br /><b><u>Coding/Sma Part:</u></b><br />You need to change some parts of the code, don't worry it's simple.<br />Those changes is basically to let the player go to the website.<br />What you just need to do is replace 'yourwebsitelink' by your<br />website link/url to each specified part of the code.<br /><br /><b>Here:</b><br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">Website_Handler</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">menu</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">item&nbsp;</span><span style="color: #007700">)&nbsp;</span><span style="color: #FF8000">//&nbsp;dont&nbsp;care&nbsp;about&nbsp;this<br /></span><span style="color: #007700">{&nbsp;</span><span style="color: #FF8000">//&nbsp;dont&nbsp;care&nbsp;about&nbsp;this<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if(&nbsp;</span><span style="color: #0000BB">is_user_connected&nbsp;</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id&nbsp;</span><span style="color: #007700">)&nbsp;)&nbsp;</span><span style="color: #FF8000">//&nbsp;dont&nbsp;care&nbsp;about&nbsp;this<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{&nbsp;</span><span style="color: #FF8000">//&nbsp;dont&nbsp;care&nbsp;about&nbsp;this<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">[&nbsp;</span><span style="color: #0000BB">32&nbsp;</span><span style="color: #007700">];&nbsp;</span><span style="color: #FF8000">//&nbsp;dont&nbsp;care&nbsp;about&nbsp;this<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">szName&nbsp;</span><span style="color: #007700">)&nbsp;)&nbsp;</span><span style="color: #FF8000">//&nbsp;dont&nbsp;care&nbsp;about&nbsp;this<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">switch(&nbsp;</span><span style="color: #0000BB">item&nbsp;</span><span style="color: #007700">)&nbsp;</span><span style="color: #FF8000">//&nbsp;dont&nbsp;care&nbsp;about&nbsp;this<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">:&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">ColorChat</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">GREEN</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"^x04[GI]^x01&nbsp;^x03%s^x01&nbsp;has&nbsp;just&nbsp;registered&nbsp;on&nbsp;our&nbsp;forums."</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName&nbsp;</span><span style="color: #007700">)&nbsp;</span><span style="color: #FF8000">//&nbsp;dont&nbsp;care&nbsp;about&nbsp;this<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">show_motd</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"http://yourwebsiteli...action=register"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Register&nbsp;Today!"&nbsp;</span><span style="color: #007700">)&nbsp;</span><span style="color: #FF8000">//&nbsp;Here<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">:&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">show_motd</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"http://yourwebsitelink.com/index.php?action=login"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Welcome&nbsp;To&nbsp;Our&nbsp;Community!"&nbsp;</span><span style="color: #007700">)&nbsp;</span><span style="color: #FF8000">//&nbsp;Here<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;case&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">:&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">show_motd</span><span style="color: #007700">(&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"http://yourwebsitelink.com/index.php"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"Welcome&nbsp;Guest!"&nbsp;</span><span style="color: #007700">)&nbsp;</span><span style="color: #FF8000">//&nbsp;Here<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;</span><span style="color: #0000BB">PLUGIN_HANDLED</span><span style="color: #007700">;&nbsp;</span><span style="color: #FF8000">//&nbsp;dont&nbsp;care&nbsp;about&nbsp;this<br /></span><span style="color: #007700">}&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><b><u>.txt Files Part:</u></b><br />Second of all, make sure that in each .txt file you have the right <br />direction for the 2 .html files. <br /><br />In the groupjoin.txt file you will see this:<br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">body&nbsp;bgcolor</span><span style="color: #007700">=</span><span style="color: #FF8000">#dbdbdb&gt;<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">center</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">table&nbsp;width</span><span style="color: #007700">=</span><span style="color: #DD0000">"100%"&nbsp;</span><span style="color: #0000BB">height</span><span style="color: #007700">=</span><span style="color: #DD0000">"100%"&nbsp;</span><span style="color: #0000BB">border</span><span style="color: #007700">=</span><span style="color: #DD0000">"0"&nbsp;</span><span style="color: #0000BB">cellpadding</span><span style="color: #007700">=</span><span style="color: #DD0000">"0"&nbsp;</span><span style="color: #0000BB">cellspacing</span><span style="color: #007700">=</span><span style="color: #DD0000">"0"</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">tr</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">td</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">div&nbsp;align</span><span style="color: #007700">=</span><span style="color: #DD0000">"center"</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">font&nbsp;size</span><span style="color: #007700">=</span><span style="color: #DD0000">"1"&nbsp;</span><span style="color: #0000BB">face</span><span style="color: #007700">=</span><span style="color: #DD0000">"trebuchet&nbsp;ms"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Loading&nbsp;</span><span style="color: #007700">...&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">font</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">td</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">tr</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">table</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">center</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">meta&nbsp;http</span><span style="color: #007700">-</span><span style="color: #0000BB">equiv</span><span style="color: #007700">=</span><span style="color: #DD0000">"Refresh"&nbsp;</span><span style="color: #0000BB">content</span><span style="color: #007700">=</span><span style="color: #DD0000">"0;&nbsp;URL=http://yourwebsiteli...m/motdjoin.html"</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">body</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->And in the groupleave.txt file you will see this:<br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">body&nbsp;bgcolor</span><span style="color: #007700">=</span><span style="color: #FF8000">#dbdbdb&gt;<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">center</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">table&nbsp;width</span><span style="color: #007700">=</span><span style="color: #DD0000">"100%"&nbsp;</span><span style="color: #0000BB">height</span><span style="color: #007700">=</span><span style="color: #DD0000">"100%"&nbsp;</span><span style="color: #0000BB">border</span><span style="color: #007700">=</span><span style="color: #DD0000">"0"&nbsp;</span><span style="color: #0000BB">cellpadding</span><span style="color: #007700">=</span><span style="color: #DD0000">"0"&nbsp;</span><span style="color: #0000BB">cellspacing</span><span style="color: #007700">=</span><span style="color: #DD0000">"0"</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">tr</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">td</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">div&nbsp;align</span><span style="color: #007700">=</span><span style="color: #DD0000">"center"</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">font&nbsp;size</span><span style="color: #007700">=</span><span style="color: #DD0000">"1"&nbsp;</span><span style="color: #0000BB">face</span><span style="color: #007700">=</span><span style="color: #DD0000">"trebuchet&nbsp;ms"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Loading&nbsp;</span><span style="color: #007700">...&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">font</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">td</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">tr</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">table</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">center</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">meta&nbsp;http</span><span style="color: #007700">-</span><span style="color: #0000BB">equiv</span><span style="color: #007700">=</span><span style="color: #DD0000">"Refresh"&nbsp;</span><span style="color: #0000BB">content</span><span style="color: #007700">=</span><span style="color: #DD0000">"0;&nbsp;URL=http://yourwebsiteli.../motdleave.html"</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">body</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->Now where it says 'yourwebsitelinkhereorfastdllink' that means it's<br />the direction where you have putting the .html files. Each .txt<br />file have a .html file as you have noticed up there<br />( groupjoin.txt = motdjoin.html &amp; groupleave.txt = motdleave.html ).<br /><br /><b><u>.html Files Part:</u></b><br />Each .html file have certainly something in it, and that thing will<br />lead us to the steam group. In each of the .html files you need<br />to change a little part so it will lead the players to your steam<br />group. Here are the parts you need to change.<br /><br />In the motdjoin.html you got:<br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">body&nbsp;bgcolor</span><span style="color: #007700">=</span><span style="color: #FF8000">#dbdbdb&gt;<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">div&nbsp;style</span><span style="color: #007700">=</span><span style="color: #DD0000">"text-align:&nbsp;center;"</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">div&nbsp;style</span><span style="color: #007700">=</span><span style="color: #DD0000">"width:&nbsp;80%;&nbsp;margin:&nbsp;0px&nbsp;auto;&nbsp;border:&nbsp;10px&nbsp;solid&nbsp;#c9d6e4;&nbsp;background-color:&nbsp;#ededed;&nbsp;padding:&nbsp;10px;&nbsp;font-size:&nbsp;12px;&nbsp;font-family:&nbsp;Tahoma;&nbsp;margin-top:&nbsp;10px;&nbsp;color:&nbsp;#818181;&nbsp;text-align:&nbsp;left;"</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">div&nbsp;style</span><span style="color: #007700">=</span><span style="color: #DD0000">"font-size:&nbsp;30px;&nbsp;font-family:&nbsp;impact;&nbsp;width:&nbsp;100%;&nbsp;margin-bottom:&nbsp;5px;"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Group</span><span style="color: #007700">/</span><span style="color: #0000BB">Website&nbsp;Inviter</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;<br /></span><span style="color: #0000BB">Made&nbsp;by&nbsp;Baws</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">a</span><span style="color: #007700">&gt;.<br />&lt;</span><span style="color: #0000BB">dl</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1.&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">When&nbsp;you&nbsp;will&nbsp;click&nbsp;</span><span style="color: #DD0000">'Join&nbsp;Group'&nbsp;</span><span style="color: #0000BB">you&nbsp;will&nbsp;be&nbsp;redirected&nbsp;to&nbsp;the&nbsp;group</span><span style="color: #007700">.&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2.&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Scroll&nbsp;down&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">Click&nbsp;on&nbsp;</span><span style="color: #DD0000">'Join&nbsp;Group'</span><span style="color: #007700">.&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">3.&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Now&nbsp;login&nbsp;with&nbsp;your&nbsp;steam&nbsp;username&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">password</span><span style="color: #007700">.&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;-&nbsp;&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;[&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&nbsp;&lt;</span><span style="color: #0000BB">i</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Maybe&nbsp;you&nbsp;will&nbsp;have&nbsp;to&nbsp;verify&nbsp;your&nbsp;code</span><span style="color: #007700">.&nbsp;If&nbsp;</span><span style="color: #0000BB">so</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">press&nbsp;</span><span style="color: #DD0000">'ALT&nbsp;&amp;&nbsp;TAB'</span><span style="color: #007700">.&nbsp;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Then&nbsp;go&nbsp;to&nbsp;your&nbsp;Email&nbsp;to&nbsp;see&nbsp;the&nbsp;code</span><span style="color: #007700">.&lt;/</span><span style="color: #0000BB">i</span><span style="color: #007700">&gt;&nbsp;&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;]&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">4.&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">After&nbsp;the&nbsp;login</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">you&nbsp;will&nbsp;be&nbsp;redirected&nbsp;to&nbsp;the&nbsp;group</span><span style="color: #007700">.&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">5.&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">In&nbsp;conclusion</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">click&nbsp;on&nbsp;the&nbsp;</span><span style="color: #DD0000">'Join&nbsp;Group'&nbsp;</span><span style="color: #007700">and&nbsp;</span><span style="color: #0000BB">you</span><span style="color: #DD0000">'re&nbsp;in!&lt;/b&gt;&lt;/dt&gt;<br />&lt;dt&gt;6.&nbsp;&lt;b&gt;Thank&nbsp;you&nbsp;&amp;&nbsp;Have&nbsp;Fun&nbsp;In&nbsp;Game!&lt;/b&gt;&lt;/dt&gt;<br />&lt;p&gt;<br />&lt;a&nbsp;href="your&nbsp;steam&nbsp;group&nbsp;url/link&nbsp;in&nbsp;here&nbsp;c:"&gt;<br />&lt;img&nbsp;src="http://i.imgur.com/9w5xD3X.jpg"&nbsp;alt=""&nbsp;width="160"&nbsp;height="40"&gt;&lt;/a&gt;&lt;/p&gt;<br />&lt;/dl&gt;<br />&lt;/div&gt;<br />&lt;/div&gt;<br /><br />&lt;/body&gt;<br />&lt;/html&gt;&nbsp;
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->Where it says 'your steam group url/link in here c:'<br />it means you need to add your steam group url or<br />link in there. For example:<br />Instead of this 'your steam group url/link in here c:'<br />you will add this: <br />'http://steamcommunit...GamersCommunity'.<br /><br />That's for sure that you don't need to remove the<br />quotes from the original code from the html. But<br />you need to remove those ' '.<br /><br />Here is you got in the motdleave.html file:<br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">body&nbsp;bgcolor</span><span style="color: #007700">=</span><span style="color: #FF8000">#dbdbdb&gt;<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">div&nbsp;style</span><span style="color: #007700">=</span><span style="color: #DD0000">"text-align:&nbsp;center;"</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">div&nbsp;style</span><span style="color: #007700">=</span><span style="color: #DD0000">"width:&nbsp;80%;&nbsp;margin:&nbsp;0px&nbsp;auto;&nbsp;border:&nbsp;10px&nbsp;solid&nbsp;#c9d6e4;&nbsp;background-color:&nbsp;#ededed;&nbsp;padding:&nbsp;10px;&nbsp;font-size:&nbsp;12px;&nbsp;font-family:&nbsp;Tahoma;&nbsp;margin-top:&nbsp;10px;&nbsp;color:&nbsp;#818181;&nbsp;text-align:&nbsp;left;"</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">div&nbsp;style</span><span style="color: #007700">=</span><span style="color: #DD0000">"font-size:&nbsp;30px;&nbsp;font-family:&nbsp;impact;&nbsp;width:&nbsp;100%;&nbsp;margin-bottom:&nbsp;5px;"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Group</span><span style="color: #007700">/</span><span style="color: #0000BB">Website&nbsp;Inviter</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;<br /></span><span style="color: #0000BB">Made&nbsp;by&nbsp;Baws</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">a</span><span style="color: #007700">&gt;.<br />&lt;</span><span style="color: #0000BB">dl</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1.&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">When&nbsp;you&nbsp;will&nbsp;click&nbsp;</span><span style="color: #DD0000">'Leave&nbsp;Group'&nbsp;</span><span style="color: #0000BB">you&nbsp;will&nbsp;be&nbsp;redirected&nbsp;to&nbsp;the&nbsp;group</span><span style="color: #007700">.&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2.&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Scroll&nbsp;down&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">Click&nbsp;on&nbsp;</span><span style="color: #DD0000">'Leave&nbsp;group'</span><span style="color: #007700">.&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">3.&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Now&nbsp;login&nbsp;with&nbsp;your&nbsp;steam&nbsp;username&nbsp;</span><span style="color: #007700">&amp;&nbsp;</span><span style="color: #0000BB">password</span><span style="color: #007700">.&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;-&nbsp;&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;[&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&nbsp;&lt;</span><span style="color: #0000BB">i</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Maybe&nbsp;you&nbsp;will&nbsp;have&nbsp;to&nbsp;verify&nbsp;your&nbsp;code</span><span style="color: #007700">.&nbsp;If&nbsp;</span><span style="color: #0000BB">so</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">press&nbsp;</span><span style="color: #DD0000">'ALT&nbsp;&amp;&nbsp;TAB'</span><span style="color: #007700">.&nbsp;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Then&nbsp;go&nbsp;to&nbsp;your&nbsp;Email&nbsp;to&nbsp;see&nbsp;the&nbsp;code</span><span style="color: #007700">.&lt;/</span><span style="color: #0000BB">i</span><span style="color: #007700">&gt;&nbsp;&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;]&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">4.&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">After&nbsp;the&nbsp;login</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">you&nbsp;will&nbsp;be&nbsp;redirected&nbsp;to&nbsp;the&nbsp;group</span><span style="color: #007700">.&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">dt</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">5.&nbsp;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">In&nbsp;conclusion</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">click&nbsp;on&nbsp;the&nbsp;</span><span style="color: #DD0000">'Leave&nbsp;Group'&nbsp;</span><span style="color: #007700">and&nbsp;</span><span style="color: #0000BB">you</span><span style="color: #DD0000">'re&nbsp;out!&lt;/b&gt;&lt;/dt&gt;<br />&lt;dt&gt;6.&nbsp;&lt;b&gt;Good&nbsp;luck&nbsp;in&nbsp;the&nbsp;future!&lt;/b&gt;&lt;/dt&gt;<br />&lt;p&gt;<br />&lt;a&nbsp;href="your&nbsp;steam&nbsp;group&nbsp;url/link&nbsp;in&nbsp;here&nbsp;c:"&gt;<br />&lt;img&nbsp;src="http://i.imgur.com/Qyeix1Q.jpg"&nbsp;alt=""&nbsp;width="160"&nbsp;height="40"&gt;&lt;/a&gt;&lt;/p&gt;<br />&lt;/dl&gt;<br />&lt;/div&gt;<br />&lt;/div&gt;<br /><br />&lt;/body&gt;<br />&lt;/html&gt;&nbsp;
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->It's basically the same steps as the motdjoin.html file changes.<br />Just different instructions for the players to follow.<br /><br /><b>-</b><font color="red"><font size="4">Credits</font></font><b>-</b><br /><ul><li>- <b>Allied-Gamers people for testing the plugin. </b></li>
<li>- <b>ConnorMcLeod &amp; Blizzard_87 helping with nvault.</b><br /><br /><a href="http://www.gametrack...ort=&#38;order=" target="_blank">Servers using this plugin!</a></li>
</ul><br /><b>-</b><font color="red"><font size="4">ChangeLog</font></font><b>-</b><br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<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"><b><u>v1.0</u></b><br /><b>*</b> Released.</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><br /><b>-</b><font color="red">Thank you, Baws.</font></div>


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








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<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...38;d=1392169790">GroupInviter v1.0.zip</a> (4.2 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




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

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