Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter oscarsmac

    (@oscarsmac)

    hello again; my client is now suddenly getting tweets;

    while I’m glad it’s working again, I’d really like to know
    what this stops working on occasion.

    any help would be appreciated.

    Thread Starter oscarsmac

    (@oscarsmac)

    Vladimir:

    I’ve discovered through debugging that the content of $new_data in
    this code (line 466):

    } else {
                // Soft expiration. $transient = array( expiration time, data)
                if ($transient[0] !== 0 && $transient[0] <= time()) {
                    // Expiration time passed, attempt to get new data
     ->               $new_data = ts_get_user_data($widget_options);

    is an array of objects, but it looks like the function ts_convert_date_time_format()
    is expecting an array of arrays..

    does this help?

    Thread Starter oscarsmac

    (@oscarsmac)

    hello Vladimir; thanks for your quick response.

    the info you requested:

    timezone: new york

    date format: september 16, 2014

    time format: 10:52 am

    Thread Starter oscarsmac

    (@oscarsmac)

    I found it…

    turns out I needed to do:

    <?php echo do_widget()… ?>

    everything’s working great.

    thanks again for your help.

    rm.

    Thread Starter oscarsmac

    (@oscarsmac)

    Vladimir:

    thank you for your response.

    I updated to the latest version of TweetScroll (1.2.2), and installed
    the Widget Shortcode plugin as you instructed.

    I then navigated to the widgets page, and drug the TweetScroll
    item into the Arbitrary widget area. I filled in the information
    needed to access my client’s twitter account, and saved.

    I can see the widget shortcode is displayed in the arbitrary widget
    area like this:

    Shortcode: [widget id=”pi_tweet_scroll-2″]

    I then added the code you suggested into the theme’s sidebar-primary.php
    file (which is where all my client’s custom code resides), like this:

    <div style=”border: 1px solid #aaaaaa”>
    <p>test area</p>
    <p><?php do_widget(array(‘id’ => ‘pi_tweet_scroll-2’, ‘title’ => false, ‘before_widget’ => ‘<div>’)); ?></p>
    <p>—</p>
    </div>

    all I see when visiting the site is the border around the div I created,
    the words “test area” and the dashes (“—“).

    no twitter information is being displayed..

    any help would be appreciated.

    thank you.
    robert meyer

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