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)

itsbobtista 02-16-2009 10:59 PM

I did the upgrade, but I am having some trouble. For some reason, "Tweet this post" shows up twice.

http://www.atxscene.com/forums/showt...&p=432#post432

dvsDave 02-16-2009 11:01 PM

Code:

Fatal error: Call to undefined function mcrypt_decrypt() in /var/www/vhosts/controlbooth.com/httpdocs/forums/profile.php(1873) : eval()'d code on line 2
When I went to UserCP => Edit Options

itsbobtista 02-16-2009 11:04 PM

Nevermind... helps if I read. Removing templates.

itsbobtista 02-16-2009 11:08 PM

Now it says:
Quote:

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.
whenever I try to Tweet This Post or Tweet This Thread.

Also, Tweet This Thread shows up twice even after template edit removal.

King Kovifor 02-16-2009 11:16 PM

Quote:

Originally Posted by dvsDave (Post 1746328)
Code:

Fatal error: Call to undefined function mcrypt_decrypt() in /var/www/vhosts/controlbooth.com/httpdocs/forums/profile.php(1873) : eval()'d code on line 2
When I went to UserCP => Edit Options

Hm. Can you see if your PHP has the mcrypt extension? Did you have an error when installing this product?

Quote:

Originally Posted by itsbobtista (Post 1746335)
Now it says:


whenever I try to Tweet This Post or Tweet This Thread.

Also, Tweet This Thread shows up twice even after template edit removal.

Hm. It can't authenticate you? Are there any PHP errors? Are you sure you uploaded ALL new files (especially the /includes/twitter.php)?

itsbobtista 02-16-2009 11:19 PM

-.- Reuploaded files, reapplied the XML file, works fine. I love you, sir.

King Kovifor 02-16-2009 11:20 PM

Quote:

Originally Posted by itsbobtista (Post 1746348)
-.- Reuploaded files, reapplied the XML file, works fine. I love you, sir.

Might I say kinda creepy, but your welcome.

DotSauce 02-16-2009 11:38 PM

Glad to see the update and fixes :D

Hope to use this soon, but I need to wait on general tweets and twitter username defined by custom field cause I already have a Twitter field that is required on registration.

King Kovifor 02-16-2009 11:41 PM

Quote:

Originally Posted by DotSauce (Post 1746366)
Glad to see the update and fixes :D

Hope to use this soon, but I need to wait on general tweets and twitter username defined by custom field cause I already have a Twitter field that is required on registration.

I doubt I will ever truly release a version that supports custom profile fields, mostly because it would require 2 differing code bases. Check your DMs.

dvsDave 02-16-2009 11:52 PM

Quote:

Originally Posted by King Kovifor (Post 1746345)
Hm. Can you see if your PHP has the mcrypt extension? Did you have an error when installing this product?

I checked my phpinfo file, no I don't have the mcrypt extension, (fixing that now). I did not get an error on install.

David

King Kovifor 02-17-2009 12:39 AM

Quote:

Originally Posted by dvsDave (Post 1746380)
I checked my phpinfo file, no I don't have the mcrypt extension, (fixing that now). I did not get an error on install.

David

Hm. I guess nobody was using Twitter integration as mcrypt is run while upgrading. :)

Brandon Sheley 02-17-2009 12:59 AM

Good to see the template edits removed, and the option to add custom hash tags in the phrase!

King Kovifor 02-17-2009 01:04 AM

The option was there before. Just not realized. :)

Brandon Sheley 02-17-2009 01:07 AM

Quote:

Originally Posted by King Kovifor (Post 1746426)
The option was there before. Just not realized. :)

Those are the best :up:

King Kovifor 02-17-2009 01:15 AM

True that. Cause that means less work for me! LOL.

Mone' 02-17-2009 01:44 AM

Testing this now as it looks great :)
I'm getting this error on the profile.php?do=editoptions page

Code:

Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: The IV parameter must be as long as the blocksize in [path]/profile.php(1873) : eval()'d code on line 2
Any suggestions on what it could be ?

Thank you
Miko

itsbobtista 02-17-2009 01:47 AM

Another problem.. in multi-post threads (like http://www.atxscene.com/forums/showt...&p=306#post306 ), the first post has one Twee This, second post has two Tweet This, third has three Tweet This, etc..

King Kovifor 02-17-2009 01:54 AM

Mone, I am guessing you don't have twitter set up for your account, meaning that it doesn't have an iv stored in the db. And I'll work on getting template errors worked out.

Mone' 02-17-2009 01:58 AM

Quote:

Originally Posted by King Kovifor (Post 1746465)
Mone, I am guessing you don't have twitter set up for your account, meaning that it doesn't have an iv stored in the db. And I'll work on getting template errors worked out.

Yes just tested it on several account.
If I go to that page for the first time or every time without actually setting up the twitter account i will receive that error.

Setting twitter details will fix the issue, however most users will not have a twitter account.

Thank you.

King Kovifor 02-17-2009 02:10 AM

The reason behind this is that saving a password does the required updates. I'll have an updated plugin for you later. I'll probably add the check in several places.

Mone' 02-17-2009 02:12 AM

Quote:

Originally Posted by King Kovifor (Post 1746471)
The reason behind this is that saving a password does the required updates. I'll have an updated plugin for you later. I'll probably add the check in several places.


Thank you.

p.s. would it be possible to have the tweeter update with "check this out > title of the post" other than just check this out?

itsbobtista 02-17-2009 02:24 AM

1 Attachment(s)
Ack, I am getting that mcrypt error too. Any tips on where to find the phpinfo file?
(nevermind, I am good)

Still having an issue with my issue that I mentioned before. Screenshot attached

King Kovifor 02-17-2009 02:49 AM

Quote:

Originally Posted by Mone' (Post 1746472)
Thank you.

p.s. would it be possible to have the tweeter update with "check this out > title of the post" other than just check this out?

I'll see about it in 1.1.

Quote:

Originally Posted by itsbobtista (Post 1746474)
Ack, I am getting that mcrypt error too. Any tips on where to find the phpinfo file?
(nevermind, I am good)

Still having an issue with my issue that I mentioned before. Screenshot attached

I will work on it.

itsbobtista 02-17-2009 02:51 AM

Quote:

Originally Posted by King Kovifor (Post 1746478)
I'll see about it in 1.1.



I will work on it.

Cool. Thanks! Excellent support for this mod. Much appreciated :) Didn't know if it was me or not lol

Mone' 02-17-2009 03:53 AM

Quote:

Originally Posted by itsbobtista (Post 1746463)
Another problem.. in multi-post threads (like http://www.atxscene.com/forums/showt...&p=306#post306 ), the first post has one Twee This, second post has two Tweet This, third has three Tweet This, etc..

Also having this issue

tr03bor 02-17-2009 10:04 AM

Quote:

Originally Posted by Mone' (Post 1746461)
Testing this now as it looks great :)
I'm getting this error on the profile.php?do=editoptions page

Code:

Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: The IV parameter must be as long as the blocksize in [path]/profile.php(1873) : eval()'d code on line 2
Any suggestions on what it could be ?

Thank you
Miko

Also having this issue!

tr03bor 02-17-2009 10:13 AM

Can you add this to the registration page to? So new members can fill it in?

dvsDave 02-17-2009 02:51 PM

Quote:

Originally Posted by tr03bor (Post 1746718)
Also having this issue!

Go down to the Maintenance menu in the AdminCP and select View PHP Info

Then look to see if the mcrypt php module is loaded. If you don't see it (hit CTRL + f to run a quick search) then contact your hosting company and ask if they will add that PHP module.

http://us.php.net/mcrypt is a good resource if you have to do it yourself or provide a link to your hosting company to help clarify your request.

David

ludomatic 02-17-2009 03:03 PM

Hi! i can do work the vBTwitter....but in the "Thread Tool" i see 2 times the same option :S
I looking inside the code I did not find any reason to appear 2 times, somebody help me!! Thank you so much again!

https://vborg.vbsupport.ru/ https://vborg.vbsupport.ru/

dvsDave 02-17-2009 03:13 PM

Quote:

Originally Posted by ludomatic (Post 1746968)
Hi! i can do work the vBTwitter....but in the "Thread Tool" i see 2 times the same option :S
I looking inside the code I did not find any reason to appear 2 times, somebody help me!! Thank you so much again!

https://vborg.vbsupport.ru/ https://vborg.vbsupport.ru/

The developer is aware of this issue. It's being worked on. In the meantime... what theme are you using? It looks nice!

ludomatic 02-17-2009 04:29 PM

Quote:

Originally Posted by dvsDave (Post 1746978)
The developer is aware of this issue. It's being worked on. In the meantime... what theme are you using? It looks nice!

Is a theme that created the ex-admin of the site, the complete name is "MacAdicto Grey". I guess him has used other theme base and created this last. Hugs from Argentina and sorry for my poor English!

King Kovifor 02-17-2009 07:16 PM

Quote:

Originally Posted by ludomatic (Post 1746968)
Hi! i can do work the vBTwitter....but in the "Thread Tool" i see 2 times the same option :S
I looking inside the code I did not find any reason to appear 2 times, somebody help me!! Thank you so much again!

http://img.skitch.com/20090217-r8dgx...uc7uq27ctq.png http://img.skitch.com/20090217-a7s73...ymbjk5y6am.png

You didn't remove the template edits. They are listed in the first post for you to remove.

Quote:

Originally Posted by tr03bor (Post 1746721)
Can you add this to the registration page to? So new members can fill it in?

I can see about it.

Quote:

Originally Posted by tr03bor (Post 1746718)
Also having this issue!

I'm working on it.

Joe Gronlund 02-17-2009 07:40 PM

I still cannot reinstall, i uninstalled the last version with no errors at all?? KK ?? Do you need my admin user, pass???

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:
ALTER TABLE `user` ADD (`twitter_username` VARCHAR( 255 ) NOT NULL ,`twitter_password` VARCHAR( 255 ) NOT NULL);

MySQL Error  : Duplicate column name 'twitter_username'
Error Number  : 1060
Request Date  : Tuesday, February 17th 2009 @ 03:39:52 PM
Error Date    : Tuesday, February 17th 2009 @ 03:39:52 PM
Script        : http://www.windows7liveforums.com/admincp/plugin.php?do=productimport
Referrer      : http://www.windows7liveforums.com/admincp/plugin.php?do=productadd
IP Address    : 99.247.xxx.xxx
Username      : Joe Gronlund
Classname    : vB_Database
MySQL Version : 5.0.67-community


ragtek 02-17-2009 07:53 PM

Quote:

Originally Posted by Joe Gronlund (Post 1747204)
I still cannot reinstall, i uninstalled the last version with no errors at all?? KK ?? Do you need my admin user, pass???

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:
ALTER TABLE `user` ADD (`twitter_username` VARCHAR( 255 ) NOT NULL ,`twitter_password` VARCHAR( 255 ) NOT NULL);

MySQL Error  : Duplicate column name 'twitter_username'
Error Number  : 1060
Request Date  : Tuesday, February 17th 2009 @ 03:39:52 PM
Error Date    : Tuesday, February 17th 2009 @ 03:39:52 PM
Script        : http://www.windows7liveforums.com/admincp/plugin.php?do=productimport
Referrer      : http://www.windows7liveforums.com/admincp/plugin.php?do=productadd
IP Address    : 99.247.xxx.xxx
Username      : Joe Gronlund
Classname    : vB_Database
MySQL Version : 5.0.67-community


your true
there's something missing in the deinstallcode

King Kovifor 02-17-2009 08:19 PM

Quote:

Originally Posted by Joe Gronlund (Post 1747204)
I still cannot reinstall, i uninstalled the last version with no errors at all?? KK ?? Do you need my admin user, pass???

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:
ALTER TABLE `user` ADD (`twitter_username` VARCHAR( 255 ) NOT NULL ,`twitter_password` VARCHAR( 255 ) NOT NULL);

MySQL Error  : Duplicate column name 'twitter_username'
Error Number  : 1060
Request Date  : Tuesday, February 17th 2009 @ 03:39:52 PM
Error Date    : Tuesday, February 17th 2009 @ 03:39:52 PM
Script        : http://www.windows7liveforums.com/admincp/plugin.php?do=productimport
Referrer      : http://www.windows7liveforums.com/admincp/plugin.php?do=productadd
IP Address    : 99.247.xxx.xxx
Username      : Joe Gronlund
Classname    : vB_Database
MySQL Version : 5.0.67-community


This is still remnant of your original install (as with the bug you originally posted). Run this query and do the install again. :)

Also, be sure to add your prefix before user.

[sql]ALTER TABLE `user` DROP COLUMN `twitter_password`, DROP COLUMN `twitter_username`[/sql]

dvsDave 02-17-2009 11:38 PM

Alright, I finally got mcrypt installed.
Code:

mcrypt
mcrypt support
enabled
Version
2.5.8
Supported ciphers
cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes
cbc cfb ctr ecb ncfb nofb ofb stream

But I get a warning message at the top of the edit options page:

Code:

Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: The IV parameter must be as long as the blocksize in [path]/profile.php(1873) : eval()'d code on line 2
Update: I should note that everything appears to work, but the error is still there even after logging in to twitter.

Update 2: After I posted one tweet, the message went away.

Update 3: I'm also getting the multiplying "Tweet This Post!" issue.

King Kovifor 02-18-2009 12:12 AM

Quote:

Originally Posted by dvsDave (Post 1747390)
Alright, I finally got mcrypt installed.
Code:

mcrypt
mcrypt support
enabled
Version
2.5.8
Supported ciphers
cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
Supported modes
cbc cfb ctr ecb ncfb nofb ofb stream

But I get a warning message at the top of the edit options page:

Code:

Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: The IV parameter must be as long as the blocksize in [path]/profile.php(1873) : eval()'d code on line 2

Known error, add a password and it'll be fixed.

dvsDave 02-18-2009 01:51 AM

Quote:

Originally Posted by King Kovifor (Post 1747412)
Known error, add a password and it'll be fixed.

okay. Is there anyway to suppress that message if the twitter_password field is NULL ?

King Kovifor 02-18-2009 02:07 AM

Yes, I just haven't got it codes yet.

RedeemedWarrior 02-18-2009 09:00 AM

I'm getting that multi tweet message too


All times are GMT. The time now is 09:38 PM.

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.02024 seconds
  • Memory Usage 1,849KB
  • 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
  • (11)bbcode_code_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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