MyBB Community Forums

Full Version: What is ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi, I used the PHP to retrieve the latest topics but I see this "" to the up.


In the box "Ultimi topic".

What can I do for delete this ?

Make sure you've not got any spaces/characters before the <?php in whatever file you're using to get the latest topics.
Thanks for answering.

I used this code:
$limit = 10;
//$forumpath = '/';

define("IN_MYBB", 1);

$unviewable = get_unviewable_forums(true);

$unview = "AND fid NOT IN ({$unviewable})";

$query = $db->simple_select('threads', '*', "1=1 {$unview} ORDER BY tid DESC LIMIT {$limit}");
if($db->num_rows($query) > 0)
while($row = $db->fetch_array($query))

$date = my_date($mybb->settings['dateformat'], $row['lastpost'], "", 1);
$time = my_date($mybb->settings['timeformat'], $row['lastpost'], "", 1);

$val = substr($row['subject'],0,28)."...";

else {
$val= $row['subject'];

if ($i==1)

	echo "<tr class=\"trow$i\"><td width=\"1%\" align=\"center\"><img src=\"\"></td>
<td width=\"32%\"><a
href=\"{$row['tid']}\" target=\"_blank\">{$val}</a></td>
<td width=\"10%\" align=\"center\">{$row['replies']}</td>
<td width=\"10%\" align=\"center\">{$row['views']}</td>
<td width=\"18%\"><a href=\"{$row['lastposter']}\" style=\"font-size: 11px;\">{$row['lastposter']}</a></td></tr>";
echo '<font style="font-size: 11px; font-family:verdana, sans-serif;"><b>Nessuna nuovo topic.</b></font>';

What's wrong?

What text editor are you using?? If it's Notepad it'll be that, use Wordpad or another text editor.
I used Altervista's text-editor, it's my hosting.

1 Week ago was ok ç_ç

I don't know what's the problem...
1. Download and install Notepad++.
2. Copy and paste your code into Notepad++.
3. Go to Encoding > Encode in UTF-8 without BOM.
4. Save, upload and overwrite the file to your server.

Seems to work for me. And like Matt said, make sure there's nothing before the <?php tag.
Uhmm... nothing.. but if we go here: we don't see "" ._.

Is a global.php's problem?
Go to AdminCP -> Tools & Maintenance -> File Verification.

What does it say??
Where is "File Verification"? I don't see it °-°
Are you even running MyBB 1.6? It seems to me you're still on 1.4.

Try running this plugin, which does the same as File Verification: (for 1.4)
Pages: 1 2 3