Go Back   vb.org Archive > Search Forums
FAQ Community Calendar Today's Posts Search

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: buro9
Forum: Modification Graveyard 02-07-2010, 07:33 AM
Replies: 637
Views: 133,568
Posted By buro9
You would need to identify which hook is in the...

You would need to identify which hook is in the script that vBulletin is using to consume the RSS. This usually just means opening the .php file that is used to consume the RSS and then reading the...
Forum: Modification Graveyard 01-31-2010, 01:54 PM
Replies: 637
Views: 133,568
Posted By buro9
See this bit: $shortUrl =...

See this bit:
$shortUrl = 'http://www.yourforumsdomain.com/showthread.php?t='.$newpost[threadid];I'm pretty sure you've set it to:
$shortUrl =...
Forum: Modification Graveyard 01-31-2010, 01:40 PM
Replies: 637
Views: 133,568
Posted By buro9
Do you have your forums in a different folder?...

Do you have your forums in a different folder? Did you adjust the URL to match your forums?

1) Do you have your forums in your forum root? Did you adjust the URL to match your site?

2) There's...
Forum: Modification Graveyard 01-30-2010, 08:49 AM
Replies: 637
Views: 133,568
Posted By buro9
What fun getting this stuff working. So it...

What fun getting this stuff working.

So it all seems to boil down to making sure:
1) CURL is installed and enabled for PHP
2) JSON is enabled
3) You've put the right values in the plugin
4)...
Forum: Modification Graveyard 01-28-2010, 09:29 PM
Replies: 637
Views: 133,568
Posted By buro9
Feel free to PM me your plugin PHP and I'll take...

Feel free to PM me your plugin PHP and I'll take a look.

Do you not get any errors at all visible?
Forum: Modification Graveyard 01-28-2010, 08:40 PM
Replies: 637
Views: 133,568
Posted By buro9
Looks like you don't have CURL installed as a...

Looks like you don't have CURL installed as a module in your PHP installation.

Brilliant.

Your config is correct, so it's not that.

Can you check that JSON is enabled in PHP and that you...
Forum: Modification Graveyard 01-28-2010, 03:35 PM
Replies: 637
Views: 133,568
Posted By buro9
That certainly looks extremely promising. ...

That certainly looks extremely promising.

Indeed, on my server json support is enabled.
Forum: Modification Graveyard 01-28-2010, 03:22 PM
Replies: 637
Views: 133,568
Posted By buro9
@Flep... I've got it: ...

@Flep... I've got it:
http://www.php.net/ChangeLog-4.php

"Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are enabled." as of PHP 4.4.4/5.1.5."

You're on a shared host...
Forum: Modification Graveyard 01-28-2010, 03:16 PM
Replies: 637
Views: 133,568
Posted By buro9
Answered in post 52. ...

Answered in post 52.
https://vborg.vbsupport.ru/showpost.php?p=1968963&postcount=52

Not that you have to use bit.ly, but it helps. And Google follows the bit.ly 301's so you do earn the links in...
Forum: Modification Graveyard 01-28-2010, 02:45 PM
Replies: 637
Views: 133,568
Posted By buro9
Precisely. There is no way that you have a...

Precisely.

There is no way that you have a forum in the database with the id of zero... so nothing is excluded by default.

But if you do want to exclude, just build that array with the id's of...
Forum: Modification Graveyard 01-28-2010, 02:26 PM
Replies: 637
Views: 133,568
Posted By buro9
@Nordinho and @Flep I've updated the...

@Nordinho and @Flep

I've updated the instructions so that disabling bitly and using the long version of the URL is trivial.

Just set $useBitly = false; where it is currently true.
Forum: Modification Graveyard 01-28-2010, 02:24 PM
Replies: 637
Views: 133,568
Posted By buro9
Post #56 answers it, and an example is in the...

Post #56 answers it, and an example is in the instructions:

So in that example any new threads that are started within forum 7 or forum 12 won't be tweeted.

Does this not make sense?
Forum: Modification Graveyard 01-28-2010, 02:14 PM
Replies: 637
Views: 133,568
Posted By buro9
The array EXCLUDES forums. Hence it being...

The array EXCLUDES forums.

Hence it being called $excludedForums.

So if you have admin forums, or other non-public forums, you can prevent these from being tweeted.

Simples.

Explanation...
Forum: Modification Graveyard 01-28-2010, 02:13 PM
Replies: 637
Views: 133,568
Posted By buro9
The first one looks correct, the second on is...

The first one looks correct, the second on is wrong.

bit.ly expects your username (not email) and your api key.

I wouldn't be posting either your API key or passwords on here btw... that's...
Forum: Modification Graveyard 01-28-2010, 02:08 PM
Replies: 637
Views: 133,568
Posted By buro9
Flep, you're seeing the same issue as Nordinho,...

Flep, you're seeing the same issue as Nordinho, though I have no idea why it happens.

It's basically that PHP provides a built-in function called json_decode. That is failing even though the JSON...
Forum: Modification Graveyard 01-28-2010, 02:04 PM
Replies: 637
Views: 133,568
Posted By buro9
Nope... you must have made a syntax error. ...

Nope... you must have made a syntax error.

Bit.ly is being used to make sure your URLs don't break the 140 chars limit for the whole message. A prefix could take 10 chars, a thread title up to 85,...
Forum: Modification Graveyard 01-27-2010, 09:01 PM
Replies: 637
Views: 133,568
Posted By buro9
I don't think it is, it errors in the bit.ly...

I don't think it is, it errors in the bit.ly library when it tries to parse the JSON.

The JSON is fine, it's the call to deserialise it that fails.

This:...
Forum: Modification Graveyard 01-27-2010, 08:43 PM
Replies: 637
Views: 133,568
Posted By buro9
Strange... it's working perfectly fine. What...

Strange... it's working perfectly fine.

What version of PHP are you using?
Forum: Modification Graveyard 01-27-2010, 08:37 PM
Replies: 637
Views: 133,568
Posted By buro9
Basically this: echo $response; exit(); ...

Basically this:

echo $response;
exit();


You need to see what is coming back before the exception gets thrown.
Forum: Modification Graveyard 01-27-2010, 08:07 PM
Replies: 637
Views: 133,568
Posted By buro9
Scary. You are having fun. In bitly.php...

Scary. You are having fun.

In bitly.php where you have these lines:
// we expect JSON so decode it
$json = @json_decode($response, true); Could you echo $response and then return; out of there...
Forum: Modification Graveyard 01-27-2010, 07:45 PM
Replies: 637
Views: 133,568
Posted By buro9
LbR PM'd me... he'd put the username between the...

LbR PM'd me... he'd put the username between the < >.

I've just updated the hack instructions to show examples... the details you enter are just PHP strings and should be single-quoted.
Forum: Modification Graveyard 01-27-2010, 07:39 PM
Replies: 637
Views: 133,568
Posted By buro9
The live aspect of it.

The live aspect of it.
Forum: Modification Graveyard 01-27-2010, 07:33 PM
Replies: 637
Views: 133,568
Posted By buro9
My fault... it should've been this for bitly.php:...

My fault... it should've been this for bitly.php:


$no_hack_needed = (ini_get('safe_mode') !== '1' && ini_get('open_basedir') === false);
if ($no_hack_needed) {
...
Forum: Modification Graveyard 01-27-2010, 07:25 PM
Replies: 637
Views: 133,568
Posted By buro9
Did you put your domain in there?

Did you put your domain in there?
Forum: Modification Graveyard 01-27-2010, 07:18 PM
Replies: 637
Views: 133,568
Posted By buro9
I've just made it clearer by splitting it out,...

I've just made it clearer by splitting it out, and I've set it to exclude nothing by default.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT. The time now is 02:28 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.04966 seconds
  • Memory Usage 2,089KB
  • 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)footer
  • (1)forumjump
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (2)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)search_results
  • (25)search_results_postbit
  • (1)spacer_close
  • (1)spacer_open
  • (75)threadbit_pagelink 

Phrase Groups Available:
  • global
  • inlinemod
  • prefix
  • search
Included Files:
  • ./search.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/functions_search.php
  • ./includes/functions_databuild.php
  • ./includes/functions_forumlist.php
  • ./includes/functions_misc.php
  • ./includes/functions_forumdisplay.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • search_before_process
  • search_start
  • search_results_start
  • search_results_query_posts
  • search_results_prebits
  • threadbit_process
  • search_results_postbit
  • pagenav_page
  • pagenav_complete
  • forumjump
  • search_complete
  • navbits
  • navbits_complete