Friends MOD       Back to File List | Edit This File

Friends MOD - Click to Download
Submitted by Element on 07.05.2007 (1410 Downloads)
ADD,CHOOSE,DELETE Friends players
BY ELEMENT FOR DK AND RPG ILLUSION
File rating: 2.71 out of 5.00 (7 votes total).
Rate this file:       (Sucks) 1   2   3   4   5 (Rocks)      

Posted by masterofollies on 07.05.2007
It gives me a blank page. Like the templates and everything is there except the middle is just blank.

Anyone have a patch for this? The link I used to access the page is:
a href="index.php?do=amis
Posted by SmartCat on 07.06.2007
Lol?
Posted by element on 07.07.2007
In templates/onlinechar.php

<a href="index.php?do=amis:{{id}}>Add this player in my List Friends</a>

;)

Test : index.php?do=amis:IDPLAYER
Posted by masterofollies on 07.07.2007
Thanks, that was the only part left out of the script on what to do last. :P
Posted by masterofollies on 07.07.2007
More problems. It only allows you to add yourself. I have 220 registered players and it only says to add my own name.

Then when I click add I get this,
Unknown column 'date' in 'field list'
Posted by element on 07.07.2007
Afflicted…
Add a field dates in dk_amis or replaces :

$query = doquery("SELECT date,pseudomec,idmec FROM dkm_comments WHERE idmoi='".$userrow["id"]."'", "amis");

By :

$query = doquery("SELECT pseudomec,idmec FROM dkm_comments WHERE idmoi='".$userrow["id"]."'", "amis");

And :
$query = doquery("INSERT INTO dkm_comments SET id='', idmec='$id', idmoi='".$userrow["id"]."', pseudomec='".$_POST['pseudomec']."', date='$time'", "amis");

With :

$query = doquery("INSERT INTO dkm_comments SET id='', idmec='$id', idmoi='".$userrow["id"]."', pseudomec='".$_POST['pseudomec']."'", "amis");

Really sorry for the errors but if not it goes very well



Posted by element on 07.07.2007
I update this MOD :D
Posted by masterofollies on 07.07.2007
Now I get this

Table 'rodgameo_game.dkm_comments' doesn't exist
Posted by masterofollies on 07.07.2007
I went ahead and got rid of the entire thing, I fixed 2 things and more errors kept poping up. Oh well
Posted by element on 07.08.2007

To remove the table dk_amis and réinstall the MOD: http://dragon.se7enet.com/mods/uploads/maj.txt

If not, you can add me in my contacts msn: element_system@hotmail.fr
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.