PDA

View Full Version : Does something like this exist (custom PHP script)?


Mikhailtech
10-23-2007, 01:06 PM
Hi,

I?m trying to write/find a script that would essentially take posts made in the forum, format them based on some ?hidden? code (for example invisible [pagebreak] tags in the forum post would create multiple pages on the main site once it?s formatted), and display them at a predefined URL on the main page. The predefined URL would have to use apache?s mod_rewrite function.

Essentially I want to do something similar to what this site is doing: http://www.techpowerup.com/

All of their news and reviews are simply posts created in their forum that are formatted using a custom script and displayed on the main site.

For example, this review is just a single post in a ?review? forum: http://forums.techpowerup.com/showthread.php?t=42445

Which is then automatically formatted and appears on the main page: http://www.techpowerup.com/reviews/V...8600_GT_Turbo/

Note the custom URL and multiple pages. They also have custom database fields for storing other information (category, item manufacturer, etc).

Does something like this exist anywhere and if not, how difficult would be to write or how much would it cost to hire someone to write it?

Opserty
10-23-2007, 02:40 PM
Actually its more likely they have a custom script for their own pages which they use to post the review and then use it to create a post on vBulletin as opposed to the other way round.

Mikhailtech
10-23-2007, 02:47 PM
I briefly spoke with the developer and they make the initial post in VB. The script is just a form where you input the threadid and some other custom information (product manufacturer, etc). The script then fetches the threadid, formats it, and posts it. I'm just wondering about how complicated this would be to write.

Opserty
10-23-2007, 03:05 PM
Its hard to say exactly but for the post -> Pages bit you'd need to fetch the first post from the thread and then most likely use a some kind of regular expressions to split the post into pages. Depending on who you are asking its probably something like a medium difficulty job, but it all depends on the experience of the coder.