DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • January 20, 2018, 05:12:33 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Rules module  (Read 3844 times)
0 Members and 1 Guest are viewing this topic.
Turock
Guest
« on: April 24, 2005, 03:09:04 PM »

Simple rules module.
http://dragonprime.net/users/Turock/rules.zip
« Last Edit: April 24, 2005, 07:55:41 PM by Turock » Logged
Sichae
iMod God
SVN Users
Mod God
*
Offline Offline

Posts: 3458


If ya didn't get it by now... you're hopeless...


View Profile WWW
« Reply #1 on: April 24, 2005, 03:29:13 PM »

Perhaps if you made the "Rules" into a game setting, there would be much less editing going on. Such as:
Change line 11 to:
Code:
require_once("lib/nltoappon.php");
Add after download:
Code:
"settings"=>array(
"rules"=>"Rules of the game,textarea|",
),
Then, change line 47 to read:
Code:
output("%s",nltoappon(get_module_setting("rules")));
Logged

If you didn't understand anything in the above post, don't try to attempt anything suggested.

Lightbringer
Member
Codemeister
****
Offline Offline

Posts: 267


Life's a lich and then you don't die...damn unlife


View Profile
« Reply #2 on: April 24, 2005, 04:46:42 PM »

I agree, Sichae...

Another alternative would be to have the rules also pop up during character creation and add an 'I agree' button..
Logged

________________________ _____________________

Lightbringer
PHP/SQL/VB.NET/C#/AJAX Developer
Turock
Guest
« Reply #3 on: April 24, 2005, 05:25:34 PM »

v1.1 added the changes Sichae suggested and uploaded.
Logged
NeX.
Guest
« Reply #4 on: April 24, 2005, 06:33:37 PM »

I have a rules Mod. I will upload it after the files get done transferring. If I could just get it to pop up...

I'm not on my pc right now.
Logged
Turock
Guest
« Reply #5 on: April 24, 2005, 07:54:43 PM »

Those are modules that Sichae did...  
Logged
enderwiggin
Guest
« Reply #6 on: May 24, 2005, 01:59:00 PM »

Did Sichae ever release his rules module?

And where would you suggest inserting this into the templates?
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
44 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search