PDA

View Full Version : New Posting Features - [DBTech] Tweet Poster v1 (vB4)


DragonByte Tech
08-02-2013, 10:00 PM
Instantly share new threads posted in select forums to Twitter with this nifty modification. Supports adding hash tags and automatically trims your thread titles to fit within the 140 character limit.

Why use Tweet Poster?

Tweet Poster allows your users to stay up to date with your forums' news even while they're not at the computer, by having new threads posted in certain forums automatically post to your Twitter feed.
Additionally, search engines tend to prioritise links found on social media websites.

You can also optionally append hash tags to your automatic tweets, further increasing your exposure by making sure your tweets show up in searches for specific trends.


-------------------------------------------------------------------------------------------

Other addons available @ www.DragonByte-Tech.com/forum (http://www.DragonByte-Tech.com/forum.php)
Support posted at our forum is generally answered much quicker.

-------------------------------------------------------------------------------------------

If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified by us whenever new updates are available.

* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps us know how many people are using our work, giving us extra incentive to provide more features and new modifications.

We appreciate the support!

-------------------------------------------------------------------------------------------

Feature List

Source Forums

Select one or more forums to auto-post new threads from
Works with our free Auto Discussion Thread Creator (http://www.dragonbyte-tech.com/product/133-auto-discussion-thread-creator) product


Hash Tags

Fill out hash tags to be appended to your tweet
Target your tweets to trends or topics


Tweet

Displays thread title, link to thread and your defined hash tags
Intelligently trims thread title to fit within 140 char limit depending on your hash tags


General / Other

Display version number
Enter your Affiliate ID
Enable / Disable the mod


-------------------------------------------------------------------------------------------

This mod displays a copyright notification in the footer on showthread pages, which includes:

1 Link to DragonByte Technologies homepage
1 Link to Product Description page of this modification

tuRiver
08-03-2013, 06:24 PM
Is it possible to limit posting new threads only if author 's got more than "x" posts...

To avoid spam...

Thanks

DragonByte Tech
08-03-2013, 06:33 PM
It was originally designed to work with forums that have "news forums" that only staff can post via, so not at this time. You can see the full range of options in the screenshots :)

Feel free to post a new Feature Request thread here: http://www.dragonbyte-tech.com/f234/ and we'll take it into consideration for future versions :)


Fillip

egyptsons
08-04-2013, 12:06 AM
Installed :)

Thank you
I wish i can find same for Facebook ( Auto poster )

tuRiver
08-04-2013, 05:44 PM
I can't make it work, i've filled all fine in admincp.

Nevermind, it was a permission setting

tuRiver
08-04-2013, 06:12 PM
It was originally designed to work with forums that have "news forums" that only staff can post via, so not at this time. You can see the full range of options in the screenshots :)

Feel free to post a new Feature Request thread here: http://www.dragonbyte-tech.com/f234/ and we'll take it into consideration for future versions :)


Fillip

Great Filip thanks.

I've managed to edit threadfpdata_postsave.php :)

puertoblack2003
08-04-2013, 07:33 PM
am i missing something? it's not working.I did a test tweet and it did not come through.


update: php fatal error: cannot redeclare class twitter in twitter.php line 11

puertoblack2003
08-07-2013, 04:10 AM
am i missing something? it's not working.I did a test tweet and it did not come through.


update: php fatal error: cannot redeclare class twitter in twitter.php line 11


Nevermined... I got a working mod here https://vborg.vbsupport.ru/showthread.php?t=236278

kingMOB
08-07-2013, 10:21 AM
Nice modification, hope it works with the Instant New Thread Modification (https://vborg.vbsupport.ru/showthread.php?t=243427).

But, a little problem here, in the "Source Forums" option, there's no options at all, just a "forums:all" text. vBulletin 4.08.

DragonByte Tech
08-07-2013, 11:27 AM
Nevermined... I got a working mod hereI'm sorry to hear you are unwilling to attempt to resolve the mod conflict you're experiencing (ref. the thread @ our forum). If another user surfaces that is willing to answer our questions we'll be able to resolve it :)

Nice modification, hope it works with the Instant New Thread Modification (https://vborg.vbsupport.ru/showthread.php?t=243427).We've not tested it with that modification, but presuming it uses the thread DataManager then it will work :)

But, a little problem here, in the "Source Forums" option, there's no options at all, just a "forums:all" text. vBulletin 4.08.Your vB version is probably too old to support the forum selector. Please try upgrading to vB 4.1.12 or vB 4.2.0 :)


@all: This Friday we'll be releasing a Patch Level 1 that fixes issues with posting special characters (such as Arabic text) - or you can grab a hotfixed version @ our site right now :)



Fillip

kingMOB
08-07-2013, 01:23 PM
Your vB version is probably too old to support the forum selector. Please try upgrading to vB 4.1.12 or vB 4.2.0 :)

Hi,

thanks for the response, but, I'll not upgrade my forum so soon (templates issues). There's nothing that could be done?

DragonByte Tech
08-07-2013, 01:33 PM
EDIT: You may be able to add the feature to your vB version by editing /includes/adminfunctions_options.php, I'll download 4.0.8 and see if I can find the changes needed.

EDIT 2: Find:
// just a label
default:
{
$handled = false;
($hook = vBulletinHook::fetch_hook('admin_options_print')) ? eval($hook) : false;
if (!$handled)
{
eval("\$right = \"<div id=\\\"ctrl_setting[$setting[varname]]\\\">$setting[optioncode]</div>\";");
print_label_row($description, $right, '', 'top', $name, 50);
}
}


Add above case 'forums:all':
{
$array = construct_forum_chooser_options(-1,$vbphrase['all']);
$size = sizeof($array);

$vbphrase[forum_is_closed_for_posting] = $vbphrase[closed];
print_select_row($description, $name.'[]', $array, unserialize($setting['value']), false, ($size > 10 ? 10 : $size), true);
}
break;

case 'forums:none':
{
$array = construct_forum_chooser_options(0,$vbphrase['none']);
$size = sizeof($array);

$vbphrase[forum_is_closed_for_posting] = $vbphrase[closed];
print_select_row($description, $name.'[]', $array, unserialize($setting['value']), false, ($size > 10 ? 10 : $size), true);
}
break;

Find else if (preg_match('#^usergroup:[0-9]+$#', $oldsetting['optioncode']))
{
// serialize the array of usergroup inputs
if (!is_array($settings["$oldsetting[varname]"]))
{
$settings["$oldsetting[varname]"] = array();
}
$settings["$oldsetting[varname]"] = array_map('intval', $settings["$oldsetting[varname]"]);
$settings["$oldsetting[varname]"] = serialize($settings["$oldsetting[varname]"]);
}


Replace with else if (preg_match('#^(usergroup|forum)s?:([0-9]+|all|none)$#', $oldsetting['optioncode']))
{
// serialize the array of usergroup inputs
if (!is_array($settings["$oldsetting[varname]"]))
{
$settings["$oldsetting[varname]"] = array();
}
$settings["$oldsetting[varname]"] = array_map('intval', $settings["$oldsetting[varname]"]);
$settings["$oldsetting[varname]"] = serialize($settings["$oldsetting[varname]"]);
}


This may or may not work and is entirely untested / unsupported!

Fillip

puertoblack2003
08-07-2013, 03:38 PM
I'm sorry to hear you are unwilling to attempt to resolve the mod conflict you're experiencing (ref. the thread @ our forum). If another user surfaces that is willing to answer our questions we'll be able to resolve it :)

Fillip

I gave you what i know.Even server log info.If that didn't help then the mod needs to be re-visited.You left out few important feature that you should have posted that others should look into when installing the this mod

* Make sure that the server is running json
* Make sure server is running Curl and openssl is enable

When in twitter dev console make sure to enable read/write feature is selected.Because in read option.It will not allow your post to show up in Twitter.And that what i explained when nothing was showing up in twitter when i did a test post.

Good Luck and Have a Great Day !!!!

DragonByte Tech
08-07-2013, 03:47 PM
I gave you what i know.Even server log info.If that didn't help then the mod needs to be re-visited.Unfortunately that's not how it works :(

You left multiple questions un-answered, including follow-up questions to your response.

If we had been unable to resolve your issue remotely, I would have offered to visit your site and look into it there :)

You left out few important feature that you should have posted that others should look into when installing the this mod

* Make sure that the server is running json
* Make sure server is running Curl and openssl is enableI was unaware that there existed servers without these features enabled. I will look into adding pre-install checks to ensure these features are available before the modification will install :)

When in twitter dev console make sure to enable read/write feature is selected.Because in read option.It will not allow your post to show up in Twitter.And that what i explained when nothing was showing up in twitter when i did a test post.This is already explained in the installation instructions (Section 4, Step 4-5) :)


Fillip

kingMOB
08-07-2013, 11:16 PM
EDIT: You may be able to add the feature to your vB version by editing /includes/adminfunctions_options.php, I'll download 4.0.8 and see if I can find the changes needed.
Fillip

Thank you Fillip, it worked =)

Unfortunately the plugin is not compatible with Instant New Thread Notification (https://vborg.vbsupport.ru/showthread.php?t=243427). As soon as INTN is activated, after submitting a new thread that will be tweeted, it'll be created, tweeted and instantly notified. But there is no redirect to the created thread, the screen will simply hang on in the thread form screen.

Since there's no more support to the other mod (the code is re-usable), there's anything that could be done to solve this?

DragonByte Tech
08-07-2013, 11:35 PM
I cannot download that modification to test it so I couldn't say, sorry :(

There are no files attached to that modification.


Fillip

kingMOB
08-08-2013, 02:48 AM
I cannot download that modification to test it so I couldn't say, sorry :(

There are no files attached to that modification.


Fillip

Sorry, this is the right link (https://vborg.vbsupport.ru/showthread.php?t=248617).

final kaoss
08-08-2013, 04:23 PM
Thanks, installing the dbtech tweeter.

DragonByte Tech
08-10-2013, 03:04 PM
Sorry, this is the right link (https://vborg.vbsupport.ru/showthread.php?t=248617).The code from that modification runs after all Tweet Poster code (as you yourself attest to) so if that mod disables the redirect then that's something you should take up with the author of that modification.

If you have display_errors set to On in your php.ini you may be able to tell if there's any PHP errors preventing the redirect.


Fillip

DragonByte Tech
08-10-2013, 03:05 PM
<font size="3">Tweet Poster v1.0.0 Patch Level 1</font>
Change: The XML file will no longer allow product installation if required features are not supported
Fix: No longer posts weird symbols in lieu of non-Latin characters like Arabic writing
Fix: Fixed an issue with "cannot redeclare class Twitter" in certain scenarios

Fillip

kingMOB
08-18-2013, 01:24 PM
The code from that modification runs after all Tweet Poster code (as you yourself attest to) so if that mod disables the redirect then that's something you should take up with the author of that modification.

If you have display_errors set to On in your php.ini you may be able to tell if there's any PHP errors preventing the redirect.


Fillip

Hi Fillip,

I think I found the problem, it seems that the Instant New Thread Notification plugin, when activated with the Tweet plugin, will only redirect to the created topic when it finishes sending the email notifications to all subscribed users. This could take some time when there are a lot of subscribed users.

Since there's no more support in the INTN plugin (it is Re-usable Code now), there's something that could be done so it releases the topic before the process of sending the emails?

ozzy47
08-18-2013, 02:00 PM
Just for reference, the mod he is talking about is here, https://vborg.vbsupport.ru/showthread.php?t=248617&highlight=instant

DragonByte Tech
08-21-2013, 03:18 PM
Hi Fillip,

I think I found the problem, it seems that the Instant New Thread Notification plugin, when activated with the Tweet plugin, will only redirect to the created topic when it finishes sending the email notifications to all subscribed users. This could take some time when there are a lot of subscribed users.

Since there's no more support in the INTN plugin (it is Re-usable Code now), there's something that could be done so it releases the topic before the process of sending the emails?This is exactly the reason why instant thread notifications are not implemented in vBulletin, so unfortunately there's nothing that I can see that can be done :(

In either case, this isn't the correct thread to discuss that mod :)


Fillip

kingMOB
08-22-2013, 12:14 AM
This is exactly the reason why instant thread notifications are not implemented in vBulletin, so unfortunately there's nothing that I can see that can be done :(

In either case, this isn't the correct thread to discuss that mod :)


Fillip

I understand, anyway, thank you very much, hope someone could take the development of that plugin.

On a side note, this latest version of the Tweet Poster solved something that plagued other plugins in the past: an incompatibility issue with twitter and topics with accentuation in the titles that prevent them to be tweeted. This is working now =)

New Joe
09-09-2013, 02:07 AM
Would love to have something like this for Facebook too

jjohns12
10-04-2013, 05:18 PM
Works great Thank You!

heyzeus909
01-06-2014, 03:51 AM
Works wonderful, thank you.

Option to include [Thread Prefix] in the tweet, please.

DragonByte Tech
01-06-2014, 05:26 PM
If you post this at our support forums here: http://www.dragonbyte-tech.com/f237 we'll be able to take it into consideration for future versions :)


Fillip

craigvm
01-31-2014, 07:53 PM
when i post a thread i just get a blank screen with this at the top
"Read-only application cannot POST."

BGObsession
01-31-2014, 11:38 PM
What a great little mod. Very nice.

forums55
05-31-2014, 09:29 AM
When a new Thread is created the Twitter post creates this text for the link: http://www.vBulletin-site.com/showthread.php?t=x

It is possible this text to be the Thread link text instead? Would look much better SEO-wise.

DragonByte Tech
06-01-2014, 03:20 PM
We'll look into it for a future version :)


Fillip

looker2010
06-13-2014, 04:13 PM
just installed. Tried test new thread and nothing happened over on our twitter. Also received no errors. can you advise?

jrw422dx
06-15-2014, 04:40 PM
I see this is for auto posting to twitter. I am looking for a twitter plug in similar to the facebook that has a "like" or "post to" similar to how Face book works and not automatically post to twitter when you make a new post or thread. Am I making sense?

I want to click on a twitter button to tweet just that particular post I want to tweet out.

Will this do that and if not can someone pointy me to a current one that will work with the twitter updates. I have read on some that the hack stopped working.

Oh and I am running 4.2.2 and fixing to upgrade to 5.0 Please advise if there is something that is available that I am looking for.

Jon

DragonByte Tech
06-15-2014, 11:24 PM
just installed. Tried test new thread and nothing happened over on our twitter. Also received no errors. can you advise?Make sure you have followed the steps to create an app on your Twitter account, and given it permission to post new tweets.

I see this is for auto posting to twitter. I am looking for a twitter plug in similar to the facebook that has a "like" or "post to" similar to how Face book works and not automatically post to twitter when you make a new post or thread. Am I making sense?Our DragonByte SEO product has social sharing features, but if you're not looking for URL rewrites as well, it may be overkill for your needs. BOP5 has a mod dedicated to social sharing, though I don't recall the name of it just now.


Fillip

jrw422dx
06-16-2014, 09:54 AM
BOP5 has a mod dedicated to social sharing, though I don't recall the name of it just now.


Anyone know where this is? I did a search and found nothing. Most everything I have looked at in the mods say it wont work with 4.2.2 or is not what I am looking for. Any one up to the task of creating it?

Oh I did find one the maybe will work but you have to use that tiny url service and that is something else I am not fond of. :D

Jon

watershed
08-07-2014, 05:35 PM
Hey!

First of all, great mod - have been using it for a while on a news website and it works perfectly with twitter.

I was wondering - would it be possible to limit this to specific users? that only when they post a message it will be tweeted?

Could be of enormous use... thanks!

RisingGlow
08-25-2014, 05:21 AM
How do I include prefixes for tweeting?

DragonByte Tech
12-01-2014, 06:57 PM
Tweet Poster v1.0.1

New Features:

DragonByte SEO Integration

URLs posted to Twitter will now use DragonByte SEO's Thread URL format. Requires DragonByte SEO installed.



Fillip

Marv
12-03-2014, 06:50 AM
Hey Fillip,

a little bird sang me a song this morning, there would be a facebookPoster v0.x in the pipe. Any chance to get an ETA on that? Such a poster would be something I (almost) would kill for :D

Marv
12-03-2014, 08:10 AM
Oups.... :erm:

A little WARNING:
this mod posts everything to twitter - unfortunal moderated posts, too. Especially when you have tpearls mod Advanced Guest Posting and Registration (https://vborg.vbsupport.ru/showthread.php?t=312323) installed - that holds tons of spampostings in the moderation queue unless they become deleted by the built in routine -, they?ll be posted to twitter in realtime. You can only stop that by deactivating the twitterposter-mod, until DBTech is solving that problem.

Fillip, please have a look into this asap, that posts in moderation queue are ignored for posting to twitter.

DrPrepper
02-06-2015, 07:25 PM
@DragonByte Tech Plugin is not working out of the box for me ...

Since our previous plugin 'WS vBulletin Tweet Poster' stopped posting about a month ago (still don't know why, even created new twitter app to test) I decided to switch to this one.

Downloaded, installed & configured version 1.0.1.
But after creating a first new thread in one of the subfora that was enabled in this plugin,
I immediately get a blank page saying "Invalid Response."

No idea what went wrong, also no entry in the httpd error logs.
Anyone any clue?
Thanks!

Lexor
02-09-2015, 03:48 PM
I have the same Problem.

DragonByte Tech
02-11-2015, 10:00 PM
Hey Fillip,

a little bird sang me a song this morning, there would be a facebookPoster v0.x in the pipe. Any chance to get an ETA on that? Such a poster would be something I (almost) would kill for :DWe have no plans on creating a Facebook Poster mod.

Oups.... :erm:

A little WARNING:
this mod posts everything to twitter - unfortunal moderated posts, too. Especially when you have tpearls mod Advanced Guest Posting and Registration (https://vborg.vbsupport.ru/showthread.php?t=312323) installed - that holds tons of spampostings in the moderation queue unless they become deleted by the built in routine -, they?ll be posted to twitter in realtime. You can only stop that by deactivating the twitterposter-mod, until DBTech is solving that problem.

Fillip, please have a look into this asap, that posts in moderation queue are ignored for posting to twitter.This mod is only intended to be enabled for News forums, which should be restricted to your staff & editorial news groups. Additionally, this mod already does exclude threads that are flagged as under moderation. If you have an automated spam-detection script, it's likely this script runs after our mod, which is outside our control.

I would recommend restricting this mod to your News section, and close the News section off from guests & unauthorised users :)

@DragonByte Tech Plugin is not working out of the box for me ...

Since our previous plugin 'WS vBulletin Tweet Poster' stopped posting about a month ago (still don't know why, even created new twitter app to test) I decided to switch to this one.

Downloaded, installed & configured version 1.0.1.
But after creating a first new thread in one of the subfora that was enabled in this plugin,
I immediately get a blank page saying "Invalid Response."

No idea what went wrong, also no entry in the httpd error logs.
Anyone any clue?
Thanks!

I have the same Problem.

Have you set up the app with Twitter? You can't use the same app credentials as were used for other apps.


Fillip

DrPrepper
02-16-2015, 09:38 AM
Have you set up the app with Twitter? You can't use the same app credentials as were used for other apps.


Yes, created a new app for it, with it's own API keys etc ...

Do you think that the "Invalid Response." comes from your plugin, or from Twitter? Any idea how I can debug this?

Thanks!

elazanak
02-22-2015, 11:27 AM
My issue is that if someone posts something above 140 characters for a thread title they get a warning about that. This confuses users and then they resubmit the thread. Is there a way to eliminate this message from appearing?

DragonByte Tech
02-22-2015, 08:47 PM
What does the warning say?

Fillip

pityocamptes
05-18-2015, 11:39 PM
Getting an error when I post, not sure if this is affecting others:

Fatal error: Class 'DBSEO_Url_Create' not found in XXXXXXXXXXXXXX/dbtech/tweetposter/hooks/threadfpdata_postsave.php on line 74

DragonByte Tech
05-18-2015, 11:58 PM
You need to update DBSEO to the latest version.

Fillip

pityocamptes
05-19-2015, 04:27 PM
You need to update DBSEO to the latest version.


Fillip

Thanks. Well that sucks, didn't want to have to buy SEO again... Looks like I'm not using this mod... :(

pityocamptes
05-20-2015, 01:50 AM
Thanks. Well that sucks, didn't want to have to buy SEO again... Looks like I'm not using this mod... :(

OK, bought the new SEO version. Not getting the error, but nothing posting to twitter...is this an immediate posting or based on a cron job schedule? thanks...

pityocamptes
05-20-2015, 10:56 PM
Ok, seems to be working now!! Thanks!

RaYdeN.ADM
11-03-2017, 01:24 PM
Does anyone know a plugin like this that publishes on fan page of facebook? Thank you

scottkoz20
11-03-2017, 05:13 PM
Does anyone know a plugin like this that publishes on fan page of facebook? Thank you

you can publish content from Twitter to a designated facebook page


https://twitter.com/settings/applications

then setup Facebook Connect

RaYdeN.ADM
11-03-2017, 05:29 PM
you can publish content from Twitter to a designated facebook page


https://twitter.com/settings/applications

then setup Facebook Connect

Two weeks ago I try but it does not work, it returns the following error: "Facebook report: an error, the error has been reported to our engineering team, please try again, as it could be a temporary problem."

I already test with different accounts, they all give me error.

The facebook go to the twitter if it works, but of twitter at facebook no.

RaYdeN.ADM
12-22-2017, 11:05 PM
Hi. There are already several times that twitter blocked me the application because I have a lot of activity in my forums publishing new topics. Any solution?, Is that they already warned that if the activity continues they will permanent block the account.

25 - 40 post article per second... approximate

DragonByte Tech
12-22-2017, 11:12 PM
Hi. There are already several times that twitter blocked me the application because I have a lot of activity in my forums publishing new topics. Any solution?, Is that they already warned that if the activity continues they will permanent block the account.

25 - 40 post article per second... approximate

Please do not configure this mod to run in every forum. It is not intended for that purpose, you should only configure it to run in news forums that you (the administrator) post regarding site updates.


Fillip

RaYdeN.ADM
12-22-2017, 11:25 PM
Please do not configure this mod to run in every forum. It is not intended for that purpose, you should only configure it to run in news forums that you (the administrator) post regarding site updates.


Fillip

we big staff for publishing news all time on variously category and RSS Feeds automaticed T.T

DragonByte Tech
12-22-2017, 11:26 PM
we big staff for publishing news all time on variously category and RSS Feeds automaticed T.T

Then you need to stop the mod from tweeting from the RSS feed forum :)

Please understand that we do not own or control Twitter, so if they want to block you for spamming, then they will be able to do so. It is your responsibility to follow Twitter's rules.


Fillip

RaYdeN.ADM
12-22-2017, 11:27 PM
Ok, I will modify the plugin on my own. Thank you as well.

BGObsession
03-23-2019, 12:05 AM
Fillip,
I have been using this mod for years and it works great. But I have never been able to figure out why it doesn't post my Twitter avatar with automated posts? Is that a limitation of the mod or is there a tweak I can make so that my avatar shows up. Here's how new threads are displayed currently.

https://vborg.vbsupport.ru/external/2019/03/2.png

kether1
11-17-2019, 11:22 PM
Fillip, will you be making this for VB5?

Thank you!
K

Dave
11-17-2019, 11:34 PM
Fillip, will you be making this for VB5?

Thank you!
K

I'm pretty sure they no longer develop new plugins for vBulletin, just the occasional update. Based on the post history and the fact that they haven't been on this forum for a few months, they mostly provide support on their own forum as well.

kether1
11-18-2019, 11:48 PM
I'm pretty sure they no longer develop new plugins for vBulletin, just the occasional update. Based on the post history and the fact that they haven't been on this forum for a few months, they mostly provide support on their own forum as well.

Thank you. I appreciate your response.
K