pdaniel
Forum Replies Created
-
Forum: Plugins
In reply to: [Twitget] Custom Code Not Working – Footer?Figured it out. I customized the code in the Twidget Settings box. I was doing that in the footer.php file. Thanks.
Forum: Plugins
In reply to: [Twitget] Custom Code Not Working – Footer?I did plug in the following and it did work, but it brought back the account description that I don’t want to show. I only want to show the name and last tweet.
<?php show_recent_tweets(); ?>
Forum: Plugins
In reply to: [Kebo Twitter Feed] Error with PHP?Ok, I’ll give it a shot. For kicks I plugged in the following code and the else part came back which tells me the data coming back is not in array form maybe?? I checked again with the $tweets = kebo_twitter_get_tweets();
print_r($tweets);and the tweets are coming back ok. I see them fine.
code:
<?php $tweets = kebo_twitter_get_tweets(); ?><?php $i = 0; ?>
<?php if (is_array($tweets)) : ?>
<?php foreach ($tweets as $tweet) : ?>
<?php echo $tweet->text; ?>
<?php if (++$i == 10) break; ?>
<?php endforeach; ?>
<?php else : ?>
<p>Sorry, no Tweets found.</p>
<?php endif; ?>
Forum: Plugins
In reply to: [Kebo Twitter Feed] Error with PHP?Ok, it looks like I was able to pull back tweets when I added the code from your suggestion above. So, I then tried to code the custom tweet per the sample and I got the same error I did before..
Warning: Invalid argument supplied for foreach() in D:\Hosting\2780066\html\wp-content\themes\rapscallion\footer.php on line 41
Here’s the code..
<div class=”content-wrap”>
<?php $tweets = kebo_twitter_get_tweets(); ?>
<?php $i = 0; ?>
<?php foreach ($tweets as $tweet) : ?>
<?php echo $tweet->text; ?>
<?php if ( ++$i == 10 ) break; ?>
<?php endforeach; ?>
</div>Any suggestions? PHP is not my strong point.
thanks!
Forum: Plugins
In reply to: [Kebo Twitter Feed] Error with PHP?Hi Peter – Actually this was on my list to get down. Let me give it another shot tonight based on your feedback and I’ll get back to you.
thanks!
Forum: Plugins
In reply to: [Kebo Twitter Feed] Error with PHP?no, my computer was giving me fits last night. going to try today real quick. will let you know. thanks so much for the help.
Forum: Plugins
In reply to: [Kebo Twitter Feed] Error with PHP?thanks. It is a live site unfortunately. I can try it later tonight. I’ll follow up after to let you know what I find. thanks again!
Forum: Plugins
In reply to: [Kebo Twitter Feed] Error with PHP?it is set to style: list.
Here are the settings I have. I don’t see it on the web site. The site is customized some so I’m not sure if that has to do with anything.
Kebo Twitter Feed:
Title: Latest Tweet
Style: List
Theme: Light
Number Of Tweets: 1Forum: Plugins
In reply to: [Kebo Twitter Feed] Error with PHP?I don’t see how I can add a widget to the page. I have activated the Kebo widget by moving the widget to the right side bar on the Widget page. What would be the next step?
thanks.
Forum: Plugins
In reply to: [Kebo Twitter Feed] Error with PHP?I don’t see any error messages from the settings page. It looks like I’m connected and no error messages in the log. I’ll try to add it to the widget area and see if that works. Thanks for the prompt response!
To enable us to display your Tweets you must connect your Twitter account to our Twitter Application by clicking on the large ‘Connect to Twitter’ button below.
Connected to TwitterConnected as @rapscallionbeer ?
General Options
Feed Refresh Rate
Minutes. Should be between 1 and 30.
This controls how frequently we update the stored list of Tweets for display on your website.Error Log
There is a chance that we may receive errors when making requests to Twitter, which will be displayed below. If errors are occuring consistently please check the key below to see if action is required.
Date Code Message
Good news, there have been no errors received from Twitter recently.