Find Jobs
Hire Freelancers

Discussion replies

$30-250 USD

Em Andamento
Publicado há aproximadamente 11 anos

$30-250 USD

Pago na entrega
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
ID do Projeto: 4354752

Sobre o projeto

5 propostas
Projeto remoto
Ativo há 11 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
Let's start the work. Thanks.
$90 USD em 4 dias
4,8 (9 avaliações)
3,6
3,6
5 freelancers estão ofertando em média $208 USD for esse trabalho
Avatar do Usuário
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 em 3 dias
4,9 (230 avaliações)
6,3
6,3
Avatar do Usuário
please see PMB. Thank you.
$150 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
ready to start! please have a look PM
$200 USD em 12 dias
0,0 (0 avaliações)
0,0
0,0
Avatar do Usuário
Hi, I'm experienced web programmer. please check pm.
$200 USD em 3 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) AUSTRALIA
Australia
5,0
93
Método de pagamento verificado
Membro desde dez. 22, 2009

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.