1 (edited by elbekko 2006-06-08 10:49)

Topic: Easy Profile Fields 1.1.1

##
##
##            Mod title: Easy Profile Fields
##
##      Mod version: 1.1
##   Works on PunBB: 1.2.11
##     Release date: 07 June 2006
##           Author: El Bekko (elbekko@gmail.com)
##
##      Description: This adds the possibility to easily add extra profile fields.
##                     Administrators make them through an administration plugin
##
##  Difference with
## previous version: Fixed a vulnerability and adds profile fields to profile.php
##
##   Affected files: viewtopic.php, include/functions.php, profile_fields.php, plugins/AP_Profile_Fields.php, profile.php
##
##       Affects DB: Yes
##
##            Notes: Please backup all your files!
##
##       DISCLAIMER: Please note that "mods" are not officially supported by
##                   PunBB. Installation of this modification is done at your
##                   own risk. Backup your forum database and any and all
##                   applicable files before proceeding.
##
##     Important note: This mod allows you to use the language files for your 
##                     profile fields. The file these should be in is lang/common.php.
##
##

Download here

Note: Due to Windows screwing up (what's new =/), I lost version 1.0.1, which was apparently not posted. Any changes made in that unreleased release are most likely not included.
IMPORTANT UPDATE: In version 1.1.1 install_mod_EPF.php is fixed to have the id column of profile_fields set on auto_increment.
If this is not the case in your version, please do it manually, or you will only be able to add one profile field.

Re: Easy Profile Fields 1.1.1

yes! Just finished with my site/punBB integration and my next step was to create this exact mod. Thanks for beating me to it and saving me a load of time smile

Re: Easy Profile Fields 1.1.1

profile fields?

Re: Easy Profile Fields 1.1.1

newjack wrote:

profile fields?

Like real name, location, etc (those are some of the ones already in PunBB)

Looking for a certain modification for your forum? Please take a look here before posting.

5 (edited by ervondort 2006-06-05 16:51)

Re: Easy Profile Fields 1.1.1

installed it.
then if i perss * Create a new user field then nothing happend.

list profile fields there is: ID: 0 Name: Interessen Language file entry:

but i dont see it anywhere!?

if i want to make a new one there is: Duplicate entry '0' for key 1

what to do? please help.

i got PunBB 1.2.12 -

sorry for bad english wink

Re: Easy Profile Fields 1.1.1

Where don't you see it?

Re: Easy Profile Fields 1.1.1

in the profil.
look here: http://mike.v427.ncsrv.de/upload/profile.php?id=2

Re: Easy Profile Fields 1.1.1

Oops, I totally forgot about that page tongue Silly me =/ I'll add that in the next release. (I hope I remember)

Re: Easy Profile Fields 1.1.1

ähm where can i see it if not there?
thats the profile or am i wrong  *confused*
is here anywhere a plgin where its possible to add more "things" like location, hobbys etc?

Re: Easy Profile Fields 1.1.1

lol, I let them show up in viewtopic.php, under your name ^^

Re: Easy Profile Fields 1.1.1

ähm, but where to fill in the fields?
there is no field like "interessen" to fill in?!
and there is also no field under my name in the viewtopic.php: http://mike.v427.ncsrv.de/upload/viewtopic.php?id=132

Re: Easy Profile Fields 1.1.1

You fill them in at your profile, in the correct menu entry.

I think you need to have this on:

admin_options.php#display wrote:

User info in posts        Yes    No  Show information about the poster under the username in topic view. The information affected is location, register date, post count and the contact links (e-mail and URL).

13 (edited by ervondort 2006-06-07 00:35)

Re: Easy Profile Fields 1.1.1

Yes    No  Show information about the poster under the username in topic view. The information affected is location, register date, post count and the contact links (e-mail and URL).

i checked it with yes, but nothing happend?!

/edit
maybe i shoul say that there is no field in my profile to fill in?!
i created "interessen" but it isnt shown anywhere?
maybe u could sign up at my forum and test it? =/

Re: Easy Profile Fields 1.1.1

http://mike.v427.ncsrv.de/upload/profile_fields.php

It does work, you just need to follow the FULL readme, and modify functions.php

Re: Easy Profile Fields 1.1.1

ahh THX smile
but i have again some questions, sry.

if i submit the "test-field" 2 times it stands there 2 times under my name?!
and is it a lot of work to let it only(!) show in the viewtopic.php and not(!) under your name?
and if i want to create an new field there is also the error

Duplicate entry '0' for key 1

THX very much for helping me!!!!!!!

Re: Easy Profile Fields 1.1.1

Where in viewtopic.php would you like to see it except for under your name then? tongue

And the duplicate entry is odd...

Re: Easy Profile Fields 1.1.1

i dont mean viewtopic, but profile.php, sry.
im confused big_smile
so it should be

and is it a lot of work to let it only(!) show in the profile.php and not(!) under your name (in viewtopic.php)?

Re: Easy Profile Fields 1.1.1

Well... you can just leave out the viewtopic.php part, and do about the same thing in profile.php (which will be done in next release)

Re: Easy Profile Fields 1.1.1

and when is the new release? today? big_smile

Re: Easy Profile Fields 1.1.1

Yes actually tongue I found some time... (I have two exams tomorrow, but I don't give a flying shag tongue)

Re: Easy Profile Fields 1.1.1

i tried doing myself, but i dont know where to put in which lines?!
im a graphic designer, no code-master big_smile
so need your help tongue

Re: Easy Profile Fields 1.1.1

Well, I released it ^^

Re: Easy Profile Fields 1.1.1

if i wanna install it, i have to reinstall the old one?
or is it ok if i only add the part to the profile.php?

and i alway get the dublicate error?!

Re: Easy Profile Fields 1.1.1

You can just add the part to profile.php, but I fixed a vulnerability in profile_fields.php so I suggest you update that too smile

And, erm, the duplicate error is odd, it shouldn't occur =/

25 (edited by ervondort 2006-06-08 10:16)

Re: Easy Profile Fields 1.1.1

may i give u admin rights at my forum, because i dont get it work sad

i only wanna add fields in profile.php under location, website....

u got msn, icq oder irc?

edit:
now elbekko has admin rights...