PDA

View Full Version : I have a noob question?



BudmannG
03-18-2006, 09:30 AM
OK people, I know this is probably an easy fix. But I do not know where to put this file that I generated. I have looked through all my files and am unsure where to put this.
I want the forums news to be on my portal page. I have had no luck at doing this. Or finding the php file for the portal. Any help would be appreciated.

My website is http://www.midwestillinoisdsm.com

Patrick
03-18-2006, 11:53 AM
Where is your portal page located?

When I visit http://www.midwestillinoisdsm.com , it takes me directly to your forum (no portal page).

BudmannG
03-18-2006, 12:12 PM
http://www.midwestillinoisdsm.com/forums/index.php?act=home

This should take you straight to the portal.

BudmannG
03-18-2006, 08:06 PM
OK I have tried to get this thing up and running and I have not succeeded. I have a code at the bottom of everypage now.

display_News("15", "1", "0", "0"); ?>
I am lost and don't know what to do. Thanks for the help!

Patrick
03-18-2006, 08:28 PM
The link you posted takes me to your forum login page.

You need to create a new file, index.php, and put it in the folder the contains your forum folder. Then you can paste the generated code (in its entirety, from <?php to ?>) and the news will appear.

You seem to be trying to put the forum news script into the forum itself, which doesn't make any sense. The script is used to pull posts from your forum and display them on non-forum pages. Look at http://www.ep-dev.com . That site's news is pulling news from the news posts of this forum ( http://www.dev-forums.com/index.php/board,12.0.html )

BudmannG
03-18-2006, 08:41 PM
Use the login of

test Login
test Password

I hate to be such a dummy about this. But I still don't know what file you are talking about. If I try to put the code in the forums folder it wants to over write the one that is in there. I will try again.

Patrick
03-18-2006, 08:54 PM
You seem to be very confused.

This script is NOT a news add-on script for your forum. It is a separate news script altogether to be used on a normal website (not a forum) that pulls posts from a forum and displays them as news.

This is why I said to put index.php in the folder that contains your forum folder (in other words, NOT in your forum folder but in the folder that contains your forum folder ~ NOT /forums, but just / ).

BudmannG
03-18-2006, 08:58 PM
So what you are saying is this won't work for me? I am confused. I have seen something like this that will give the updated post on the portal page. I guess this is not it.
Well I guess I am back to searching again. Unless you have an answer.

Patrick
03-18-2006, 09:20 PM
So what you are saying is this won't work for me? I am confused. I have seen something like this that will give the updated post on the portal page. I guess this is not it.
Well I guess I am back to searching again. Unless you have an answer.


Indeed, this is not whatever you are looking for. You seem to be looking for a forum mod. This is an entirely separate script (not a forum mod) that pulls forum posts from a forum and displays them as news on a website (not a forum).

BudmannG
03-18-2006, 09:22 PM
Thank you for your help. Can you direct me in the right direction for what I seek?