Adding Phorum to website
Posted by whichrmejt
Adding Phorum to website August 27, 2011 07:23PM |
Registered: 13 years ago Posts: 3 |
Hi, I am new to web development, php, mysql and everything else. I am creating a website which has a spry tabbed panels. I would like to add a message post on one of the panels. In this panel I would like to add an <iframe> so my site is not redirected.
I have downloaded phorum and set it up under /htdocs/forum. I have all the setting the way i would like them in the admin section. In reading the documentation I copied the file from the portable directory to my site directory and edited the setting php with my log in info. When I tried adding it to the <iframe src="./admin.php"></iframe> I get nothing. Now I don't know how many steps I may have missed. I hope some one out there can help.
Thanks in advance Whichrmejt
I have downloaded phorum and set it up under /htdocs/forum. I have all the setting the way i would like them in the admin section. In reading the documentation I copied the file from the portable directory to my site directory and edited the setting php with my log in info. When I tried adding it to the <iframe src="./admin.php"></iframe> I get nothing. Now I don't know how many steps I may have missed. I hope some one out there can help.
Thanks in advance Whichrmejt
August 28, 2011 08:16AM |
Admin Registered: 20 years ago Posts: 8,532 |
Why are you putting ./admin.php in the iframe? Do you want the iframe to show the admin interface? What exactly did you do with the portable code? That code is not needed when you are including Phorum in an iframe.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Adding Phorum to website August 28, 2011 11:57AM |
Registered: 13 years ago Posts: 3 |
Like I said I am new to creating web sites so I thought an Iframe would be the best. My site consists of spry tabbed panels. I have a main tabbed panel with 5 tabs one of which is called message board. and a nested tabbed panel with 11 tabs. Now I want to add phorum to the "Message board" tab. I don't want the user to be redirected off my tabbed panel site.
I was kind of confused when I went through the instructions so I copied the files from the portable directory into my root directory. I added admin to the iframe as I thought it would open the admin page, not what I really want though. What I want is when the user selects the "Message board" tab they will see the most recent messages posted. If they want to reply they will then need to log in. I hope this explains a bit better.
Thanks whichrmejt
I was kind of confused when I went through the instructions so I copied the files from the portable directory into my root directory. I added admin to the iframe as I thought it would open the admin page, not what I really want though. What I want is when the user selects the "Message board" tab they will see the most recent messages posted. If they want to reply they will then need to log in. I hope this explains a bit better.
Thanks whichrmejt
August 28, 2011 01:34PM |
Admin Registered: 20 years ago Posts: 8,532 |
Well, puting ./admin.php in the iframe won't work, since Phorum is not in your root directory. I would at least expect something like "/phorum/admin.php" to point at the correct script or simply "/phorum/" if you want the Phorum front-end in the iframe.
Maurice Makaay
Phorum Development Team
my blog
linkedin profile
secret sauce
Maurice Makaay
Phorum Development Team



Re: Adding Phorum to website August 29, 2011 01:11AM |
Registered: 13 years ago Posts: 3 |
Sorry, only registered users may post in this forum.