Current location: Hot Scripts Forums » General Community » Script Requests » how to display forum topic on main page of website ?


how to display forum topic on main page of website ?

Reply
  #1 (permalink)  
Old 04-21-06, 04:58 PM
itssami itssami is offline
Newbie Coder
 
Join Date: Apr 2006
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
how to display forum topic on main page of website ?

Suppose i have a website.. domain.com , and have phpbb forums on domain.com/forums..

And i want to display the new topics written in the forum on the main page of website...how i can do that.. ?
for example ,I want to display this topic `?
"domain.com/forums/viewtopic.php?t=16"
Reply With Quote
  #2 (permalink)  
Old 04-21-06, 10:16 PM
mikaelf mikaelf is offline
Wannabe Coder
 
Join Date: Jun 2004
Location: php[dot]net
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
there is an application called EP-Dev Forum News (http://www.ep-dev.com/scripts-5.php). This app can be used to display latest topic of selected categories from some forums (phpBB, IPB, VBulletin, etc). Anyway, if you want to display selected topics instead of latest ones from selected categories, you must tweak it a bit.

Let's assume you have downloaded the app. Check the following files news.php and admin/index.php. In news php, edit EP_Dev_Forum_News::news() so that it will take parameter for switches between category and topic. Then in admin/index.php, modify EP_Dev_Forum_News_Admin:: page_ForumSettings() and EP_Dev_Forum_News_Admin:: page_NewsSettings() so that it will now have inputs for news source switch and selected topic to post in case news source is selected post.

Good luck
__________________
Useful PHP links:
bugs.php.net - for reporting PHP bugs
pear.php.net - PHP extension and application repository
pecl.php.net - get non standard PHP modules, submit yours
www.phpclasses.org - PHP classes repository
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Art Nexus seeking PHP programmers TheArtNexus Job Offers & Assistance 5 02-26-08 03:08 AM
Classified Ads skipper23 Perl 2 12-30-03 03:43 AM
Inserting PHP forum inside layout page xeoh PHP 1 12-18-03 06:34 PM
Create a next page link when there are too many records to be display in a webpage Han84 ASP 0 10-19-03 10:32 PM
Trying to show how many members on my main page netpants Perl 9 08-20-03 02:56 PM


All times are GMT -5. The time now is 11:21 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.