TodaysBirthday

Started by Bulakbol, January 06, 2008, 09:28:48 PM

Previous topic - Next topic

Bulakbol

Hello Senyorito. (bow) I thank you.

This mod will edit/modify your Sources/BoardIndex.php and default/BoardIndex.template.php. It should work with TP. If you have problem after the installation, attach the file in question here and I'll see what I can do.  Thanks for the compliment bud.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

senyorito

No, I have not encountered any problem bro JohnyB.  I didn't also mean that it made conflict with TP.  What I'm asking is, if you can make or release a php script for this TodaysBirthday to be used in TP's block.

To make you more understand bro, we knew that TP has this block under SSI function -- Todays calendar which shows the attached image.  Is it possible for you to make a script for TP's scriptbox separating TodaysBirthday from the upcoming birthday?

Basie

I'm using this mod and it works great, thanks. :)

I'd actually like to see this as standard, as some of my members get mixed up about when peoples birthdays are and end up posting birthday threds long before a persons birthday.

Bulakbol

Quote from: senyorito on February 21, 2008, 08:27:29 AM
No, I have not encountered any problem bro JohnyB.  I didn't also mean that it made conflict with TP.  What I'm asking is, if you can make or release a php script for this TodaysBirthday to be used in TP's block.

To make you more understand bro, we knew that TP has this block under SSI function -- Todays calendar which shows the attached image.  Is it possible for you to make a script for TP's scriptbox separating TodaysBirthday from the upcoming birthday?

Hi bud. I am not using TP but if you want me to take a shot, I'll try. Send me the file that display the birthdays and I'll take a look at it.  PM me and give me your email addy. I'll see what I can do.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Bulakbol

Quote from: seek2501 on February 21, 2008, 10:32:21 AM
I'm using this mod and it works great, thanks. :)

I'd actually like to see this as standard, as some of my members get mixed up about when peoples birthdays are and end up posting birthday threds long before a persons birthday.

Hi seek2501. Thanks for trying my mod.  ;) Yes, you are correct. My members are also confused. Now they can't complain about it. You are welcome and thank you for the compliment.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

senyorito

Quote from: JohnyB on February 22, 2008, 02:07:55 AM
Quote from: senyorito on February 21, 2008, 08:27:29 AM
No, I have not encountered any problem bro JohnyB.  I didn't also mean that it made conflict with TP.  What I'm asking is, if you can make or release a php script for this TodaysBirthday to be used in TP's block.

To make you more understand bro, we knew that TP has this block under SSI function -- Todays calendar which shows the attached image.  Is it possible for you to make a script for TP's scriptbox separating TodaysBirthday from the upcoming birthday?

Hi bud. I am not using TP but if you want me to take a shot, I'll try. Send me the file that display the birthdays and I'll take a look at it.  PM me and give me your email addy. I'll see what I can do.

Ok bro, I'll send you a PM.

Bulakbol

Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

senyorito

Good that you have it.  Good luck bro!

Bulakbol

#68
Quote from: senyorito on February 22, 2008, 03:00:20 PM
Good that you have it.  Good luck bro!

Hi senyorito. I attached a hard coded TodaysBirthday for your TP. Install it via package manager but before you do that, make a backup of your Sources/TPortal.php and default/TPortalBlocks.template.php. In case something goes haywire. Let me know how it goes.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

senyorito

#69
Bro, you're the man!  Thank you very much and I really appreciate the effort.

I'd installed it the usual way without any problem.  Seems everything is doing fine except for some minor bugs that I'd noticed.

The color of the block title bar.

Looking at my screenshot, the title bar color must be Orange.  Though in your screenshot, you'd done it right.  Hmmm, hope that you can fix this bug bro.

Home > Right Portal Block

I have 2 consecutive Upcoming Calendar blocks.

I also have another favor bro if you don't mind, I think it could be much better if you can make it a collapsible block. 

Well, everything is so cool bro!

Thanks again.

Bulakbol

#70
Ok bro. It's my first TP attemp so be patient.  :P Here's another copy. Uninstall the first one before installing this one. Backup the following files first.

Sources/TPortalAdmin.php
Sources/TPortal.php
default/TPortalBlocks.template.php
default/TPortalAdmin.template.php

Edit blocks
- use frame from theme
- allow block to collapse

Type: todays birthday


<edit> Attachment deleted. </edit>
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

senyorito

^ Perfect!!!

Everything is fine now.  Today's Birthday mod for TP added as one of the block's type option.  Can choose frame from theme and can choose the option to allow block to collapse.

I'm just wondering on my forum index's Upcoming Calendar, upcoming birthdays also show the date of the birthday just like in TodaysBirthday Mod for TP.  Considering that it didn't modify any other templates except for TPs templates.  Hmmmm... heheh.

Anyways, first attempt was not bad but with this release, it fixes the previous reported bug issues. 

Well done and thank you bro JohnyB!

Bulakbol

The mod is hardcoded for you. No language strings. You are welcome @senyorito. Glad I did my first block for TP haha.

I'm not too familiar with TP so I don't know why it added the date. 

Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Sabre™

Thanks JohnyB.

Works perfect :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Bulakbol

Quote from: Sabre™ on February 24, 2008, 08:40:18 PM
Thanks JohnyB.

Works perfect :)

Thanks a lot Sabre for trying this mod.  ;)
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Hoochie Coochie Man

Hi JohnyB,
There are two XHTML errors in that modification. Can you fix them?

QuoteResult: 2 errors / 0 warnings

line 323 column 67 - Error: document type does not allow element "table" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
line 325 column 207 - Error: end tag for "span" omitted, but OMITTAG NO was specified
line 325 column 11 - Info: start tag was here
İnadına SMF 1.1.X

Bulakbol

#76
Can you elaborate a little bit more Hoochie? Paste the lines that are not XTML compliant and what files they are in? Thanks.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Hoochie Coochie Man

#77
TodaysBirthday Mod's codes are creates XHTML errors..
Here are the details




İnadına SMF 1.1.X

Bulakbol

That doesn't mean the errors are from the mod. Uninstall the mod and re-check it again. I will check it too and let you know what comes up.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

Hoochie Coochie Man

The errors are form the mod bro..!
I installed it a new SM forum (without XHTML errors)
Than the mod creates 2 XHTML errors..
Check the lines, Don't you see?
The mod's codes creates the errors :)
İnadına SMF 1.1.X

Advertisement: