24FreelanceFreelance marketplace that never sleeps
Closed

Plugin for wordpress - autoposting

1,799 views 0 responses#2531
Project status
Closed
Budget€4,775for the project
FormatOne-time projectprepayment possible
PaymentE-money
Responses acceptedFinisheduntil 31.07.2016
Responses0category average: 1.1
Views1,79911 in 14 days

Project description

You need to develop a WordPress plugin that can create a post in two modes.
draft and publication immediately.

The data for the post is on the same host, in the mysql database.
The procedure is already written, you only need a php code.

Requirements

1. The ability to work on a schedule.
In the schedule settings:
weekday
The mode is a draft or immediately post.
User/password to call procedures
name of the procedure to be called
its parameters and their type
commentary

store settings locally, in an ini file, the password is desirable not to be stored in an open form.

1. Call the p_get_template procedure – get a template. Some text
For example, “Hello, today we publish the text of %tag%”
Varchar (300)
2. Calling the p_get_tag procedure – we get an arbitrary type of text that
We'll publish. For example, “wonderful metalworking machines.” Varchar (100)
3. Change %tag% to p_get_tag, which is the introduction.
4. Call p_get_setting procedure – we get the settings:

row_before_text tinyint - the number of empty lines between the intro and the intro
textually

delimeter – varchar (10) symbols that divide information, for example:

delimeterposition varchar (6), position of the separators, meanings: left, right, center

row_before_delimeter - number of empty lines in front of the separator

row_after_delimeter - number of empty lines after the separator

row_before_sign - number of lines before signing

Sign - the signature is varchar (200). It will contain hyperlinks.

5. Calling the procedure specified in the settings with the specified parameters - we get a record set.

Id_Text int unsigned, TextValue varchar (700)

Add text from the recordset using previously received settings

text + row_before_delimeter + delimeter and its position according to
delimeterposition + row_after_delimeter + next_text - and so on until the end
record set.

Then row_before_sign + sign, and actually create the post. In the case of
successful creation - in the form of a draft or successful posting -
We run again on the record set and call the procedure:
p_set_used (iId_Text unsigned) - send Id_Text to it. In case of error
It's going to come back negative. We're writing it in the log.

If the post failed to create - write in the log time and reason.
In case of an error in any operation, write to the log. Have the ability to delete the log.

It would be nice to be able to add a picture to the post. However, there is no clear vision of how to do this and how to store it in the database (?) yet.

SafeDeal Escrow Protection

Payora SafeDeal Astrina Shield Verified

Funds are locked in Payora USDT (TRC-20) escrow and released to the freelancer only after delivery approval.

24
Twenty · tip

How to write a response that gets picked

  • Open with the client’s task, not with a story about yourself.
  • Link one or two similar works from your portfolio.
  • Name a price and a deadline — and what exactly they include.
  • Ask one clarifying question: it starts the conversation.

Responses 0

Response texts are visible only to the client.

Same category

Similar projects

All projects in the category
Private School Website

Private School Website

Building a private school website: admissions intake, classes and programmes, timetable, teachers and news.

Web development24.09.20260263
0responses
Good to know
How do I respond to this project?

Log in as a freelancer, describe how you will solve the task, name your price and deadline. The client reads responses and starts a dialogue with the best ones.

Who can see my response?

Only the client who posted the project and you. Other freelancers do not see your text or price.

Where can I find similar work?

New projects in “Web development” appear every day. All projects in the category

What this page answers