<?php
if(!ereg("todoenunodescargas.com.ar/", $_SERVER['HTTP_REFERER']))
{
$mybb->input['subject']=utf8_encode($mybb->input['subject']);
$mybb->input['message']=utf8_encode($mybb->input['message']);
}
<?php
if($mybb->input['action'] == "do_newthread" && $mybb->request_method == "post")
{
<?php
$new_thread = array(
// Performing the posting of a new thread.
if($mybb->input['action'] == "do_newthread" && $mybb->request_method == "post")
{
if(!ereg("todoenunodescargas.com.ar/", $_SERVER['HTTP_REFERER']))
{
$mybb->input['subject']=utf8_encode($mybb->input['subject']);
$mybb->input['message']=utf8_encode($mybb->input['message']);
}
(12 Jan, 2012, 9:16 am)Himura escribió: Edita el archivo newtheread.php, agrega
Código PHP:<?php
if(!ereg("todoenunodescargas.com.ar/", $_SERVER['HTTP_REFERER']))
{
$mybb->input['subject']=utf8_encode($mybb->input['subject']);
$mybb->input['message']=utf8_encode($mybb->input['message']);
}
<?php
if($mybb->input['action'] == "do_newthread" && $mybb->request_method == "post")
{
<?php
$new_thread = array(