 | [Solved] Happy Anniversary MOD |  |
Posted: 09/03/2007 2:15 PM |
|
|
|
|
|
| Citation |
| Posts |
826 |
| Word Cnt. |
37,329 |
| BDay |
Oct 2 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Apr 03, 2007
Local time: 5:28 AM
Location: Somewhere in Maryland
|

|
|
|
|
 |
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 |
|
|
 | Re: HappyAnniversary MOD |  |
Posted: 09/03/2007 10:51 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:28 AM
Location: St Pete, FL
|

|
|
|
|
 |
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}),
<!-- 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}),
<!-- END joined_date -->
</span>
</td>
<!-- END switch_user_logged_in -->
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Happy Anniversary MOD |  |
Posted: 09/04/2007 1:57 AM |
|
|
|
|
|
| Citation |
| Posts |
826 |
| Word Cnt. |
37,329 |
| BDay |
Oct 2 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Apr 03, 2007
Local time: 5:28 AM
Location: Somewhere in Maryland
|

|
|
|
|
 |
| 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 |
|
|
 | Re: HappyAnniversary MOD |  |
Posted: 09/04/2007 4:59 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:28 AM
Location: St Pete, FL
|

|
|
|
|
 |
Good luck with it. I've got my fingers crossed that all will display as expected...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Happy Anniversary MOD |  |
Posted: 09/08/2007 11:45 PM |
|
|
|
|
|
| Citation |
| Posts |
826 |
| Word Cnt. |
37,329 |
| BDay |
Oct 2 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Apr 03, 2007
Local time: 5:28 AM
Location: Somewhere in Maryland
|

|
|
|
|
 |
| Had one on the 8th and I do not recall seeing a change. So, it's not working NR. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: HappyAnniversary MOD |  |
Posted: 09/10/2007 10:03 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:28 AM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Happy Anniversary MOD |  |
Posted: 09/11/2007 3:46 PM |
|
|
|
|
|
| Citation |
| Posts |
826 |
| Word Cnt. |
37,329 |
| BDay |
Oct 2 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Apr 03, 2007
Local time: 5:28 AM
Location: Somewhere in Maryland
|

|
|
|
|
 |
looks grand to me NR!! |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Happy Anniversary MOD |  |
Posted: 09/11/2007 4:04 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:28 AM
Location: St Pete, FL
|

|
|
|
|
 |
It looks like the next anniversary will be Sept 15, so you should see this working on that day...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Happy Anniversary MOD |  |
Posted: 09/15/2007 12:15 PM |
|
|
|
|
|
| Citation |
| Posts |
826 |
| Word Cnt. |
37,329 |
| BDay |
Oct 2 |
| Sign |
Libra |
| Sex |
 |
|
|
|
Joined: Apr 03, 2007
Local time: 5:28 AM
Location: Somewhere in Maryland
|

|
|
|
|
 |
| 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 |
|
|
 | Re: [Solved] Happy Anniversary MOD |  |
Posted: 09/15/2007 5:30 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 6:28 AM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|