Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Tweet-This (vBulletin Style) Details »»
Tweet-This (vBulletin Style)
Mod Version: 1.00, by Sparrow-Sean (Contributor) Sparrow-Sean is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

vB Version: 4.0.x Rating: (3 votes - 5.00 average) Installs: 16
Released: 13 May 2010 Last Update: Never Downloads: 0
Not Supported Template Edits Code Changes  

Hello,

*First of all, this modification works quite easily. Insert the code and follow the steps, when you click the link which will appear in the first thread at the top right a fader box will appear at the lower right page of your screen where you can connect to Twitter to tweet that page.

It is not 100% perfect, I think it might reflect better with an image though

This is more a modification that I have made to my board from a (Tweet-it) application:
http://pongsocket.com/tweet-it/ (I take no credit).

Step 1:

Admin Panel >> Style Manager >> Edit Templates >> Header

I added this to the top of my header file, it seems to work whatever position it is inserted:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Step 2:

Admin Panel >> Advertising >> Manage Ads >> Add New Add >> (DropDown) Thread >> First Box

I titled mine "tweet", call it as you wish.

Ad HTML >> I suck at code so do bare with me - Perhaps someone can code this up for me a little better than I can, I do apologise:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Configure the options below as you require and save.

That is it!

EDIT:


You can add this to your POSTBIT_LEGACY:

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After Add:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This will add it to your postbit, however, it does add to every thread, if anyone can re-adjust this it would be great.
================================================================
You can edit the header code to change the name of the Tweet-Box Name ie.
Please excuse my bad coding, I am not a developer and this is my first experience with this so if anyone can re-code correctly please do so.

Test This:
http://forums.speedysparrow.com/show...rrow-Promotion

Select TWEET THREAD.
================================================================


EDIT 09/07/10:

Use the following code to hide from PM's:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Insert the code within and it should fix those Private Message issues.

Thank you,

Sean

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	2010-05-13_2204.png
Views:	1232
Size:	7.9 KB
ID:	117059Click image for larger version

Name:	2010-05-13_2206.png
Views:	1401
Size:	36.4 KB
ID:	117060

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBulletin Tweet Poster! Milad vBulletin 3.8 Add-ons 679 04 Apr 2014 08:09
Tweet This Thread. cono1717 vBulletin 3.8 Template Modifications 13 10 Nov 2012 13:16

  #16  
Old 24 May 2010, 18:19
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Originally Posted by Sparrow-Sean View Post
Will this prevent it in Private Messages Kall?

Thanks,

Sean
Yes.

Look at the start of the php file, under the block of copyright and stuff, there's a definition of "THIS_SCRIPT". showthread.php = showthread, private.php = private etc.

The template conditional I gave will only activate if the page that the viewer is on is showthread.php (so, not private.php).
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #17  
Old 26 May 2010, 06:54
Boko577's Avatar
Boko577 Boko577 is offline
 
Join Date: Dec 2009
Mine looks like this? Any way to bump it up???


http://grab.by/grabs/c01c7f6d95cef17...9766cd8959.png
Reply With Quote
  #18  
Old 27 May 2010, 03:21
Boko577's Avatar
Boko577 Boko577 is offline
 
Join Date: Dec 2009
Read Above Post!
Reply With Quote
  #19  
Old 27 May 2010, 04:23
kall's Avatar
kall kall is offline
 
Join Date: Apr 2004
Real name: Ace
Originally Posted by Boko577 View Post
Read Above Post!
Read This Post!

http://www.vbulletin.org/forum/showp...98&postcount=6
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting
Reply With Quote
  #20  
Old 27 May 2010, 09:23
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Real name: Corey
You can just add it into the showthread template.
Reply With Quote
  #21  
Old 27 May 2010, 09:39
Xencored Xencored is offline
 
Join Date: Sep 2008
Real name: Mike
Originally Posted by ChopSuey View Post
You can just add it into the showthread template.
Where abouts ive been looking for abit now :/
Reply With Quote
  #22  
Old 29 May 2010, 20:23
Boko577's Avatar
Boko577 Boko577 is offline
 
Join Date: Dec 2009
Originally Posted by kall View Post
Obviously I did that when I have it in my postbit legacy already! I need to know why it's not on the bar right.
Reply With Quote
  #23  
Old 01 Jun 2010, 17:12
Fuhrmann Fuhrmann is offline
 
Join Date: May 2010
Nice, tagged.
Reply With Quote
  #24  
Old 03 Jun 2010, 01:02
Boko577's Avatar
Boko577 Boko577 is offline
 
Join Date: Dec 2009
Mine looks like this? Any way to bump it up???


http://grab.by/grabs/c01c7f6d95cef17...9766cd8959.png
Reply With Quote
  #25  
Old 03 Jun 2010, 16:23
Veer Veer is offline
 
Join Date: Feb 2006
Originally Posted by Boko577 View Post
Mine looks like this? Any way to bump it up???


http://grab.by/grabs/c01c7f6d95cef17...9766cd8959.png
same here
Reply With Quote
  #26  
Old 03 Jun 2010, 19:54
Xencored Xencored is offline
 
Join Date: Sep 2008
Real name: Mike
Originally Posted by Veer View Post
same here
Same here too ive tryed to move it up the other day didnt work tho
Reply With Quote
  #27  
Old 17 Jun 2010, 08:21
Sparrow-Sean Sparrow-Sean is offline
 
Join Date: May 2010
Real name: Sean Bowtell
In your "posbit_legacy" file in edit templates scroll too the bottom and add:

<vb:if condition="THIS_SCRIPT == 'showthread'"><div style="float: right; padding: 0px 0px 0px 0px;"><p class="tweet-this"><p class="tweet-this"><a href="javascript://"><img src="http://forums.speedysparrow.com/images/site_icons/forum.png" />Tweet Thread!</a></p></div></vb:if>
Be sure to change our address to an image on your site, the image I have chosen is from the board but it does not change effects like the others.

The above code, add it above:

******here******
</span>
<!-- </div> -->
</div>
</div>
<hr />
{vb:raw template_hook.postbit_end}
Good Luck
Reply With Quote
  #28  
Old 17 Jun 2010, 08:57
Sparrow-Sean Sparrow-Sean is offline
 
Join Date: May 2010
Real name: Sean Bowtell
You might also need to fiddle with the padding settings outlined, though, otherwise it should work on all v4 boards.
Reply With Quote
  #29  
Old 09 Jul 2010, 11:01
sticky sticky is offline
 
Join Date: Sep 2003
Installed, awesome
Reply With Quote
  #30  
Old 09 Jul 2010, 11:15
Sparrow-Sean Sparrow-Sean is offline
 
Join Date: May 2010
Real name: Sean Bowtell
Thanks for updating Sticky. Glad you like it
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 18:57.

Layout Options | Width: Wide Color: