Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter barnz2k

    (@barnz2k)

    No worries thought so, thanks for the confirmation!

    Thread Starter barnz2k

    (@barnz2k)

    separate question – where does that album ID come from? Its not the same as the link when viewing the album or the share link.

    Thread Starter barnz2k

    (@barnz2k)

    hmm, I just updated my PHP version from 5.3 to 5.5 to fix an error on another plugin, and now the add media seems to work!

    Thread Starter barnz2k

    (@barnz2k)

    Ahh Seems my server was running 5.3, I switched it to 5.5 and un commented that line and it worked.

    cheers David!

    Thread Starter barnz2k

    (@barnz2k)

    Hmm the 403 even shows up on the main wpadmin page actually.
    the 500 shows up right after I hit the next button

    i tried
    [photonic type=’google’ view=’albums’ access=’shared’]

    and this worked, showed my shared albums/singles

    Is this what you mean? Looking inside “error_log” inside the WP folder I see PHP errors, for other plugins. I just tried deactivating it and I still get the problem though.

    [11-Jan-2019 01:31:18 UTC] PHP Warning:  html_entity_decode() expects parameter 2 to be long, string given in /home/barnz2k/public_html/blog/wp-content/plugins/nelio-content/admin/class-nelio-content-post-helper.php on line 388
    [11-Jan-2019 01:31:18 UTC] PHP Warning:  html_entity_decode() expects parameter 2 to be long, string given in /home/barnz2k/public_html/blog/wp-content/plugins/nelio-content/admin/class-nelio-content-post-helper.php on line 387
    [11-Jan-2019 01:31:18 UTC] PHP Warning:  html_entity_decode() expects parameter 2 to be long, string given in /home/barnz2k/public_html/blog/wp-content/plugins/nelio-content/admin/class-nelio-content-post-helper.php on line 388
    [12-Jan-2019 04:06:52 UTC] PHP Fatal error:  Call to undefined function is_plugin_active() in /home/barnz2k/public_html/blog/wp-content/plugins/nelio-content/includes/compat/pagefrog.php on line 27
    [12-Jan-2019 04:06:53 UTC] PHP Warning:  require_once(/home/barnz2k/public_html/blog/wp-content/plugins/nelio-content/includes/utils/nelio-content-missing-wordpress-functions.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/barnz2k/public_html/blog/wp-content/plugins/nelio-content/includes/class-nelio-content.php on line 501
    [12-Jan-2019 04:06:53 UTC] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/barnz2k/public_html/blog/wp-content/plugins/nelio-content/includes/utils/nelio-content-missing-wordpress-functions.php' (include_path='.:/opt/alt/php53/usr/share/pear:/opt/alt/php53/usr/share/php:/home/barnz2k/public_html/blog/wp-content/plugins/background-manager/vendor/OAuth/lib') in /home/barnz2k/public_html/blog/wp-content/plugins/nelio-content/includes/class-nelio-content.php on line 501
    [12-Jan-2019 04:09:09 UTC] PHP Fatal error:  Call to undefined function is_plugin_active() in /home/barnz2k/public_html/blog/wp-content/plugins/nelio-content/includes/compat/pagefrog.php on line 31
    Thread Starter barnz2k

    (@barnz2k)

    so 403 and 500

    Nothing listed on my server under “errors” in cpanel

    Thread Starter barnz2k

    (@barnz2k)

    Thanks for the quick response! I get these errors show up

    JQMIGRATE: Migrate is installed, version 1.4.1
    ?v=2.0:6 WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403
    v @ ?v=2.0:6
    load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,quicktags,moxiejs,plupload&ver=c458f9e5e564ace4edfdcb351553bba3:9 JQMIGRATE: Migrate is installed, version 1.4.1
    /blog/wp-admin/admin-ajax.php:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)
    ?v=2.0:6 WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403
    v @ ?v=2.0:6
    ?v=2.0:6 WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403
    v @ ?v=2.0:6
    _ @ ?v=2.0:6
    o @ ?v=2.0:6
    Thread Starter barnz2k

    (@barnz2k)

    *bump*

    Thread Starter barnz2k

    (@barnz2k)

    little more help please?

    What I’ve come up with so far is

    if ( is_category() ) {
      $current_cat = $cat->category_parent;
    
      wp_list_categories('&title_li=&show_count=1&child_of='.$current_cat);
    }

    This seems to show all categories, while below only shows the sub categories

    if ( is_category() ) {
      $current_cat = get_query_var('cat');
      wp_list_categories('&title_li=&show_count=1&child_of='.$current_cat);
    }

    I need it to go just one or two parents higher, and list all below.

    been trying this to and still cant get it. Ive tried going through these three threads

    https://www.ads-software.com/support/topic/83284?replies=12
    https://www.ads-software.com/support/topic/87573?replies=14#post-454996
    https://www.ads-software.com/support/topic/93508?replies=11

    and still no luck.

    Im using
    <div class="alignright"><?php next_post_link('%link', '%title >>', TRUE, '9, 23'); ?></div>

    But it wont exclude more than 1 category, and total I have about 30 so I dont want to list every category but one anyway! FALSE, AND settings etc do nothing..

    Anyone??

    Thread Starter barnz2k

    (@barnz2k)

    forgot to add also,
    you need to put a

    ‘position: relative;’

    (under clear:both if its there)

    in your footer container, inside the CSS

    Thread Starter barnz2k

    (@barnz2k)

    Ok ive spent almost all day trying different things.. And I finally got it!
    Its actually very simple but i went through many combinations before getting it pixel perfect
    —–

    in your Style.CSS

    add a new Div Container

    ‘#bottombox {
    float:left;
    position:absolute;
    left: 0px;
    bottom: 83px;
    }

    then in your footer, before the last ‘</div>’
    put what you want in another div
    ‘<div id=”bottombox”>Something on the bottom</div>
    </div>’

    just adjust the number of pixels in the CSS to match the heigh of your footer.

    Done!

    Thread Starter barnz2k

    (@barnz2k)

    Pretty sure just need to edit this bit of code from the plugin

    `
    function ts_set_theme_cookie() {
    $expire = time() + 30000000;
    if (!empty($_GET[“wptheme”])) {
    setcookie(“wptheme” . COOKIEHASH,
    stripslashes($_GET[“wptheme”]),
    $expire,
    COOKIEPATH
    );

    $redirect = get_settings(‘home’).’/’;

    if (function_exists(‘wp_redirect’))
    wp_redirect($redirect);
    else
    header(“Location: “. $redirect);

    exit;
    }
    }`

    I add to the end after the / the path I want `
    $redirect = get_settings(‘home’).’/category/japanese’;`
    no worries. But thats only 1, i need it to take depending on which theme it goes to..

    I tried to put an If statement in there but I have no idea what im doing.. Cheers.

    Thread Starter barnz2k

    (@barnz2k)

    Update: Yes pb-embedflash WILL do FLVs too! and much more ??
    The link I noted is also broken, so get it from here

    https://www.ads-software.com/extend/plugins/pb-embedflash/

    Well this is a pretty hacked up method, but its the only
    thing I have working right now..

    For only 2 themes this isnt so bad..Sorry CP this might be too painful for “several themes”!

    create the same sidebars in BOTH themes and name them something you can remember

    – In functions.php (in each template folder), adjust your register_sidebar code to something like:

    `
    register_sidebar(array(‘name’=>’Theme 1 bar 1’));
    register_sidebar(array(‘name’=>’Theme 1 bar 2’));
    register_sidebar(array(‘name’=>’Theme 2 bar 1’));
    register_sidebar(array(‘name’=>’Theme 2 bar 2’));`

    Then use MartinStudio’s code to call the particular sidebars in each theme’s sidebar.php, and to duplicate widgets to use more than once. You dont have to use his statements per page etc if you just want to change per theme – so take out the If satements and just make it whatever you need..

    – ie, for theme 2 sidebar 1 it would be:

    $sidebar_index=3;

    – For duping the widgets just copy his instructions for whatever widget you want more of.

    NOW when you go to the widgets sidebar management you will see all 4 sidebars and be able to put multiple copies of the same widget on any sidebar.

    Then when you switch themes the same sidebars are always shown in manager, but you should only see the 2 related sidebars on the site! ??

    I cant link to mine cause its all Local right now. but it works. and its friday.

Viewing 15 replies - 1 through 15 (of 20 total)