O intrebare

Dacă doriţi să vă faceţi cunoscute stilurile şi temele proprii sau doriţi să comentaţi alte stiluri pentru forumul phpBB 2.0.x, acesta este locul potrivit.
Avatar utilizator
Aliniuz
Fost coleg
Mesaje: 3629
Membru din: 19-Mai-2006, 08:06:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Galati
Contact:

Mesaj de Aliniuz »

Nu are cum, fiecare arhiva a MODului trebuie sa aiba un fisier TEXT in care sa explice instalarea .
rizwan
Fost coleg
Mesaje: 941
Membru din: 02-Ian-2007, 23:22:48
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: n'am
Contact:

Mesaj de rizwan »

Ba il are, vezi sa nu fie fisier .xml sau .html ...
Avatar utilizator
WWEMania
Utilizator înregistrat
Mesaje: 682
Membru din: 10-Mar-2007, 22:25:41
Versiune: phpBB2
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Contact:

Mesaj de WWEMania »

Apar astea dar nici unu nu are ce trebuie:(
Imagine
si in fisieru extra apar astea
Imagine
:)
Kallas
Utilizator înregistrat
Mesaje: 356
Membru din: 06-Feb-2007, 06:13:02
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Brasov
Contact:

Mesaj de Kallas »

uitate prin toate fisierele alea text , ca trebuie sa aiba cauta liniia , genu "Installation Time " ...cand gasesti ala , fisierul ala e instructiuniile de instalare , trebuie sa aiba
Avatar utilizator
WWEMania
Utilizator înregistrat
Mesaje: 682
Membru din: 10-Mar-2007, 22:25:41
Versiune: phpBB2
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Contact:

Mesaj de WWEMania »

Asta e?
########################################################
## MOD Title: Forum Icon with ACP Control (Default)
## MOD Version: 1.0.4
## MOD Author: Mac (Y.C. LIN) <ycl_6> http://endless-tw.net
##
## MOD Description: This mod allow admin to give each forum a icon in the ACP
## Icons will show on index
##
## Installation Level: Easy
## Installation Time: 3 Minutes
##
## Files To Edit: 8
## index.php
## viewforum.php
## admin/admin_forums.php
## language/lang_english/lang_admin.php
## templates/subSilver/admin/forum_admin_body.tpl
## templates/subSilver/admin/forum_edit_body.tpl
## templates/subSilver/index_body.tpl
## templates/subSilver/viewforum_body.tpl
##
## Included Files: n/a
##
#################################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## Set your forum icon image paths as those rank images
##
## If you wish to using the LIST BOX option,
## you have to follow the instruction in EXTRA folder. Please DO NOT using the below code!
## Both options CANNOT be used together.
##
##############################################################
## MOD History:
##
## 2003-11-04 - Version 1.0.0
## - Initial Release
##
## 2003-11-08 - Version 1.0.1
## - Checked for 2.0.6 competibility, no change in coding
##
## 2003-11-15 - Version 1.0.2
## - Corrections were made for phpBB MOD Database submission
##
## 2003-12-01 - Version 1.0.3
## - Forum icon selectable using list box (Option 2)
## - Add forum icon image to Forum Administration main panel
## - Add forum icon image to corresponding the viewforum.php
##
## 2004-02-11 - Version 1.0.4
## - Fix ListBox no-picture problem when icon is slected for the first time
## People using the default option DOES NOT need to upgrade
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ SQL ]------------------------------------------
#
# Remember to change the table prefix used on your database
ALTER TABLE `phpbb2_forums` ADD `forum_icon` VARCHAR( 255 ) default NULL;

#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_admin.php

#
#-----[ FIND ]------------------------------------------
#
$lang['Forum_status'] = 'Forum status';

#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['Forum_icon'] = 'Forum icon'; // Forum Icon MOD

#
#-----[ OPEN ]------------------------------------------
#
admin/admin_forums.php

#
#-----[ FIND ]------------------------------------------
#
$forumstatus = $row['forum_status'];


#
#-----[ AFTER, ADD ]------------------------------------------
#
$forumicon = $row['forum_icon']; // Forum Icon MOD

#
#-----[ FIND ]------------------------------------------
#
$forumstatus = FORUM_UNLOCKED;

#
#-----[ AFTER, ADD ]------------------------------------------
#
$forumicon = ''; // Forum Icon MOD

#
#-----[ FIND ]------------------------------------------
#
'L_FORUM_STATUS' => $lang['Forum_status'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_FORUM_ICON' => $lang['Forum_icon'], // Forum Icon MOD

#
#-----[ FIND ]------------------------------------------
#
'DESCRIPTION' => $forumdesc)

#
#-----[ REPLACE WITH ]------------------------------------------
#
'DESCRIPTION' => $forumdesc,
'ICON' => ( $forumicon ) ? $forumicon : '', // Forum Icon MOD
'ICON_DISPLAY' => ( $forumicon ) ? '<img>' : '' // Forum Icon MOD
)

#
#-----[ FIND ]------------------------------------------
#
// There is no problem having duplicate forum names so we won't check for it.
$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ")

#
#-----[ IN-LINE FIND ]------------------------------------------
#
forum_status

#
#-----[ AFTER, ADD ]------------------------------------------
#
, forum_icon

#
#-----[ FIND ]------------------------------------------
#
VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";

#
#-----[ IN-LINE FIND ]------------------------------------------
#
, " . intval($HTTP_POST_VARS['forumstatus']) . "

#
#-----[ AFTER, ADD ]------------------------------------------
#
, '" . str_replace("\'", "''", $HTTP_POST_VARS['forumicon']) . "'

#
#-----[ FIND ]------------------------------------------
#
$sql = "UPDATE " . FORUMS_TABLE . "
SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", forum_desc = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . "
WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
#
#-----[ IN-LINE FIND ]------------------------------------------
#
, forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . "

#
#-----[ AFTER, ADD ]------------------------------------------
#
, forum_icon = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumicon']) . "'

#
#-----[ FIND ]------------------------------------------
#
'FORUM_DESC' => $forum_rows[$j]['forum_desc'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
'FORUM_ICON_IMG' => ( $forum_rows[$j]['forum_icon'] ) ? '<img>' : '', // Forum Icon Mod

#
#-----[ OPEN ]------------------------------------------
#
index.php

#
#-----[ FIND ]------------------------------------------
#
$posts = $forum_data[$j]['forum_posts'];
$topics = $forum_data[$j]['forum_topics'];

#
#-----[ AFTER, ADD ]------------------------------------------
#
$icon = $forum_data[$j]['forum_icon']; // Forum Icon Mod

#
#-----[ FIND ]------------------------------------------
#
'FORUM_FOLDER_IMG' => $folder_image,

#
#-----[ AFTER, ADD ]------------------------------------------
#
'FORUM_ICON_IMG' => ($icon) ? '<img>' : '', // Forum Icon Mod

#
#-----[ OPEN ]------------------------------------------
#
viewforum.php

#
#-----[ FIND ]------------------------------------------
#
'FORUM_NAME' => $forum_row['forum_name'],

#
#-----[ AFTER, ADD ]------------------------------------------
#
'FORUM_ICON_IMG' => ($forum_row['forum_icon']) ? '<img>&nbsp;' : '', // Forum Icon Mod Icon Mod

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/forum_edit_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<tr>
<td>{L_FORUM_NAME}</td>
<td><input></td>
</tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td>{L_FORUM_ICON}</td>
<td><input>&nbsp;&nbsp;&nbsp;{ICON_DISPLAY}</td>
</tr>

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/forum_admin_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<td><span><a href="{catrow.forumrow.U_VIEWFORUM}" target="_new">{catrow.forumrow.FORUM_NAME}</a></span><br><span>{catrow.forumrow.FORUM_DESC}</span></td>

#
#-----[ IN-LINE FIND ]------------------------------------------
#
<td><span>

#
#-----[ AFTER, ADD ]------------------------------------------
#
{catrow.forumrow.FORUM_ICON_IMG}&nbsp;&nbsp;

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/index_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<th>&nbsp;{L_FORUM}&nbsp;</th>

#
#-----[ IN-LINE FIND ]------------------------------------------
#
colspan="2"

#
#-----[ REPLACE WITH ]------------------------------------------
#
colspan="3"

#
#-----[ FIND ]------------------------------------------
#
<td><span><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>

#
#-----[ IN-LINE FIND ]------------------------------------------
#
colspan="2"

#
#-----[ REPLACE WITH ]------------------------------------------
#
colspan="3"

#
#-----[ FIND ]------------------------------------------
#
<td><img></td>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<td>{catrow.forumrow.FORUM_ICON_IMG}</td>

#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewforum_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<td><a class="maintitle" href="{U_VIEW_FORUM}">{FORUM_NAME}</a>

#
#-----[ IN-LINE FIND ]------------------------------------------
#
<td>

#
#-----[ AFTER, ADD ]------------------------------------------
#
{FORUM_ICON_IMG}

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#

# EoM
Ultima oară modificat 09-Apr-2007, 22:22:41 de către WWEMania, modificat 1 dată în total.
:)
Kallas
Utilizator înregistrat
Mesaje: 356
Membru din: 06-Feb-2007, 06:13:02
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Brasov
Contact:

Mesaj de Kallas »

da ala e da nu lai postat pe tot :? , ar trebuii sa fie mai mult .
Avatar utilizator
WWEMania
Utilizator înregistrat
Mesaje: 682
Membru din: 10-Mar-2007, 22:25:41
Versiune: phpBB2
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Contact:

Mesaj de WWEMania »

uitate acum ca e tot
:)
Kallas
Utilizator înregistrat
Mesaje: 356
Membru din: 06-Feb-2007, 06:13:02
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Brasov
Contact:

Mesaj de Kallas »

asta este ...ala e fisierul "Instructiunii de Instalare" ...
Avatar utilizator
WWEMania
Utilizator înregistrat
Mesaje: 682
Membru din: 10-Mar-2007, 22:25:41
Versiune: phpBB2
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Contact:

Mesaj de WWEMania »

o sa incerc sal instalez.... :D
:)
Avatar utilizator
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:

Mesaj de Etherfast »

WWEMania, incearca pe viitor sa dai un link direct daca portiunea de cod pe care vrei sa o afisezi depaseste o pagina format A4.
etherfast.ro - Blog personal
Închis

Înapoi la “2.0.x Stiluri, teme, avataruri şi butoane”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 1 vizitator