vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - vBTwitter (https://vborg.vbsupport.ru/showthread.php?t=204694)

Ohiosweetheart 06-12-2009 02:35 PM

Thanks sweetie.

King Kovifor 06-13-2009 02:22 PM

Quote:

Originally Posted by fmckinnon (Post 1825912)
This seems to be the most promising "Tweet This" plugin yet. Can it not be somewhat similar to the "Tweet This" wordPress plugin, that essentially doesn't require anyone to store their userID/password - rather, it simply pulls a link.

Not sure how the variables would play out - but I'd think you could smack the code down in the SHOWTHREAD template.

An example (from how to make a easy "Tweet This" link in WordPress) is simply adding this:
Code:

<a href=?http://twitter.com/home?status=I just read <?php the_permalink(); ?> on your site name here!? title=?Send this Post to Twitter!? target=?_blank?>Tweet This Post on Twitter!!!</a>
Of course, the <?php the_permalink(); ?> is pulling the WordPress's blog URL ... but would there be a way to simply add this type of line in the template, and pull the correct code that vbulletin uses (ie. threadid=$threadinfo[threadid]&amp;p=$postid) type info???

Just curious. If you knew PHP and could understand this hack to easily use "TweetThis" in WordPress, looks like it could port over to VBulletin easily?

No, I will always require some kind of user data, but we are working on an OAuth integration where each site will become an "application" and users authorize sites to read and write to their account, so they will not need to add their password, the plugin will store a key supplied by Twitter.

Quote:

Originally Posted by fmckinnon (Post 1826019)
Thanks - if you nail it, let us know. I'm not excited about the users having to add the info to their UserCP - for all the existing users, they'd have to go back and add it after-the-fact, and it seems kinda out of the way. Would be better if anyone (even if not a registered member) could tweet a thread ... and I'd think you could just manually throw some of that code in there (assumingly, on the SHOWTHREAD template)?

Reference the above answer.

Quote:

Originally Posted by gabrielbulletin (Post 1828294)
"1. Upload files in the /upload/ folder of the .zip into the directories as is."
Which directory?

As Peggy has said, the upload folder is the forum root and the directory structure matches the structure of a non-modified vBulletin set up, so the sub directories represent where files go.

accludetuner 06-14-2009 01:42 AM

Searched and didn't see anyone with the same issue. I'm getting the following error once you click the "Tweet This Thread' link:

Code:

Fatal error: Cannot redeclare class Twitter in /path/to/my/forum/includes/twitter.php on line 27
Starting at line 27 of twitter.php:
Code:

class Twitter {
        /* Username:password format string */
        private $credentials;
       
        /* Contains the last HTTP status code returned */
        private $http_status;
       
        /* Contains the last API call */
        private $last_api_call;
       
        /* Contains the application calling the API */
        private $application_source;
       
        /* Include Source */
        private $include_source;

Re-uploaded files and reinstalled allowing overwrite and still same issue. PHP5.2 installed.

King Kovifor 06-14-2009 01:46 AM

Do you have any other twitter modifications installed.

mykkal 06-14-2009 02:30 AM

Quote:

Originally Posted by King Kovifor (Post 1828986)
No, I will always require some kind of user data, but we are working on an OAuth integration where each site will become an "application" and users authorize sites to read and write to their account, so they will not need to add their password, the plugin will store a key supplied by Twitter.

So there has been real progress for this? The new version?

accludetuner 06-14-2009 02:43 AM

Quote:

Originally Posted by King Kovifor (Post 1829321)
Do you have any other twitter modifications installed.

I do have one mod that sorta touches on twitter - OpenInviter: https://vborg.vbsupport.ru/showthrea...hlight=twitter

So after changing the class "Twitter" to "TweetThis" in twitter.php and tweet.php it is attempting to send the tweet which is definitely one step up. Now I'm getting the "We're sorry, but the Username and Password provided within your User CP could not be authenticated. Please modify either your Username or Password to match your current Twitter Username / Password and try again." error with mcrypt. I have 2.5.8 installed and enabled so I'll try messing with some things to see if I can get it worked out.

King Kovifor 06-16-2009 12:05 AM

Quote:

Originally Posted by accludetuner (Post 1829343)
I do have one mod that sorta touches on twitter - OpenInviter: https://vborg.vbsupport.ru/showthrea...hlight=twitter

So after changing the class "Twitter" to "TweetThis" in twitter.php and tweet.php it is attempting to send the tweet which is definitely one step up. Now I'm getting the "We're sorry, but the Username and Password provided within your User CP could not be authenticated. Please modify either your Username or Password to match your current Twitter Username / Password and try again." error with mcrypt. I have 2.5.8 installed and enabled so I'll try messing with some things to see if I can get it worked out.

Would you mind emailing me, as your problem seems unique enough that it isn't necessarily a problem on my end, but a conflict.

accludetuner 06-16-2009 01:20 AM

Email sent :)

swiftor 06-18-2009 03:44 AM

So the Tweet this Post option will only appear on posts made by people who have populated their twitter credentials? Anyway so that it appears next to every post? or at least every first post?

mykkal 06-18-2009 12:28 PM

has anyone looked at this mod? Does it do the same as this one? I want to use vb_twitter but there seems to be no progress so far on the release which is promised to remove the "check this out" option. But I don't know really.

has anyone used this new one? https://vborg.vbsupport.ru/showthread.php?t=216346


All times are GMT. The time now is 08:10 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01942 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete