Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
[DBTech] Tweet Poster v1 (vB4) Details »»
[DBTech] Tweet Poster v1 (vB4)
Version: 1.0.1, by DragonByte Tech DragonByte Tech is offline
Developer Last Online: Mar 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.x.x Rating:
Released: 08-02-2013 Last Update: 08-16-2017 Installs: 76
Uses Plugins
Additional Files Translations  
No support by the author.

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 button to the right ---->

Please remember to click the, 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

Download Now

File Type: zip [DBTech] Tweet Poster v1.0.1.zip (28.7 KB, 39 views)

Screenshots

File Type: jpg 290.jpg (96.6 KB, 0 views)
File Type: jpg 291.jpg (56.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
heyzeus909, oneill, sodasusu

Comments
  #12  
Old 08-07-2013, 01:23 PM
kingMOB kingMOB is offline
 
Join Date: Nov 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
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?
Reply With Quote
  #13  
Old 08-07-2013, 01:33 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #14  
Old 08-07-2013, 03:38 PM
puertoblack2003's Avatar
puertoblack2003 puertoblack2003 is offline
 
Join Date: Aug 2005
Location: Philadelphia
Posts: 1,073
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
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 !!!!
Reply With Quote
  #15  
Old 08-07-2013, 03:47 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by puertoblack2003 View Post
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 View Post
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 View Post
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
Reply With Quote
  #16  
Old 08-07-2013, 11:16 PM
kingMOB kingMOB is offline
 
Join Date: Nov 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
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?
Reply With Quote
  #17  
Old 08-07-2013, 11:35 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cannot download that modification to test it so I couldn't say, sorry

There are no files attached to that modification.


Fillip
Reply With Quote
  #18  
Old 08-08-2013, 02:48 AM
kingMOB kingMOB is offline
 
Join Date: Nov 2007
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DragonByte Tech View Post
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.
Reply With Quote
  #19  
Old 08-08-2013, 04:23 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, installing the dbtech tweeter.
Reply With Quote
  #20  
Old 08-10-2013, 03:04 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kingMOB View Post
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
Reply With Quote
  #21  
Old 08-10-2013, 03:05 PM
DragonByte Tech's Avatar
DragonByte Tech DragonByte Tech is offline
 
Join Date: Feb 2010
Location: Scotland
Posts: 8,814
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04996 seconds
  • Memory Usage 2,388KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete