Closed (fixed)
Project:
Twitter
Version:
6.x-3.0-beta4
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Jul 2011 at 15:25 UTC
Updated:
26 Feb 2014 at 11:38 UTC
Jump to comment: Most recent
Comments
Comment #1
coolhandlukek2 commentedHi,
I have now installed rc6 and am having the same problem.
I continue to be unable to access the twitter messages from a node view - the option is not there
If I create a view of type 'twitter message' (Which comes with the twitter module) - the twitter message text is available as a field option but the 'Relationship status' field does not seem to return any results. This is strange as I can successfully get the results for the Status link. (Unexpected?) - My only guess is that this could be a bug?
Here is an export of my view - If the relationship status can be fixed this view will show tweets from users wher the User relationship value = true.
Thanks for your time
Luke
ps - Changing this nid to the bug category
PPS - Export of the view
_/_/_/_/_/_/_/_/
$view = new view;
$view->name = 'twitter_relationship_tweettest';
$view->description = '';
$view->tag = '';
$view->view_php = '';
$view->base_table = 'twitter';
$view->is_cacheable = FALSE;
$view->api_version = 2;
$view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
$handler = $view->new_display('default', 'Defaults', 'default');
$handler->override_option('relationships', array(
'content_profile_rel' => array(
'label' => 'Content Profile',
'required' => 0,
'type' => 'registration_info',
'id' => 'content_profile_rel',
'table' => 'users',
'field' => 'content_profile_rel',
'relationship' => 'none',
),
'requester_id' => array(
'label' => 'requester',
'required' => 0,
'id' => 'requester_id',
'table' => 'user_relationships',
'field' => 'requester_id',
'relationship' => 'content_profile_rel',
),
));
$handler->override_option('fields', array(
'screen_name' => array(
'label' => 'Login name',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'screen_name',
'table' => 'twitter_account',
'field' => 'screen_name',
'relationship' => 'none',
),
'text' => array(
'label' => 'Message text',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_urls' => 1,
'link_usernames' => 1,
'link_hashtags' => 0,
'hashtags_url' => 'http://search.twitter.com/search?q=%23',
'exclude' => 0,
'id' => 'text',
'table' => 'twitter',
'field' => 'text',
'relationship' => 'none',
),
'name' => array(
'label' => 'Name',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'link_to_user' => 1,
'overwrite_anonymous' => 0,
'anonymous_text' => '',
'exclude' => 0,
'id' => 'name',
'table' => 'users',
'field' => 'name',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'status_link' => array(
'label' => 'Status link',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'status_link',
'table' => 'user_relationships',
'field' => 'status_link',
'relationship' => 'requester_id',
'override' => array(
'button' => 'Override',
),
),
'approved' => array(
'label' => 'Relationship status',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'exclude' => 0,
'id' => 'approved',
'table' => 'user_relationships',
'field' => 'approved',
'relationship' => 'requester_id',
'override' => array(
'button' => 'Override',
),
),
'rtype' => array(
'label' => 'Relationship type',
'alter' => array(
'alter_text' => 0,
'text' => '',
'make_link' => 0,
'path' => '',
'link_class' => '',
'alt' => '',
'prefix' => '',
'suffix' => '',
'target' => '',
'help' => '',
'trim' => 0,
'max_length' => '',
'word_boundary' => 1,
'ellipsis' => 1,
'html' => 0,
'strip_tags' => 0,
),
'empty' => '',
'hide_empty' => 0,
'empty_zero' => 0,
'name_field' => 'name',
'exclude' => 0,
'id' => 'rtype',
'table' => 'user_relationships',
'field' => 'rtype',
'relationship' => 'content_profile_rel',
'override' => array(
'button' => 'Override',
),
),
));
$handler->override_option('sorts', array(
'created_time' => array(
'order' => 'DESC',
'id' => 'created_time',
'table' => 'twitter',
'field' => 'created_time',
'relationship' => 'none',
),
));
$handler->override_option('filters', array(
'approved' => array(
'operator' => '!=',
'value' => '0',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'approved',
'table' => 'user_relationships',
'field' => 'approved',
'relationship' => 'content_profile_rel',
'override' => array(
'button' => 'Override',
),
),
'uid' => array(
'operator' => 'in',
'value' => '',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 0,
'operator' => 'uid_op',
'identifier' => 'uid',
'label' => 'User: Name',
'optional' => 1,
'remember' => 0,
'reduce' => 0,
),
'id' => 'uid',
'table' => 'users',
'field' => 'uid',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
'rtype' => array(
'id' => 'rtype',
'table' => 'user_relationships',
'field' => 'rtype',
'relationship' => 'content_profile_rel',
),
));
$handler->override_option('access', array(
'type' => 'none',
));
$handler->override_option('cache', array(
'type' => 'none',
));
$handler->override_option('items_per_page', 200);
$handler->override_option('distinct', 1);
$handler = $view->new_display('page', 'Page', 'page_1');
$handler->override_option('filters', array(
'approved' => array(
'operator' => '=',
'value' => '1',
'group' => '0',
'exposed' => FALSE,
'expose' => array(
'operator' => FALSE,
'label' => '',
),
'id' => 'approved',
'table' => 'user_relationships',
'field' => 'approved',
'relationship' => 'requester_id',
'override' => array(
'button' => 'Use default',
),
),
'uid' => array(
'operator' => 'in',
'value' => '',
'group' => '0',
'exposed' => TRUE,
'expose' => array(
'use_operator' => 0,
'operator' => 'uid_op',
'identifier' => 'uid',
'label' => 'User: Name',
'optional' => 1,
'remember' => 0,
'reduce' => 0,
),
'id' => 'uid',
'table' => 'users',
'field' => 'uid',
'override' => array(
'button' => 'Override',
),
'relationship' => 'none',
),
));
$handler->override_option('path', 'tweet_relationships');
$handler->override_option('menu', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
Comment #2
coolhandlukek2 commentedCoolhandlukek - changed status to bug
Comment #3
mrf commentedCan you confirm if this is still happening with the 1.0 release of the module? rc6 is no longer the most current release.
Comment #4
coolhandlukek2 commentedHi,
Thanks for getting back to me. To confirm I have now tested this problem on the latest releases.
user_relationships-6.x-1.x-dev
user_relationships-6.x-1.0
The 'Relationship status' field remains empty
The 'Status link' field is still populated (as before)
Thanks
Comment #5
coolhandlukek2 commentedHi,
Has anyone had a similar problem or is this a bug with the module? This would be a great bit of functionallity for user relationships in conjunction with twitter.
Would be very grateful for any advice
Thanks
Luke
Comment #6
mrf commentedThe user relationship value = true part of your view should be working just fine, but it doesn't look like you can add any additional views table relationships (besides content profile) to the Twitter message view type. Moving this over to the Twitter queue to see if they can explain why.
Comment #7
coolhandlukek2 commentedmrf thanks for the update! Hope the maintainers for the twitter module can get to the bottom of this.
Cheers
Luke
Comment #8
xurizaemonno update in ~3 years, support request fixed