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


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Extended Profiles for SP1.2
Feb 1st, 2003 at 2:48pm
Print Post  
This mod has been created because of several requests and a lot of good ideas. This mod will allow you to add new fields to user profiles! So here it is:



Warning: I this mod has been designed for BoardMod 2.5.2. Please update if you don't run it already.

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
  • 9 different field types:
      - textbox
      - textarea
      - dropdown list
      - radiobuttons
      - checkbox
      - date
      - email
      - url
      - spacer
  • 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 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>)
  • highly compatible with other mods (YaMS-compatible mod file included)
  • easy integration into your own code
  • intelligent profile file handling to minimize disk usage (profiles equal to default get deleted)


Installation Instructions:
  • Install the mod
  • upload ALL modified files
  • upload ExtendedProfiles.pl to your Sources 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
  • goto your admin center -> extended profile controls and add new profile fields


Screenshots:
Extended Profile Controls:
Field Options:                                                                        
View Profile Page:                                          
Edit Profile Page:
Memberlist:
Posts:

Version History:
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: Apr 25th, 2004 at 1:49am by Administrator »  

extended_profiles_v12_sp12.zip (Attachment deleted)

The Administrator.
Back to top
WWW  
IP Logged
 
ms_ukyankee
Senior Member
****
Offline


fka whisper68

Posts: 365
Location: England
Joined: Apr 18th, 2002
Gender: Female
Re: Extended Profiles for SP1.2
Reply #1 - Feb 1st, 2003 at 3:22pm
Print Post  
This could be an alternative for those who were waiting around for things to move forward with the Biography mod, could it not? Smiley

Looks great! I'll test it out soon.
  

No longer active on Boardmod, migrated to another forum system.
Back to top
ICQ  
IP Logged
 
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: Extended Profiles for SP1.2
Reply #2 - Feb 1st, 2003 at 4:38pm
Print Post  
Installed perfectly on my board (Well, Beta4 did anyway)
Looks great Grin

One question though, why change BR to br? how is this an HTML fix? I always make my tags capitalised for easier reading.

Quote:
This could be an alternative for those who were waiting around for things to move forward with the Biography mod, could it not? 


Yeah, indeed it is, that's why I installed it. I'm also using it as a replacement for the Custom Titles mod! Grin


All in all, a REALLY fantastic, and useful mod, that works well. and installs easily. as all your mods are Smiley
  

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
BodyMen
New Member
*
Offline


All Men Are Not Created
Equal.

Posts: 16
Location: Montreal
Joined: Jan 1st, 2003
Gender: Male
Re: Extended Profiles for SP1.2
Reply #3 - Feb 1st, 2003 at 4:52pm
Print Post  
This Mod don't work with YAM4.02_SP1.2

Following error->

Step 1 ... ok

Step 2 ... ok

Step 3 ... ok

Step 4 ... ok

Step 5 ... failed - ERR(1): Search string could not be found

Step 6 ... ok

Step 7 ... failed - ERR(1): Search string could not be found

Step 8 ... failed - ERR(1): Search string could not be found

Step 9 ... failed - ERR(1): Search string could not be found

Step 10 ... ok

Step 11 ... ok

Step 12 ... ok

Step 13 ... ok

Step 14 ... ok

Step 15 ... ok

Step 16 ... ok

Step 17 ... ok

Step 18 ... ok

If i remove Yam402 everything is ok.
could you fix this please.
  
Back to top
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles for SP1.2
Reply #4 - Feb 1st, 2003 at 5:18pm
Print Post  
LoonyPandora wrote on Feb 1st, 2003 at 4:38pm:
One question though, why change BR to br? how is this an HTML fix? I always make my tags capitalised for easier reading.
It's not valid html Wink

@BodyMen:
I forgot to include the YaMS-compatible mod file. Plz redownload.
  

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


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: Extended Profiles for SP1.2
Reply #5 - Feb 1st, 2003 at 5:34pm
Print Post  
Quote:
It's not valid html Wink


oh right, that shot me down in flames. oops  Embarrassed In my defence, I was always taught that you should capitalize tags because it makes it more readable. I read up a bit on it, and from what I gather it's a fairly recent thing, so it is compatible with XHTML guidelines. (I'm guessing it's recent....)

Oops nonetheless  Embarrassed
  

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
alexik
Senior Member
****
Offline


gone with the wind

Posts: 275
Location: Lahti
Joined: Dec 20th, 2002
Gender: Male
Re: Extended Profiles for SP1.2
Reply #6 - Feb 2nd, 2003 at 10:19am
Print Post  
Installed and went ok and works ok.
  
Back to top
 
IP Logged
 
valleyman2
Guest


Re: Extended Profiles for SP1.2
Reply #7 - Feb 2nd, 2003 at 12:40pm
Print Post  
It didn't install correctly on my board.
Step 1 ... ok

Step 2 ... failed - ERR(1): Search string could not be found

Step 3 ... ok

Step 4 ... ok

Step 5 ... ok

Step 6 ... ok

Step 7 ... ok

Step 8 ... ok

Step 9 ... failed - ERR(1): Search string could not be found

Step 10 ... ok

Step 11 ... ok

Step 12 ... ok

Step 13 ... ok

Step 14 ... ok

Step 15 ... ok

I have these mods already installed (one of them is obviously conflicting with the search string):
Add more message icons
Add more smilies
Advanced imbox 2
Advanced Log Analysis
More Board and Category Options SP1.1
New Indicator Bug SP1/1.1
OFFTOPIC POST
Poll Mod 3
Board Index Showcase Poll Addon Mod for Polls v3
Login While Posting
Security Fix from November 11, 2002
search_color_options_sp1 with Highlighter
Search Log SP1/1.1
Search Update SP1/1.1
SSI in YaBB Template
User_IP_Fix SP1
User Templates
YaMS - 402 sp1.1


I'd really appreciate some help here.
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Extended Profiles for SP1.2
Reply #8 - Feb 2nd, 2003 at 1:46pm
Print Post  
You seem to run SP1.1, not SP1.2. Note that in this board you'll only find mods for SP1.2! For a SP1.1 version of this mod, go here: http://boardmod.yabbforum.com/yabb/YaBB.pl?board=newssp;action=display;num=10441...
  

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


HI

Posts: 15
Location: Mukilteo
Joined: Feb 2nd, 2003
Gender: Male
Re: Extended Profiles for SP1.2
Reply #9 - Feb 27th, 2003 at 3:21am
Print Post  
I have a couple questions really quick. First off, I'm running v1.0 on my sp1.2 board. It works great! I have an field for URL's. I figured out how to make it so that you can have more then 40 characotrs, which they will have. But here are my questions:

1) how can I have a set url, pre defind and they just add too it...ie...http://www.mysite.com/joe . The "mysite.com" is already there/hidden and they just add joe. Make sense? Not too important but if it can be done, a point in the right direction would be cool.

2)If thats not possible, can I replace the url when viewed in messages/profile with an image, like the current "home page" link that comes in the Yabb users profile?
  
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 for SP1.2
Reply #10 - Feb 27th, 2003 at 12:17pm
Print Post  
Quote:
1) how can I have a set url, pre defind and they just add too it...ie...http://www.mysite.com/joe . The "mysite.com" is already there/hidden and they just add joe. Make sense? Not too important but if it can be done, a point in the right direction would be cool.

It's possible but it requires a lot of modifications...

Quote:
2)If thats not possible, can I replace the url when viewed in messages/profile with an image, like the current "home page" link that comes in the Yabb users profile?

you'll have to modify the code. First, make the field invisible in posts. Then look for the following code to Display.pl:
Code
Select All
require "$sourcedir/ExtendedProfiles.pl";
$yymain .= ext_viewinposts($musername) . qq~ 


replace it with:
Code
Select All
require "$sourcedir/ExtendedProfiles.pl";
$yymain .= ext_viewinposts($musername) . qq~<a href="~ . ext_get($musername,"[highlight size=1 color=red background=]fieldname[/highlight]") . qq~"><img src="[highlight size=1 color=red background=]http://www.bla.com/mypic.gif[/highlight]"></a> 



Make sure to replace fieldname with your field's name and modify the image source.
  

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


HI

Posts: 15
Location: Mukilteo
Joined: Feb 2nd, 2003
Gender: Male
Re: Extended Profiles for SP1.2
Reply #11 - Feb 27th, 2003 at 9:17pm
Print Post  
Hey that worked out great, sort of.

If they have a url inputted it works great, but if they dont have a url entered, the image is there and links them to the yabb dir. I've been messing with putting an "if/else" but my coding stinks.If this is something easy I could use any help, in any case thanks for the help... it works good enough.
  
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 for SP1.2
Reply #12 - Feb 28th, 2003 at 1:53pm
Print Post  
Oh... forgot about that Roll Eyes Use this code instead:

Code
Select All
require "$sourcedir/ExtendedProfiles.pl";
$yymain .= ext_viewinposts($musername);
my $ext_url = ext_get($musername,"[highlight size=1 color=red background=]fieldname[/highlight]");
if ($ext_url ne "") {
if ($ext_url !~ m~^http\:\/\/~i) { $ext_url = "http://".$ext_url; }
$yymain .= qq~<a href="$ext_url"><img src="[highlight size=1 color=red background=]http://www.bla.com/mypic.gif[/highlight]"></a>~;
}
$yymain .= qq~ 



Make sure to replace fieldname with your field's name and modify the image source.
  

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


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Extended Profiles for SP1.2
Reply #13 - Feb 28th, 2003 at 3:33pm
Print Post  
What would cause a user's profile (ext profile section unseen to them) to be reset to default when they update their profile?
  

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 for SP1.2
Reply #14 - Mar 2nd, 2003 at 4:06pm
Print Post  
As far as I can tell, this should be impossible through this mod, because it doesn't touch any variables of the "normal" profile part, neither does it touch the normal profile file. Must be something else.
  

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