2005-06-07, 08:38 AM
2005-10-25, 01:14 PM
Hi
I've got this working OK .. but how can I make the page with the thread open in the same window?
<a href=\"http://mysite.com/showthread.php?tid=$tid\" target=\"_blank\">
I tried changing the "_blank to "_self but it still opens in a new window.
BTW .. I've got an include for the php file in an iFrame as I'm using the MyBB Portal Table.. could this be the problem?
Thanks
I've got this working OK .. but how can I make the page with the thread open in the same window?
<a href=\"http://mysite.com/showthread.php?tid=$tid\" target=\"_blank\">
I tried changing the "_blank to "_self but it still opens in a new window.
BTW .. I've got an include for the php file in an iFrame as I'm using the MyBB Portal Table.. could this be the problem?
Thanks
2005-10-25, 01:27 PM
Delete target? =) Like this -> <a href=\"http://mysite.com/showthread.php?tid=$tid\">
<a href=\"http://mysite.com/showthread.php?tid=$tid\" target=\"_self\">
Should work aswell.
<a href=\"http://mysite.com/showthread.php?tid=$tid\" target=\"_self\">
Should work aswell.
2005-10-25, 01:36 PM
Hi
Thanks for the fast response!
I just tried your suggestion .. but it still opens in a new window .. I've already tried the "self" one with the same result.
Any ideas?
Thanks for the fast response!
I just tried your suggestion .. but it still opens in a new window .. I've already tried the "self" one with the same result.
Any ideas?
2005-11-18, 10:37 PM
Thanks for this this is exactly what i needed
2005-11-19, 08:33 AM
gumleaf Wrote:Hi
I've got this working OK .. but how can I make the page with the thread open in the same window?
<a href=\"http://mysite.com/showthread.php?tid=$tid\" target=\"_blank\">
I tried changing the "_blank to "_self but it still opens in a new window.
BTW .. I've got an include for the php file in an iFrame as I'm using the MyBB Portal Table.. could this be the problem?
Thanks
Solved !!!
Change the .. target=\"_blank\"> .. to .. target=\"_parent\">
Doh ! .. I'm stupid!
2005-11-21, 06:54 PM
Everything is working fine for me, but I was waondering if you can set it to not show any characters say after 20, how could I set that up?
I would also like to know how to set up a login on my home page like you have, Michael83 on http://www.mybboard.de
I would also like to know how to set up a login on my home page like you have, Michael83 on http://www.mybboard.de
2005-11-21, 09:50 PM
Boring Dude Wrote:I would also like to know how to set up a login on my home page like you have, Michael83 on http://www.mybboard.deTry this code:
<form action="member.php" method="post">
<input type="hidden" name="action" value="do_login" />
<table width="240" border="0" cellspacing="2" cellpadding="0">
<tr>
<td><strong>Username:</strong></td>
<td><input type="text" name="username" title="Username" onfocus="this.value=''" /></td>
</tr>
<tr>
<td><strong>Password:</strong></td>
<td><input type="password" name="password" title="Password" onfocus="this.value=''" /></td>
</tr>
<tr>
<td colspan="2"><div align="center">
<input type="submit" value="Login" />
</div></td>
</tr>
</table>
</form>
You have to edit the path to your member.php in the first line.2005-11-21, 10:43 PM
Thanks for the Login, it's very useful, now is it possible to extend on that and have a login that when you login , it logs you in but it shows your stats on the website home page which you logged in on, not in the forum, or is that too complicated?
Some thing that you have which when you login you can change your profile, and stuff wia the homepage and not in the forum
Some thing that you have which when you login you can change your profile, and stuff wia the homepage and not in the forum
2005-11-22, 06:11 AM
Boring Dude Wrote:Everything is working fine for me, but I was waondering if you can set it to not show any characters say after 20, how could I set that up?
I would also like to know how to set up a login on my home page like you have, Michael83 on http://www.mybboard.de
As for the limiting of the character length .. just change the "20" in the line below to whatever you want in each file.
if (strlen($item['subject']) > 24) { $subject = substr($item['subject'], 0, 20)."...."; } else { $subject = $item['subject']; }
Hey Michael83 .. that login code is just what I needed!