Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
[Solved] Happy Anniversary MOD
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: 1, 2  Next
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
[Solved] Happy Anniversary MOD
PostPosted: 09/03/2007 2:15 PM Reply with quote
Citation
2LadyDi
Citation
Posts 826
Word Cnt. 37,329
BDay Oct 2
Sign Libra
Sex Sex:Female
Joined: Apr 03, 2007
Local time: 5:28 AM
Location: Somewhere in Maryland
marylndC.gif
So far it looks good but... No Members have an Anniversary Today resides on the outside prior to log in and after log-in as well. Not good for me as I need it to be visible ONLY to registered users.

Suggestions?


Last edited by 2LadyDi on 09/11/2007 3:46 PM; edited 1 time in total
Back to Top
View user's profile Find all posts by 2LadyDi Send private message   Phoogle Map Visit poster's Blog
Re: HappyAnniversary MOD
PostPosted: 09/03/2007 10:51 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 6:28 AM
Location: St Pete, FL
peace.gif
You should be able to use the following switch like you did before to display the message only for logged in members.  There is a chance that the embedded Anniversary switch may not work after this though, so let me know if it causes any problems:

OPEN
templates/subSilver/index_body.tpl
templates/subBlack/index_body.tpl

FIND
Code:
<td align="center" valign="bottom"><span class="gensmall">
{L_HAPPY_ANNIVERSARY}
<!-- BEGIN joined_date -->
{joined_date.USERNAME}  ({joined_date.YEARS}),&nbsp;
<!-- END joined_date -->
</span>
</td>

REPLACE WITH
Code:
<!-- BEGIN switch_user_logged_in -->
<td align="center" valign="bottom"><span class="gensmall">
{L_HAPPY_ANNIVERSARY}
<!-- BEGIN joined_date -->
{joined_date.USERNAME}  ({joined_date.YEARS}),&nbsp;
<!-- END joined_date -->
</span>
</td>
<!-- END switch_user_logged_in -->

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Happy Anniversary MOD
PostPosted: 09/04/2007 1:57 AM Reply with quote
Citation
2LadyDi
Citation
Posts 826
Word Cnt. 37,329
BDay Oct 2
Sign Libra
Sex Sex:Female
Joined: Apr 03, 2007
Local time: 5:28 AM
Location: Somewhere in Maryland
marylndC.gif
Ok NR will do and I will save what I did so I can revert back, if needed. There's a couple Anniversary's in the next few days to a week. Keep ya posted!!
Back to Top
View user's profile Find all posts by 2LadyDi Send private message   Phoogle Map Visit poster's Blog
Re: HappyAnniversary MOD
PostPosted: 09/04/2007 4:59 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 6:28 AM
Location: St Pete, FL
peace.gif
Good luck with it.  I've got my fingers crossed that all will display as expected...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Happy Anniversary MOD
PostPosted: 09/08/2007 11:45 PM Reply with quote
Citation
2LadyDi
Citation
Posts 826
Word Cnt. 37,329
BDay Oct 2
Sign Libra
Sex Sex:Female
Joined: Apr 03, 2007
Local time: 5:28 AM
Location: Somewhere in Maryland
marylndC.gif
Had one on the 8th and I do not recall seeing a change. So, it's not working NR.
Back to Top
View user's profile Find all posts by 2LadyDi Send private message   Phoogle Map Visit poster's Blog
Re: HappyAnniversary MOD
PostPosted: 09/10/2007 10:03 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 6:28 AM
Location: St Pete, FL
peace.gif
No, after looking at the MOD code, I realized that there was no way for this MOD to work for anyone who installed it.  The code was a total disaster and it is clear that the MOD author really didn't know what he was doing...

After a nearly total rewrite of the index.php code, the MOD is now working correctly.  I also moved the Anniversary announcement to the bottom of the index page where it belongs too...



headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Happy Anniversary MOD
PostPosted: 09/11/2007 3:46 PM Reply with quote
Citation
2LadyDi
Citation
Posts 826
Word Cnt. 37,329
BDay Oct 2
Sign Libra
Sex Sex:Female
Joined: Apr 03, 2007
Local time: 5:28 AM
Location: Somewhere in Maryland
marylndC.gif
banana  looks grand to me NR!!
Back to Top
View user's profile Find all posts by 2LadyDi Send private message   Phoogle Map Visit poster's Blog
Re: [Solved] Happy Anniversary MOD
PostPosted: 09/11/2007 4:04 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 6:28 AM
Location: St Pete, FL
peace.gif
It looks like the next anniversary will be Sept 15, so you should see this working on that day...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: [Solved] Happy Anniversary MOD
PostPosted: 09/15/2007 12:15 PM Reply with quote
Citation
2LadyDi
Citation
Posts 826
Word Cnt. 37,329
BDay Oct 2
Sign Libra
Sex Sex:Female
Joined: Apr 03, 2007
Local time: 5:28 AM
Location: Somewhere in Maryland
marylndC.gif
YAY, sorta but I want it to be on top, bigger and in a different color.


Last edited by 2LadyDi on 09/15/2007 10:41 PM; edited 1 time in total
Back to Top
View user's profile Find all posts by 2LadyDi Send private message   Phoogle Map Visit poster's Blog
Re: [Solved] Happy Anniversary MOD
PostPosted: 09/15/2007 5:30 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 6:28 AM
Location: St Pete, FL
peace.gif
You can move it if you want.  The code is listed at the bottom of the index_body.tpl file.  You can move the entire HTML row to the top and embed it within another table or you can create a table just for it...

munky2
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: 1, 2  Next
Page 1 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.0657s (PHP: 72% - SQL: 28%) - SQL queries: 57 - GZIP disabled - Debug on