Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: Asgaros Forum #8426
    s1r0n
    Member

    so i’m assuming this plugin is dead. does anybody know of alternatives

    in reply to: Meta data not saving #7323
    s1r0n
    Member

    I fixed it. I has a routine where I was messing with the metadata. It was conflicting in some fashion.

    in reply to: Meta data not saving #7319
    s1r0n
    Member

    i run my own server. I was running through Cloudflare but I’ve deactivated that. I’ve deactivated Cometcache. Still, just dead. Now it’s dead on all my sites. Even the Piklist settings page doesn’t save its settings. It reads them fine, but it doesnt save them.

    Could this have something to with with the upgrade to .9.8 or whatever.

    in reply to: Meta data not saving #7312
    s1r0n
    Member

    Nothing. And the really weird thing is, it works on other sites. I have unplugged all plugins, and changed theme to the default, and it still doesn’t work.

    I may have to go into the piklist code to debug. does pilist have its own save_meta routines?

    in reply to: Meta data not saving #7307
    s1r0n
    Member
    <?php
    /*
    Title: LP Publisher Book Promotion
    Priority: high
    Post Type: post,page,book
    */ 
     
     global $wpdb;
     global $current_user;
     
     echo "<h2>Promote a book</h2>";
     
     $book_details    = $wpdb->get_results("select book_id, title  from avatar_books");
    
     $choices[0]='---';
     foreach ($book_details as $book) {
         $choices[$book->book_id] = $book->title;
        
     }
     
     if ($current_user->ID == 1) {
     piklist('field', array(
        'type' => 'select'
        ,'field' => 'is_excerpt'
        ,'label' => 'Book excerpt'
        ,'description' => 'Is this article excerpted from a book?'
         ,'value' => ''
        ,'attributes' => array(
          'class' => 'text'
         )
        ,'choices' => array(''=>'','y'=>'Y')
      ));
    
      piklist('field', array(
        'type' => 'select'
        ,'field' => 'is_excerpt_complete'
        ,'label' => 'Is Complete'
        ,'description' => 'Is this excerpt a complete chapter?'
         ,'value' => ''
        ,'attributes' => array(
          'class' => 'text'
         )
        ,'choices' => array(''=>'','y'=>'Y')
      ));
     }
     piklist('field', array(
        'type' => 'select'
        ,'field' => 'book_id'
        ,'label' => 'Promote a single book'
        ,'value' => ''
        ,'attributes' => array(
          'class' => 'text'
         )
        ,'choices' => $choices
      ));
    
     /*
      piklist('field', array(
        'type' => 'select'
        ,'field' => 'output_style'
        ,'label' => 'Output style'
        ,'value' => ''
        ,'attributes' => array(
          'class' => 'text'
         )
        ,'choices' => array(''=>'---','full'=>'Full','compact'=>'Compact')
      ));
    */
     
         piklist('field', array(
     'type' => 'text'
     ,'field' => 'promo_header'
     ,'label' => 'Promo Header'
     ,'description' => 'Title used to introduce the ad at the bottom of the page'
     ,'attributes' => array(
       'size' => 50
     )
     ));  
      piklist('field', array(
     'type' => 'textarea'
     ,'field' => 'alt_book_description'
     ,'label' => 'Alternative Book Description'
     ,'description' => 'Replace the description in the database with the one here'
     ,'attributes' => array(
       'rows' => 5
       ,'cols' => 50
       ,'class' => 'large-text'
     )
     ));
      
      piklist('field', array(
     'type' => 'text'
     ,'field' => 'alt_title'
     ,'label' => 'Alternate Title'
     ,'description' => 'used in the widget title and elsewhere'
     ,'attributes' => array(
       'size' => 50
     )
     ));
      piklist('field', array(
     'type' => 'text'
     ,'field' => 'widget_blurb'
     ,'label' => 'A short blurb used in the widget footer'
     ,'description' => 'Should fit comfortably in a widget sidebar'
     ,'attributes' => array(
       'size' => 100
       ,'class' => 'text'
     )
     ));
      
    
    /*
    echo "Finally, choose the elements of the book display you wish to suppress. ";
    piklist('field', array(
    'type' => 'select'
    ,'scope' => 'post_meta' // Not used for settings sections
    ,'field' => 'suppress'
    ,'value' => 'option2' // Sets default to Option 2
    ,'label' => 'Suppress'
    ,'description' => 'Choose elements of the book display to suppress'
    ,'attributes' => array(
      'class' => 'text'
       ,'multiple' => 'multiple'
    )
    ,'choices' => array(
      'none'    => 'none'
     ,'title' => 'Title'
     ,'author' => 'Author'
     ,'isbn' => 'ISBN'
    )
    ));
    */
    
    ?>

    This won’t help. these have been working without hitch until just recently.

    in reply to: Widget #1810
    s1r0n
    Member

    Still get nothing. nothing it getting output. and the title and description of the widget are not showing up 🙁

    in reply to: Widget #1808
    s1r0n
    Member

    ya. i read that. something is not right though. As you can see in the screenshot the widget itself is just a blank box. When I add the widget to a sidebar I get a dropdown to select the widget. when I add and save, the widget does not provide any output, even though it probably should, I think.

    here is the code for global-scholar-article-form.php

    <?php
    /*
    Title: Global Scholar Article Widget
    Description: Output article information, social links, etc.
    */
    
    piklist('field', array(
      'type' => 'text'
      ,'field' => 'article_widget_title'
      ,'label' => 'Title'
      ,'description' => 'Title'
      ,'value' => 'Global Scholar'
      ,'attributes' => array(
        'class' => 'text'
      )
    ));
    
    ?>
    

    and here is the code for global-scholar-article.php

    <?php
    /*
    Title: Global Scholar Article Widget
    Description: Output article information, social links, etc.
    */
    ?>
    <?php echo $before_widget; ?>
     
    <?php echo $before_title; ?>
     
    <?php echo $after_title; ?>
     
    <?php echo 'Put some stuff here';
    
    ?>
    
    <?php echo $after_widget; ?>
    
    
    in reply to: My Demo Metabox #1803
    s1r0n
    Member

    ok I’ll figure it out.

    the metabox file was orphaned on the server so I had to delete it from there

    another problem I’m having is that when I add a metabox, and then I add data, I get ANOTHER form item. how can I stop the entry items from duplicating like that?

    in reply to: custom post #1800
    s1r0n
    Member

    that did the trick.

    you folks have a rockin plugin here. I love this

    in reply to: custom post #1798
    s1r0n
    Member

    i’m also not able to get the comments either

    in reply to: custom post #1797
    s1r0n
    Member

    that fixed it up. i’m still not getting the author field though. so I can’t select an appropriate author for the article

    in reply to: custom post #1794
    s1r0n
    Member

    I’m guessing this has to do with the overlay glitch I posted on as well. when you look at the source it seems to be all there, but its just not rendering in the browser

    in reply to: Getting rid of overlay #1792
    s1r0n
    Member

    not today. thursday maybe

    in reply to: Getting rid of overlay #1789
    s1r0n
    Member

    Fix my feed RSS repair
    Shorcodes Ultimate
    Slick Social Share Buttons
    Theme my Login
    Widget Logic
    Wordpress Global Scholar (my plugin, in development)

Viewing 14 posts - 1 through 14 (of 14 total)