 |

simonwh
User
Feb 11, 2007, 4:10 PM
Post #1 of 4
(400 views)
Shortcut
|
|
displaying headlines in a phpBB forum
|
Can't Post
|
|
Hi I'd like to display the top headlines on the front page of my phpBB forum but I can't get it to work. I have section on the phpBB index page that I can enter any text or html code via the admin screen. I tried importing the top story page that I use for my AM index but it wouldn't show up I tried the following code:
<?php include("/magazine/topstory.shtml"); ?> does anyone know why this won't work? Will I have to hard code it into the phpBB template? (sorry php isn't my thing!) Cheers
|
|
|  |
 |

Donna
Staff
/ Moderator

Feb 12, 2007, 1:38 PM
Post #2 of 4
(388 views)
Shortcut
|
|
Re: [simonwh] displaying headlines in a phpBB forum
[In reply to]
|
Can't Post
|
|
Hi Simon! Thanks for your post. :) Make sure you're using the full path to the file you're referencing, including the server path. You'll need to check with your hosting provider to find the full server path -- it'll probably be something like this: /var/www/username/httpdocs/magazine/topstory.shtml This varies widely, though. I hope this helps! Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

simonwh
User
Feb 12, 2007, 2:24 PM
Post #3 of 4
(385 views)
Shortcut
|
|
Re: [Donna] displaying headlines in a phpBB forum
[In reply to]
|
Can't Post
|
|
Hello Donna, thanks for the reply Unfortunately that didn't work. No matter what I try the include code doesn't get parsed, I've tried telling it to include a text file and an html file but nothing appears. When I view the resulting forum source code the include code is there bu italicised. I'm going to have to give up as I'm just guessing. Cheers Simon
|
|
|  |
 |

Donna
Staff
/ Moderator

Feb 12, 2007, 2:34 PM
Post #4 of 4
(383 views)
Shortcut
|
|
Re: [simonwh] displaying headlines in a phpBB forum
[In reply to]
|
Can't Post
|
|
Hi Simon, In that case, you'd need to contact the phpBB makers -- they'll have more details about how to include other pages in their software than we will. :) Donna
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
|