vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Birthday image post (https://vborg.vbsupport.ru/showthread.php?t=240368)

Asterix_ita 04-12-2010 10:00 PM

Birthday image post
 
1 Attachment(s)
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

matthewhotdude 04-14-2010 02:44 AM

Thanks great little mod

mgurain 04-14-2010 06:37 AM

Nice one,
can you make fully simple product install ? since I have more than one customized styles !

Asterix_ita 04-14-2010 12:52 PM

In version 1.0.1 there is no need to change the templates Postbit e Postbit_legacy

matthewhotdude 04-14-2010 04:21 PM

Theres a Bug

The Birthday cake is showing up for all the users I have deleted I.E guest posts

Asterix_ita 04-14-2010 04:36 PM

Sorry but I did not understand the problem. I visited your site as a guest and I am not looking cakes for every post

You can make a stamp

the cake is displayed only on post Big Boy

matthewhotdude 04-14-2010 04:43 PM

1 Attachment(s)
These 2 users used to be members, and I have deleted them for various reasons and the cake shows up. it's the same for every deleted user

Asterix_ita 04-14-2010 04:48 PM

1 Attachment(s)
very strange, I see it this way your site

matthewhotdude 04-14-2010 04:51 PM

Yes, because neither of those users in your screenshot have been deleted.

It is showing up for every DELETED user.

The one user in your screenshot it is actually his Birthday. So it's showing up for birthdays and every deleted user

Taurus1 04-14-2010 04:51 PM

I have the same issue. Guests posts all have the birthday cake in. How to resolve?


All times are GMT. The time now is 01:06 AM.

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.01053 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete