using the excellent CGSocialBlaster module here on a website with the CGTweet and CGBlog module. Everything is setup and working perfectly, CGBlog entries can be shared directly to Twitter with just the click of two buttons. There is a bit of weirdness going on though on the actual Calguys Social Blaster page when sharing an article, it will always look like this:

The source of that section:
Code: Select all
<div class="pageoverflow">
<p class="pagetext"></p>
<p class="pageinput">
<input id="submit" type="submit" name="cgsb_submit" value="Submit"/>
<input type="submit" name="cgsb_cancel" value="Cancel"/>
</p>
</div>
<div id="tabwrap">
<ul id="tablist">
<li><a href="#tab_main">Main</a></li>
<li><a href="#tab_CGTweet">Twitter</a></li>
<li><a href="#tab_help">Help</a></li>
</ul>
<div id="tab_main">
<div class="pageoverflow">
<p class="pagetext"><label for="senders">Destinations:</label></p>
<p class="pageinput">
<table>
<tr>
<td valign="top">
<select id="senders" name="cgsb_senders[]" multiple="multiple" size="3">
<option value="CGTweet" selected="selected">Twitter</option>
</select>
</td>
<td valign="top">Select which social media outlets to send to from those available. <strong>Reminder:</strong> You may need to install more social media modules.<br/>You can CTRL+Click on items to select multiple social media networks.</td>
</tr>
</table>
</p>
</div>
</div>
<div id="tab_CGTweet" class="sender_tab">
<div class="information">Twitter messages are a maximum of 140 characters long. <strong>Note:</strong> It has been reported that twitter counts each and every URL as having 20 characters and automatically shortens URLS of 19 characters or more. Any character count is just an approximation.</div> <div class="pageoverflow">
<p class="pagetext">Message:</p>
<p class="pageinput">
Characters: <span class="charcount">0</span> / <span class="charlimit">140</span><br/> <textarea name="cgsb_CGTweet_msg" rows="3" cols="50" maxlength="140">Test!</textarea>
</p>
</div>
</div>
<div id="tab_help">
<div class="information" style="display: block;">The message box of each social network tab is passed through smarty for processing before sending. Below is a list of some of the available smarty variables.</div>
<table class="pagetable">
<thead>
<tr>
<th width="25%">Variable</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr><td valign="top">{$input_data->title}</td><td>The title of the original item</td></tr>
<tr><td valign="top">{$input_data->summary}</td><td>The summary of the article (may also be the full content of the item... the sending module decides how to fill this field</td></tr>
<tr><td valign="top">{$input_data->canonical}</td><td>The canonical URL to the original item</td></tr>
<tr><td valign="top">{$input_data->pictures}</td><td>An array of URLS representing pictures attached to the original item. For social networks that support them, this module provides a dropdown box to select one image to include in the post</td></tr>
<tr><td valign="top">{$input_data->links}</td><td>An array of objects representing the various links that are associated with the original item being shared. The array can be accessed with a smarty foreach statement. i.e:<br/>
<pre><code>{foreach $input_data as $link}
{$link->name} = {$link->url}/{$link->caption}/{$link->description}
{/foreach}</pre></code></td></tr>
</tbody>
</table>
</div>
</div>Cms Version: 1.12.1
Installed Modules:
CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.7
MicroTiny: 1.2.9
ModuleManager: 1.5.8
Search: 1.7.13
ThemeManager: 1.1.8
Gallery: 2.0.3
FormBuilder: 0.8.1.2
GBFilePicker: 1.3.3
CGExtensions: 1.50
ECB: 1.6
CGSimpleSmarty: 1.9.1
CGGoogleMaps2: 0.99.1
JQueryTools: 1.3.7
CGBlog: 1.13.2
CGSmartImage: 1.20.5
FrontEndUsers: 1.30.7
CGSocialBlaster: 1.0.3
CGTweet: 1.2
CGJobMgr: 1.3.4
NMS: 2.10
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 32000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.6.16
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 2048
E_DEPRECATED: 0
memory_limit: 256M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 16M
upload_max_filesize: 32M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.9
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found
----------------------------------------------

