Welcome, Guest. Please login or register.
Did you miss your activation email?
May 24, 2012, 11:02:20 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155471 Posts in 21708 Topics by 7734 Members
Latest Member: rofroodoOvego
* Home Help Search Login Register
Poll
Question: Are you using twitter?
Yes, of course. - 24 (77.4%)
No way! - 6 (19.4%)
Maybe later. - 1 (3.2%)
Total Voters: 27

Pages: 1 [2]   Go Down
Print
Author Topic: Twitter for websitebaker  (Read 7180 times)
Linger

Offline Offline

Posts: 78



WWW
« Reply #25 on: September 09, 2009, 07:05:02 PM »

Hello again,

the reported problem is fixed with version 0.42 of WB Tweets.
If you experienced the same problem, please upgrade the module.

Beste regards
André
Logged

http://www.andreherdling.de
Mediengestalter aus Leidenschaft
----
Avatar created by using the generator at http://www.sp-studio.de/
Xagone
AddOn Development
*
Offline Offline

Posts: 478



WWW
« Reply #26 on: September 09, 2009, 08:05:42 PM »

you should update http://www.websitebakers.com/pages/modules/listings/various/wb-tweets.php it's marked 0.42, but the download is 0.3
Logged

Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Linger

Offline Offline

Posts: 78



WWW
« Reply #27 on: September 09, 2009, 09:29:35 PM »

@VotreEspace

Updated! wink
Thanks for the friendly reminder!
Logged

http://www.andreherdling.de
Mediengestalter aus Leidenschaft
----
Avatar created by using the generator at http://www.sp-studio.de/
snark
Guest
« Reply #28 on: October 01, 2009, 09:52:39 PM »

the 'hide replies' seems to not work in my test, has anyone else experienced this?


Logged
ereemst

Offline Offline

Posts: 16


« Reply #29 on: August 26, 2010, 04:34:36 PM »

yes i have a problem with the tweets shown in 2.8

the liinks are nog working inside the tweets on my site what am i doing wrong.

http://www.egmondonline.nl/pages/nieuws/tweets-uit-egmond.php

on the backside i have a query
http://search.twitter.com/search.atom?q=egmond

on twitter to show me a the tweets with the word egmond

please help... willing to pay!!
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #30 on: August 26, 2010, 06:07:14 PM »

There are some jQuery solutions you may want to try instead.
Logged

Alle großen Veränderungen beginnen im Kleinen
ereemst

Offline Offline

Posts: 16


« Reply #31 on: August 26, 2010, 11:49:04 PM »

i have read them but.. the only read real rss or feed not query feed i think and i dont know how jquery works..
Logged
ereemst

Offline Offline

Posts: 16


« Reply #32 on: September 02, 2010, 08:22:04 AM »

Can someone please help me with the Jquery plugin for livetwitter.

Willing to pay!!

 i just cant get it to work.
Logged
BlackBird
AddOn Development
*
Offline Offline

Posts: 2068



WWW
« Reply #33 on: September 02, 2010, 10:08:21 AM »

What's the problem?
Logged

Alle großen Veränderungen beginnen im Kleinen
Damaverick

Offline Offline

Posts: 25


« Reply #34 on: January 11, 2012, 01:39:31 AM »

Hello,

I tried to use this module today.
And everything went perfect, I have only 1 question.

I see in functions.php the function:

Code:
function _autolink_find_URLS($text){
    $scheme = '(http:\/\/|https:\/\/)';
    $www = 'www\.';
    $ip = '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}';
    $subdomain = '[-a-z0-9_]+\.';
    $name = '[a-z][-a-z0-9]+\.';
    $tld = '[a-z]+(\.[a-z]{2,2})?';
    $the_rest = '\/?[a-z0-9._\/~#&=;%+?-]+[a-z0-9\/#=?]{1,1}';           
    $pattern = "$scheme?(?(1)($ip|($subdomain)?$name$tld)|($www$name$tld))$the_rest";   
    $pattern = '/'.$pattern.'/is';
    $c = preg_match_all($pattern, $text, $m);
    unset($text, $scheme, $www, $ip, $subdomain, $name, $tld, $the_rest, $pattern);
    if($c){
        return(array_flip($m[0]));
    }
    return(array());
}

Correct me if I'm wrong but this looks to me like a code for translating URL's into hyperlinks.

Well and that's the only thing that isn't working in this module.
Does anyone have this experience too? And maybe have a solution?
Logged
Linger

Offline Offline

Posts: 78



WWW
« Reply #35 on: January 11, 2012, 08:46:13 AM »

Hello Damaverick,

you are right - this is the function for transforming urls in the text to clickable links. This functions works pretty well - BUT the recently introduced shorting service by twitter (http://t.co) is not detected. So all links shortened by this service arn't recognized. Right?
This is because the functions expects a domain name to have a least two characters - but the new service only have one character (t).

I just corrected this issue this morning because an other user posted this problem on my site tonight too. So version 0.44 of WBTweets should solve this problem: http://www.andreherdling.de/generator/content/webentwicklung/website-baker-cms/twitter-fuer-website-baker.php

If you want to correct this by hand, you just have to change one single line in functions.php:
Change line 73
Code:
$name = '[a-z][-a-z0-9]+\.';
to this
Code:
$name = '[-a-z0-9]+\.';

Im not really familiar with regular expressions so i am not sure if the new pattern can cause any problems. But in my test scenario everything works fine now smiley
Logged

http://www.andreherdling.de
Mediengestalter aus Leidenschaft
----
Avatar created by using the generator at http://www.sp-studio.de/
einteik

Offline Offline

Posts: 37


« Reply #36 on: January 11, 2012, 09:40:44 AM »

If you want to correct this by hand, you just have to change one single line in functions.php:
Change line 73
Code:
$name = '[a-z][-a-z0-9]+\.';
to this
Code:
$name = '[-a-z0-9]+\.';

Im not really familiar with regular expressions so i am not sure if the new pattern can cause any problems. But in my test scenario everything works fine now smiley

Regular Expressions are not that hard - if you know how they work in your programming language... And every language has other types of interpreting expressions.
You should know that regex is often case-sensitive when no parameter is set.

So both $name will find "ui-8." or "wb2.34", but not "UI-8" or "wb234" . By the way: With Windows 7 you have a good tool to validate regex. In detail it surely differs from PHP-regex, but in 90% it shouldn't - just use "Powershell ISE" in your startmenu and type --> "ui-8" -match "[-a-zA-Z0-9]+\." <-- You can play and get your false - or even true.

I would suggest to use "([A-Za-z0-9_]+)" - also consider the use of bracket expressions. If you really want to use minus "-" and dot "." you should use "([-A-Za-z0-9_.]+)". You can also use the modifikator for ignoring case-sensitive and use (yes, inline!) "(?i)([-a-z0-9_.]+)".

Just make clear: Everything in square brackets [xyz] just matches one and only one sign. "-" on begin is minus, otherwise it's a range. A dot "." is a dot and must! not be made valid with backslash \ - outside bracket expressions that has to be done.
Logged
Linger

Offline Offline

Posts: 78



WWW
« Reply #37 on: January 11, 2012, 12:19:33 PM »

Hello einteik,

thanks a lot for your explaination!
The complete regex pattern used by preg_match_all() is combined from different pieces of sub pattern and i am afraid "([A-Za-z0-9_]+)" would not work. The function function _autolink_find_URLS() is taken from a free library and i won't break it by changing too much. By now it seems to work fine and you know "never change a running system" wink
I will reinvestigate if there are new incoming error reports.
Logged

http://www.andreherdling.de
Mediengestalter aus Leidenschaft
----
Avatar created by using the generator at http://www.sp-studio.de/
Damaverick

Offline Offline

Posts: 25


« Reply #38 on: January 11, 2012, 02:37:00 PM »

Hello Damaverick,

you are right - this is the function for transforming urls in the text to clickable links. This functions works pretty well - BUT the recently introduced shorting service by twitter (http://t.co) is not detected. So all links shortened by this service arn't recognized. Right?
This is because the functions expects a domain name to have a least two characters - but the new service only have one character (t).

I just corrected this issue this morning because an other user posted this problem on my site tonight too. So version 0.44 of WBTweets should solve this problem: http://www.andreherdling.de/generator/content/webentwicklung/website-baker-cms/twitter-fuer-website-baker.php

If you want to correct this by hand, you just have to change one single line in functions.php:
Change line 73
Code:
$name = '[a-z][-a-z0-9]+\.';
to this
Code:
$name = '[-a-z0-9]+\.';

Im not really familiar with regular expressions so i am not sure if the new pattern can cause any problems. But in my test scenario everything works fine now smiley

Thanks!!!
What a quick service...

By the way, I was that user on your site Wink
« Last Edit: January 11, 2012, 03:47:00 PM by Damaverick » Logged
einteik

Offline Offline

Posts: 37


« Reply #39 on: January 11, 2012, 03:36:38 PM »

By now it seems to work fine and you know "never change a running system" wink
Of course that's one of the basics in IT.
Logged
mdemaree99

Offline Offline

Posts: 68


« Reply #40 on: February 16, 2012, 06:14:04 AM »

FYI
Quick tip / solution I ran into that may help some people.
If your links are not showing up correctly make sure you are using the correct link for the feed.

Option 1 (feed will sometimes disappear)
feed://twitter.com/statuses/user_timeline/SITE_ID.rss

Option 2 (no problems with this that I know of)
http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=SITE_ID


Does Not Work with WT Tweets:
feed://search.twitter.com/search.atom?q=from:SITE_ID
This will give you correct links to the date/time, but not the correct link for @SITENAME and other links in feed.
I have seen this format used in other AJAX modules, but could not get to work in this format.
example included
« Last Edit: February 17, 2012, 07:04:10 PM by mdemaree99 » Logged
Damaverick

Offline Offline

Posts: 25


« Reply #41 on: March 20, 2012, 11:30:58 PM »

Hello,

I have a question with this module.
When you have a long tweet you have retweeted de tweet is cut of after a certain characters.

How can I solve this, I already tried to find it in twitterzoid.php and functions.php, but maybe i've been looking at the wrong places.

Hope someone could help me.

Kind regards
Logged
Pages: 1 [2]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!