View Full Version: Installing iRPG

iRPG > iRPG Announcements > Installing iRPG


Title: Installing iRPG
Description: Read this first


YoYoBoY - January 19, 2006 02:31 AM (GMT)

NOTE:
iRPG is not currently up.

Read Instructions CAREFULLY



In Admin CP> Skinning & Styles> Board Wrappers> Header & Body> replace your <% BOARD %> tag with:
<div id="theBoard">
<% BOARD %>
</div>


Now create a New Category that's visible. Call it Lottery.

Create a new forum and call it Lottery Drawing. Make these permissions:

Read: All
Reply: All
Start: Admins
Upload: Admins

Now make 1 more new forum and call it Admins.
Permissions:
Read: Admins
Reply: Admins
Start: Admins
Upload: Admins
Make a post in there (The post can be anything...)

Now add this this below < %BOARD%> , which is found in Board Wrappers:


QUOTE
<script>
/*
Adding NaviBar Links
By Webworldx
*/
var aLink=new Array()
aLink[0]='<img src="http://forum.rhondalicious.com/style_images/ONi_Styl-474/shop.gif" border="0" alt="" width="18" height="18" /> <a href="http://sx.invisionfree.com/ForumName/index.php?act=store">&nbsp;Store/Bank</a>'
aLink[1]='<img src="http://i2.ifrm.com/5512/176/upload/p1137726.gif" border="0" alt="" width="17" height="15" /> <a href="http://sx.invisionfree.com/ForumName/index.php?act=battles">&nbsp;Recent Battles</a>'

var uCell = document.getElementsByTagName('TD')
for (i=0;i<uCell.length;i++){
if (uCell[i].align=="right" && uCell[i].innerHTML.match("act=calendar") && uCell[i].innerHTML.match("act=Help")){
var addLink=""
for (j=0;j<aLink.length;j++){
addLink+=aLink[j]+"&nbsp;&nbsp;&nbsp;"
}

uCell[i].innerHTML=addLink+uCell[i].innerHTML
}}
</script>

Now, add this to your footer:
QUOTE
<script type="text/javascript">
// Automated Lottery Hack
// By Fierce, Slayer766 and Slaytanist
// Money code by Gornakle of InvisionFree.com
// RPGeneration by YoYoBoY and W4RRIOR of RPGeneration.co.nr
// s15.invisionfree.com/RPGHaven
// s13.invisionfree.com/Hamsoft
// Redistribution will lead to smitings!
// Anyone using this does NOT have permission to edit the classes or items.
// To gain permission, email yoyoboy67@gmail.com.

var
thestats=["STR","Strength","DEX","Dexterity","WIS","Wisdom","INT","Intelligence","CHA","Charisma","CON","Constitution"];
var NoClassPic = "http://slaytanist.viracocha.co.uk/RPG_Stuffs/Noclass.gif"
var NoClassPicF = "http://slaytanist.viracocha.co.uk/RPG_Stuffs/NoclassF.gif"

var DonateMessage = " has donated to your cause the princely sum of"
var defaultstorecategory = "Armour";
var sign = "$";
var name = "Money";
var PerPost = 8;
var XPPerPost = 325;
var default_amount = 0;
var theAdmin = "Lottery"
var Jackpot = 100;
var winner = "No Winner";
var interest = 5;
var MOTDprice = 100;
var noRPG = 0;
var TurnsOfRanged = 4;
var GoldSteal= 1;
var XPpercent = 5;
var postsperpage = 15;
var classavatars = true;
var minuspic = "<img src='http://slaytanist.viracocha.co.uk/RPG_Stuffs/minus.gif' alt='-'>"
var donatepic = "<img src='http://slaytanist.viracocha.co.uk/RPG_Stuffs/donate.gif'>"
var pluspic = "<img src='http://slaytanist.viracocha.co.uk/RPG_Stuffs/plus.gif' alt='+'>"
var fightpic = "<img src='http://slaytanist.viracocha.co.uk/RPG_Stuffs/fight.gif' alt='FIGHT!'>"

var ShowTopicURL = 'http://xx.invisionfree.com/BOARDNAME';
var PostURL = 'http://xx.invisionfree.com/BOARDNAME';
var EditURL = 'http://xx.invisionfree.com/BOARDNAME';
var Adminpost =
"http://xx.invisionfree.com/BOARDNAME";


var itemlist=[];
var classes=[];

function HookYourOwnStuffHere() {

};

</script>

<script language="Javascript" src="http://boomspeed.com/yoyoboy67/iRPGclasses.js"></script>
<script language="Javascript" src="http://boomspeed.com/yoyoboy67/iRPGitems.js"></script>
<script language="Javascript" src="http://slaytanist.viracocha.co.uk/namepack.js"></script>


<!--Add item packs here!-->

<script language="Javascript" src="http://boomspeed.com/yoyoboy67/iRPG.js"></script>



Now then, for the stuff in red:

Make a new account called Lottery. It should be an admin.

Make a new post using this account in your Lottery Drawing Forum. This is what the post should look like:

Topic Title: This is teh post!
Topic Description: Nothing
Enter your Post (Topic body): Doesn't matter.

Now, take the URL of this post and paste it into showtopicurl.
Hit Reply in the "This is teh post!" topic. Copy that URL into PostURL.
Hit edit in the "This is teh post!" topic. That URL goes into EditURL
Remember that post you made in the forum Admins? Take the URL of that and paste into adminpost.

Now make another new forum. Call it "The Admins Lottery". Make it a redirect to this:http://sx.invisionfree.com/ForumName/index.php?act=lottery
(Change x to your server number and ForumName to your forum's name).

Permissions:
Read: Admins
Everything Else: None

Now EVERY DAY at a certain time, go to this page. Enter the time of your next update (Should be the same time every day) and hit do draw. Your recent battles are now updated!

To finish, make your lottery category invisible.

Congrats! iRPG is now installed on your forum.

Classes will automatically update, as will features. Enjoy!




* Hosted for free by InvisionFree