Find Jobs
Hire Freelancers

Discussion replies

$30-250 USD

In Progress
Posted about 11 years ago

$30-250 USD

Paid on delivery
I've got a few pages that allow teachers to create an online course with a discussion board. This project relates to adding replies to discussions, and most of the work will be in the [login to view URL] file, which is attached along with all other relevant and useful files, images and database dumps. Load all files (and rename members2 table to members), then log in using the credentials for member 1. Go to [login to view URL] and type username 1, and password secret. the [login to view URL] page will appear. Click on discussions and you'll see a list of the discussion titles. This actually appears a bit differently if the 'creator' status in the tbl_course_members is set to "No" where member_id = $_SESSION['member_id'] Task - Underneath the discussions list, the "Up icon", the text "Back to discussions list".and the form should not be visible at all to begin with. When a user clicks on a discussion title, then the list of other discussion titles should disappear and any current replies to the discussion whose title was clicked on, should appear ( replies are the post_content field from the tbl_course_discussion_posts where the discussion_id = tbl_course_discussions.discussion_id. For each response, the post_attachment (if not null) should be displayed at the bottom of the post . If this is an image file, it should be displayed with neither width nor height exceeding 400px. (Path is /course_discussion_attachments ). If it is a document, it should appear as a hyperlink. A max of 30 responses should appear initially ordered by the pinned_to_top field ASC, then by date, ASC.. If there are more responses, a "click to view more responses" hyperlink should appear below row 30, with another 30 appearing on the click, and so on if there are more than 60. Date should be at the bottom of each post in format attached in date.doc. Beneath the most recent response, and the "Up icon" and the Add reply form should appear. Clicking the "Up" icon, as the text next to it indicates, should hide all discussion posts and again make visible the list of all discussion topics that was visible upon first entering the page. (Again, remember, the appearance of these discussion titles is dependent on whether the user is a creator or not. If the current user is creator (ie: creator = "Yes" in tbl_course_members where member_id = $_SESSION['member_id'] ) , the reply form should include the "Pin to top" checkbox that you can see in the form. If the current user is not a creator, then this should not appear. If the pin_to_top checkbox is checked, then the pinned_to_top field in the tbl_course_discussion_posts should be updated for that post to the value "Affirmative", thereby pinning it to the top, according to the order outlined above. If several posts are declared pinned_to_top, then they will all appear as the first few posts in the discussion. When the reply form is submitted (submission should probably be handled on the same page, but I'm open to opinions on this), if any attachments are included, the date in the form ("Y_m_d_H_i_s") should be inserted between the file name and the file extension (eg: [login to view URL] may become [login to view URL] ). The [login to view URL] page is included so you can use the code from this in relation to the attachment file name, to save time. If the current user is a moderator (Ie: moderator = "Yes" in tbl_course_members where member_id = $_SESSION['member_id'] ), then next to each post in the discussion should be two buttons - an edit button and a delete button. Moderators should have the ability to edit or delete posts. Upon editing a post, the moderator's id ($_SESSION['member_id'] ) and the date and time of he edit should be inserted into the edited_by and edited_date fields of the tbl_course_discussion_posts. I've attached the tiny mce folder. Am open to opinions as to whether the reply text area should include the tiny_mce or not? If so, the code I use is attached. Cheers, Dave
Project ID: 4354752

About the project

5 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Let's start the work. Thanks.
$90 USD in 4 days
4.8 (9 reviews)
3.6
3.6
5 freelancers are bidding on average $208 USD for this job
User Avatar
Hi I have read your full project requirement. I have understand it clearly. Please accept the bid. I am ready to start your project now.
$400 USD in 3 days
4.9 (230 reviews)
6.3
6.3
User Avatar
please see PMB. Thank you.
$150 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
ready to start! please have a look PM
$200 USD in 12 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I'm experienced web programmer. please check pm.
$200 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Australia
5.0
93
Payment method verified
Member since Dec 22, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.