Register Members List Search Today's Posts Mark Forums Read

Showing results 1 to 25 of 150
Search took 0.02 seconds.
Search: Posts Made By: buro9
Forum: Modification Graveyard 07 Feb 2010, 09:33
Replies: 637
Views: 129,578
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 31 Jan 2010, 15:54
Replies: 637
Views: 129,578
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 31 Jan 2010, 15:40
Replies: 637
Views: 129,578
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 30 Jan 2010, 10:49
Replies: 637
Views: 129,578
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 28 Jan 2010, 23:29
Replies: 637
Views: 129,578
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 28 Jan 2010, 22:40
Replies: 637
Views: 129,578
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 28 Jan 2010, 17:35
Replies: 637
Views: 129,578
Posted By buro9
That certainly looks extremely promising. ...

That certainly looks extremely promising.

Indeed, on my server json support is enabled.
Forum: Modification Graveyard 28 Jan 2010, 17:22
Replies: 637
Views: 129,578
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 28 Jan 2010, 17:16
Replies: 637
Views: 129,578
Posted By buro9
Answered in post 52. ...

Answered in post 52.
http://www.vbulletin.org/forum/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...
Forum: Modification Graveyard 28 Jan 2010, 16:45
Replies: 637
Views: 129,578
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 28 Jan 2010, 16:26
Replies: 637
Views: 129,578
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 28 Jan 2010, 16:24
Replies: 637
Views: 129,578
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 28 Jan 2010, 16:14
Replies: 637
Views: 129,578
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 28 Jan 2010, 16:13
Replies: 637
Views: 129,578
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 28 Jan 2010, 16:08
Replies: 637
Views: 129,578
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 28 Jan 2010, 16:04
Replies: 637
Views: 129,578
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 27 Jan 2010, 23:01
Replies: 637
Views: 129,578
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 27 Jan 2010, 22:43
Replies: 637
Views: 129,578
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 27 Jan 2010, 22:37
Replies: 637
Views: 129,578
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 27 Jan 2010, 22:07
Replies: 637
Views: 129,578
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 27 Jan 2010, 21:45
Replies: 637
Views: 129,578
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 27 Jan 2010, 21:39
Replies: 637
Views: 129,578
Posted By buro9
The live aspect of it.

The live aspect of it.
Forum: Modification Graveyard 27 Jan 2010, 21:33
Replies: 637
Views: 129,578
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 27 Jan 2010, 21:25
Replies: 637
Views: 129,578
Posted By buro9
Did you put your domain in there?

Did you put your domain in there?
Forum: Modification Graveyard 27 Jan 2010, 21:18
Replies: 637
Views: 129,578
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 150

 

New To Site? Need Help?

All times are GMT. The time now is 14:05.

Layout Options | Width: Wide Color: