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 - [DBTech] Tweet Poster v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=300794)

DragonByte Tech 08-02-2013 10:00 PM

[DBTech] Tweet Poster v1 (vB4)
 
1 Attachment(s)
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
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
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

Quote:

Originally Posted by DragonByte Tech (Post 2436909)
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

Quote:

Originally Posted by puertoblack2003 (Post 2437125)
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.

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

Quote:

Originally Posted by puertoblack2003 (Post 2437590)
Nevermined... I got a working mod here

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 :)

Quote:

Originally Posted by kingMOB (Post 2437620)
Nice modification, hope it works with the Instant New Thread Modification.

We've not tested it with that modification, but presuming it uses the thread DataManager then it will work :)

Quote:

Originally Posted by kingMOB (Post 2437620)
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

Quote:

Originally Posted by DragonByte Tech (Post 2437623)
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:
PHP Code:

        // 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'$name50);
            }
        } 

Add above
PHP Code:

        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.'[]'$arrayunserialize($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.'[]'$arrayunserialize($setting['value']), false, ($size 10 10 $size), true);
        }
        break; 

Find
PHP Code:

                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
PHP Code:

                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

Quote:

Originally Posted by DragonByte Tech (Post 2437623)
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

Quote:

Originally Posted by puertoblack2003 (Post 2437677)
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 :)

Quote:

Originally Posted by puertoblack2003 (Post 2437677)
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

I 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 :)

Quote:

Originally Posted by puertoblack2003 (Post 2437677)
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

Quote:

Originally Posted by DragonByte Tech (Post 2437638)
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. 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

Quote:

Originally Posted by DragonByte Tech (Post 2437740)
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.

final kaoss 08-08-2013 04:23 PM

Thanks, installing the dbtech tweeter.

DragonByte Tech 08-10-2013 03:04 PM

Quote:

Originally Posted by kingMOB (Post 2437752)

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

Quote:

Originally Posted by DragonByte Tech (Post 2438183)
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/showthrea...hlight=instant

DragonByte Tech 08-21-2013 03:18 PM

Quote:

Originally Posted by kingMOB (Post 2439524)
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

Quote:

Originally Posted by DragonByte Tech (Post 2440152)
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

Quote:

Originally Posted by looker2010 (Post 2501799)
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.

Quote:

Originally Posted by jrw422dx (Post 2502071)
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

Quote:

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


All times are GMT. The time now is 04:06 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.01500 seconds
  • Memory Usage 1,894KB
  • 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
  • (4)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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