cum sa instalez si eu MOD ?
- CraniuRosu
- Utilizator înregistrat
- Mesaje: 41
- Membru din: 22-Sep-2006, 16:17:21
cum sa instalez si eu MOD ?
m-am uitat prin proapte toate topicurile si nu am gasit cum sa instalez si eu MOD imi trebuie ceva instalat pe forum sau cum sa fac vreu si eu mod acele chesti cu top topicuri topicuri recente top user si nu stiu cum sa le instalez daca se poate sa ma ajute si pre mine cineva dar as vrea sa imi arate mai detalait
multumesc anticipat
multumesc anticipat
- Etherfast
- Fost coleg
- Mesaje: 2634
- Membru din: 19-Sep-2006, 10:33:41
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Localitate: Bucharest, RO
- Contact:
Daca cunosti limba engleza, te uiti prin fisierele "README" ale MOD-urilor respective. Ai nevoie cel putin de cunostiinte de baza ca sa instalezi un MOD pe forum.
Nu te poti astepta sa iti spunem noi pas cu pas ce sa faci, practic sa iti dam mura in gura.
Daca ai inceput sa instalezi un MOD si te-ai blocat undeva, atunci putem incerca sa te ajutam.
Daca ai nevoie de indicatii asupra cum poti sa incepi sa instalezi un MOD, citeste asta.
Nu te poti astepta sa iti spunem noi pas cu pas ce sa faci, practic sa iti dam mura in gura.
Daca ai inceput sa instalezi un MOD si te-ai blocat undeva, atunci putem incerca sa te ajutam.
Daca ai nevoie de indicatii asupra cum poti sa incepi sa instalezi un MOD, citeste asta.
etherfast.ro - Blog personal
- CraniuRosu
- Utilizator înregistrat
- Mesaje: 41
- Membru din: 22-Sep-2006, 16:17:21
- CraniuRosu
- Utilizator înregistrat
- Mesaje: 41
- Membru din: 22-Sep-2006, 16:17:21
- octaviansan
- Utilizator înregistrat
- Mesaje: 1124
- Membru din: 28-Iun-2006, 13:56:23
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Localitate: Bucureşti, RO
- Contact:
- CraniuRosu
- Utilizator înregistrat
- Mesaje: 41
- Membru din: 22-Sep-2006, 16:17:21
loooool domane ce noob sunt
multumesc mult
aici am si o porb ce trebuie sa ii fac sau mai bine zis unde trebuie sa modific ?


Cod: Selectaţi tot
#-----[ OPEN ]------------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]----------------------------------------
#
// View category name MOD, By Manipe (Begin)
// Gets the category name and id of a particular forum.
function get_category($forum_id){
global $db;
$sql = "SELECT c.cat_title, c.cat_id
FROM " . CATEGORIES_TABLE . " c, " . FORUMS_TABLE . " f
WHERE f.forum_id = '$forum_id'
AND c.cat_id = f.cat_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain category information', '', __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
$cat_info = array("id" => $row['cat_id'], "title" => $row['cat_title']);
$db->sql_freeresult($result);
return $cat_info;
}
// View category name MOD, By Manipe (End)
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/modcp_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<td><span>
#
#-----[ IN-LINE FIND ]----------------------------------------
#
->
#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------
#
-> <a href="{U_CAT}" class="nav">{CAT_NAME}</a>
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/modcp_split.tpl
#
#-----[ FIND ]------------------------------------------------
#
<td><a href="{U_INDEX}" class="nav">
#
#-----[ IN-LINE FIND ]----------------------------------------
#
<span>
#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
-> <a href="{U_CAT}" class="nav">{CAT_NAME}</a>
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/posting_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a>
#
#-----[ IN-LINE FIND ]----------------------------------------
#
->
#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------
#
-> <a href="{U_CAT}" class="nav">{CAT_NAME}</a>
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/viewforum_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<td><span> <a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
#
#-----[ IN-LINE FIND ]----------------------------------------
#
<a class="nav" href="{U_VIEW_FORUM}">
#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------
#
<a href="{U_CAT}" class="nav">{CAT_NAME}</a> ->
#
#-----[ FIND ]------------------------------------------------
#
<td><span> <a href="{U_INDEX}" class="nav">{L_INDEX}</a> -> <a class="nav" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span></td>
#
#-----[ IN-LINE FIND ]----------------------------------------
#
<a class="nav" href="{U_VIEW_FORUM}">
#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------
#
<a href="{U_CAT}" class="nav">{CAT_NAME}</a> ->
#
#-----[ OPEN ]------------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------------
#
<td><span> <a href="{U_INDEX}" class="nav">{L_INDEX}</a>
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
</tr>
#
#-----[ IN-LINE FIND ]----------------------------------------
#
<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
-> <a href="{U_CAT}" class="nav">{CAT_NAME}</a>
#
#-----[ FIND ]------------------------------------------------
#
<td><span> <a href="{U_INDEX}" class="nav">{L_INDEX}</a>
-> <a href="{U_VIEW_FORUM}" class="nav">{FORUM_NAME}</a></span></td>
<td><span>{S_TIMEZONE}</span><br><span>{PAGINATION}</span>
#
#-----[ IN-LINE FIND ]----------------------------------------
#
<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------
#
-> <a href="{U_CAT}" class="nav">{CAT_NAME}</a>
#
#-----[ OPEN ]------------------------------------------------
#
modcp.php
#
#-----[ FIND ]------------------------------------------------
#
//
// Start session management
//
$userdata = session_pagestart($user_ip, $forum_id);
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// View category name MOD, By Manipe (Begin)
$cat_info = get_category($forum_id);
// View category name MOD, By Manipe (End)
#
#-----[ FIND ]------------------------------------------------
#
'FORUM_NAME' => $forum_name,
#
#-----[ AFTER, ADD ]------------------------------------------
#
// View category name MOD, By Manipe (Begin)
'CAT_NAME' => $cat_info['title'],
'U_CAT' => append_sid($phpbb_root_path . "index.$phpEx?" . POST_CAT_URL . "=" . $cat_info['id']),
// View category name MOD, By Manipe (End)
#
#-----[ FIND ]------------------------------------------------
#
'FORUM_NAME' => $forum_name,
#
#-----[ AFTER, ADD ]------------------------------------------
#
// View category name MOD, By Manipe (Begin)
'CAT_NAME' => $cat_info['title'],
'U_CAT' => append_sid($phpbb_root_path . "index.$phpEx?" . POST_CAT_URL . "=" . $cat_info['id']),
// View category name MOD, By Manipe (End)
#
#-----[ OPEN ]------------------------------------------------
#
posting.php
#
#-----[ FIND ]------------------------------------------------
#
$forum_name = $post_info['forum_name'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
// View category name MOD, By Manipe (Begin)
$cat_info = get_category($forum_id);
// View category name MOD, By Manipe (End)
#
#-----[ FIND ]------------------------------------------------
#
'FORUM_NAME' => $forum_name,
#
#-----[ AFTER, ADD ]------------------------------------------
#
// View category name MOD, By Manipe (Begin)
'CAT_NAME' => $cat_info['title'],
'U_CAT' => append_sid($phpbb_root_path . "index.$phpEx?" . POST_CAT_URL . "=" . $cat_info['id']),
// View category name MOD, By Manipe (End)
#
#-----[ OPEN ]------------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------------
#
$template->set_filenames(array(
'body' => 'viewforum_body.tpl')
);
make_jumpbox('viewforum.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// View category name MOD, By Manipe (Begin)
$cat_info = get_category($forum_id);
// View category name MOD, By Manipe (End)
#
#-----[ FIND ]------------------------------------------------
#
'FORUM_ID' => $forum_id,
'FORUM_NAME' => $forum_row['forum_name'],
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
// View category name MOD, By Manipe (Begin)
'CAT_NAME' => $cat_info['title'],
'U_CAT' => append_sid($phpbb_root_path . "index.$phpEx?" . POST_CAT_URL . "=" . $cat_info['id']),
// View category name MOD, By Manipe (End)
#
#-----[ OPEN ]------------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------------
#
//
// Send vars to template
//
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
// View category name MOD, By Manipe (Begin)
$cat_info = get_category($forum_id);
// View category name MOD, By Manipe (End)
#
#-----[ FIND ]------------------------------------------------
#
'FORUM_ID' => $forum_id,
'FORUM_NAME' => $forum_name,
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
// View category name MOD, By Manipe (Begin)
'CAT_NAME' => $cat_info['title'],
'U_CAT' => append_sid($phpbb_root_path . "index.$phpEx?" . POST_CAT_URL . "=" . $cat_info['id']),
// View category name MOD, By Manipe (End)
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
multumesc mult
aici am si o porb ce trebuie sa ii fac sau mai bine zis unde trebuie sa modific ?
Cod: Selectaţi tot
#-----[ BEFORE, ADD ]----------------------------------------
#
// View category name MOD, By Manipe (Begin)
// Gets the category name and id of a particular forum.
function get_category($forum_id){
global $db;
$sql = "SELECT c.cat_title, c.cat_id
FROM " . CATEGORIES_TABLE . " c, " . FORUMS_TABLE . " f
WHERE f.forum_id = '$forum_id'
AND c.cat_id = f.cat_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain category information', '', __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
$cat_info = array("id" => $row['cat_id'], "title" => $row['cat_title']);
$db->sql_freeresult($result);
return $cat_info;
}
// View category name MOD, By Manipe (End)
#
- CraniuRosu
- Utilizator înregistrat
- Mesaje: 41
- Membru din: 22-Sep-2006, 16:17:21
aici am si o porb ce trebuie sa ii fac sau mai bine zis unde trebuie sa modific ?
Cod: Selectaţi tot
#-----[ BEFORE, ADD ]----------------------------------------
#
// View category name MOD, By Manipe (Begin)
// Gets the category name and id of a particular forum.
function get_category($forum_id){
global $db;
$sql = "SELECT c.cat_title, c.cat_id
FROM " . CATEGORIES_TABLE . " c, " . FORUMS_TABLE . " f
WHERE f.forum_id = '$forum_id'
AND c.cat_id = f.cat_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain category information', '', __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
$cat_info = array("id" => $row['cat_id'], "title" => $row['cat_title']);
$db->sql_freeresult($result);
return $cat_info;
}
// View category name MOD, By Manipe (End)
#
- evo_vii
- Utilizator înregistrat
- Mesaje: 372
- Membru din: 03-Aug-2006, 16:07:23
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Localitate: Pe undeva pe la mare ...
- Contact:
Cod: Selectaţi tot
#-----[ OPEN ]------------------------------------------------
#
includes/functions.php
#
#-----[ FIND ]------------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]----------------------------------------
#
// View category name MOD, By Manipe (Begin)
// Gets the category name and id of a particular forum.
function get_category($forum_id){
global $db;
$sql = "SELECT c.cat_title, c.cat_id
FROM " . CATEGORIES_TABLE . " c, " . FORUMS_TABLE . " f
WHERE f.forum_id = '$forum_id'
AND c.cat_id = f.cat_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain category information', '', __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
$cat_info = array("id" => $row['cat_id'], "title" => $row['cat_title']);
$db->sql_freeresult($result);
return $cat_info;
}
// View category name MOD, By Manipe (End)
- Etherfast
- Fost coleg
- Mesaje: 2634
- Membru din: 19-Sep-2006, 10:33:41
- Ext: Nu
- Server: Windows
- Nivel phpBB: Mediu
- Nivel php: Mediu
- Localitate: Bucharest, RO
- Contact:
Sa inteleg ca te-ai blocat la prima instructiune? 
Deschizi includes/functions.php si dai scroll in jos pana la sfarsitul lui.
Inainte de :
Pui asta :

Deschizi includes/functions.php si dai scroll in jos pana la sfarsitul lui.
Inainte de :
Cod: Selectaţi tot
?>
Pui asta :
Cod: Selectaţi tot
// View category name MOD, By Manipe (Begin)
// Gets the category name and id of a particular forum.
function get_category($forum_id){
global $db;
$sql = "SELECT c.cat_title, c.cat_id
FROM " . CATEGORIES_TABLE . " c, " . FORUMS_TABLE . " f
WHERE f.forum_id = '$forum_id'
AND c.cat_id = f.cat_id";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain category information', '', __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
$cat_info = array("id" => $row['cat_id'], "title" => $row['cat_title']);
$db->sql_freeresult($result);
return $cat_info;
}
// View category name MOD, By Manipe (End)
etherfast.ro - Blog personal
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 2 vizitatori