• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help marriage show on ZNOTE

Status
Not open for further replies.

lubunttu

New Member
Joined
May 17, 2016
Messages
107
Reaction score
2
@forgee make to show marriages on characterprofile.php

characterprofile.php
http://hastebin.com/eporutekax.xml

Using this marriage system: https://otland.net/threads/marriage-system-8-6-fixed.161590/
But have some problems:

Noivo and Esposa are married

When i look on Esposa page show me:
  • Married to: Noivo
but if i click on this /\ Noivo, dont move me to Noivo page, show me this:
Code:
Array does not exist.

When i look on Noivo page show me:
Married to: No-one.


Anyone could help me to fix it?
 
Last edited:
After a quick glance, I guess this should fix it.

Replace
Code:
<li><b>Married to:</b> <a href="characterprofile.php?name=<?php echo $married_to; ?>"><?php echo $married_to['name']; ?></a></li>
with:
Code:
<li><b>Married to:</b> <a href="characterprofile.php?name=<?php echo $married_to['name']; ?>"><?php echo $married_to['name']; ?></a></li>
 
After a quick glance, I guess this should fix it.

Replace
Code:
<li><b>Married to:</b> <a href="characterprofile.php?name=<?php echo $married_to; ?>"><?php echo $married_to['name']; ?></a></li>
with:
Code:
<li><b>Married to:</b> <a href="characterprofile.php?name=<?php echo $married_to['name']; ?>"><?php echo $married_to['name']; ?></a></li>

NICE! TY, its fix the
Code:
Array does not exist.

But still the other problem

In character profile of Noive, show:
Married to: No-one.
 
On my phpmyadmin in:
SELECT * FROM marriage_system

Show me this:
Code:
id | player_id | partner | marriage_date
 1 |        4       |       2      |    1476275237

bump

bump

bump!

bump

bump
 
Last edited by a moderator:
Status
Not open for further replies.
Back
Top