Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
|
[Help] Custom Pages 2.0
|
| Author |
Message |
AjEe
Junior Member
Posts: 21
Joined: Aug 2008
Reputation: 0
|
[Help] Custom Pages 2.0
I need some help regarding custom pages 2.0 for MyBB 1.4.1.
I wanted to create a custom page with the IFRAME code but its not working.
May u help me please. Following is my code:
Code:
<iframe src="http://mail.projectw.pk/" width="100%" height="100%" "></iframe>
But this is not working for me. If i edit in desing mode its working while if we can view this page from index page its not working . Please help.
NOTE: I wanted to show this particular page in custom pages created page.
(This post was last modified: 09-05-2008 01:47 PM by AjEe.)
|
|
| 09-05-2008 01:42 PM |
|
AjEe
Junior Member
Posts: 21
Joined: Aug 2008
Reputation: 0
|
RE: [Help] Custom Pages 2.0
Bump!
No reply from anyone!
|
|
| 09-24-2008 12:47 PM |
|
Nickman
Administrator
Posts: 480
Joined: May 2008
Reputation: 10
|
RE: [Help] Custom Pages 2.0
So you put that code in a custom page content area and it doesn't show up?
|
|
| 09-24-2008 01:06 PM |
|
DAMINK
Member
Posts: 98
Joined: Aug 2008
Reputation: 0
|
RE: [Help] Custom Pages 2.0
Gday AjEe.
Here is the code i use to place iframes in my custom pages and it works well.
Code:
<div align="center">
<iframe width="800" name="iframe" height="550" src="/Your link here/" border="0" frameborder="0" scrolling="auto" align="center" hspace="0" vspace="0">
</iframe></div>
Hope that helps mate.
|
|
| 09-24-2008 06:13 PM |
|
AjEe
Junior Member
Posts: 21
Joined: Aug 2008
Reputation: 0
|
RE: [Help] Custom Pages 2.0
ok I used the code which u provided DAMINK.. Now its working but not in the forum. When the page opens it goes to that page directly instead of opening in the IFRAME!
Code:
http://www.projectw.pk/pages.php?page=email
Please check this?
|
|
| 10-02-2008 11:35 AM |
|
Nickman
Administrator
Posts: 480
Joined: May 2008
Reputation: 10
|
RE: [Help] Custom Pages 2.0
What you would have to do is modify the Email Scripts files. Right now it has code that will prevent it from running within an iframe.
Edit: The code is this:
Code:
// Reload to the master frame if we are inside a frameset
if (parent.frames[1]) top.window.location=self.location;
|
|
| 10-02-2008 11:39 AM |
|
AjEe
Junior Member
Posts: 21
Joined: Aug 2008
Reputation: 0
|
RE: [Help] Custom Pages 2.0
Can u please tell me full code as I am not a coder...
|
|
| 10-02-2008 12:02 PM |
|
Nickman
Administrator
Posts: 480
Joined: May 2008
Reputation: 10
|
RE: [Help] Custom Pages 2.0
Well I don't know the code of your email script. My plugin is working just fine, so I can' t really tell you exactly which lines to change...
|
|
| 10-02-2008 12:11 PM |
|
AjEe
Junior Member
Posts: 21
Joined: Aug 2008
Reputation: 0
|
RE: [Help] Custom Pages 2.0
Well i just wanted to display a page from this mallier.com which provides free email service to webmasters. I am just calling a page like calling a google page in I FRAME. The plugin is working 100% fine.
|
|
| 10-02-2008 12:18 PM |
|