Jump to content

post, comment and rating feature for website!


ronaldo99

Recommended Posts

Im building a website where i would like area where users can post bargains and users can rate and comment on them!

 

Much like phpfreaks homepage, how they present it would be ideal! (ive looked at phpbb but my needs arent as demanding plus i am extremly new to php)

 

simply a user can post and others comment and rate!

 

Plse any suggestions or links would be appreciated.

THANKYOU in advance

 

[attachment deleted by admin]

Link to comment
Share on other sites

This isn't a small task, if you're not comfortable building something like this on your own, then finding a package solution would be a better option.

 

phpBB is free, but it's forum hosting software, similar to the forums phpfreaks use (although not the same). phpBB has a free mod called phpBB Portal, but I'm not sure if it possesses the feature you've described.

 

In any event, your feature requires user to be able to register and login, and votes and comments to be stored and related to topic posts. All in all, this is quite a bit of work to start from scratch. Using a solution, such as phpBB and phpBB Portal, even if it didn't solve your problem outright, would give you the foundation to add in the features you want without having to build an entire system.

 

But phpBB is not the only solution out there either. It is a free solution, but you may be able to find other free solutions or other commercial solutions that more directly solve your problem.

Link to comment
Share on other sites

just one thing i cant seem to get a order my posts by date or rating!

 

$getdeals = mysql_query("SELECT * FROM  posttable ORDER BY thedate DESC")  or die (mysql_error());

 

Im using the above so its when users post they automatically are displayed in date order.

 

BUT how will i let the user order post by either date or the rating! With a button or somesort!

 

THANKS FOR ANYHELP!

Link to comment
Share on other sites

No, you just append the stuff to the url like I showed... so the headers for the columns would be links with their column as the parameter.. Let's say you had a column called birthdate... the header of the table would be a link like www.thesamepage.com?sort=birthdate&order=ASC

 

So when they click it, the page will reload and you then get those values for use in the query, so the query would be like

 

"SELECT * FROM table ORDER BY {$_GET['sort']} $order"

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.