I need help.

Discussion in 'PHP' started by Yfcadmin, Oct 13, 2006.

  1. #1
    Hi,
    I think this the best place to ask help about my php forum. I am running a phpbb forum www.yahoofanclub.com Now the problem:

    as you can see I the forums on the main page, most of the users who visit the forums think that its just a forum and doesnot have any downloads page or other pages. I want to add new frontpage instead of default index.php page of the phpbb. on that page I want to add things like download page links ... some intro about the site and some other links. Now is that possible. I mean if I change the index.php page of phpbb to index2.php and then use the index.php for my frontpage. Will that be ok. ??

    Also tell me you guys know any portal and anything that can do similar thing. ??

    Please help
     
    Yfcadmin, Oct 13, 2006 IP
  2. aaron_nimocks

    aaron_nimocks Im kind of a big deal Staff

    Messages:
    5,563
    Likes Received:
    627
    Best Answers:
    0
    Trophy Points:
    420
    #2
    I would just make a index.html and put your download stuff on that page.

    Then when they go to your site they will land on that page and then you can have a link to the forums "index.php"
     
    aaron_nimocks, Oct 13, 2006 IP
  3. Yfcadmin

    Yfcadmin Notable Member

    Messages:
    2,616
    Likes Received:
    331
    Best Answers:
    0
    Trophy Points:
    230
    #3
    Well seems to me a good clean and simple idea. I think I should try it. Still if anyone has a better idea please post in here.
     
    Yfcadmin, Oct 13, 2006 IP
  4. Pat Gael

    Pat Gael Banned

    Messages:
    1,331
    Likes Received:
    68
    Best Answers:
    0
    Trophy Points:
    0
    #4
    This forum script has a CMS frontpage for making yours a Portal site, it's free and its features are suitable for a fanclub-oriented site: www.xennobb.com
     
    Pat Gael, Oct 14, 2006 IP
  5. streety

    streety Peon

    Messages:
    321
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You want to avoid renaming the index page for the forum script - that way lies ugly errors.

    Slightly developing aaron_nimocks's suggestion assuming you are using an Apache web server (similar functionality will no doubt exist in other web servers) you can create a .htaccess file and put something like

    DirectoryIndex /portal.php

    in there. This way when your visitors go to yourdomain.com they will view yourdomain.com/portal.php rather than yourdomain.com/index.php.

    This has the advantage of allowing you to use php in your frontpage so you could display recent forum posts dynamically etc. You could do the same with a index.html file if you setup your web server to treat html as php. The code again goes in a .htaccess file and although it is a little more complex a google search should be able to find it. I can't recall it off the top of my head this time. :)
     
    streety, Oct 14, 2006 IP
  6. Yfcadmin

    Yfcadmin Notable Member

    Messages:
    2,616
    Likes Received:
    331
    Best Answers:
    0
    Trophy Points:
    230
    #6
    yeah that's a big avantage. .... Anyone interested in tell me What to write on the Portal Page. and Demos or something similar. I havnt been able to come up with anyone yet.
     
    Yfcadmin, Oct 14, 2006 IP
  7. streety

    streety Peon

    Messages:
    321
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #7
    This mod in the phpbb forums may be a good starting point - phpbb.com/phpBB/viewtopic.php?t=145150&highlight=display+latest+topics
     
    streety, Oct 14, 2006 IP
  8. Yfcadmin

    Yfcadmin Notable Member

    Messages:
    2,616
    Likes Received:
    331
    Best Answers:
    0
    Trophy Points:
    230
    #8
    Well I have developed the DEMO of the portal myself. have a look
    http:// www. yahoofanclub. com / portal.php

    Remove the spaces. coz I know Google will index it.
     
    Yfcadmin, Oct 15, 2006 IP
  9. Yfcadmin

    Yfcadmin Notable Member

    Messages:
    2,616
    Likes Received:
    331
    Best Answers:
    0
    Trophy Points:
    230
    #9
    well now there is another problem. You see those two Login Boxs. one on the top and one on the right side. When someone logs in, he's redirected to forum index. Instead of that I want the user to be redirected to portal.php and the two Login box should change into Welcome [username] and a Logout Button. Also I want to include the forum stats ( I mean the posting count and who's online on the right side Block)

    PLease can anyone help me.
     
    Yfcadmin, Oct 15, 2006 IP