MyBB Community Forums

Full Version: How to modify an annoucament
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Sorry but how to modificy an announcament?
I would:

Announcament: Name

Do you understand?
I try in an aother forum (test forum) and it work,
I make in test forum:
<font color="#FF0000">{$announcement['subject']}</font>
I make in my forum
<font color="#FF0000">{$announcement['subject']}</font>

Result:
In test forum OK
In my forum it does not succeed nothing

Why?
Not really sure what the problem is, can we have your URL...??
In pm or here?
It's better to post the URL here so everyone can try help, but if you don't want to post the URL, feel free to PM the URL.
Nono, http://www.volcomech.altervista.org/forum/

Sorry but i wouldn't be ban for spam Smile

When do you register wirte in a chatbox and i do temporarly admin you so you arrange my forum Smile

Thanks Smile
Matt you are admin in my forum Smile

Now you arrange my forum! pleease *.*
MattRogowski , you are registred in my forum and now can you arrange my forum announcament?
Reason it isn't working is because you've managed to delete your forumdisplay_announcements_announcement template, it's marked as being custom, so it won't be used properly.

Run this query in phpMyAdmin:

INSERT INTO mybb_templates
(title,template,sid,version)
VALUES
('forumdisplay_announcements_announcement',
'<tr>
<td align=\"center\" class=\"{$bgcolor}\" width=\"2%\"><img src=\"{$theme[\'imgdir\']}/{$folder}.gif\" alt=\"\"/></td>
<td align=\"center\" class=\"{$bgcolor}\" width=\"2%\">&nbsp;</td>
<td class=\"{$bgcolor}\">
	<a href=\"{$announcement[\'announcementlink\']}\"{$new_class}>{$announcement[\'subject\']}</a>
	<div class=\"author smalltext\">{$announcement[\'profilelink\']}</div>
</td>
<td align=\"center\" class=\"{$bgcolor}\">-</td>
<td align=\"center\" class=\"{$bgcolor}\">-</td>
{$rating}
<td class=\"{$bgcolor}\" style=\"white-space: nowrap; text-align: right\"><span class=\"smalltext\">{$postdate} {$posttime}</span></td>
{$modann}
</tr>',
'-2',
'1400');

Then I'll make the colour changes you want Smile
I run that query and now, if you want.. modify an announcament..

Bold and font color red! Smile

Thank you ^^
There we are, should be showing bold and red now... I can make the text a bit bigger too if you'd want.
thank you very much!

but.. if the color of template is blue it doesn't exist?
Pages: 1 2