Random Explore (Very Easy)       Back to File List | Edit This File

Random Explore (Very Easy) - Click to Download
Submitted by Rev Jeff Henderson on 11.05.2008 (549 Downloads)
Addding Images and Text for exploring.
By Rev Jeff Henderson
============================================================

Okay this mod uses Flash-here Random Ad "See copyright at bottome of file."
It reads a text file which contains the HTML code and inserts it on your site randomly.


============================================================
============================================================


Shall we begin? Let's Shall.
There are two files that need to be put in the root directory of the game along with index.php
These files are:
randexlpore.php
randexlpore.txt
you DON'T need to edit randexlpore.php
you WILL need to edit randexlpore.txt


============================================================


randexlpore.txt is a list of text and HTML that will be accessed ONE LINE at a time.
I personally used this to load over 100 images and text describing the image displayed.


============================================================


after editing randexlpore.txt upload both randexlpore.php and randexlpore.txt


============================================================


OPEN index.php and depending on how you have already change the file look for


============================================================

$page = <<<END
<table width="100%">
<tr><td class="title"><img src="images/title_exploring.gif" alt="Exploring" /></td></tr>
<tr><td>
You are exploring the map, and nothing has happened. Continue exploring using the direction buttons or the Travel To menus.
</td></tr>
</table>
END;


============================================================
REPLACE WITH
============================================================

$page = <<<END
<table width="100%">
<tr><td class="title"><img src="images/title_exploring.gif" alt="Exploring" /></td></tr>
<tr><td>
<iframe marginwidth="0" marginheight="0" width="400" height="400" scrolling="no" frameborder=0 src="randomad.php" allowTransparency="true">You are exploring the

map, and nothing has happened. Continue exploring using the direction buttons or the Travel To menus.</iframe>
</td></tr>
</table>
END;



============================================================
Save and upload index.php and it should start displaying the HTML code you have in randexlpore.txt

============================================================
YOU ARE DONE AND YOU ARE AWESOME!!
============================================================



/********************************************************************
Random Ad
Copyright (c) 2003 Flash-here.com (support@flash-here.com)


********************************************************************/
Flash-here Random Ad is a simple ad rotator. It reads a file which contain the ads' HTML code on your site and pick one randomly.
Please details please visit http://www.flash-here.com/downloads/randomad.html
File rating: 4.00 out of 5.00 (4 votes total).
Rate this file:       (Sucks) 1   2   3   4   5 (Rocks)      

Posted by Fayt on 11.06.2008
You fucking idiot, you don't put a mod in a comment box. You upload a text file or script of it. Go back to middle school and actually learn.
Posted by worshiploud on 11.06.2008
Did both. And since it is such a simple MOD, I figure people like you (Fayt) would need all the help you could get. :)
Posted by Fayt on 11.07.2008
Compared to you, I am an expert master guru coder. You don't know what I've done or can do.
Posted by ErRoR on 04.25.2010
Fayt to me you are not guru , you are simple idiot. Im sorry for you.

Jeff Henderson thanks for the mod


-------------------------
~@bird
Add A Comment

In order to cut down on comment spam, you must be registered on the support forums and provide your username and password before you are allowed to comment. The name shown in your comment will be your forums display name. Sorry it had to be like this. If you haven't already, please register an account.

Forums Username:


Forums Password:


Your Comment:




Information & Rules
This is a file index for any Dragon Knight modifications. If you've made a mod you'd like to share with the community, upload it.

Mod authors, please include a name, version, and brief description along with your file. All files should be submitted in a zip file that includes the actual PHP scripts as well as any readme/instruction files.

DISCLAIMER: I take absolutely no responsibility for the content or functionality of any of these files. You use them entirely at your own risk. Make sure to run all files through a virus scanner before opening them. Hopefully the people here are above such petty nonsense as putting a virus in the files, but you can never be to careful.