Warning: preg_replace_callback(): Requires argument 2, '$func['entity_fix']('\2')', to be a valid callback in /nfs/c01/h06/mnt/10927/domains/dragonprime.net/html/Sources/Load.php(225) : runtime-created function on line 3
Post Office??
DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • September 20, 2019, 02:35:33 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Post Office??  (Read 4765 times)
0 Members and 1 Guest are viewing this topic.
zousug
Guest
« on: May 02, 2004, 03:43:08 PM »

ok,

i have given this much thought and. well it may be easy (said it once before and it wasnt but i hope this oneis)

i want a mod that will install a post office..

players go there and they can send a message...

here is a list..

1) send message to a player that is in same town costs (2 gold)

2) (for later) send a message to a player that is in a different town (10 gold)

as for the current Ye Old message that is on the main screen.. that basicly stays there but witha few changes..

1) you can not send or view a message in that box it is just letting u know u have mail.

2) players have to goto the post office to read mail.

players wont have to pay to recive mail...

(maby have an option so if the player sending mail dosnt have the gold the player reciveing it has to pay??  not sure)

not to hard i hop?? is it possible?

thnx
Logged
zousug
Guest
« Reply #1 on: May 03, 2004, 11:18:54 PM »

ok..

i know im no php guru, but i have started on this mod (what ever you want to call it)

it will just be like the normal mail system atm, but later (when i know how) i will add a system where you have to pay to send msg's..

even maby have it so that you pay 1 gold for some one lvl 1..  2 gold for lvl 2 ect..

dont know but atm im just looking at makeing the post office Cheesy

just thought i would let you all know im working on it.. Cheesy

if you have any info that may help it would be verey verey welcome.. Cheesy

--EDIT--
ok, i have gotten a nice bit done..

but im stuck at one point..

im just asking for ideas on how i can fix this so here i go..

when you click write mail all it dose is re-load the page..

..  (suprisenly enought i have gotten it to work with showing NEW messages sort of..

it keeps opening it into a big balck screen (I.e the origonal msg screen) to read the mail.. and when you delet the mail it dose the same thing..

any ideas??

im going to continue on this but thought i would ask while i look into it.. thanx

--END EDIT--
« Last Edit: May 03, 2004, 11:46:36 PM by zousug » Logged
zousug
Guest
« Reply #2 on: May 03, 2004, 11:50:44 PM »

ok, i have managed to stop it from opening into the same lil black windo that it used to open..

but now i can not view the message in the post office..

and the delete message dose not work in it atm..

if you want the code to look at ill show you..

(note: i am not claiming the code as my own work.. and all credit will goto those that made the origonal code in the first place)

thanx
Logged
zousug
Guest
« Reply #3 on: May 04, 2004, 05:37:51 PM »

hey,

im still working on my post office mod. and hopefully it will be completed soon..

but i was woundering if any one knows of a code that i can use in it that will display the users name in a sentice i have..

(i have tryed the code in the vital info box but with no success.. could just be me though Cheesy)

thanx
Logged
MrFixIt
Guest
« Reply #4 on: May 04, 2004, 06:56:53 PM »

hey,

im still working on my post office mod. and hopefully it will be completed soon..

but i was woundering if any one knows of a code that i can use in it that will display the users name in a sentice i have..

(i have tryed the code in the vital info box but with no success.. could just be me though Cheesy)

thanx

Find:

page_header("Whatever");


After that add something like this:

$who=$session['user']['name'];


Then add this where you want the name:

output("Welcome to Whatever, my name is $who. What's yours?");



Logged
zousug
Guest
« Reply #5 on: May 04, 2004, 07:00:24 PM »

hey..

ah thats the code..

ok thanx MrFixIt
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

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