Post Threads to Twitter [Deleted]

jazz_aaf

Well-known member
jazz_aaf submitted a new resource:

Post thread to Twitter - A template modification with a php script to send selected threads to twitter in the forum's account

If you are like me, you don't want every thread in your forum to be sent "automatically" to your forum's twitter account, especially for busy forums. This template modification plus a small php script will give your forum Moderators the freedom to send any thread to the forum's twitter account. You won't need to give the Mods a direct access to the account.

Every thread will have a twitter blue button next to the inline moderation buttons (as in the following image)...

Read more about this resource...
 
Possible xf 1.5 version?

Same instruction and download file with the exception of the Second: Template Modification. For XF 1 use the following:

  1. In template "thread_view" find the following:
    Code:
    <div class="Popup">

  2. Replace it with the following:
    Code:
    <div class="Popup">
                <div style="float:left;"><a href="tweetpost/tweet.php?id={$thread.thread_id}&title={$thread.title}&username={$thread.username}&action=update','mywindowtitle','width=500,height=150')"><img src="tweetpost/twitter_icon.png"></a></div>
                    <a rel="Menu">{xen:phrase thread_tools}</a>

  3. Use this icon twitter_icon.webp save it into the same folder as the php script.

The other steps First & Third are the same.
 
Hmm I can't get this working. Whenever I click the Tweet button it opens a new tab page which is literally a blank page. Any ideas please anyone?
 
Could not manage to have it working on my site. How to run tweeted_threads.sql and how should the site url in the config file look like

https://example.com/
is the above correct

currently I get
Oops! We ran into some problems.
The requested page could not be found.
 
Last edited:
This Template Modification has been developed to an addon which does the same.

 
Back
Top Bottom