[MODDB] Viewtopic Birthday 0.1.0

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

[MODDB] Viewtopic Birthday 0.1.0

Post by igorw » Sat Mar 22, 2008 3:38 pm

Image

MOD name: Viewtopic Birthday
MOD description: Display a birthday cake in viewtopic if the user has birthday.
MOD version: 0.1.0

Authors notes: This MOD displays a little cake in the mini profile on viewtopic for any users who have birthday. The image was taken from TerraFrosts' phpBB 2.0 birthday MOD.

Download: Viewtopic Birthday

Demo:
Image

User avatar
EXreaction
Former Team Member
Posts: 5666
Joined: Sun Aug 21, 2005 9:31 pm
Location: Wisconsin, U.S.
Name: Nathan

Re: [Beta] Viewtopic Birthday 0.1.0

Post by EXreaction » Sat Mar 22, 2008 3:52 pm

Looks great, I'll give it a try in a bit. :)

User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: [Beta] Viewtopic Birthday 0.1.0

Post by lefty74 » Sat Mar 22, 2008 5:21 pm

great idea evil :D
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.

Kharon
Registered User
Posts: 235
Joined: Thu Oct 26, 2006 5:27 pm

Re: [Beta] Viewtopic Birthday 0.1.0

Post by Kharon » Sat Mar 22, 2008 7:43 pm

nice mod :) eviL<3

User avatar
ac_roma
Registered User
Posts: 307
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [Beta] Viewtopic Birthday 0.1.0

Post by ac_roma » Sat Mar 22, 2008 8:13 pm

nice mod evil :D

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [Beta] Viewtopic Birthday 0.1.0

Post by RedTrinity » Sun Mar 23, 2008 1:19 am

Hi Evil, great MOD :D

I just installed it for a subsilver2 based template (just copied birthday image to relevant folder for that template and made changes to its own files instead) but am having problems getting the cake image to appear for members celebrating a birthday today.

Also added the image manually to the imageset via the ACP but that didn't seem to make a difference. Purging the cache didn't either.

I would appreciate your help :)

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [Beta] Viewtopic Birthday 0.1.0

Post by igorw » Sun Mar 23, 2008 10:28 am

Thanks for installing it :)

You need to edit styles/subsilver2/imageset/imageset.cfg and refresh the imageset in the ACP after that...
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [Beta] Viewtopic Birthday 0.1.0

Post by RedTrinity » Sun Mar 23, 2008 11:57 am

eviL<3 wrote:Thanks for installing it :)

You need to edit styles/subsilver2/imageset/imageset.cfg and refresh the imageset in the ACP after that...
No, thank you for developing it for people to use! ;)

I just tried what you suggested through and its still not working lol... apparently my forum is being a bit stubborn :P I am pretty sure I made the right edits.

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [Beta] Viewtopic Birthday 0.1.0

Post by igorw » Sun Mar 23, 2008 12:02 pm

Hehehe,

I'll do it myself and post up the edits... :)

EDIT: I love my auto modfile generator :D

Code: Select all

#
#-----[ COPY ]---------------------------------------------
#
copy root/styles/subsilver2/imageset/icon_birthday.gif to styles/subsilver2/imageset/icon_birthday.gif
#
#-----[ OPEN ]---------------------------------------------
#
styles/subsilver2/imageset/imageset.cfg
#
#-----[ FIND ]---------------------------------------------
#
img_icon_topic_unapproved = icon_topic_unapproved.gif*18*19
#
#-----[ AFTER, ADD ]---------------------------------------------
#
img_icon_birthday = icon_birthday.gif*40*40
#
#-----[ OPEN ]---------------------------------------------
#
styles/subsilver2/template/viewtopic_body.html
#
#-----[ FIND ]---------------------------------------------
#
					<!-- BEGIN custom_fields -->
						<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
					<!-- END custom_fields -->
				</span>
#
#-----[ AFTER, ADD ]---------------------------------------------
#
				<!-- IF postrow.BIRTHDAY_IMG -->
					<br /><br />{postrow.BIRTHDAY_IMG}
				<!-- ENDIF -->
#
#-----[ SAVE/CLOSE ALL FILES ]---------------------------------------------
#
# EoM
Don't forget to refresh the imageset and template in the ACP :)
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three


User avatar
CrimianVaid
Registered User
Posts: 13
Joined: Sat Mar 08, 2008 4:33 am

Re: [Beta] Viewtopic Birthday 0.1.0

Post by CrimianVaid » Sun Mar 23, 2008 5:55 pm

I am using prosilver and had same issue, but the Imageset / Refresh worked for me...plus, who doesn't like a bit of fish swimming about??
Image

User avatar
igorw
Former Team Member
Posts: 8024
Joined: Fri Dec 16, 2005 12:23 pm
Location: {postrow.POSTER_FROM}
Name: Igor Wiedler

Re: [Beta] Viewtopic Birthday 0.1.0

Post by igorw » Sun Mar 23, 2008 6:05 pm

Sure, i like fish :D
Igor Wiedler | area51 | GitHub | trashbin | Formerly known as evil less than three

User avatar
CrimianVaid
Registered User
Posts: 13
Joined: Sat Mar 08, 2008 4:33 am

Re: [Beta] Viewtopic Birthday 0.1.0

Post by CrimianVaid » Sun Mar 23, 2008 6:21 pm

eviL<3 wrote:Sure, i like fish :D
Indeed! haha and thanks for the modulum

jalaln
Registered User
Posts: 1076
Joined: Tue Jul 05, 2005 5:05 am

Re: [Beta] Viewtopic Birthday 0.1.0

Post by jalaln » Sun Mar 23, 2008 6:37 pm

nice mod! :D would be kinda cool if the cake is displayed in the profile page as well. :)
No more spambots for phpBB2 and phpBB3.

Smog
Registered User
Posts: 103
Joined: Sun May 13, 2007 8:06 am
Contact:

Re: [Beta] Viewtopic Birthday 0.1.0

Post by Smog » Sun Mar 23, 2008 7:01 pm

jalaln wrote:nice mod! :D would be kinda cool if the cake is displayed in the profile page as well. :)
Knowing evil your wish will be accomplished ;)

Locked

Return to “[3.0.x] MODs in Development”