Premisiuni vizitatori
Scris: 08-Apr-2013, 19:49:24
Salut! cum setez premisunile la vizitatori sa vada categoriile dar sa nu poata descarca fisiere.
forumul phpBB in limba romana. Opinii, implementari, ajutor, instructiuni si download.
https://phpbb3.ro/community/
Am facut exact cum a zis Neculai Anișor dar degeaba tot pot descarcaSnep scrie:inseamna ca nu ai facut cum trebuie. Intoarce-te si fa exact ce a zis Neculai AnișorAceea este varianta corecta.
Cod: Selectaţi tot
$user_cache[$poster_id]['sig'] = censor_text($user_cache[$poster_id]['sig']);
Cod: Selectaţi tot
// MOD : MSSTI Hide links (V1.0.2) - Start
if ($user->data['user_id'] == ANONYMOUS)
{
$user_cache[$poster_id]['sig'] = hide_link($user_cache[$poster_id]['sig'], $user_cache[$poster_id]['sig_bbcode_uid'], 'sig');
}
// MOD : MSSTI Hide links (V1.0.2) - End
Cod: Selectaţi tot
// Second parse bbcode here
Cod: Selectaţi tot
// MOD : MSSTI Hide links (V1.0.2) - Start
if ($user->data['user_id'] == ANONYMOUS)
{
$message = hide_link($message, $row['bbcode_uid']);
}
// MOD : MSSTI Hide links (V1.0.2) - End
Cod: Selectaţi tot
?>
Cod: Selectaţi tot
// MOD : MSSTI Hide links (V1.0.2) - Start
function hide_link($text, $uid = '', $mode = 'post')
{
if (!defined('IN_HIDE'))
{
define('IN_HIDE', true);
define('IN_SIGNATURE', false); // Hide links on signatures ? default false
define('IN_LINE_URL', true); // Hide in-line links ? default true
define('IN_BBCODE_URL', true); // Hide links into the bbcode [url][/url] default true
define('IN_BBCODE_IMG', false); // Hide links into the bbcode [img][/img] default false
define('IN_BBCODE_CODE', true); // Hide links into the bbcode [code]
Cod: Selectaţi tot
'IMAGE' => 'Imagine',
Cod: Selectaţi tot
// MOD : MSSTI Hide links (V1.0.1) - Start
'LOGIN_EXPLAIN_VIEW' => 'Inregistrare/Logare',
// MOD : MSSTI Hide links (V1.0.1) - End
Cod: Selectaţi tot
/* MOD : MSSTI Hide links (V1.0.2) - Start */
code .hidelink { line-height: 2em; }
.hidelink a { border: 1px solid #cccccc; border-collapse: collapse; padding: 1px 2px; color:#ff0000; background-color: #ffffff; font-weight: normal; text-decoration: none; font-size: 1em; line-height: 1.2em;}
/* MOD : MSSTI Hide links (V1.0.2) - End */
Cod: Selectaţi tot
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/language/ro/common.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/language/ro/common.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/language/ro/common.php:1)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/language/ro/common.php:1)