You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 55 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Problem with link re-direction Module [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
roelie12
Nuke Soldier
Nuke Soldier


Joined: Oct 29, 2006
Posts: 18


PostPosted: Mon Oct 30, 2006 4:35 am Reply with quoteBack to top

Hello i have created a block with some links to modules. See the first block on the left site at http://www.mst-aviation.nl/nuk2t

This is the link to the module : http://www.mst-aviation.nl/nuk2t/modules.php?name=MSTForum

The links to external websites are not the problem, but the link to a forum part is the problem. If you click at MST Aviation forum the link is not working very well, he opens the header and left menu agian.

this is the code from the module. The code has to open this part of the forum : http://www.mst-aviation.nl/nuk2t/modules.php?name=Forums&file=index&c=1

Quote:
<?php
if (!defined('MODULE_FILE')) {
die('You can\'t access this file directly...');
}

$module_name = basename(dirname(__FILE__));
get_lang($module_name);

$pagetitle = '- '.$module_name;
include("header.php");
$index = 0;
OpenTable();
echo"<iframe src=\"http://www.mst-aviation.nl/nuk2t/modules.php?name=Forums&file=index&c=1\" name=\"Name of site\" scrolling=\"yes\" frameborder=\"no\" align=\"right\" height = \"4000px\" width = \"100%\">"
. "</iframe>";
CloseTable();
include("footer.php");

?>


What do i have to change at the code to only display the forum part in the left side of the forum. I don` t need the double menu`s and header.

Maybe a solution can be to target the site to a kind of blank page, but not to a new one but to overwrite the existing frame? i have not idea how to do this?
Find all posts by roelie12View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12397


PostPosted: Mon Oct 30, 2006 2:37 pm Reply with quoteBack to top

You can use this trick to hide left blocks
http://www.nukecops.com/PHP-Nuke_hide-left-blocks.html
And the same concept applies when hiding the phpNuke headers

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
roelie12
Nuke Soldier
Nuke Soldier


Joined: Oct 29, 2006
Posts: 18


PostPosted: Tue Oct 31, 2006 12:46 am Reply with quoteBack to top

Ty for the information,

Now the first problem is solved. But is another problem is rising how do i fix this?

the link is opening correctly, but the border is not good. Because if you go to http://www.mst-aviation.nl/nuk2t and then you choose in the first left block - MST Aviation Forum, you see that the link is not working for 100%.



Code:

<?php
if (!defined('MODULE_FILE')) {
   die('You can\'t access this file directly...');
}

$module_name = basename(dirname(__FILE__));
get_lang($module_name);

global $hideleft;
$hideleft =1;

$pagetitle = '- '.$module_name;
//include("header.php");
$index = 0;
OpenTable();
echo"<iframe src=\"http://www.mst-aviation.nl/nuk2t/modules.php?name=Forums&file=index&c=1\" name=\"Name of site\" scrolling=\"yes\" frameborder=\"no\" align=\"right\" height = \"4000px\" width = \"100%\">"
  . "</iframe>";
CloseTable();
include("footer.php");

?>


Why the white border?
Find all posts by roelie12View user's profileSend private message
roelie12
Nuke Soldier
Nuke Soldier


Joined: Oct 29, 2006
Posts: 18


PostPosted: Tue Oct 31, 2006 6:38 am Reply with quoteBack to top

its solved
Find all posts by roelie12View user's profileSend private message
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Tue Oct 31, 2006 10:35 am Reply with quoteBack to top

It is always useful to post how you solved it so that others with the same problem can fix it too.

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
roelie12
Nuke Soldier
Nuke Soldier


Joined: Oct 29, 2006
Posts: 18


PostPosted: Wed Nov 01, 2006 2:50 am Reply with quoteBack to top

The module script was correct, just the link to the module was the problem, with the target_self it was solved
Find all posts by roelie12View user's profileSend private message
phpnuke-hosting
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1032

Location: UK

PostPosted: Wed Nov 01, 2006 5:35 am Reply with quoteBack to top

Thankyou, its always a help to let people know.

_________________
www.phpnuke-hosting.com

The Internets Foremost PHP-Nuke Web Host.

Image

Click Here!
Find all posts by phpnuke-hostingView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.323 Seconds - 252 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::