Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • OK no parameters and quotes – I am getting it figured out
    and thanks again for the response

    regarding encryption In my Plugins/Edit page:
    Editing shortcode-exec-php/shortcode-exec-php-class.php (inactive)
    Select plugin to edit:
    <?php if (!WPShortcodeExecPHP::Get_option(c_scep_option_donated)) { ?>
    <form action=”https://www.paypal.com/cgi-bin/webscr&#8221; method=”post”>
    <input type=”hidden” name=”cmd” value=”_s-xclick”>
    <input type=”hidden” name=”encrypted” value=”—–BEGIN PKCS7—–MIIHXwYJKoZIhvcNAQcEoIIHUDCCB0wCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2

    is the highlighted area not encrypted?
    I am fairly sure it is your plugin – no?

    OK I think I understand the problem with saving, and why it went wrong
    – although I may not explain it well.
    As a newbie I was attracted to the “live test” shortcode ability of the plugin
    Also as a newbie, I need to experiment.
    So I created a test shortcode based on the “age” example from the support site.

    Here is the seed of the problem.

    The age example requires a parameter so I happily test and save what I think works – because indeed in the test page it does.
    However, by the time the shortcode name(s) are saved in the database the shortcode with parameter [age birthdate=”Mar 20, 2010″] becomes “age birthdate=”
    I have looked at the database entries and indeed there is an “age” and an “age birthdate=”
    Of course I tried to delete them from the plugin test page – but no luck.

    Perhaps understandably the presence of the 2 similarly named shortcodes may explain why they did not work?

    Also, since the plugin source code is encrypted, I have no idea what may be the problem – but it could be an easy fix….?

    Hopefully this is somewhat enlightening.

    well thanks for the replies
    not sure where all this got me
    hopefully some newbies may benefit
    (particularly about two shortcodes side by side)
    I may find your plugin useful …?

    Advice: your links to other shortcode tutorials are onfusing since they suggest block encoding and saving definitions in the theme functions.php and not in the database.

    FWIW I don’t think it was an anti spam issue which caused the saving issue, since somehow it was saved sometimes

    Question: Why (and is there a difference) are there two identical settings for your plugin
    1. under “settings”
    2. under “Tools”
    could that have caused the saving issues(I don’t see how) but maybe you can give it some thought.

    once again thanks
    P.S.
    apologies to anyone who may not like the caps, but FWIW I personally think clarity makes them valuable
    I will admit that all caps is offensive

    UPDATE:
    I have enabled option to delete all shortcodes on deactivation.
    Deactivated the plugin and activated.
    The I tried [hello_world] in a page and it WORKED!
    BUT
    WHEN I added a very simple [age] which had ONE line return “TEST”;
    HERE IS ONE PROBLEM – maybe THE problem for SOME newbies.
    the TWO codes together [age][age] RESULTS in: TEST[age]
    so SECOND one does NOT work!!?!?!
    BUT [age] with some text in between [age] RESULTS:
    TEST with some text in between TEST so THAT works!

    ADVICE to newbies:
    1. Install plugin, activate and paste [hello_world] in ANY page to TEST
    2. ON PHP SHORTCODES SETTINGS PAGE – BELOW “hello_world” shortcode
    ADD and SAVE a NEW simple plugin called “age” with ONE line e.g.
    return “TEST”;
    3. TYPE [age] in ANY PAGE
    SAVE and VIEW PAGE

    PLEASE NOTE:
    1. The supplied example [hello_world] uses “echo” you should NOTE the difference with “return” and “echo”
    2. NOTE that TWO shortcodes side by side do NOT work!

    GOOD LUCK!

    QUESTION:
    1. Any idea WHY the stoopid WordPress or plugin kept reverting?
    2. WHERE are the SAVED shortcodes?
    3. WHERE are any supplied shortcode?
    ARE there any?

    thanks

    Well I certainly agree it SHOULD work!
    My bad – I should have said:
    I am using a hosted service.
    A new install (2 days old) of WordPress, using theme 2011.
    Have installed Jetpack(unused), Askimet(unused), DukaPress, FastSecure Forms, DB extension, PHP shortcodes.
    But shortcodes do NOT work on public pages.
    QUESTIONS:
    You say the codes are saved in “WP options” – but which file specifically?
    wp-content?/plugins?/shortcodes/?/filename?
    OR THEMES/functions.php?
    obviously I have looked and cannot find…
    When a code is SAVED where does it get saved to?
    is there a DEBUG mode?
    BY THE WAY
    IF I make a type or syntax error – the ERROR is OUTPUT to the public page!?!?!
    WHY does the SAVED shortcode REVERT to “age birthdate=”

    NEW:
    OK here is ONE problem
    For whatever reason (ON the settings page) the SAVE, DELETE functions do not work
    I tried deactivated and then activated your plugin
    I CHANGE(MODIFY) the shortcode and TEST always works.
    BUT when I return to the settings page the CHANGES are gone.
    the shortcode ALWAYS resets(reverts) to [age birthdate=]
    I can DELETE or even ADD a new shortcode and SAVE
    BUT the changes/modifications/new shortcodes always disappear.

    I am a newbie also and also very frustrated
    I have read this post and a ton of other pages and getting nowhere.
    OK it is supposed to be for programmers – well how about just for anyone that can read?
    Here is what I did:
    1. Installed and activated plug in.
    2. Typed [gallery] on a sample page.
    – an image showed on the edit page – but [gallery] on public page
    3. read a ton more posts
    4. created, (copy & paste) and TESTED the age birthdate example
    – this worked on the “settings TEST” page
    BUT shows [age birthdate=”Mar 20, 2011″] on public site
    YES I saved as age WITH and WITHOUT the parameters
    WITH options ENABLED and OUTPUT CHECKED
    A further note the Test page in the settings has links to age birthdate=”Mar 20, 2011″ BUT the test/save input keeps reverting to “age birthdate=” – even thought SAVED with just age
    ALSO
    I have enabled “Add button to TinyMCE editor” so I can select from shortcodes
    BUT NOTHING IS WORKING
    I guess I must NOT be a programmer
    ALSO
    I AGREE that a video tutorial has shortcomings – as does all instructions and documentation
    but STEP by STEP is what the newbies need with 3 simple examples

    I AM NOT SCREAMING – CAPS IS FOR EMPHASIS in the interests of clarity
    by the way I AM a programmer C, C++, awk, perl, java, javascript, basic, sql, etc – just NEW to WordPress and shortcodes.

Viewing 6 replies - 1 through 6 (of 6 total)