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 - WS vBulletin Tweet Poster (https://vborg.vbsupport.ru/showthread.php?t=236278)

jorgejgm 11-22-2011 08:56 AM

Quote:

Originally Posted by Mosh (Post 2270491)
Sorry, it not a "bug", I wrote it that way. Only threads and posts that posted to your forum straight away and not moderated or delayed in any way will be tweeted.


Ok thank you very much. Out of curiosity, why? What are the benefits?

For the future I think it would be interesting to configuration option.

Thanks.

Videx 11-22-2011 02:26 PM

I thought it was just the way vb4 worked. Anything coming from internally won't trigger the "new post" hooks. Only a live person pressing the "post" button will do that.

But if not, I too would second the suggestion to include this option as a new feature!

Ignore moderated posts? y/n

MikaN 12-01-2011 03:41 PM

Bug:

If you have Forum Component URL setting active (under Settings ->Site Name / URL / Contact Details) it will be added to the bit.ly url.

For example: if you have there http://www.example.com/forum

then every twitter link is broken because bit.ly link is wrong. It looks like this:
http://www.example.com/forum/http://www.example.com/showthread.php...

The reason for this is that if that Forum Component URL is set that
'fetch_seo_url('thread', $threadinfo);' function will return

http://www.example.com/forum/showthread.php

but if it's not set it will return

showthread.php

So when you have this in your code:
$baseURL = $vbulletin->options['bburl'] . '/' . fetch_seo_url('thread', $threadinfo);

it means that if Forum Component URL is set it goes like this:
$baseURL = www.example.com/forum . '/' . http://www.example.com/forum/showthread.php..
-> $baseurl = http://www.example.com/forum/http://www.example.com/forum/showthread.php

If it is not set it will be correct
$baseURL = www.example.com/forum . '/' . showthread.php..
-> www.example.com/forum/showthread.php...

bobber 12-14-2011 12:11 PM

Hello,
Once many thanks for the add.

I only wish in my Forum CMS News integrate with Twitter just as I do that?
Thank you for any tip.

Methok 12-23-2011 10:57 PM

Quote:

Originally Posted by Methok (Post 2206432)
Hi Mosh,

Just as a suggestion. Could you possibly add a tick box to the end of the Hash tag text box maybe with default ticked. So if the poster don't want it tweeted they can deselect it?

Thanks

- Methok

Quote:

Originally Posted by Mosh (Post 2206437)
To be honest, that is not something that interests me at all, as I have already added all the hash tag functionality to this hack that I am going to add. AdminCP defined hash tags are supposed to unalterable by users, that is the way it should work. But if the need for this for one of my sites ever occurs, then I may change my mind.

Quote:

Originally Posted by Methok (Post 2206518)
Hi,

I never meant so they controlled the hash tags.

I meant so as they control if the post gets tweeted or not.

- Methok

Quote:

Originally Posted by Mosh (Post 2206556)
Mmmm.... OK, that is something I may be interested in adding to this hack. Let me think about it for a while and I will get back to you.


Hiya buddy, Any chance this can become an option yet?

icona 12-29-2011 09:16 AM

Hi, works fine for me under vb 4.1.9!

Thank's a lot!

GTX2 01-01-2012 03:19 PM

Using this hack for tweeter, would love to see a similar hack for facebook ;)

Anyoldname 01-10-2012 02:31 PM

Awesome plugin thanks so much! :)

steeler7 01-12-2012 06:02 PM

Any idea on how I could this Mod to only submit from Prefixes that I select/input. I've got my forum organized by Prefixes and some that are general questions and such i'd like to not have go out to Twitter. I'll apply any code changes

ForceHSS 01-13-2012 02:25 AM

from what I remember you can only leave out forums for now I am sure someone can code it for you if asked


All times are GMT. The time now is 05:23 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.01759 seconds
  • Memory Usage 1,745KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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