Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsWeb Design & DevelopmentServer Side ScriptingPHP right
  Closed Topic Start new topic
left right
darkgen
post Feb 10 2008, 11:00 AM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 10-February 08
Member No.: 9,550



hi

i currently have 2 forums, 1 of them is phpbb2 and another 1 is a free version of ipb from invisionfree.com

i just have a question...

can some one show me how to fetch posts from phpbb and ipb using php and put them on the front page of a site??

thanks

-darkgen
Go to the top of the page 
 
  + Quote Post
MrTouz
post Feb 12 2008, 07:59 PM
Post #2


Outrageously Uber Ninja
*******

Group: Members
Posts: 1,196
Joined: 19-September 07
Member No.: 234



im a noob when it comes to php and mysql but :

i am guessing you will need to connect to 2 databases with the same script
tell your script to search for the "post table" which is where all your posts are stored.
tell your script to count the number of rows to each databases.

i would of tried but i do not think i know how to connect 2 databases in one script, must be kind of hard... like i said.. im a noob to php and mysql
Go to the top of the page 
 
  + Quote Post
Trice
post Feb 12 2008, 09:59 PM
Post #3


Ninja
***

Group: Members
Posts: 101
Joined: 12-February 08
From: England
Member No.: 9,830



QUOTE(darkgen @ Feb 10 2008, 11:00 AM) *
hi

i currently have 2 forums, 1 of them is phpbb2 and another 1 is a free version of ipb from invisionfree.com

i just have a question...

can some one show me how to fetch posts from phpbb and ipb using php and put them on the front page of a site??

thanks

-darkgen


First question is, regarding your knowledge first. Do you actually know php and how to use php to connect to mysql databases?
Anyones first suggestion would be to learn the language sufficently enough that you'd be able to make your own pages that can connect to a working database.
Next suggestion would be to write a script that would connect to both your phpbb2 and your ibp forum databases, and then you'd have to (by looking manually into each of the 2 databases and finding out where the posts are, and how each forums pull the specific info from the databases) take the data from the tables you need. And manually make your own script to display it.


Hope this helps
Trice
Go to the top of the page 
 
  + Quote Post
Paradoks
post Feb 24 2008, 08:01 PM
Post #4


Super Ninja
****

Group: Members
Posts: 313
Joined: 12-December 07
From: Glendale CA
Member No.: 4,714



Trice, What your attempting to do is Intergrate a forum. You can do that with a forum that uses the same database as your site, or is located in the /forums/ or w.e forum and MUST be on the same server. Here is a simple tutorial to help you with the PHP BB but since the invisionfree is hosted on their servers u cant fetch anything from that.

Tutorial:http://marek.litomisky.com/2007/03/26/php-phpbb2-integration-with-your-site/
Tutorial2:http://deceptive-logic.com/index.php?id=tutorial&cat=php&tutorial=topic

NOTE: Tutorial 1 is strictly for learning. I suggest you read that. Tutorial 2 is completly copy paste with some learning. Although you will find problems/ errors with tutorial 2 thats why you must first read tutorial one.
Go to the top of the page 
 
  + Quote Post
 Closed Topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 23rd May 2013 - 09:24 PM