Ups, en realidad ha habido un fallo. Y no a lo que me referia yo con paguinas HTML, en realidad son los anuncios de moderador... Me entere por msn preguntando la duda tambien xD.
Pero ahora tengo una duda, estoy intentando modificar ese partado, y tras modificar la plantilla announcement (no recuerdo nombre exacto) he conseguido quitar la barra de arriba (thear, o algo asi) pero... modificar lo demas entra dentro del PHP.
¿Como he de editar el archivo para que el resultado sea el siguiente?:
El Postbit desaparece, los iconos de mas puntuacion y borrar y demas tambien.
El espacio donde se escribe el mensaje se vuelve blanco liso.
Ese espacio blanco liso se envuelve con una sombra (Como el espacio de los menasjes aqui, o del Postbit).
¿Como tendria que dejar el PHP? Lo dejo aqui en Code por si me pueden ayudar.
Código:
<?php
/**
* MyBB 1.6
* Copyright 2010 MyBB Group, All Rights Reserved
*
* Website: http://mybb.com
* License: http://mybb.com/about/license
*
* $Id: announcements.php 5016 2010-06-12 00:24:02Z RyanGordon $
*/
define("IN_MYBB", 1);
define('THIS_SCRIPT', 'announcements.php');
$templatelist = "announcement,postbit_groupimage,postbit_reputation,postbit_avatar,postbit_online,postbit_offline,postbit_find,postbit_pm,postbit_email,postbit_www,postbit_author_user,announcement_edit,announcement_quickdelete,postbit";
require_once "./global.php";
require_once MYBB_ROOT."inc/functions_post.php";
// Load global language phrases
$lang->load("announcements");
$aid = intval($mybb->input['aid']);
$plugins->run_hooks("announcements_start");
// Get announcement fid
$query = $db->simple_select("announcements", "fid", "aid='$aid'");
$announcement = $db->fetch_array($query);
if(!$announcement)
{
error($lang->error_invalidannouncement);
}
// Get forum info
$fid = $announcement['fid'];
if($fid > 0)
{
$forum = get_forum($fid);
if(!$forum)
{
error($lang->error_invalidforum);
}
// Make navigation
build_forum_breadcrumb($forum['fid']);
// Permissions
$forumpermissions = forum_permissions($forum['fid']);
if($forumpermissions['canview'] == 0 || $forumpermissions['canviewthreads'] == 0)
{
error_no_permission();
}
// Check if this forum is password protected and we have a valid password
check_forum_password($forum['fid']);
}
add_breadcrumb($lang->nav_announcements);
$archive_url = build_archive_link("announcement", $aid);
// Get announcement info
$time = TIME_NOW;
$query = $db->query("
SELECT u.*, u.username AS userusername, a.*, f.*, g.title AS grouptitle, g.usertitle AS groupusertitle, g.stars AS groupstars, g.starimage AS groupstarimage, g.image AS groupimage, g.namestyle, g.usereputationsystem
FROM ".TABLE_PREFIX."announcements a
LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=a.uid)
LEFT JOIN ".TABLE_PREFIX."userfields f ON (f.ufid=u.uid)
LEFT JOIN ".TABLE_PREFIX."usergroups g ON (g.gid=u.usergroup)
WHERE a.startdate<='$time' AND (a.enddate>='$time' OR a.enddate='0') AND a.aid='$aid'
");
$announcementarray = $db->fetch_array($query);
if(!$announcementarray)
{
error($lang->error_invalidannouncement);
}
$announcementarray['dateline'] = $announcementarray['startdate'];
$announcementarray['userusername'] = $announcementarray['username'];
$announcement = build_postbit($announcementarray, 3);
$lang->forum_announcement = $lang->sprintf($lang->forum_announcement, htmlspecialchars_uni($announcementarray['subject']));
$plugins->run_hooks("announcements_end");
eval("\$forumannouncement = \"".$templates->get("announcement")."\";");
output_page($forumannouncement);
Gracias por leer.