##############################################################
## MOD Title: HP/MP/EXP (Poster Level) for PCP 2.0.x
## MOD PCP Integration Author: MrDSL <naug> (MrDSL) http://www.thehottub.net
## MOD HP/MP/EXP Author: Jon Borzilleri <jon> - http://www.asylumsw.com
## MOD PCP Author: Ptirhiik <admin> (Ptirhiik) http://rpgnet.clanmckeen.com/demo/
## Description: This mod adds an rpg-like level, hp, mp, and exp rating
## to a user's profile, and under their name in their posts.
## Level: a user's level is based on how many posts the user has made.
## This should be able to scale up indefinitly.
## HP: represents how active the user is. max hp is based off level,
## current hp is based on how often the user posts.
## MP: represnts how quickly the user posts. Max mp is based on level,
## each post costs mp, and mp regenerates over time.
## Exp: a percentage showing how many more posts the user has to make
## to get to the next level.
##
## MOD Version: 1.0.0
## MOD PCP Version: 2.0.x
## MOD phpBB Version: 2.1.10
##
## Installation Level: Easy
## Installation Time: 2 Minutes
## Files To Edit:
## profilcp/def/def_usermaps.php
##
## Included Files:
## images/level_mod/*.gif Files
## def_userfuncs_level.php
##
## Author Notes:
##
## This is a integration of the HP/MP/EXP MOD by Jon Borzilleri <jon> - http://www.asylumsw.com
## The code used in my function is mostly his and I only adapted it to work with the Profile Control Panel
## so a big thanks to him. It seems there may be a issue with the MP always being at MAX so if anyone knows a
## fix please email me or pm me at my forums. This adds ZERO queries..
##
##
## Change log:
## v 1.0.0 :
## - First release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ COPY ]------------------------------------------------
#
copy images/level_mod/*.* to images/level_mod/*.*
copy def_userfuncs_level.php to profilcp/def/def_userfuncs_level.php
#
#-----[ OPEN ]------------------------------------------------
#
profilcp/def/def_usermaps.php
'PCP.viewprofile.base.messangers' => array(
#
#-----[ BEFORE, ADD ]------------------------------------------
#
'user_level_mod' => array(
'class' => 'generic',
'type' => 'VARCHAR',
'dsp_func' => 'pcp_output_level_mod',
'txt' => true,
'style' => '<div>%s</div></div></td>',
),
#
#-----[ FIND ]------------------------------------------------
# You can put this anywhere above in the left topics panel that you want.
# Doing this will add a break and place it at the bottom.
#
),
),
'PHPBB.viewtopic.left.ignore' => array(
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
'user_level_mod' => array(
'class' => 'generic',
'type' => 'VARCHAR',
'dsp_func' => 'pcp_output_level_mod',
'txt' => true,
'style' => '<br><div>%s</div>',
),
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#
# EoM
#
# NOTE: Some of you may not like yours centered like I have mine and may like it to align left
# then just change the center above to left.
#
kodlara bi bakar mısın ben bulamadım düzenlememi istedigi dosyaları sanırım bu nukebb değil :S
2 yıl önce bi sitede görmüştüm karizma puan veriyodu kullanıcılar birbirlerine böyle bir eklentiyi nereden bulabilirim? yukarıdaki çok kullanışsız geldi bana bi ara epey uğraşmıştım
Bu forumda yeni başlıklar açamazsınız Bu forumdaki başlıklara cevap veremezsiniz Bu forumdaki mesajlarınızı değiştiremezsiniz Bu forumdaki mesajlarınızı silemezsiniz Bu forumdaki anketlerde oy kullanamazsınız