Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 07:48:43 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
149678
Posts in
21101
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
New module : News Tweet
Pages: [
1
]
Go Down
Author
Topic: New module : News Tweet (Read 1752 times)
Xagone
AddOn Development
Offline
Posts: 453
New module : News Tweet
«
on:
August 27, 2009, 11:39:13 PM »
Simply put : it's the news module from wb2.8 with twitter updates
( work on 2.8 )
In the settings you can enable twitter support, add your twitter id, password and a prefix to your tweets like "New : "
then when you post you post, you have the choice to tweet that news, by default, when first creating the news, it suggest to tweet about it, when done, it automaticly goes to "no";
The tweet is the prefex, the title (shorten if necessary) followed by the link to the news (shorten by
http://is.gd/
)
this is a first release, some texte have been directly inputed so no multilinguage yet, BUT charset is OK to tweet.
«
Last Edit: September 05, 2010, 10:49:28 PM by VotreEspace
»
Logged
Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
bupaje
Offline
Posts: 519
Re: New module : News Tweet
«
Reply #1 on:
August 28, 2009, 07:04:11 PM »
Have to try this when I get home. Thanks for your efforts.
Logged
My Blog, My Site
Supertramp
Offline
Posts: 19
Re: New module : News Tweet
«
Reply #2 on:
March 17, 2010, 01:01:21 AM »
It works very fine... Thank you.
But i habe another question.
can i copy these files into the "News" folder?
Because, when i install the files normaly, the wsb create a new modul and all my news-entries from the past weren't in this modul.
when i copy the NewsTweet files into the News folder, i habe all my older news-entries??
I don't want to try it, because i think i will lost all my older news entries.
Logged
Xagone
AddOn Development
Offline
Posts: 453
Re: New module : News Tweet
«
Reply #3 on:
March 17, 2010, 02:11:13 PM »
I tried this at first, but there was too much problems doing this, that's why it's a separate module, if you try to move the file to the news folder you'll end up braking the news module.
this was not a news replacement.
BUT the database is the same to you could transfert some news. with some mysql
Logged
Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
snark
Guest
Re: New module : News Tweet
«
Reply #4 on:
March 17, 2010, 07:31:03 PM »
does it work with the anynews?
Logged
Xagone
AddOn Development
Offline
Posts: 453
Re: New module : News Tweet
«
Reply #5 on:
March 17, 2010, 07:43:21 PM »
anynews only works with the news module
Logged
Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Supertramp
Offline
Posts: 19
Re: New module : News Tweet
«
Reply #6 on:
March 22, 2010, 11:56:46 AM »
Thanks for the answer.
is it easy to transfer the news to newstweet? I doesn't have any skills in mysql...
best regards
Logged
Supertramp
Offline
Posts: 19
Re: New module : News Tweet
«
Reply #7 on:
March 23, 2010, 12:02:27 AM »
I have now all older news included, manually.
But I have a last question.
Is it possible, that the characters " #fb " in each message are the last characters? So I could use the facebook tool "selektive twitter".
Thanks,
tony
Logged
Supertramp
Offline
Posts: 19
Re: New module : News Tweet
«
Reply #8 on:
March 23, 2010, 01:00:24 AM »
I have found it, to get the prefix after the short url.
But how can I do some with the mysql news-database? to get my older news to the new news-tweet module??
this is really the last question.
Best regards
Logged
Xagone
AddOn Development
Offline
Posts: 453
Re: New module : News Tweet
«
Reply #9 on:
March 26, 2010, 03:41:41 PM »
Ok, let's have some fun in MySQL
you need to have the old section_id & new page_id, section_id for your newstweet
first you copy every records in your news tweet, you only need your actual news section ID :
Code:
INSERT IGNORE INTO `wb_mod_newstweet_posts` (`post_id`,`section_id`,`page_id`,`group_id`,`active`,
`position`,`title`,`link`,`content_short`,`content_long`,`commenting`,
`published_when`,`published_until`,`posted_when`,`posted_by`)
SELECT `post_id`,`section_id`,`page_id`,`group_id`,`active`,
`position`,`title`,`link`,`content_short`,`content_long`,`commenting`,
`published_when`,`published_until`,`posted_when`,`posted_by` FROM `wb_mod_news_posts` WHERE `section_id` = *YOUR OLD NEWS SECTION_ID*;
INSERT IGNORE INTO `wb_mod_newstweet_groups` SELECT * FROM `wb_mod_news_groups` WHERE `section_id` = *YOUR OLD NEWS SECTION_ID*;
INSERT IGNORE INTO `wb_mod_newstweet_comments` SELECT * FROM `wb_mod_news_comments` WHERE `section_id` = *YOUR OLD NEWS SECTION_ID*;
Then you need to adapt your records
Code:
UPDATE `wb_mod_newstweet_posts` SET `section_id` = *YOUR NEWSTWEET PAGE_ID*, `page_id` = *YOUR NEWSTWEET SECTION_ID*, `twitted` = 1
WHERE `section_id` = *YOUR OLD NEWS SECTION_ID*;
UPDATE `wb_mod_newstweet_groups` SET `section_id` = *YOUR NEWSTWEET PAGE_ID*, `page_id` = *YOUR NEWSTWEET SECTION_ID*
WHERE `section_id` = *YOUR OLD NEWS SECTION_ID*;
UPDATE `wb_mod_newstweet_comments` SET `section_id` = *YOUR NEWSTWEET PAGE_ID*, `page_id` = *YOUR NEWSTWEET SECTION_ID*
WHERE `section_id` = *YOUR OLD NEWS SECTION_ID*;
in the first update i've noted tweeted as "1" so if you modify one of your news, it wont retweet an old news.
Logged
Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Supertramp
Offline
Posts: 19
Re: New module : News Tweet
«
Reply #10 on:
March 28, 2010, 10:18:45 PM »
Thanks very much!
It works!!!
Thank you all alot
Logged
Xagone
AddOn Development
Offline
Posts: 453
Re: New module : News Tweet
«
Reply #11 on:
September 05, 2010, 08:05:22 PM »
this module is now deprecated, since Twitter change their authentification system.
i'll upgrade for my install and let you know.
Logged
Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Xagone
AddOn Development
Offline
Posts: 453
Re: New module : News Tweet
«
Reply #12 on:
September 05, 2010, 10:49:04 PM »
i've updated it.
it got an upgrade from the original
need a registered twitter api codes, all is explained in the settings.
Logged
Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
snaak
Offline
Posts: 8
Re: New module : News Tweet
«
Reply #13 on:
October 11, 2010, 10:29:36 AM »
Great module!
Only one problem when posting a new newsitem / tweet. When saving only 'twitting... ' is shown...All oAuth params are set. Someone got a clue?
Logged
Xagone
AddOn Development
Offline
Posts: 453
Re: New module : News Tweet
«
Reply #14 on:
October 11, 2010, 01:57:52 PM »
the module require cURL to work, is cURL active ?
Logged
Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
snaak
Offline
Posts: 8
Re: New module : News Tweet
«
Reply #15 on:
October 12, 2010, 08:44:01 AM »
Hi VotreSpace, thanks for reply.
Yes cURL is enabled:
cURL support enabled
cURL Information libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 libidn/0.6.5
Any suggestions?
Logged
Xagone
AddOn Development
Offline
Posts: 453
Re: New module : News Tweet
«
Reply #16 on:
October 12, 2010, 07:49:53 PM »
can cURL takes outside links ?
I have no test to test it, but some bad hosting are blocking external connection of curl.
Logged
Xagone Inc. (formerly VotreEspace)
http://www.xagone.com/
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...