vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - WS vBulletin Tweet Poster (https://vborg.vbsupport.ru/showthread.php?t=236278)

LouiseWilson 08-20-2012 01:10 AM

I've been having some issue with this, from when I have moved host, I have the required things installed for this mod to work , and tried to debug but when I debug I get a null error at the top of the site any solutions to this ?

Mosh 08-20-2012 10:49 AM

Quote:

Originally Posted by acast (Post 2357180)
I think i discover the reason why dont post so many threads to twitter: the characters. My forum is spanish, so most of them have ?in their titles, so it seems that it's the reason. Any idea of a solution?

Try the answer to Question 16 in the FAQ section of the first post.

Mosh 08-20-2012 10:50 AM

Quote:

Originally Posted by LouiseWilson (Post 2358321)
I've been having some issue with this, from when I have moved host, I have the required things installed for this mod to work , and tried to debug but when I debug I get a null error at the top of the site any solutions to this ?

Try the answer to Question 4 in the FAQ section of the first post.

Mosh 08-20-2012 10:53 AM

Quote:

Originally Posted by nyenius (Post 2357763)
Oh btw, the hashtags didn't shown up on the tweets... is there any solving I've missed?

There are only two things I can think of, you have either not done Step 5 of the install instructions or this hacks code has been altered in some way to prevent hash tags from being added.

acast 08-20-2012 01:44 PM

Quote:

Originally Posted by Mosh (Post 2358416)
Try the answer to Question 16 in the FAQ section of the first post.

I missed that. Thankss.

In one of the link they said:



Quote:

For me it worked out that utf8_encode not worked properly in some cases, so i built this workaround to create tweets (below there is an extract with the interesting elements):

Code:

[...]

//html_entity_decode needs the Encoding Parameter!
       
$tweet = strip_tags(html_entity_decode($title,ENT_QUOTES,"UTF-8"));

$tweet = trim($tweet); // may help

[...]
       
//Check encoding again     

if (mb_detect_encoding($tweet, "auto") != 'UTF-8'){
        $tweet = utf8_encode($tweet);
}
       
//TRANSLITERATION via iconv
//
// Important: Use setlocale!
       
    if (function_exists('iconv') && tweet_use_translit === true) { 
        setlocale(LC_CTYPE, 'de_DE.utf8');
        $tweet = @iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', $tweet);
        } 
[...]



That would work for me? Where i have to put that?

LouiseWilson 08-21-2012 03:35 PM

thanks for the response Mosh, but the application is fine any other ideas ?

hype901 08-28-2012 09:31 PM

This worked like a champ unlike others I tried!

LouiseWilson 08-30-2012 04:46 AM

I'm still getting null when I'm trying to see what the issue is with this mod, can anyone see a problem with my twitter settings.

I've recreated a new application, but it seems to not work any longer it did when I first Installed it, then moved host then it stopped.

https://vborg.vbsupport.ru/external/2012/08/16.png

Videx 08-30-2012 12:54 PM

If all it took was a move to a new host to stop it, I would first suspect some server security settings blocking things. If it's a shared server - or maybe even a vps - try contacting support. If it's your own server, try checking your security settings.

Also, don't use any shortening when testing.

LouiseWilson 08-30-2012 02:05 PM

I've testing over and over again with firewall off, mod security etc etc all I'm seeing in the error logs are

[30-Aug-2012 12:29:41] CSRF state token does not match one provided.
[30-Aug-2012 12:42:42] CSRF state token does not match one provided.
[30-Aug-2012 12:54:55] CSRF state token does not match one provided.

I know it tries to connect with twitter as I tried the old user & password authentication to post to twitter which it would not allow for the obvious reasons, so I'm not being blocked
I'm just out of Ideas now


All times are GMT. The time now is 12:06 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.01988 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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