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)

thecrazycanuck 07-25-2010 04:36 PM

Is it possible to add a default hashtag that is attached to all of the tweets?

pete_brady 07-25-2010 05:00 PM

Quote:

Originally Posted by thecrazycanuck (Post 2074328)
Is it possible to add a default hashtag that is attached to all of the tweets?

It's probably not the most graceful way of doing it, but in the Thread To Twitter plugin, change

PHP Code:

$tweet ''

to

PHP Code:

$tweet '#yourhashtag  '

do the same in the Reply To Twitter if you use it

thecrazycanuck 07-26-2010 12:46 AM

Wouldn't it have to go in this line,
Quote:

$tweet .= $newpost['title'] . ' - ' . $shortURL;
I put in something like this

Quote:

$tweet .= $newpost['title'] . ' - ' . $shortURL . ' ' . '#Hashtag';
But it wouldn't work

cloferba 07-26-2010 05:02 PM

i have installed all ok, but there are no new tweets :(

pete_brady 07-26-2010 05:28 PM

Quote:

Originally Posted by thecrazycanuck (Post 2074506)
Wouldn't it have to go in this line,

Have to? No, otherwise it wouldn't be working for me :)

leeman 07-26-2010 05:54 PM

Quote:

Originally Posted by cloferba (Post 2074839)
i have installed all ok, but there are no new tweets :(

Me too ... :(

cloferba 07-27-2010 01:29 AM

wow...i hadnt have tried to post a new message or reply a thread..

now i have tried that and i get this:

Fatal error: Cannot redeclare class OAuthException in /home/userofcpanel/public_html/foro/includes/twitteroauth/OAuth.php on line 8

nobody can post..so i have disabled this mod and now all works good

cloferba 07-27-2010 04:33 AM

Quote:

Originally Posted by cloferba (Post 2075033)
wow...i hadnt have tried to post a new message or reply a thread..

now i have tried that and i get this:

Fatal error: Cannot redeclare class OAuthException in /home/userofcpanel/public_html/foro/includes/twitteroauth/OAuth.php on line 8

nobody can post..so i have disabled this mod and now all works good

http://webcache.googleusercontent.co...&ct=clnk&gl=ar

cloferba 07-27-2010 01:26 PM

i will love this and give it a 10 if this mod can do the next:

using twitterfeed:
AMD ATI Radeon HD 5570 GDDR5: Hace m?s de cinco meses pudimos probar la primera versi?n de la HD 5570 (http://www.... http://bit.ly/cgzqtv
hace cerca de 3 horas via twitterfeed

this mod:
Re: Mensaje Reportado por escorpion1 [27/7/2010 08:59:10] - http://bit.ly/9NL5B8

so..twitterfeed, writes the 1st lines of a thread, but this mod only writes the title of the thread

could be possible to add the function to get some words of the thread or reply and add it to the twitter message?

Dragonsys 07-27-2010 04:14 PM

Quote:

Originally Posted by thecrazycanuck (Post 2074506)
$tweet .= $newpost['title'] . ' - ' . $shortURL . ' ' . '#Hashtag';

That code is invaild. Try this:
$tweet .= $newpost['title'] . ' - ' . $shortURL . ' #Hashtag;


All times are GMT. The time now is 08:20 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.01610 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
  • (2)bbcode_php_printable
  • (7)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