Viewtopic Birthday

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Bramster
Registered User
Posts: 605
Joined: Sun Jul 27, 2003 10:40 am

Re: Viewtopic Birthday

Post by Bramster »

Thanks for this Nice Little mod !
Navy & Merchant Marine Forum:
www.DutchFleet.net
bookboarder
Registered User
Posts: 71
Joined: Sat Apr 18, 2009 12:25 am

Re: Viewtopic Birthday

Post by bookboarder »

Just wondering if there are any instructions for subsilver2?
mickeyr
Registered User
Posts: 76
Joined: Wed Jun 03, 2009 8:55 pm

Re: Viewtopic Birthday

Post by mickeyr »

I have tried everything I saw posted and I show no birthday cake. I even set the birthday for the same day as a test and I still get nothing. Please help.
Nully
Registered User
Posts: 453
Joined: Thu Jan 29, 2009 10:11 pm
Location: France

Re: Viewtopic Birthday

Post by Nully »

Hello,
I have juste a little problem.
I installed the mod, it's ok, but, after I did :
Replace the language with this in language>commnon.php :

Code: Select all
'VIEWTOPIC_BIRTHDAY' => 'Happy Birthday %s',
The result is when the mouse in on the cake image is :
Happy Birthday %s
(I also changed in viewtopic as written in an previous page in viewtopic :

Code: Select all

// viewtopic birthday
		    'BIRTHDAY_IMG'      => $user_cache[$poster_id]['viewtopic_birthday'] ? $user->img('icon_birthday', sprintf($user->lang['VIEWTOPIC_BIRTHDAY'], $user_cache[$poster_id]['username'])) : false,
So, I deleted

Code: Select all

 %s
and it appears only : Happy birthday.
______________

Sorry :D A few minutes later :
I had forgotten to upload again the modified file viewtopic. I added %s and everything is ok.

Sorry again and thanks. :)
AshlokTheRaider
Registered User
Posts: 10
Joined: Fri Jun 19, 2009 1:43 pm

Re: Viewtopic Birthday

Post by AshlokTheRaider »

mickeyr wrote:I have tried everything I saw posted and I show no birthday cake. I even set the birthday for the same day as a test and I still get nothing. Please help.
Same problem.
Please help. :(
AshlokTheRaider
Registered User
Posts: 10
Joined: Fri Jun 19, 2009 1:43 pm

Re: Viewtopic Birthday

Post by AshlokTheRaider »

mickeyr wrote:I have tried everything I saw posted and I show no birthday cake. I even set the birthday for the same day as a test and I still get nothing. Please help.
same problem.

mine style is prosilver_se and use thai language.
in 'language/en/common.php' I'm already edit in 'language/th/common.php'.
in 'styles/prosilver/imageset/imageset.cfg' I also edit in 'styles/prosilver_se/imageset/imageset.cfg' and uploaded a 'styles/prosilver/imageset/icon_birthday.gif' to 'styles/prosilver_se/imageset/icon_birthday.gif'.
There's no cake appears.
I try to change a language from thai to english and change a style from 'prosilver_se' to 'prosilver'.
But it still not working.

Please help.

my forum: http://www.mpa-mba.com/community/index.php
It's working!
I fix it by refreshing an Imagesets.

Thank.
budo
Registered User
Posts: 107
Joined: Tue Jun 16, 2009 9:17 pm

Re: Viewtopic Birthday

Post by budo »

Thanks i got it working however i have a dark style forum and the cake looks a bit sketchy with the outer white pixels, is there a way i can easil change the cake graphic for one of my own?

thanks
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Viewtopic Birthday

Post by iftitaj »

Simply replace this picture with yours:

Code: Select all

root\styles\prosilver\imageset\icon_birthday.gif
Its that simple if you keep the size of image the same as the current one, otherwise you have to edit the following:
Open: root/styles/prosilver/imageset/imageset.cfg

Find:

Code: Select all

img_icon_birthday = icon_birthday.gif*40*40
Edit it with the proper filename along with extension and the size also, just remember the first number is the height and the second number is the width of the image you used as a birthday cake.

Hope it helped. :P
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Viewtopic Birthday

Post by iftitaj »

... and yeah please don't forget to refresh the imageset & purge the cache. :P
budo
Registered User
Posts: 107
Joined: Tue Jun 16, 2009 9:17 pm

Re: Viewtopic Birthday

Post by budo »

Done thank you, i've got a flickering candle and cake gif now :D
User avatar
Stitch625
Registered User
Posts: 683
Joined: Wed Jun 20, 2007 3:38 pm
Location: Michigan

Re: Viewtopic Birthday

Post by Stitch625 »

I have had this mod installed and working fine for the past 6 months but today I just noticed that it is not working anymore. I thought that maybe some edits got removed from doing updates but that is not the case. All edits are there just like they always have been. I even tried purging the cache and refreshed the imagesets but nothing works.

Anyone have any ideas? I have been going over this code for a couple hours now and I swear everything is in place.
User avatar
Stitch625
Registered User
Posts: 683
Joined: Wed Jun 20, 2007 3:38 pm
Location: Michigan

Re: Viewtopic Birthday

Post by Stitch625 »

Still looking for some help on this. Seems like it may have quit working after updating to 3.0.5
iftitaj
Registered User
Posts: 638
Joined: Tue Jan 15, 2008 6:21 am
Location: Karachi, Pakistan

Re: Viewtopic Birthday

Post by iftitaj »

Seems like you have done all basic steps to find the problem. Why not post your viewtopic.html file's code here? :idea:
User avatar
Stitch625
Registered User
Posts: 683
Joined: Wed Jun 20, 2007 3:38 pm
Location: Michigan

Re: Viewtopic Birthday

Post by Stitch625 »

iftitaj wrote:Seems like you have done all basic steps to find the problem. Why not post your viewtopic.html file's code here? :idea:
Thanks,
I will later on when I get home to my laptop. ;)
User avatar
Stitch625
Registered User
Posts: 683
Joined: Wed Jun 20, 2007 3:38 pm
Location: Michigan

Re: Viewtopic Birthday

Post by Stitch625 »

Here is my viewtopic_body.html file:
viewtopic_body.html

Return to “[3.0.x] MOD Database Releases”