[DEPRECATED] ACP Site Announcement Centre


Inactive User
Subject: [DEPRECATED] ACP Site Announcement Centre
This MOD is deprecated and no longer supported for IP version 1.2.*

Please upgrade your Icy Phoenix to version 1.3.*

Last edited by Guest on Sat 18 Jul, 2009 13:03; edited 5 times in total
Subject: Re: [MOD] ACP Site Announcement Centre
Nice Mod, thank you!

Moved to Customizations.

Subject: Re: [MOD] ACP Site Announcement Centre
Nice Lopalong! :)

Inactive User
Subject: Re: [MOD] ACP Site Announcement Centre
Thanks,

The person(s) who originally put it together probably took a lot longer than what I did to modify it. :)

I should have also made it mg_theme compliant before I released it. :( Which I have done as a patch for the time being until v1.2 is released. :mricy:

Please replace this script "templates/mg_themes/index_body.tpl" in the instructions when installing the MOD:

FIND:

Code: [Download] [Hide] [Select]
<!-- BEGIN announcement_displayed -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th height="25" nowrap="nowrap">&nbsp;{L_ANNOUNCEMENT_TITLE}&nbsp;</th>
</tr>
<tr>
<td class="row1" width="100%"><span class="gen"> <p align="center">{SITE_ANNOUNCEMENTS_LEFTY74}</p> </span></td>
</tr>
</table>
<!-- END announcement_displayed -->
<!-- BEGIN guest_announcement_displayed -->
<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
<tr>
<th height="25" nowrap="nowrap">&nbsp; {L_ANNOUNCEMENT_GUEST_TITLE} &nbsp;</th>
</tr>
<tr>
<td class="row1" width="100%"><span class="gen"><p align="center"> {GUEST_ANNOUNCEMENTS_LEFTY74} </p></span></td>
</tr>
</table>
<!-- END guest_announcement_displayed -->


REPLACE WITH:

Code: [Download] [Hide] [Select]
<!-- BEGIN announcement_displayed -->
<div id="annce_h" style="display: none;">
{IMG_THL}{IMG_THC}<img style="padding-top:3px;padding-right:6px;float:right;cursor:pointer;" src="{IMG_MAXIMISE}" onclick="javascript:ShowHide('annce','annce_h','annce');" alt="{L_SHOW}" /><span class="forumlink">{L_ANNOUNCEMENT_TITLE}</span>
{IMG_THR_ALT}<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0">
<tr><td>&nbsp;</td></tr>
</table>{IMG_TFL}{IMG_TFC}{IMG_TFR}
</div>
<div id="annce">
<script type="text/javascript">
<!--
tmp = 'annce';
if(GetCookie(tmp) == '2')
{
ShowHide('annce', 'annce_h', 'annce');
}
//-->
</script>
{IMG_THL}{IMG_THC}<img style="padding-top:3px;padding-right:6px;float:right;cursor:pointer;" src="{IMG_MINIMISE}" onclick="javascript:ShowHide('annce','annce_h','annce');" alt="{L_HIDE}" /><span class="forumlink">{L_ANNOUNCEMENT_TITLE}</span>{IMG_THR}<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="row1" width="100%"><span class="gen"><br /><p>{SITE_ANNOUNCEMENTS_LEFTY74}</p><br /></span></td>
</tr>
</table>{IMG_TFL}{IMG_TFC}{IMG_TFR}
</div>
<!-- END announcement_displayed -->
<!-- BEGIN guest_announcement_displayed -->
<div id="annce_h" style="display: none;">
{IMG_THL}{IMG_THC}<img style="padding-top:3px;padding-right:6px;float:right;cursor:pointer;" src="{IMG_MAXIMISE}" onclick="javascript:ShowHide('annce','annce_h','annce');" alt="{L_SHOW}" /><span class="forumlink">{L_ANNOUNCEMENT_TITLE}</span>
{IMG_THR_ALT}<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0">
<tr><td>&nbsp;</td></tr>
</table>{IMG_TFL}{IMG_TFC}{IMG_TFR}
</div>
<div id="annce">
<script type="text/javascript">
<!--
tmp = 'annce';
if(GetCookie(tmp) == '2')
{
ShowHide('annce', 'annce_h', 'annce');
}
//-->
</script>
{IMG_THL}{IMG_THC}<img style="padding-top:3px;padding-right:6px;float:right;cursor:pointer;" src="{IMG_MINIMISE}" onclick="javascript:ShowHide('annce','annce_h','annce');" alt="{L_HIDE}" /><span class="forumlink">{L_ANNOUNCEMENT_GUEST_TITLE}</span>{IMG_THR}<table class="forumlinenb" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="row1" width="100%"><span class="gen"><br /><p>{GUEST_ANNOUNCEMENTS_LEFTY74}</p><br /></span></td>
</tr>
</table>{IMG_TFL}{IMG_TFC}{IMG_TFR}
</div>
<!-- END guest_announcement_displayed -->

Subject: Re: [MOD] ACP Site Announcement Centre
A tricky question... :LOL:

Why I should have to install it instead of using CMS blocks? :mricy:

Please notice that I would just to know which extra features has this mod respect to a standard block. :wink:

Inactive User
Subject: Re: [MOD] ACP Site Announcement Centre
Not sure I understand the question. :(

And going by your question I assume that there is an easier / newer way to do this that I haven't explored in IP; as I'm doing it the "Old" phpBB way. :|

Can you / someone please give me / direct me to an example of a MOD that is installed using the CMS Block system. :?:

As it looks like I need to back to school, and do some more learning. :mricy:

Subject: Re: [MOD] ACP Site Announcement Centre
you can go to ACP >> Configuration >> Headers & Banner >> Header and Footer Messages

Profile PM  
Inactive User
Subject: Re: [MOD] ACP Site Announcement Centre
Thanks for the reply xmenfile, 8)

I may spend the next few days exploring IP even further, but at the moment my eyes are bleeding and my brain is bursting from all of the stuff I've read and already forgot.
:mricy:

Subject: Re: [MOD] ACP Site Announcement Centre
heh, no worries. Helping is sharing, also I am learning and get use to IP too.

Profile PM  
Subject: Re: [MOD] ACP Site Announcement Centre
Lopalong wrote: [View Post]
Not sure I understand the question. :(

And going by your question I assume that there is an easier / newer way to do this that I haven't explored in IP; as I'm doing it the "Old" phpBB way. :|

Can you / someone please give me / direct me to an example of a MOD that is installed using the CMS Block system. :?:

As it looks like I need to back to school, and do some more learning. :mricy:

I wasn't mean offending you... that's just my "nice" humour :LOL: !

If you find this mod useful, then it is useful... I didn't want to tell you that you did something wrong... I was just trying to deeply understand if what this mod currently DOES it is something which IP is already able to do using blocks.

I will try to better explain myself.

In IP 1.1.10.25 (or above) you can insert any kind of block (file block, BBCode block, HTML block) on any page via GLOBAL BLOCKS or specific page using PAGE SPECIFIC BLOCKS... you can also specify permissions and even lang specific content if you add your lang vars into lang_main_settings.php or lang_extend_XXX.php (where XXX may be any word you like... even LOPALONG!) and recall the vars into your blocks.

When you have time, try to verify if IP can replicate this mod with the tools IP already has built-in.

I hope you got my point now. :mri:

Inactive User
Subject: Re: [MOD] ACP Site Announcement Centre
G'day Mate,

No 1. You didn't offend me. :P

But I do need to spend more time going through everything you have done before I add any more optional MODS etc. :mricy:

And in future, I think it will be better for me to release anything that I do in the VIP area, to see if it can be improved on by the more experienced IP Guru's, before it is released to the public.

Now it's back to school. :mrblue:

Subject: Re: [MOD] ACP Site Announcement Centre
Lopalong wrote: [View Post]
Now it's back to school. :mrblue:

Remember that you have to study hard to pass IP exams... :LOL:

When you have some free time to test, let me know the results. :wink:

Thanks.

Subject: Re: [MOD] ACP Site Announcement Centre
cool mod !! A MUST but then ... I might be considered biased LOL

Profile PM  
Inactive User
Subject: Re: [MOD] ACP Site Announcement Centre
lefty74 wrote: [View Post]
cool mod !! A MUST but then ... I might be considered biased LOL


Hehehe!

G'day Lefty, :mricy:

You could have saved me a LOT of trouble if you had modded it for here! :P

And It didn't take me as anywhere near as long to Re-MOD it as it took you to put it together. So the thanks belong to you for compiling it in the first place. :mryellow:

PS: Got any more nice ones?

Subject: Re: [MOD] ACP Site Announcement Centre
Lopalong wrote: [View Post]


PS: Got any more nice ones?

only a couple more :wink:

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 2.4183s (PHP: 1% SQL: 99%)
SQL queries: 10 - Debug Off - GZIP Enabled