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

 
 
Thread Tools
Birthday image post Details »»
Birthday image post
Version: 1.0.3, by Asterix_ita Asterix_ita is offline
Developer Last Online: Jul 2019 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.8.x Rating:
Released: 04-12-2010 Last Update: 06-08-2010 Installs: 26
Uses Plugins Auto-Templates
Translations  
No support by the author.

This addon add a image in the post if the user has a birthday

Log

13/04/10 v.1.0.0 start addon
14/04/10 v.1.0.1 auto template
14/04/10 v.1.0.2 fix bug user delete
09/06/10 v.1.0.3 add option align image left or right

INSTALLATIONS!

1) Import product-product_birthimage38X.xml into PRODUCTS. Allow Overwrite "YES" (for upgrade) (admincp -> Plugin System -> Manage Products -> [Add/Import Product])
2) Configure the options to vBulletin Options - CT birthday Image Post

Upgrade from vers. 1.0.0

Change template

Open template: postbit

find and delete:

--------------------------------------------------------------------
<if condition="$ctbirthdatyok">
<div style="padding-bottom:$vboptions[bip_ct_padding_botton] ;border:0px solid #cccccc;margin:4px">
<img src="$vboptions[bip_ct_path]" align="right">
</div>
</if>
--------------------------------------------------------------------

Open template: postbit_legacy

find and delete:

--------------------------------------------------------------------
<if condition="$ctbirthdatyok">
<div style="padding-bottom:$vboptions[bip_ct_padding_botton] ;border:0px solid #cccccc;margin:4px">
<img src="$vboptions[bip_ct_path]" align="right">
</div>
</if>
--------------------------------------------------------------------

Done

Download Now

File Type: zip install_birthday_38X_v1_0_3.zip (2.3 KB, 73 views)

Screenshots

File Type: jpg 13-04-2010 15-44-32.jpg (48.2 KB, 0 views)
File Type: jpg 13-04-2010 15-47-37.jpg (41.4 KB, 0 views)
File Type: png 09-06-2010 15-43-03.png (67.9 KB, 0 views)
File Type: png 09-06-2010 15-44-06.png (23.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-14-2010, 05:07 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you understand?
Reply With Quote
  #13  
Old 04-14-2010, 05:28 PM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I see what I can do to exclude users deleted

thanks
Reply With Quote
  #14  
Old 04-14-2010, 05:32 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #15  
Old 04-14-2010, 05:47 PM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fix in the v.1.0.2

thanks
Reply With Quote
  #16  
Old 04-14-2010, 05:54 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One question before I update. Because I installed the original and did the manual template edits. Will I have to undo the edits I made?
Reply With Quote
  #17  
Old 04-14-2010, 05:56 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks works.
Reply With Quote
  #18  
Old 04-14-2010, 06:07 PM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you still have version 1.0.0 of the plugin you need to remove from postbit_legacy the code

Code:
<if condition="$ctbirthdatyok">
<div style="padding-bottom:$vboptions[bip_ct_padding_botton] ;border:0px solid #cccccc;margin:4px">
<img src="$vboptions[bip_ct_path]" align="right">
</div>
</if>
Reply With Quote
  #19  
Old 04-14-2010, 09:14 PM
Black Tiger's Avatar
Black Tiger Black Tiger is offline
 
Join Date: Apr 2004
Location: Netherlands
Posts: 957
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this mod, but is the IMG code required to be enabled? Or does it also work when IMG code is disabled form the ACP?
Reply With Quote
  #20  
Old 04-14-2010, 11:35 PM
Taurus1's Avatar
Taurus1 Taurus1 is offline
 
Join Date: Dec 2009
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update!
Reply With Quote
  #21  
Old 04-15-2010, 04:47 AM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do not use BBCode to draw the image
Reply With Quote
 


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 04:16 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04541 seconds
  • Memory Usage 2,323KB
  • Queries Executed 26 (?)
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
  • (1)bbcode_code
  • (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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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