TinyPortal
Development => Support => Topic started by: maldave on June 20, 2009, 11:03:52 PM
Ok, so Iââ,¬â,,¢m writing a simple post here about solving this issue since EQDKP and EQDKP Plus is used by millions of guilds around the world that plays different MMOââ,¬â,,¢s and wants to incorporate either of those into Tinyportal. 8)
1. Create an article using the following html code;
<table align="center" bgcolor="#000000" border="1">
<tbody>
<tr><td>
<iframe src="http://www.xxyz.com/eqdkp/" name="DKP" width="1600" height="900">
</iframe>
</td>
</tr>
</tbody></table>
As you can see itââ,¬â,,¢s a very simple code and works perfectly. You have to replace http://www.xxyz.com/eqdkp/ with the location of your own eqdkp. You also need to configure the width and height to fit your website.
2. Configuration of EQDKP and EQDKP so that it will support iframe and doesnââ,¬â,,¢t link outside the frame by doing this;
Go to the directory where you installed Eqdkp or Eqdkp Plus. Open the following file includes/eqdkp.php
Code:
${$var} .= '<a href="' . $this->root_path . $menu['link'] . '" class="copy" target="_top">' . $menu['text'] . '</a> | ';
Edit: target="_top" to target="_self"
The new code;
${$var} .= '<a href="' . $this->root_path . $menu['link'] . '" class="copy" target="_self">' . $menu['text'] . '</a> | ';
The reason why I posted this was that I saw so many posts here with this particular problem but the admins here couldnââ,¬â,,¢t really help since they havenââ,¬â,,¢t developed Eqdkp or the plus version. I hope with this post we wonââ,¬â,,¢t see this question pop up anymore. :coolsmiley:
Thanks, maldave. Its a simple solution too, and should help those using it.
I must admit EQDKP is totally unknown to me lol.