Guest post draft plugin (+ s2Member)

  • Tila: Closed
  • Palkinto: $100
  • Vastaanotetut työt: 1
  • Voittaja: crystales

Kilpailun tehtävänanto

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:
[url removed, login to view]
[url removed, login to view]
[url removed, login to view]

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 [url removed, login to view]


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 [url removed, login to view]
[/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 [url removed, login to view]
[/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

Suositellut taidot

Julkinen selvennystaulu

  • crystales
    crystales
    • 2 vuotta sitten

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

    • 2 vuotta sitten
  • crystales
    crystales
    • 2 vuotta sitten

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

    • 2 vuotta sitten
    1. recordinghowto
      Kilpailun järjestäjä
      • 2 vuotta sitten

      ok, upload

      • 2 vuotta sitten
  • crystales
    crystales
    • 2 vuotta sitten

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

    • 2 vuotta sitten
  • waqasaahmad
    waqasaahmad
    • 2 vuotta sitten

    [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 .

    • 2 vuotta sitten
    1. recordinghowto
      Kilpailun järjestäjä
      • 2 vuotta sitten

      ok please enter join our concourse

      • 2 vuotta sitten
    2. recordinghowto
      Kilpailun järjestäjä
      • 2 vuotta sitten

      Hio, can you answer me?

      • 2 vuotta sitten

Näytä lisää kommentteja

Kuinka päästä alkuun kilpailuiden kanssa

  • Julkaise kilpailusi

    Julkaise kilpailusi Nopeaa ja helppoa

  • Vastaanota tonnikaupalla osallistumisia

    Vastaanota tonnikaupalla osallistumisia Ympäri maailmaa

  • Palkitse paras hakemus

    Palkitse paras hakemus Lataa tiedostot - helppoa!

Ilmoita kilpailu nyt tai liity tänään!