Page Index Toggle Pages: [1] 2 3 ... 29 Send TopicPrint
Very Hot Topic (More than 25 Replies) Extended Profiles v2.2 for YaBB2 (Read 50527 times)
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Extended Profiles v2.2 for YaBB2
Mar 8th, 2005 at 2:05pm
Print Post  
Here comes the first public beta of the often requested Extended Profiles mod for YaBB2. What this mod does: It allows you do add an unlimited number of additional fields to user profiles.



Note: a YaBB1-compatible version of this mod can be found here.

Features:
  • unlimited profile fields
  • additional fields can be displayed on viewprofile, memberlist and post pages
  • easily add, edit, reorder and remove fields in admin center
  • 10 different field types:
      - textbox
      - textarea
      - dropdown list
      - radiobuttons
      - checkbox
      - date
      - email
      - url
      - spacer
      - image
  • each field has the following settings available:
      - active
      - comment/description
      - required/visible on registration
      - visible in ViewProfile (including limitation for special users and/or groups!)
      - visible in Posts (including limitation for special users and/or groups!)
      - visible in Posts as Popup (including limitation for special users and/or groups!)
      - visible in Memberlist (including limitation for special users and/or groups!)
      - switch for editable by user or admin only
  • special settings for a couple of types:
      - limit length
      - input box width
      - force numberic value
      - default value
      - allow ubbc
      - unlimited options for dropdown lists and radiobuttons
      - different spacer types (<br> and <hr>)
      - max width & height for image
      - only allow specific image extensions
  • highly compatible with other mods
  • easy integration into your own code
  • global moderators support
  • converter for extended YaBB1 profiles included


Installation Instructions:
  • Install the mod
  • upload ALL modified files
  • upload ExtendedProfiles.pl to your Sources folder, in ASCII mode, chmod 666
  • upload ExtendedProfiles.lng to your Languages/English folder, in ASCII mode, chmod 666
  • upload extended_profiles_fields.txt to your Variables folder, in ASCII mode, chmod 666
  • upload extended_profiles_order.txt to your Variables folder, in ASCII mode, chmod 666
  • if upgrading from Y1, run the converter (see FAQs below for details)


FAQs:
Q: How do I convert my old extended profiles to the new format?
A: Open the admin center and goto "Installed Mods->Edit Profile Fields". Scroll all the way down to the converter input form. You'll find detailed instructions there.

Q: How can I allow global moderators to edit profiles or to access the Extended Profiles admin area?
A: In the admin center, goto "Global Moderator Access". There check "Allow Global Moderators Access to edit User Profiles". Then press "save". Now "ext_admin" should show in the list too. Check that to allow GMods to edit the profile fields too. Press "save" again to apply the changes.
 

Screenshots
admin
admin_edit
editprofile
viewprofile
memberlist
post
post popup



Version History:
v2.2:
  - made compatible with latest YaMMS version 2.04
v2.1:
  - made compatible with latest YaMMS version 1.41
  - fixed empty images display as <img src="http://">
  - properly cut off too long emails, urls and images when submitting profile changes
  - dutch translation added (thanks to jans for that)
v2.0:
  - made compatible with YaBB 2.1 and new YaMMS version
  - mod is now marked as _stable_
v2.0 Beta10:
  - you can now create fields that can only be set once by the user at registration (set "Editable By User" to "only admin..." and "Required On Registration" to "required" or "not req. but show anyway"
v2.0 Beta9:
  - fixed converter (old profile information were lost)
v2.0 Beta8:
  - completely rewrote membergroup access permissions, should now work with YaBB 2.0 properly
v2.0 Beta7:
  - made compatible with YaBB 2.0 final release
  - changed converter to support the ./Convert folder
v2.0 Beta6:
  - made compatible with RC3 2005-08-11 and recent YaMS version
v2.0 Beta5:
  - you can now display profile information in post view as popup!
v2.0 Beta4:
  - added YaMMS4-compatible .mod file
  - a couple of smaller bugfixes
v2.0 Beta3:
  - added new 'image' field type
  - if there are two spacers of the same type behind each other in viewprofile or viewpost (for example because a field has not been filled out), only one spacer will be displayed.
v2.0 Beta2:
  - made compatible with YaBB2 RC2
  - mod will now add itself to the list of installed mods (admin center)
  - added german translation (thx to JetLi)
v2.0:
  - now compatible with YaBB2
  - added support for global moderators (they can edit profiles if allowed by admin)
  - you can convert old extended profiles to new YaBB 2 profile format in the admin center
  - minor file format changes for extended_profiles_fields.txt
  - you can now choose on what "edit profile" page to display the fields ("edit profile", "contact information", "options", "IM Prefs" and "Admin Edits")
  - all language defs are now in a seperat file, so you can easily translate everything into other languages
  - spacer fields on "edit profile"/registration page can now have a description
v1.2.3: - fixed comment field on "edit profiles" page not showing if field type is "date"
v1.2.2: - fixed "limit to membergroups" option for membergroups with spaces
v1.2.1: - added YaMS5-compatible mod file and made ExtendedProfiles.pl compatible with it
v1.2: - fixed admin-only fields to be reset when user changes his profile
v1.1: - fixed allowing html in field comments
v1.0: - minor html fixes (replaced <BR> with <br>)
Beta 4: - fixed conflicts with multiple date fields and birthday
Beta 3: - "Invalid Character" error in textareas fixed
Beta 2: - Changed search strings in Profile.pl to make the mod more compatible with other mods.
« Last Edit: Aug 20th, 2006 at 1:50pm by Administrator »  

The Administrator.
Back to top
WWW  
IP Logged
 
Boris
New Member
*
Offline


Bass player extraordinaire

Posts: 10
Location: Falkirk
Joined: Apr 28th, 2003
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #1 - Mar 9th, 2005 at 12:34am
Print Post  
I thought I'd have a go at installing a mod on my YaBB2 board, and for the most part, it went ok.

Firstly, I had a problem with boardmod opening the files to be edited in notepad instead of wordpad. The result of this seemed to stop the modified files working properly.  Is there a way to configure boardmod to open the files in wordpad automatically?.

Anyway, the second problem I have is that after manually editing the files, I now have the Extended Profiles link showing in Admin Center, but whenever I click it, the page is simply refreshing.  The link doesn't seem to take me anywhere.  Any ideas what's gone wrong?

I double checked all permissions on the files I uploaded, and the files I modified, and they all seem to be correct.

Thanks in advance.
  
Back to top
WWWYIM  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #2 - Mar 9th, 2005 at 1:24am
Print Post  
Boris wrote on Mar 9th, 2005 at 12:34am:
Firstly, I had a problem with boardmod opening the files to be edited in notepad instead of wordpad. The result of this seemed to stop the modified files working properly.  Is there a way to configure boardmod to open the files in wordpad automatically?.
There indeed is a way to change the default editor: open boardmod.ini and change
Code
Select All
TextEditor=notepad.exe 


I'm not sure though that Wordpad will serve you better than notepad, Microsoft's editors can't handle the unix fileformat. I suggest you a more advanced editor like UltraEdit.

Quote:
Anyway, the second problem I have is that after manually editing the files, I now have the Extended Profiles link showing in Admin Center, but whenever I click it, the page is simply refreshing.  The link doesn't seem to take me anywhere.  Any ideas what's gone wrong?

I double checked all permissions on the files I uploaded, and the files I modified, and they all seem to be correct.
That usually happens when some modified files were not uploaded. In your case it's Admin/AdminSubList.pl, but it might be possible that you missed other files too. Please doublecheck if all files got modified and uploaded properly.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Boris
New Member
*
Offline


Bass player extraordinaire

Posts: 10
Location: Falkirk
Joined: Apr 28th, 2003
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #3 - Mar 9th, 2005 at 2:09am
Print Post  
I edited the boardmod.ini file as you directed, replaced the files I had modified with my backups and ran boardmod again.  I then uploaded the files, and the Edit Profile Fields mod is now working correctly.  

Many thanks for your help.
  
Back to top
WWWYIM  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #4 - Mar 9th, 2005 at 2:15am
Print Post  
Um ... does this

Quote:
Note: This file does not include a YaMS-compatible version yet. This will come with the final release of this mod.


Mean you have to use one or the other for now, or just that their extra features don't apply to each other, yet?

I'd like to test both of these mods for you folks, not that I'm really getting my test board going.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #5 - Mar 9th, 2005 at 3:33am
Print Post  
Michael, loaded this up to test it. It installed without problems, and I think I uploaded all the files ....

I can add fields, and that part seems to work fine (though it will need more testing, which I'll keep doing).

The problem is, when I click on options for the field, the form created is broken. There is nothing which which to save the things I enter, but only '<input n'

Any idea where this problem could come from?
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
batchman
Global Moderator
*****
Offline


What's up?!

Posts: 1280
Location: Orlando
Joined: Apr 28th, 2002
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #6 - Mar 9th, 2005 at 3:39am
Print Post  
A further interesting situation ....

The first time I went into the extended profiles admin section, it allowed me to add new profiles.

Now, though, it will allow me to enter the 'edit fields' section (though they can't actually be edited, as per the message above), but there is no longer a button allowing me to add more new profiles.
  

Improving my forum, one mod at a time!


Now up and running again, with an accurate link.


Back to top
WWW  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #7 - Mar 9th, 2005 at 12:45pm
Print Post  
That's odd, I have no idea what could cause this. Can you attach your extended_profiles_fields.txt and extended_profiles_order.txt files here?
  

The Administrator.
Back to top
WWW  
IP Logged
 
Jeff
God Member
*****
Offline


There are no bugs there
are only features

Posts: 2552
Joined: Jan 14th, 2005
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #8 - Mar 10th, 2005 at 12:16pm
Print Post  
Hi Michael
is this Beta Mods in german too?  Roll Eyes
  

greetings
Jeff
Back to top
WWW  
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #9 - Mar 10th, 2005 at 1:39pm
Print Post  
Nope, but you can easily translate it by copying the ExtendedProfiles.lng into your Languages/German folder and then translate it line by line.

When done, you can send me the file, I'll include it in the final release.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Kong
God Member
*****
Offline


Is it just me or is my
back hairy???

Posts: 858
Joined: Aug 2nd, 2002
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #10 - Mar 10th, 2005 at 8:26pm
Print Post  
Found a possible problem.

Collecting info, will post it soon.

Update...

I am not sure why but when I access the Extedned Profiles section of the Admin Center Perl.exe keeps crashing.

I have 4 other mods installed and have no had any problems before this.

KongWeb_YaBB2_Paths_Fix.mod
password_conversion.mod
Simple_Spoiler_2_YaBB2_RC1_020705.mod
cat_and_mbco2_conversion_fix.mod

It seems to be loading the pages except I made a new field and clicked on options.  The page would not fully load.  I'll add an example in a few mins.
« Last Edit: Mar 10th, 2005 at 11:37pm by Kong »  


Back to top
 
IP Logged
 
Kong
God Member
*****
Offline


Is it just me or is my
back hairy???

Posts: 858
Joined: Aug 2nd, 2002
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #11 - Mar 10th, 2005 at 8:49pm
Print Post  
Perl.exe seem to crash when ever I load a page related to the Extended Profiles mod and the display cuts off whenever the crash occurs.

Any ideas?
  


Back to top
 
IP Logged
 
Boris
New Member
*
Offline


Bass player extraordinaire

Posts: 10
Location: Falkirk
Joined: Apr 28th, 2003
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #12 - Mar 10th, 2005 at 11:33pm
Print Post  
I can't get the mod to work properly ???

I get the Extended Profiles Welcome text and The first part of the Edit extended Profiles Fields box.  The mod ends just under the headings: Active, Field Name, Field Type and Actions.

Please help.  I've double checked my permissions and the modes i uploaded the files in, but still can't seem to find the problem.
  
Back to top
WWWYIM  
IP Logged
 
Kong
God Member
*****
Offline


Is it just me or is my
back hairy???

Posts: 858
Joined: Aug 2nd, 2002
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #13 - Mar 10th, 2005 at 11:36pm
Print Post  
Possibily the same issue as I am having.

Perl is crashing.  When that happens it stopps doing everything, this would cause partial page loads and such.
  


Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles v2.0 for YaBB2
Reply #14 - Mar 11th, 2005 at 4:24am
Print Post  
I've added some smaller fixes to the mod, please redownload and upload the new ExtendedProfiles.pl. I can't guarantee that this will fix your problems though. Undecided
  

The Administrator.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 3 ... 29
Send TopicPrint