Guest post draft plugin (+ s2Member)

  • Κατάσταση: Closed
  • Βραβείο: $100
  • Ληφθείσες Συμμετοχές: 1
  • Νικητής: crystales

Σύνοψη Διαγωνισμού

I need a Wordpress plugin to allow my users fill a form and submit their content as drafts. Drafts have to be formated with some php short codes for s3Member. I was able to find a feasible way to do that but with a little bug. I explain this below but you can find a different way to get the result i need. If you need more info please contact me. Please start your applaying with this code to let me understand you readed my instructions: [WP_GuestAutoDraftS2].

****

This work has to be completed on your website: i need an how to guideline to complete by myself on my private website. I can't provide any login or any url of our website.

This is the starting point:
wordpress with these 3 plugins:
https://wordpress.org/plugins/contact-form-7/
https://wordpress.org/plugins/postie/
https://wordpress.org/plugins/s2member/

The purpose is:
- users fill a form
- a post is published with the form content but a part of that have to be protected by s2member

(if you are able to avoid Postie and you find an alternative auto publish guest method for me is ok)

Users go to a page where they find a contact form. If they fill the form, contact form send an email to a dedicated address. Postie plugin is setted up with pop 3 setting to receive that email and transform it into a published wordpress form.

s2member is a membership plugin. It help me to hide some content to free visitors and give it access only to paying users. It can protect content in several way (by categories, by page id, by tags, etc..) but i'm using only shortcodes.

This is the text email could be send by contact form to the dedicated address:

Free content
[s2If current_user_is(s2member_level1)]
Hided content if you are not paying
[/s2If]

[s2If !is_user_logged_in()]
Hided content if you are paying
[/s2If]
Free content

The problem is the s2member php code is not sended via email: [/s2If] is sended but if i use this in contact form [s2If current_user_is(s2member_level1)] all following text are deleated.

So the hidden datas are lost:

[s2If current_user_is(s2member_level1)]
Hided content if you are not pa-ying.

You can recreate this problem using just contact form manager and s2Member. When s2Member is active, contact form is not able to send out the php short code. When S2Member is turned off the code is sended trough the outgoing email.

********

PRATICAL EXAMPLE:

Purpose:
visitor -> he have to complete a form
form -> publish the content as a post (a part of content has to be protected)
access: all visitor can view free content; only subscribing users are able to see protect content (the contact of who submitted the form)

Example: website about selling cars
A user find our website and he have car to sell.
He find the contact form page and insert his ad filling the form:

Car: Ferrari
Age: 1997
Status: perfect
Notes: hello guys, please contact me to buy my Ferrari
Phone: 555-555-555
E-mail: jhon at ferrarilove.com


Contact form is setted up to send an e-mail like this:
Car: Ferrari
Age: 1997
Status: perfect
Notes: hello guys, please contact me to buy my Ferrari
[s2If current_user_is(s2member_level1)]
Phone: 555-555-555
E-mail: jhon at ferrarilove.com
[/s2If]

AUTOMATICALLY (with no human review) his ad has been published on our site.



Postie is setted up to download the message by POP3 and publish the post using the same e-mail message as above BUT unfortunatly..

[s2If current_user_is(s2member_level1)]
Phone: 555-555-555
E-mail: jhon at ferrarilove.com
[/s2If]

is cutted off.

This piece of message don't reach the e-mail so postie is not able to post it and the result is a post like this:

Car: Ferrari
Age: 1997
Status: perfect
Notes: hello guys, please contact me to buy my Ferrari

No contacts because [s2If current_user_is(s2member_level1)] has not been sended trough e-mail message.

***********

I REPEATE: IF YOU ARE ABLE TO FIND A DIFFERENT AUTO DRAFT POSTING FOR GUESTS WITHO

Προτεινόμενες Δεξιότητες

Δημόσιος Πίνακας Διευκρινίσεων

  • crystales
    crystales
    • Πριν από 8 χρόνια

    Just uploaded, let me know if you have any questions :)

    • Πριν από 8 χρόνια
  • crystales
    crystales
    • Πριν από 8 χρόνια

    Got it! Created a dummy form on my site using your example, and will upload screenshots :)

    • Πριν από 8 χρόνια
    1. recordinghowto
      Κάτοχος Διαγωνισμού
      • Πριν από 8 χρόνια

      ok, upload

      • Πριν από 8 χρόνια
  • crystales
    crystales
    • Πριν από 8 χρόνια

    Working on a super easy solution, will upload instructions shortly!

    • Πριν από 8 χρόνια
  • waqasaahmad
    waqasaahmad
    • Πριν από 8 χρόνια

    [WP_GuestAutoDraftS2]. hello sir read your description and yes i am wp expert have worked with s2member and have developed such site which have protected contents i can develope your plugin. but if it is a project not as a contest .

    • Πριν από 8 χρόνια
    1. recordinghowto
      Κάτοχος Διαγωνισμού
      • Πριν από 8 χρόνια

      ok please enter join our concourse

      • Πριν από 8 χρόνια
    2. recordinghowto
      Κάτοχος Διαγωνισμού
      • Πριν από 8 χρόνια

      Hio, can you answer me?

      • Πριν από 8 χρόνια

Προβολή περισσότερων σχολίων

Πώς να ξεκινήσετε με τους διαγωνισμούς

  • Δημοσιεύστε τον διαγωνισμό σας

    Αναρτήστε τον διαγωνισμό σας Γρήγορα και εύκολα

  • Λάβε ένα σωρό συμμετοχές

    Λάβετε Πολλές Συμμετοχές Από όλο τον κόσμο

  • Βραβεύστε την καλύτερη καταχώρηση

    Βραβεύστε την καλύτερη καταχώρηση Κατεβάστε τα αρχεία - Εύκολα!

Αναρτήστε ένα Διαγωνισμό Τώρα ή Ελάτε Μαζί Μας Σήμερα!