Firefox PHP

Adding Phorum to website

Posted by whichrmejt 
Adding Phorum to website
August 27, 2011 07:23PM
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
Re: Adding Phorum to website
August 28, 2011 08:16AM
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
Re: Adding Phorum to website
August 28, 2011 11:57AM
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
Re: Adding Phorum to website
August 28, 2011 01:34PM
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
Re: Adding Phorum to website
August 29, 2011 01:11AM
Hi, well I added the phorum folder/files to my root directory and changed my iframe to src="../list.php" and when I opened my file in Safari it worked.
Thanks for you help.
Sorry, only registered users may post in this forum.

Click here to login