Tom's Guide > Forum > Programmation > réélement personalisé mon Forum PHPBB , comment m'y prendre ?

réélement personalisé mon Forum PHPBB , comment m'y prendre ?

Forum Programmation : réélement personalisé mon Forum PHPBB , comment m'y prendre ?

TomsGuide.com : 800 000 inscrits répondent à toutes vos questions high-tech et informatique. Pour obtenir de l'aide, inscrivez-vous gratuitement !
Mot :    Pseudo :           
 

bonjour , j'aimerai réélement personnalisé mon Forum PHPBB ont a un pret avec des amis ont regroup sur un forum plein de copain a nous , des membres de nos guildes , des membres de nos sites etc...

et ont voudrai faire un RPG-Forum avec barre de vie barre de mana etc . on a donc poursuivi nos recherches et ont a trouvé dans la rubriques Mods de PHPBB le mod que nous cherchions.
je l'ai téléchargé et voila ce qui me mettent comme explication tout souriant en me disant que en 5Min c'est fini on en parle plus , j'ai des connaissance en HTML et en PHPBB j'avou ne m'ettre jamais occupé de l'upload ni de chose comme sa et la je rest sans voix :
##############################################################
## MOD Title: Levels Mod
## MOD Author: NightHawk < jon@asylumsw.com > (Jon Borzilleri) http://www.asylumsw.com
## MOD Description: Adds HP/MP/EXP/Level values for a user in Topic view and Profile view.
## MOD Version: 0.9.2 beta
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit: 4
## includes/usercp_viewprofile.php
## viewtopic.php
## templates/subSilver/viewtopic_body.php
## templates/subSilver/profile_view_body.php
##
## Included Files:
## level_mod.php
## level_mod_images/exp_bar_fil.gif
## level_mod_images/exp_bar_filexp_bar_fil_end.gif
## level_mod_images/exp_bar_filexp_bar_left.gif
## level_mod_images/exp_bar_filhp_bar_fil.gif
## level_mod_images/exp_bar_filhp_bar_fil_end.gif
## level_mod_images/exp_bar_filhp_bar_left.gif
## level_mod_images/exp_bar_fillevel_bar_emp.gif
## level_mod_images/exp_bar_fillevel_bar_right.gif
## level_mod_images/exp_bar_filmp_bar_fil.gif
## level_mod_images/exp_bar_filmp_bar_fil_end.gif
## level_mod_images/exp_bar_filmp_bar_left.gif
##############################################################
## 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:
## Remember to upload the folder of images into you're the image folder within the template folder.
## The path to these images should be:
## ./templates/subSilver/images/level_mod_images/
##
## This mod uses the original backbone developed by me, combined with some of Antony's code and ideas.
## The formulas for how HP and MP have been significantly changed to represnt distinctly different things.
##
## HP: This is a representation of how much "substane" a user posts. It compares the number of characters they have posted with the number of posts they have made recently. Thus, the longer a user's posts are, the more HP they will have. A user who consistently makes very short posts will have a low HP, while a user who consistently posts very large posts will have high HP.
## MP: This is a representation of how often the user has posted recently. It looks at the number of posts made recently. Each post a user has made within that time period costs the user MP. Thus, a user who has posted a large ammount recently will use more MP than someone who has not.
##
## As a comparison, HP is a measure of "Quality" where MP is a measure of "Quantity." Most variables can be edited so for busier or lighter boards, to normalize these values.
##
## Additional Credits:
## Thanks to Antony and Mac, and others for keeping up with this for me.
##
##
##############################################################
## MOD History:
##
## 2003-6-29 - Version 0.9.2 beta
## - Consolidated sql statements into a single query for efficiancy
## 2003-6-15 - Version 0.9.1 beta
## - Fixed a minor bug that was causing Exp to not update correctly.
##Ê Ê2003-6-15 - Version 0.9.0 beta
##Ê ÊÊ Ê- Revsision of initial mod, revised to use a separate file, and formatted to meet MOD standards.
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################

#
#-----[ COPY ]------------------------------------------
#
copy level_mod.php to ./
copy level_mod_images to template/subSilver/images/

#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php

#
#-----[ FIND ]------------------------------------------
#
$search = '<a href="' . $temp_url . '">' . $lang['Search_user_posts'] . '</a>';

#
#-----[ AFTER, ADD ]------------------------------------------
#
/* BEGIN LEVEL MOD */
include('level_mod.php');
/* END LEVEL MOD */

#
#-----[ FIND ]------------------------------------------
#
'U_SEARCH_USER' => append_sid("search.$phpEx?search_author=" . urlencode($profiledata['username'])),

#
#-----[ AFTER, ADD ]------------------------------------------
#
/* BEGIN LEVEL MOD */
'LEVEL' => $level_level,
'EXP' => $level_exp,
'EXP_WIDTH' => $level_exp_percent,
'EXP_EMPTY' => (100 - $level_exp_percent),
'HP' => $level_hp,
'HP_WIDTH' => $level_hp_percent,
'HP_EMPTY' => (100 - $level_hp_percent),
'MP' => $level_mp,
'MP_WIDTH' => $level_mp_percent,
'MP_EMPTY' => (100 - $level_mp_percent),
/* END LEVEL MOD */

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];

#
#-----[ AFTER, ADD ]------------------------------------------
#
/* BEGIN LEVEL MOD */
include('level_mod.php');
/* END LEVEL MOD */

#
#-----[ FIND ]------------------------------------------
#
'DELETE' => $delpost,

#
#-----[ AFTER, ADD ]------------------------------------------
#
/* BEGIN LEVEL MOD */
'LEVEL' => $level_level,
'EXP' => $level_exp,
'EXP_WIDTH' => $level_exp_percent,
'EXP_EMPTY' => (100 - $level_exp_percent),
'HP' => $level_hp,
'HP_WIDTH' => $level_hp_percent,
'HP_EMPTY' => (100 - $level_hp_percent),
'MP' => $level_mp,
'MP_WIDTH' => $level_mp_percent,
'MP_EMPTY' => (100 - $level_mp_percent),
/* END LEVEL MOD */
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_view_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<tr>
<td valign="top" align="right" nowrap="nowrap"><span class="gen">{L_INTERESTS}:</span></td>
<td> <b><span class="gen">{INTERESTS}</span></b></td>
</tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- [BEGIN LEVEL MOD] -->
<tr>
<td valign="top" align="right"><span class="gen">Level:</span></td>
<td><b><span class="gen">{LEVEL}</span></b></td>
</tr>
<tr>
<td> </td>
<td align="left">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left"><span class="postdetails">EXP:</span></td>
<td align="right"><span class="postdetails"><b>{EXP}</b></span></td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/subSilver/images/level_mod_images/exp_bar_left.gif" width="2" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/exp_bar_fil.gif" width="{EXP_WIDTH}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/exp_bar_fil_end.gif" width="1" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_emp.gif" width="{EXP_EMPTY}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_right.gif" width="1" height="12" /></td>
</tr>
</table>
</td>
<td align="left"><span class="gen"> {EXP_WIDTH}%</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
<td align="left">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left"><span class="postdetails">HP:</span></td>
<td align="right"><span class="postdetails"><b>{HP}</b></span></td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/subSilver/images/level_mod_images/hp_bar_left.gif" width="2" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/hp_bar_fil.gif" width="{HP_WIDTH}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/hp_bar_fil_end.gif" width="1" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_emp.gif" width="{HP_EMPTY}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_right.gif" width="1" height="12" /></td>
</tr>
</table>
</td>
<td align="left"><span class="gen"> {HP_WIDTH}%</span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td> </td>
<td align="left">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left"><span class="postdetails">MP:</span></td>
<td align="right"><span class="postdetails"><b>{MP}</b></span></td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/subSilver/images/level_mod_images/mp_bar_left.gif" width="2" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/mp_bar_fil.gif" width="{MP_WIDTH}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/mp_bar_fil_end.gif" width="1" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_emp.gif" width="{MP_EMPTY}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_right.gif" width="1" height="12" /></td>
</tr>
</table>
</td>
<td align="left"><span class="gen"> {MP_WIDTH}%</span></td>
</tr>
</table>
</td>
</tr>

<!-- [END LEVEL MOD] -->

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

#
#-----[ IN-LINE FIND ]------------------------------------------
#
{postrow.POSTER_POSTS}
{postrow.POSTER_FROM}</span>


#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<!-- [BEGIN LEVEL MOD] -->
<span class="postdetails">
Level: <b>{postrow.LEVEL}</b>

<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left"><span class="postdetails">EXP:</span></td>
<td align="right"><span class="postdetails"><b>{postrow.EXP}</b></span></td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/subSilver/images/level_mod_images/exp_bar_left.gif" width="2" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/exp_bar_fil.gif" width="{postrow.EXP_WIDTH}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/exp_bar_fil_end.gif" width="1" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_emp.gif" width="{postrow.EXP_EMPTY}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_right.gif" width="1" height="12" /></td>
</tr>
</table>
</td>
<td align="left"><span class="gen"> {postrow.EXP_WIDTH}%</span></td>
</tr>
</table>

<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left"><span class="postdetails">HP:</span></td>
<td align="right"><span class="postdetails"><b>{postrow.HP}</b></span></td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/subSilver/images/level_mod_images/hp_bar_left.gif" width="2" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/hp_bar_fil.gif" width="{postrow.HP_WIDTH}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/hp_bar_fil_end.gif" width="1" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_emp.gif" width="{postrow.HP_EMPTY}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_right.gif" width="1" height="12" /></td>
</tr>
</table>
</td>
<td align="left"><span class="gen"> {postrow.HP_WIDTH}%</span></td>
</tr>
</table>

<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="left"><span class="postdetails">MP:</span></td>
<td align="right"><span class="postdetails"><b>{postrow.MP}</b></span></td>
<td> </td>
</tr>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="templates/subSilver/images/level_mod_images/mp_bar_left.gif" width="2" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/mp_bar_fil.gif" width="{postrow.MP_WIDTH}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/mp_bar_fil_end.gif" width="1" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_emp.gif" width="{postrow.MP_EMPTY}" height="12" /></td>
<td><img src="templates/subSilver/images/level_mod_images/level_bar_right.gif" width="1" height="12" /></td>
</tr>
</table>
</td>
<td align="left"><span class="gen"> {postrow.MP_WIDTH}%</span></td>
</tr>
</table>
</span>
<!-- [END LEVEL MOD] -->

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


voila , desole pour cette lecture qui doit probablement vous etre assez rebarbative mais j'ai du mal :-P .

a et une derniére chose , j'aimerai changé le skin de mon forum , c'est pas trop difficile il ont en stock tout une armada de style de forum mais j'aimerai crée moi méme le mien , pouriez vous me donné quelque conseil si vous avez dors et deja de l'experience sur se domen.

Liens sponsorisés
Inscrivez-vous ou connectez-vous pour masquer ceci.

Tu attends quoi de nous en fait ?
Qu'on t'installe le mod ?

Si tu suis toutes les lignes qu'ils te disent ... c'est tout balot ...
Pour le skin, tu va dans ton dossier /templates/subsilver et tu regardes un peu les images et tu peux les modifs à volonté comme tu veux :)
Pense quand même a faire une sauvegarde de tes fichiers originaux ;)

Répondre à j0k3r_n0ir@IDN

merci beaucoup , pour les modification de skins je vai voir tout sa mais je capt vraiment pas ce qui attendent de moi pour l'instalation je ne veut pas que vous m'instalier le mode mais juste que vous me mettiez un peu sur la voix en me le reformulant plus simplement lol dsl mais j'ai vraiment du mal avec l'anglais :-P

o debu je voi a peu pré il font l'inventaire de ce qu'il y a comme fichier dans le mod apré il explique ce que represente le mp le hp etc... et apré je capt vraiment rien

Répondre à crazycounter

oui fais comme il t'a dit !! modif les images de ton template et regarde a fur et a mesure ce que ca donne... n'oublie pas d'enregistrer tes images au mm format qu'avant sino proute ca n'ira plus

Répondre à PoulS

merci beaucoup j'avai compri mais c'est sur l'instalation du mod que je cal :-?

Répondre à crazycounter
Tom's Guide > Forum > Programmation > réélement personalisé mon Forum PHPBB , comment m'y prendre ?
Aller à :

Il y a 2382 utilisateurs connus et inconnus. Pour voir la liste des connectés connus, cliquez ici.

Attention

Vous allez répondre sur un sujet resté inactif pendant plus de 6 mois.
Assurez-vous d'apporter des éléments nouveaux à la discussion avant de poursuivre.

Répondre Annuler
Liens