+ Reply to Thread
Results 1 to 5 of 5

Thread: PHP noob - How do you put latest forum news on homepage ?

  1. #1
    lazeymusic is offline x10Hosting Member lazeymusic is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    2

    Unhappy PHP noob - How do you put latest forum news on homepage ?

    basically i have a forum which i want to share between both my websites

    one is a comic website and the other is a music website.


    does anyone have a clue how to do it so that one website can hold the latest comic news and the other hold music updates ?


    after weeks of searching for a tutorial getting no luck - i found a friend that tried to help me, he made a script himself but when he went to view it the page just came up white, i asked him if i could have the script so i could post it on here but he had deleted it.


    anyone else for a go ?

  2. #2
    djcustom is offline x10Hosting Member djcustom is an unknown quantity at this point
    Join Date
    Jul 2008
    Posts
    15

    Re: PHP noob - How do you put latest forum news on homepage ?

    Ok to answer this properly you I would need a little more information.

    If both sites are on the same same hosting account I suggest creating 2 forums and link both to the same database this way you can setup each index page they way you want. I am not the best with forums but that should solve your issue.

  3. #3
    garrettroyce's Avatar
    garrettroyce is offline Generally Helpful Member garrettroyce is a glorious beacon of lightgarrettroyce is a glorious beacon of light
    Join Date
    Apr 2008
    Location
    IL, USA
    Posts
    3,746

    Re: PHP noob - How do you put latest forum news on homepage ?

    The problem with doing this is every forum software out there is going to make two identical websites if the databases are identical. Can't you have a board for each topic instead of a separate website?

    Also, it is possible to mask the fact you are using the same board by using htaccess tricks.

    For example, instead of:
    yoursite.com/index.php?viewboard=music&....
    yoursite.com/index.php?viewboard=comics&....

    what if you did:
    music.yoursite.com/index.php?...
    comics.yoursite.com/index.php?...

    The first set of links point to the same exact file (index.php) and by using htaccess we can make your users think they are looking at different forums, though they are on the same forum.
    gjr.gr - coming soon: secrets of OCD coding from a self taught tinkerer

  4. #4
    lazeymusic is offline x10Hosting Member lazeymusic is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    2

    Re: PHP noob - How do you put latest forum news on homepage ?

    lol ok i think there may have been some misunderstanding - i am a TOTAL noob with php, even when opening the php files which give instructions on installing things i can't do because i have a hard time reading them properly :P now html i CAN do :D

    OR maybe instead i could scrap the forum and let the viewers that are reading the comic can leave a comment on that page, would that be alot easier ? for e.g. www.vgcats.com

    they have their comics in an archive, i could do it so that when the viewer clicks on a comic, there is a comments box below the comic like this site http://www.dragonball-multiverse.com/en/page-106.html each page containing a different comment box. - Now how would i go about that :P
    Last edited by lazeymusic; 04-10-2009 at 02:11 PM.

  5. #5
    nexhunter's Avatar
    nexhunter is offline x10 Sophmore nexhunter is an unknown quantity at this point
    Join Date
    Nov 2007
    Location
    millbury,massachusetts
    Posts
    239

    Re: PHP noob - How do you put latest forum news on homepage ?

    http://softinquiry.com/latest-posts-...nd-phpbb2.html

    you can get the script to get the latest posts from any category so you can assign it for one site to get it from that specific category relating to the site.
    Last edited by nexhunter; 04-10-2009 at 02:04 PM.



+ Reply to Thread

Similar Threads

  1. tons of PHP Resources
    By Chris S in forum Scripts & 3rd Party Apps
    Replies: 10
    Last Post: 01-16-2009, 10:07 AM
  2. Replies: 1
    Last Post: 10-08-2008, 03:12 PM
  3. [PHP] PHP For Starters
    By Complex in forum Tutorials
    Replies: 24
    Last Post: 06-14-2008, 11:40 PM
  4. Php And Mysql Forum Rephrased!
    By maddude in forum Scripts & 3rd Party Apps
    Replies: 7
    Last Post: 04-05-2005, 12:14 PM
  5. php and mysql forum
    By maddude in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 04-02-2005, 04:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers