Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Move Facebook Like Button To Postbit [Before Signature] Details »»
Move Facebook Like Button To Postbit [Before Signature]
Version: 1.0, by LOGECT LOGECT is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.1.4 Rating:
Released: 07-21-2011 Last Update: Never Installs: 13
Uses Plugins Template Edits
 
No support by the author.

Info:
Move the Facebook like button from SHOWTHREAD ( above threads ) to postbit or postbit_legacy ( before signature ) template.


Screenshot:



Note:
- Works with vb. 4.1.3 +
- vBulletin Facebook like option must be enabled
- Shows only in the first post


Installation:
1-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]

2-Open your SHOWTHRAED template and remove the following code:
Code:
        <vb:if condition="$show['fb_likebutton']">
            {vb:raw fblikebutton}
        </vb:if>
3- In your postbit or postbit_legacy template find and replace the following code:

Code:
{vb:raw template_hook.postbit_signature_start}
With:
Code:
<vb:if condition="$post[postcount] == 1">
{vb:raw fblikebutton}
</vb:if>
{vb:raw template_hook.postbit_signature_start}
Done.

To set options:
Go to: vBulletin Options > LOGECT - Facebook Button In Postbit

Versions:
v1.0 22 July 2011 - Firs relase

Download Now

File Type: xml product-logect_fbpostbit.xml (2.4 KB, 106 views)

Screenshots

File Type: jpg 1.jpg (134.8 KB, 0 views)
File Type: jpg 2.jpg (111.0 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
hexeditor, sivaganeshk

Comments
  #2  
Old 08-12-2011, 08:46 AM
fevredsuk fevredsuk is offline
 
Join Date: Apr 2010
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

only running 4.0.5 and it doesn't work
Reply With Quote
  #3  
Old 08-12-2011, 11:48 AM
cindy helmond cindy helmond is offline
 
Join Date: Feb 2006
Location: The Netherlands
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fevredsuk View Post
only running 4.0.5 and it doesn't work
4.1.2 not working
Reply With Quote
  #4  
Old 08-13-2011, 08:36 AM
LOGECT's Avatar
LOGECT LOGECT is offline
 
Join Date: Jun 2010
Location: Copenhagen
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works on 4.1.4 +
Reply With Quote
  #5  
Old 08-13-2011, 09:47 PM
fevredsuk fevredsuk is offline
 
Join Date: Apr 2010
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LOGECT View Post
It works on 4.1.4 +

yeah I read that originally but gave it a try anyway.

any chance of releasing it for other versions or making it

4.xx
Reply With Quote
  #6  
Old 08-26-2011, 01:57 PM
sivaganeshk sivaganeshk is offline
 
Join Date: Oct 2010
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't show when I display adsense at the end of the first post via DP ads
but works
Reply With Quote
  #7  
Old 08-29-2011, 10:25 PM
Lord. Dela Lord. Dela is offline
 
Join Date: Nov 2010
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fevredsuk View Post
only running 4.0.5 and it doesn't work

The same, i doesnt work for 4.05
Reply With Quote
  #8  
Old 01-04-2012, 08:58 PM
RBrown12 RBrown12 is offline
 
Join Date: Nov 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working for 4.1.8
Reply With Quote
  #9  
Old 01-04-2012, 10:46 PM
GameOverViper GameOverViper is offline
 
Join Date: Jun 2011
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not working for 4.1.9
Reply With Quote
  #10  
Old 01-06-2012, 09:57 AM
LOGECT's Avatar
LOGECT LOGECT is offline
 
Join Date: Jun 2010
Location: Copenhagen
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tested it on vb 4.1.9 & it seems that it only works on postbit template NOT Postbit_legacy (Vertical Postbit Template), i will update it Once I realized what is the problem
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:41 PM.


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.04751 seconds
  • Memory Usage 2,325KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete