Publisher and GK Tweets update
November 2012 WordPress Theme
- GK User
- Mon May 06, 2013 12:54 pm
Due upcoming in 7th May 2013 Twitter API changes, please update your theme using the 1.2.1 update if you need to use the GK Tweets widget: https://www.gavick.com/updates/template ... ,1164.html
Tutorial how to get the new Twitter API keys is available here: http://www.gavick.com/documentation/joo ... k5-module/
Tutorial how to get the new Twitter API keys is available here: http://www.gavick.com/documentation/joo ... k5-module/
-
- Administrator
- GK User
- Fri Nov 29, 2013 2:29 pm
Hello, I think I did exactly what is in the documentation, but I still get "Error 32: Could not authenticate you".
Any idea why this is happening? Thank you.
Any idea why this is happening? Thank you.
-
- Gold Boarder
- GK User
- Fri Nov 29, 2013 6:01 pm
I'm trying the widget on my local site but I can't make it work.....what do I need to write on the "query" field?
I couldn't find it explained on the Documentation.
I get this error:
I couldn't find it explained on the Documentation.
I get this error:
- Code: Select all
Fatal error: Cannot use object of type WP_Error as array in C:\wamp\www\wordpress\wp-content\themes\Publisher\gavern\classes\class.gkoauth.php on line 227
-
- Senior Boarder
- GK User
- Fri Nov 29, 2013 10:34 pm
Please make sure that cURL extension is enabled on your localhost configuration. In query you can write username or from:Username to show your tweets. Of course firstly your tweets should be visible here >> https://twitter.com/search-home where you can test your queries.
-
- Platinum Boarder
- GK User
- Mon Dec 02, 2013 5:11 pm
Nice, it worked in my case.
-
- Senior Boarder
- GK User
- Tue Dec 03, 2013 8:58 am
cURL looks to be active, but it's not working.
-
- Gold Boarder
- GK User
- Tue Dec 03, 2013 10:05 am
Please check the keys again. You are using theme on localhost or on some server? If this is localhost installation maybe your firewall or something blocks the connection.
-
- Platinum Boarder
- GK User
- Tue Dec 03, 2013 8:28 pm
One more question: how can I change the title of the widget? I can't see the way to change "GK Tweets".
-
- Senior Boarder
- GK User
- Wed Dec 04, 2013 12:00 pm
Hi,
@fjavimarti I'll add an option to change widget title in the nearest theme update, for now you can change this title directly in gavern/widgets.tweets.php file (around line 49)
@fjavimarti I'll add an option to change widget title in the nearest theme update, for now you can change this title directly in gavern/widgets.tweets.php file (around line 49)
- Code: Select all
__( 'GK Tweets', GKTPLNAME )
-
- Moderator
- GK User
- Wed Dec 04, 2013 5:00 pm
Thanks!
-
- Senior Boarder
- GK User
- Wed Jul 09, 2014 8:31 am
Hi again!
One more question regarding GK Tweets: how can I make the links of the tweets open on a blank page? When I click in both my user name or the links contained on the tweet it opens in the same page the page is loaded.
I guess I need to put
One more question regarding GK Tweets: how can I make the links of the tweets open on a blank page? When I click in both my user name or the links contained on the tweet it opens in the same page the page is loaded.
I guess I need to put
- Code: Select all
target="_blank"
-
- Senior Boarder
- GK User
- Wed Jul 09, 2014 9:38 am
Hi,
In the widgets.tweets.php file replace this fragment:
with
around line 140 and do the same with the links (lines 152-154).
In the widgets.tweets.php file replace this fragment:
- Code: Select all
echo '<span class="gk-tweet-name"><a href="'.$userURL.'">'.$user.'</a><small>'.$username.'</small></span>' . "\n";
with
- Code: Select all
echo '<span class="gk-tweet-name"><a href="'.$userURL.'" target="_blank">'.$user.'</a><small>'.$username.'</small></span>' . "\n";
around line 140 and do the same with the links (lines 152-154).
-
- Moderator
- GK User
- Wed Jul 09, 2014 11:09 am
Thank you....but what about the links included inside the tweets and the tweet date?
-
- Senior Boarder
- GK User
- Wed Jul 09, 2014 12:46 pm
The same situation - please check line 148 and 104, 112.
-
- Moderator
- GK User
- Wed Jul 09, 2014 1:13 pm
Houston we have a problem.....
When I start change the first line (104). That is:
for:
The site crashes!
When I start change the first line (104). That is:
- Code: Select all
$text = str_replace($m, "<a href='https://twitter.com/#!/search/".$m."'>".$m."</a>", $text);
for:
- Code: Select all
$text = str_replace($m, "<a href='https://twitter.com/#!/search/".$m."' target="_blank">".$m."</a>", $text);
The site crashes!
-
- Senior Boarder
- GK User
- Wed Jul 09, 2014 1:17 pm
use single quotes
- Code: Select all
target='blank'
-
- Moderator
16 posts
• Page 1 of 1