DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • December 10, 2018, 02:29:18 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: how to marry?  (Read 3995 times)
0 Members and 1 Guest are viewing this topic.
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« on: February 20, 2004, 08:58:50 PM »

i have rax's chapel mod installed, and in the file it says that proposistions take place via email, but how is that?
Logged

Arune
Member
Mod God
*****
Offline Offline

Posts: 718


Arune Vai - khatfield


View Profile WWW
« Reply #1 on: February 20, 2004, 09:36:38 PM »

It will send mail via logd mail, requesting marriage.

They will then have the option of clicking yes / no

Rax's Code of the request to give you an idea:

Code:
}else if($HTTP_GET_VARS[op]=="view") {
    output("`c`7`bThe Greystone Chapel`b`c");
    $sql = "SELECT name,acctid,marriedto,date FROM accounts, marriage WHERE marriage.proposed=".$session[user]['acctid']." AN$
    $result = db_query($sql);
    if (db_num_rows($result)>=1){
        output("`n`n`n`^`bYou have received marriage proposals from the following players:`b", true);
        output("`n`n<table border=0 cellpadding=2 cellspacing=1 bgcolor='#999999'><tr class='trhead'><td style=\"width:350px\$
        $i=0;
        while($row = db_fetch_assoc($result)) {
            output("<tr class='".($i%2?"trlight":"trdark")."'><td>".$row['name']."</td><td>`^".$row['date']."</td><td><a href$
            addnav("","chapel.php?op=answeris&userid=".$row['acctid']."&answer=Yes");
            addnav("","chapel.php?op=answeris&userid=".$row['acctid']."&answer=No");
            $i++;
        }
        output("</table>`n`n",true);
    }else {
        output("`n`n`n`^`bYou haven't received any marriage proposals.`b", true);
    }
« Last Edit: February 20, 2004, 09:38:37 PM by khatfield » Logged
robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #2 on: February 22, 2004, 12:51:56 PM »

I also have the Greystone Chapel 1.1
The Chapel works fine the sql directions superb.
I encounter the same problem - the email sent shows no clickable "yes" or "no"  Did I miss something?

Also, Greystone Chapel 1.1 refers to a Readme file which is not included in the download.
Is an entry made to user.php also needed?
« Last Edit: February 22, 2004, 01:04:13 PM by robert » Logged

sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #3 on: February 22, 2004, 01:49:35 PM »

once they log back in robert, that is where the addnav's add links to yes or no.  took me a while to figure out.  

probably the hardest part of this mod is getting girls to play Tongue
Logged

robert
Old Dog
Mod God
*****
Offline Offline

Posts: 1047


LoGD Buff!


View Profile WWW
« Reply #4 on: February 25, 2004, 09:16:51 AM »

Ok - been 3 days now - the marraige proposals still do not show any clickable *yes* or *no* links. What is anything did I miss. The Greystone Chapel, everything else is working proper except for this so far.
Logged

Too Lazy to Login
Guest
« Reply #5 on: February 28, 2004, 12:45:14 AM »

Question I have is....where do we find this bloody mod now? Every since JT disabled the Patch Tracking (or whatever it was named - too bloody late to think clearly), I haven't been able to find it. And people on my server are at my throat wanting it. Heh.

(must remember to login tomorrow)

I have the source pulled from Rax's site, however....I am in need of at least the info to add into the MYSQL table.....
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, 1 User
Fanster
Home Forums News Downloads Login Register Advanced Search