Strider Posted June 6, 2009 Report Share Posted June 6, 2009 Just wondering and i think it would benefit others too, could it be possible to make a module that when you post news to your site, it makes a post in the forums containing the same as the news on the front page of the site? I plan on getting a book on php soon, when i do i will try and have a go at it myself, but if someone else is willing to have a go at it that's great. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
goldenairways Posted June 6, 2009 Report Share Posted June 6, 2009 I may be wrong but on the frontpage.tpl (something like that) in the core/templates folder, isnt there a thing where it says newsbox or something. I am just saying this from memory as all my VA has gone, I need to rebuild it but I am just assumming that its it. Quote Link to comment Share on other sites More sharing options...
Strider Posted June 6, 2009 Author Report Share Posted June 6, 2009 Lol yes i know about the news thing, but what i mean is a module that when you go into the admin center, go to add news, it also adds the news item into the forum not just the front page. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
selwynorren Posted June 6, 2009 Report Share Posted June 6, 2009 I Think this could be a pretty neat feature, you could also do it teh other way around that when you post on the forums it would display on the main news page of your site. I think the key here would be to create a thread for news items, then use teh exact same pronciple fo teh automatic forum registration that is posted here, to also post on teh forum. Just need to know teh sequence to make a post, during teh week I can try and take a peek at it and see what I can come up with. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 6, 2009 Administrators Report Share Posted June 6, 2009 There's no admin panel hooks, it might be easier to go the other way around (forum->phpvms) Quote Link to comment Share on other sites More sharing options...
Strider Posted June 7, 2009 Author Report Share Posted June 7, 2009 Yea, when i get the book on php i will have a look at it. Cheers Dan C Quote Link to comment Share on other sites More sharing options...
goldenairways Posted June 7, 2009 Report Share Posted June 7, 2009 What about RSS. A flight simulator forum I have has a news rss feed from another website so it can probably be done, I might look into rss feeds when rebuilding my VAs website too. But I am not completly sure how to make an RSS feed. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted June 7, 2009 Administrators Report Share Posted June 7, 2009 There are RSS feeds available when you visit the admin panel. I don't think there is one for news atm, but should be simple to add since the base code is there Quote Link to comment Share on other sites More sharing options...
homer09001 Posted June 8, 2009 Report Share Posted June 8, 2009 the only way I can think of this being possible is injecting the news directly into the database using SQL implanted into core code which is not recommended Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.