News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Global Announcements

Started by JayBachatero, August 15, 2006, 02:39:18 PM

Previous topic - Next topic

L.G.S

Hey, I know you said you didn't intend to put a link into the admin panel to get to the mod, but I'm having real trouble just trying to remember the link for it.

I have the Admin Modifications menu mod installed and was wondering if you could tell me the code to install the link there please?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Assistance

the link is the very last one on the left side
atleast it is for me
~playing poker~

L.G.S

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Assistance

action=globalAnnouncementsAdmin
~playing poker~

L.G.S

#24
Thankyou.

Could ya show me a prt scr of where the link is for you please?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Assistance

~playing poker~

L.G.S

Could you insult me after I do something wrong?

Look on your keyboard, prt scr is a button..
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Assistance

no sorry its not
Print Scrn is






just look at your admins cp
and look at the left side, at the very bottom of ALL the links on the LEFT side
is
Mods
Global Announcements

that is what I have, no need for picture books

sorry for my ignorance
~playing poker~

SleePy

Great work Jay

Heres some Images I took while testing it on one of my smf test sites

Main Screen:


Edit/Add Global Announcement


Edit/Add Global Announcement Picture 2


Global Announcement Settings:


MessageIndex Display:


Display:
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

JayBachatero

Quote from: L.G.S on August 18, 2006, 03:51:56 PM
Hey, I know you said you didn't intend to put a link into the admin panel to get to the mod, but I'm having real trouble just trying to remember the link for it.

I have the Admin Modifications menu mod installed and was wondering if you could tell me the code to install the link there please?

Meh I dont remember saying that I didn't intend to add the link.  It should be there.  Check for errors in error log.

Thanks for the screen shots Sleepy.
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Almeyric

Hello,

it's a vrey nice mod.

Is it envisaged to be able to put a topic announces some in the future versions ? (sorry form y bad english, i'm a french)

Is a French version possible ?

Thanks.

L.G.S

Quote from: Jay The Code Monkey on August 18, 2006, 11:14:06 PM
Quote from: L.G.S on August 18, 2006, 03:51:56 PM
Hey, I know you said you didn't intend to put a link into the admin panel to get to the mod, but I'm having real trouble just trying to remember the link for it.

I have the Admin Modifications menu mod installed and was wondering if you could tell me the code to install the link there please?

Meh I dont remember saying that I didn't intend to add the link.  It should be there.  Check for errors in error log.

Thanks for the screen shots Sleepy.

sorry for misreading you then. However under my mods panel it is empty
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


JayBachatero

Almeyric you mean like Super Sticky?

L.G.S can you email me your Subs.php?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

PrizeLive.com

Very nice mod..

Few questions though..

How can I make it bold, sticky, and have a darker background color like the normal "Sticky" has...

Also... is there anyway members can reply to a global announcement??
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

JayBachatero

Edit the MessageIndex.template.php
find

<td ' ,$globalAnnouncement['ga']['enabled'] == 0 ? 'style="background-color: #e9e9e9; color: #8d8d8d;"' : 'class="windowbg"', '>
<a href="' ,$globalAnnouncement['ga']['href'], '" >', $globalAnnouncement['ga']['subject'], '</a>
</td>


Code ( replace) Select

<td ' ,$globalAnnouncement['ga']['enabled'] == 0 ? 'style="background-color: #e9e9e9; color: #8d8d8d;"' : 'class="windowbg3"', '>
<a href="' ,$globalAnnouncement['ga']['href'], '" >', $globalAnnouncement['ga']['subject'], '</a>
</td>
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

PrizeLive.com

Cool thanks...

Anyway to add the "sticky" symbol?
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

Almeyric

Quote from: Jay The Code Monkey on August 19, 2006, 12:41:31 PM
Almeyric you mean like Super Sticky?


I'm not sure to have understood you well.

But I would like to know if in a feature version, it will be possible to transform a simple topic into Announce.

L.G.S

#37
edit: I have sent it to your email ;)
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


JayBachatero

#38
Quote from: Almeyric on August 19, 2006, 01:25:15 PM
Quote from: Jay The Code Monkey on August 19, 2006, 12:41:31 PM
Almeyric you mean like Super Sticky?


I'm not sure to have understood you well.

But I would like to know if in a feature version, it will be possible to transform a simple topic into Announce.
That would tbe the Super Sticky mod.  I'm going to look into it in the future.

L.G.S I'll look into it now.
EDIT: LGS it looks good to me.  Can you provide me with an admin account on the forum?
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

JayBachatero

Surf use this

<td ' ,$globalAnnouncement['ga']['enabled'] == 0 ? 'style="background-color: #e9e9e9; color: #8d8d8d;"' : 'class="windowbg3"', '>
<img src="' . $settings['images_url'] . '/icons/show_sticky.gif" align="right" alt="" style="margin: 0;" />
<a href="' ,$globalAnnouncement['ga']['href'], '" >', $globalAnnouncement['ga']['subject'], '</a>
</td>
Follow me on Twitter

"HELP!!! I've fallen and I can't get up"
This moment has been brought to you by LifeAlert

Advertisement: