Forum Replies Created
-
I have a crude implementation of getting Simple:Press forum posts/replies to show in the activity stream:
Still working on it, but it works for me.
Tweetstream is running REALLY slow on my site lately. I thought due to Twitter API issues. So I disabled the sync from Twitter > BP but it is still really laggy. When I disable TweetStream, the site goes back to normal. Any idea what function in the TweetStream plugin could cause the speed lag? I disabled the Cron function and still pretty slow. almost unbearable to keep TS activated.
@stwc – Thanks for this code! Works great!
I am looking to do something similar to that. Anyone have any code snippets or hints in the right direction to show X recent forum topics in the groups-loop?
Thanks!
I was thinking more for the Twitter > BP traffic. You are using check_exists_by_content to compare the tweet to be inserted into bp_activity with the existing activity in the table. In this process you’ll already have the twitter id of the activity and can test against the secondary ID field (which is indexed).
@pjnu what globe icon are you referring to?
Are you using the filter in TweetStream? If you are using a filter and choose NO to “Show Filter in Tweets” it creates a duplication issue.
@bloackphantom I suppose this could be fixed by testing for duplication using the $tweet[‘id’] instead of check_exists_by_content.
It’s on the WordPress Settings page, the option called “Membership”.
FWIW, I created a ticket in Trac to bring attention to the image issue:
It won’t work natively but I think it could be done. SimplePress has a lot to offer in terms of hooks for certain actions like adding a topic, reply, etc. Someone could add a hook that inserted the post/topic data into the bp activity table.
….As I see it, bp-links is better suited as an archival mecahism for many sites and oEmbed has an edge on on-the-fly action
This has been my impression of the purpose of the two plugins exactly!
I updated line 72 to read:
add_action(‘bp_activity_filter_options’, ‘tweetstream_addFilter’,1);
And now I can see the “Show Tweets” filter.
My WP Single 2.9.2/BP 1.2 did update Twitter from my forum post (needs to be upon topic creation at the moment) but the tinyurl that was created was weird.
Here is the actualy forum topic post:
And here is the tinyurl that was created:
The page that is displayed from the tinyurl is just a random gathering of posts from a variety of group forums (not the one that the original topic was posted in).
This is not a TweetStream issue but a BP/BB issue. If you craft a URL in the form of:
http://domain.com/groupsgroupname/forum/topic/blah-blah-blah-type-whatever-you-want-here/
Will result in a page of random random posts.
@blackphantom thanks for looking into it, I am checking it out as well.
RE: Filter: So whatever comma separated value is in the filter field will return the hashtag equivalent match on Twitter? ie: soccer would filter for #soccer, poker would filter for #poker
RE: Topic Reply: In my old forum software I used we had a “TwitThis” button. When we would reply to a forum post, we’d hit the TwitThis button and send a message like this to twitter: “Just responded to: Forum Topic Name: http://blahblah.com/topic.html”. It was a good way to engage people in the forum by catching their attention on twitter.
Thanks!!
@blackphantom, bloody brilliant!! Fixed the 404 issue!
Here is where I am with what doesn’t work (WordPress 2.9.2 and BP 1.2)
– I don’t see the filter for “Tweets” in the pulldown for the activity stream.
– My Twitter > BP timestamp is off by 6 hours.
– My Twitter > BP sync doesn’t work with (or I don’t understand) filters! It works when I remove the filters.
Requests:
– Extend the new forum topic “To Twitter” functionality to allow the same thing for topic replies.
I wonder if my 404 issue and @labrujulaverde issue is the same. Depending on how error handling is setup in htaccess it could be redirecting to home page upon a 404 error.
Additionally the sidebar does not display in Tweetstream > Settings. I wonder if this is somehow related.
Thanks!!
Here are the request/response headers:
**Response Headers**
Date Mon, 22 Feb 2010 23:46:16 GMT
Server Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
X-Powered-By PHP/5.2.9
X-Pingback http://twitterpokertour.com/xmlrpc.php
Expires Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control no-cache, must-revalidate, max-age=0
Pragma no-cache
Last-Modified Mon, 22 Feb 2010 23:46:16 GMT
Keep-Alive timeout=5, max=100
Connection Keep-Alive
Transfer-Encoding chunked
Content-Type text/html; charset=UTF-8
**Request Headers**
Host twitterpokertour.com
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1. Gecko/20100202 Firefox/3.5.8 (.NET CLR 3.5.30729)
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 300
Connection keep-alive
Referer http://twitterpokertour.com/members/cprpoker/settings/
Cookie __utma=181142562.1327388837.1265978854.1265978854.1266348950.2; __utmz=181142562.1265978854.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sforum_4d6a2b1affbc848f88f79a19b057e186=cprpoker; wp-settings-227=editor%3Dtinymce%26urlbutton%3Dpost%26align%3Dleft%26hidetb%3D1%26imgsize%3Dthumbnail%26m1%3Dc; wp-settings-time-227=1266836416; wordpress_logged_in_4d6a2b1affbc848f88f79a19b057e186=cprpoker%7C1267558573%7Caffc37912e5d7b61700a7eb42624b1b0; PHPSESSID=e011ff73d865b4c03d2a9480b2d93c7e; bp-activity-oldestpage=1
If-Modified-Since Mon, 22 Feb 2010 23:28:08 GMT
I am still getting a 404 server response when accessing the TweetStream settings page. It loads fine for me in Firefox but some users have reported that they are being sent to a Yahoo search results page when they try to click the tweetstream settings.
You can see the 404 error using firebug:
Are you using BP 1.2 with the integrated BBPress? Or a standalone BBPress?
If you are using the integrated method, then you add moderators from the Group > Admin > Manage Members
And as an admin/moderator you can delete forum posts directly from the topic.
Bingo…..works now!
May not be compatible with SI CAPTCHA:
Upon activation of oEmbed:
Warning: Cannot modify header information – headers already sent by (output started at /home/public_html/sandbox/wp-content/plugins/bp-oembed/bp-oembed.php:110) in /home/public_html/sandbox/wp-includes/pluggable.php on line 868
When viewing any page (admin or otherwise)
Warning: session_start() [function.session-start]: Cannot send session cache limiter – headers already sent (output started at /home/public_html/sandbox/wp-content/plugins/bp-oembed/bp-oembed.php:110) in /home/public_html/sandbox/wp-content/plugins/si-captcha-for-wordpress/si-captcha.php on line 961
Other than that, I only get the same warning that you say is fixed in trunk.
Good work!!
Also, the tweetstream settings page is returning a 404 server response though the page still loads for me in FF.
This is causing an issue with one of my users, his ISP intercepts 404’s I think and is redirecting him to Yahoo (or it’s a yahoo toolbar thing).
Edit: I also wanted to say thanks for developing this plugin!
It appears you can access another users tweetstream settings by altering the URL
http://domain.com/members/MEMBERNAME/settings/tweetstream
And you could auth with your own account. No idea why anyone would want to do that, but …..
Could the inclusion of the URL appended to the end of the tweet be optional? That way users can use tweetstream as a status updater first and foremost and not necessarily as a way to drive traffic back to the site. It will also allow for more characters in the tweet.
The via app link will already serve as a path back to the site.
Just a thought!
Brilliant, great work on this!!!
One issue is the escaping of quotes when it is sent to Twitter. See this tweet:
Testing out the new "post to twitter functionality" … http://twitterpokertour.com/members/cprpoker/
— FDB (@brewsevelt) February 19, 2010
Also, what are your thoughts on leveraging an url shortner for the members profile page backlink?
Thanks!