Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Put A "PHP FORUM" IN AN EXTERNAL PAGE, Sample Website Given
Old 05-02-2008, 05:15 PM Put A "PHP FORUM" IN AN EXTERNAL PAGE, Sample Website Given
Novice Talker

Posts: 5
Trades: 0
hi i wanted to know tht how can i "embed" a php forum like SMF or phpbb in an external page, something like this website has done.

http://www.goiit.com/chapters/tutori...erposition.htm

I have a website running with a CMS in which i want to "embed" a category of the forum which is installed separately.
utkarsh2012 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-04-2008, 09:05 AM Re: Put A "PHP FORUM" IN AN EXTERNAL PAGE, Sample Website Given
rogem002's Avatar
PHP Chap

Posts: 843
Name: Mike
Location: United Kingdom
Trades: 0
Basically it's a special page that pulls the forums details via PHP/MySQL.
The code for that forums bit is something like:
PHP Code:
// Connect to database
// Do query
// Write info to page. 
__________________
My Blog/Site:
Please login or register to view this content. Registration is FREE
rogem002 is offline
Reply With Quote
View Public Profile Visit rogem002's homepage!
 
Old 05-04-2008, 10:27 AM Re: Put A "PHP FORUM" IN AN EXTERNAL PAGE, Sample Website Given
Novice Talker

Posts: 5
Trades: 0
do u know where can i get that precise code??
by what name can i search for tht code on the net?
utkarsh2012 is offline
Reply With Quote
View Public Profile
 
Old 05-04-2008, 01:55 PM Re: Put A "PHP FORUM" IN AN EXTERNAL PAGE, Sample Website Given
addonchat's Avatar
Super Talker

Posts: 115
Name: Chris Duerr
Trades: 0
It looks like it's custom coded. The page would appear to be static (.htm) but could be an http internal redirect of some sort to a dynamic script. Server-side includes, or a cronjob creating the page from templates are a possibility.

You probably won't find custom code for that here -- best to find the form software you'd like to use and see if there is code specifically for this.

A quick, but nasty hack solution would be to just strip the headers/footers and other unnecessary content/templates of a forum, then use an IFRAME to show the contents of that thread. If your site is mostly static, you'd just have to manually point the IFRAME to the appropriate thread, passing along the threadid (or similar) via GET parameters.

Like rogem said, the best way to do this would be to simply query the forum database using a custom-built script, then output the content to your preference, realizing of-course that you'll still have a lot of work to cleanly integrate the other forum functions (reply for instance) into your site.
__________________
Chris Duerr
AddonChat Java Chat Software

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
addonchat is offline
Reply With Quote
View Public Profile
 
Old 05-04-2008, 02:19 PM Re: Put A "PHP FORUM" IN AN EXTERNAL PAGE, Sample Website Given
Novice Talker

Posts: 5
Trades: 0
hey thx addonchat.....i got "FETCH IT ALL" its a phpbb2 mod....so im able to all things which i wanted to do in phpbb2
utkarsh2012 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Put A "PHP FORUM" IN AN EXTERNAL PAGE, Sample Website Given
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15076 seconds with 12 queries