24FreelanceMarché freelance qui ne dort jamais
Fermé

Plugin for wordpress - autoposting

1 789 vues 0 réponses#2531
Statut du projet
Closed
Budget€4 775pour le projet
FormatProjet uniqueprépaiement possible
PaiementMonnaie électronique
Réponses acceptéesTerminéjusqu'à 31.07.2016
Réponses0moyenne de la catégorie : 1,1
Vues1 78910 en 14 jours

Description du projet

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.
Développement web Monnaie électronique

Protection séquestre SafeDeal

Les fonds sont bloqués sous séquestre Payora en USDT (TRC-20) et versés au freelance uniquement après validation du travail.

24
Vingt · conseil

Comment rédiger une réponse qui sera sélectionnée

  • Commencez par la tâche du client, pas par une histoire sur vous-même.
  • Liez un ou deux travaux similaires de votre portfolio.
  • Indiquez un prix et une date limite — et ce qu'ils incluent exactement.
  • Posez une question de clarification : cela lance la conversation.

Réponses 0

Les textes des réponses ne sont visibles que par le client.

Même catégorie

Projets similaires

Tous les projets de la catégorie
Private School Website

Private School Website

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

Développement web24.09.20260263
0réponses
Bon à savoir
Comment puis-je répondre à ce projet ?

Connectez-vous en tant que freelance, décrivez comment vous allez résoudre la tâche, indiquez votre prix et votre délai. Le client lit les réponses et engage un dialogue avec les meilleures.

Qui peut voir ma réponse ?

Seul le client qui a posté le projet et vous. Les autres freelances ne voient pas votre texte ou votre prix.

Où puis-je trouver un travail similaire ?

De nouveaux projets dans “Développement web” apparaissent chaque jour. Tous les projets de la catégorie

Ce que cette page répond