PJIRC and how to make designs. - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36) +---- Forum: Website Development (https://www.supportforums.net/forumdisplay.php?fid=43) +---- Thread: PJIRC and how to make designs. (/showthread.php?tid=284) |
PJIRC and how to make designs. - MyNameIs940 - 10-05-2009 Ok, in this guide I will show you how to create a front end for your PJIRC and how PJIRC works. Example: http://f4c3b00k.info/chat.php What is PJIRC? PJIRC.com Wrote:PJIRC - pronunciate Pi as the Greek letter, J as in Java, and "irk" as James T. Kirk - stands for "Plouf's Java IRC Client". First you need to download pjIRC, to download go here: http://www.pjirc.com/downloads.php Ok, let's start out with the front end. Here I will explain how to make a front end. First off here is the full code: PHP Code: <FORM name="login" method="post" action="irc/irc.php" onSubmit="return validate(this);"> Bassically all you need to change is the action="irc/irc.php" part, that is going to be the second part of this code, so be sure to save the second part as what you put there. The second thing you can change is the theme part, I will explain later how to make these themes and include a few of my themes. Ok, now the second part is the backend which is the most important. Here it is: PHP Code: <? Again you just need to change a few things to your servers info, in line 9: PHP Code: <param name="command1" value="join #CHANNEL"> change the #channel to the channel you would like the user to join. You also need to set the irc server in line 18: PHP Code: <param name="host" value="IRCSERVERHERE"> Now, let's start with the Styles for this. Here is my style: Code: pixx:color0=c0c0c0 To make the style's you just need to use color codes from html (w3schools) Code: # pixx:color0=000000 <!--(Black) -Scrollbar Slider outline: Button outline / Popup & Close Button Text & outline Save the style as BLANK.ini and you need to remember the BLANK part to add it to the frontend. To add a style to the front end you have to edit: PHP Code: Theme : <select name="bg" style="width: 159px" class="formspacing"> Say you save a style as blue.ini then you just need to add to the options this: PHP Code: <option value="blue">Blue or if you save it as black.ini add this: PHP Code: <option value="black">Black Here are a few styles that I have made: Blue: Spoiler (Click to View) Black & purple: Spoiler (Click to View) Black & white: Spoiler (Click to View) Blue & grey: Spoiler (Click to View) Light: Spoiler (Click to View) Light grey: Spoiler (Click to View) Pink: Spoiler (Click to View) Purple: Spoiler (Click to View) Hope you enjoyed it Credits: ME. RE: PJIRC and how to make designs. - Project Evolution - 10-10-2009 This belongs in the web dev section if im not mistaken. ;) RE: PJIRC and how to make designs. - MyNameIs940 - 10-10-2009 PJIRC is java. |