Go Back   Pligg Forum > Pligg Development > Pligg Modules
Reply
 
LinkBack Thread Tools Display Modes
Old 01-08-2008, 07:56 PM  
Extended User Profile v0.1 - Almost Done, Need Help
 
gen3ric's Avatar
gen3ric
Constant Pligger
Pligg Version: 9.X
Pligg Template: Custom
Join Date: Jul 2007
Location: Atlanta, GA
Posts: 113

Show Printable Version Email this Page
gen3ric gen3ric is offline 01-08-2008, 07:56 PM
Rating: (1 votes - 4.00 average)

I'm really close to releasing my first module that makes it easier to add extra fields to a user's profile. The module installs fine, stores data, users can edit the extra profile fields by clicking the "Modify" link and the modifications save to the database fine, but I just can't quite get the data retrieved and displayed in the profile view.

I'd appreciate it if someone with a little more experience take a look at what I have so far and lend a hand.

Attached Files
File Type: zip profiles.zip (4.9 KB, 77 views - Who Downloaded?)

__________________
Design Float - Digg For Designers
Views: 2302
Reply With Quote
The Following 4 Users Say Thank You to gen3ric For This Useful Post:
  #11 (permalink)  
Old 01-27-2008, 01:40 PM
bbrian017 bbrian017 is offline
Banned
Pligg Version: 9.9.5
 
Join Date: Oct 2007
Location: Canada
Posts: 917
Downloads: 30
Uploads: 0
Thanks: 171
Thanked 17 Times in 17 Posts
So in general what does this mod do?

Also does anyone have screenshots or a working demo?

Cheers,

bbrian017
Reply With Quote
Sponsored Links
Check out the New Templates at the Pligg Pro Shop.
  #12 (permalink)  
Old 01-28-2008, 08:59 AM
gen3ric's Avatar
gen3ric gen3ric is offline
Constant Pligger
Pligg Version: 9.X
Pligg Template: Custom
 
Join Date: Jul 2007
Location: Atlanta, GA
Posts: 113
Downloads: 27
Uploads: 0
Thanks: 22
Thanked 9 Times in 6 Posts
This mod allows you to add unlimited custom fields to the user profile section. Unfortunately, it involved more manual work than I had originally hoped and I don't know enough PHP code to get it packaged in a complete module, but if you follow Redwine's explanation, you can get it working pretty easily.

I am currently using it to allow users to add their usernames to various other social media sites as well as an interests field and a short bio.

Demo: Design Float
__________________
Design Float - Digg For Designers
Reply With Quote
  #13 (permalink)  
Old 02-06-2008, 10:45 AM
sivle sivle is offline
New Pligger
 
Join Date: Feb 2008
Posts: 20
Downloads: 4
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
I don't want to sound like an idiot, but here goes...

Would it be possible for someone to outline the steps for this a little more clearly. I do some PHP stuff from time-to-time, but the problem is really trying to decipher the pligg files/code. I'm willing/able to do the work, I just don't really know where to start. I'd appreciate the help. I think this would be a great addition to my site.
Reply With Quote
  #14 (permalink)  
Old 02-06-2008, 10:52 AM
sivle sivle is offline
New Pligger
 
Join Date: Feb 2008
Posts: 20
Downloads: 4
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
OK...well, i said i didn't want to sound like an idiot, but sometimes it happens...doh!

I figured it out...i try to make things harder than they are i think. I forgot that you could install this through the admin panel.
Reply With Quote
  #15 (permalink)  
Old 02-06-2008, 12:57 PM
sivle sivle is offline
New Pligger
 
Join Date: Feb 2008
Posts: 20
Downloads: 4
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
I suppose one question would be, where can I change the field width and height, since a bio will tend to hold a lot of data and it's difficult to type all of this in a small text field.
Reply With Quote
  #16 (permalink)  
Old 02-06-2008, 01:04 PM
redwine's Avatar
redwine redwine is offline
Pligg Donor
Pligg Version: 9.8
Pligg Template: custom template
 
Join Date: Jul 2007
Posts: 184
Downloads: 22
Uploads: 0
Thanks: 17
Thanked 90 Times in 57 Posts
Texarea

Quote:
Originally Posted by sivle View Post
I suppose one question would be, where can I change the field width and height, since a bio will tend to hold a lot of data and it's difficult to type all of this in a small text field.
You can change the values of rows and cols in the textarea. Make sure that you also set the varchar of the field in the database to hold the data from the the bio textarea, otherwise, it will be truncated.
__________________
Visit BooksImpact /\.../\ Visit BooksImpact /\.../\ Visit BooksImpact
Reply With Quote
  #17 (permalink)  
Old 02-06-2008, 03:03 PM
not2serious's Avatar
not2serious not2serious is offline
Pligg Donor
Pligg Version: v0.96 w/modifications
Pligg Template: Yget w/modifications
 
Join Date: Apr 2007
Location: East Coast, USA
Posts: 226
Downloads: 29
Uploads: 0
Thanks: 16
Thanked 16 Times in 15 Posts
Just what I needed. Just have to take some time to get my site updated.
__________________
My Pligg Site: Critique My Art
My Arts Directory: Links 2 Arts
Reply With Quote
  #18 (permalink)  
Old 02-08-2008, 04:56 PM
jamiew jamiew is offline
New Pligger
Pligg Version: 9.9
Pligg Template: yget :(
 
Join Date: Jan 2008
Posts: 2
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
Bump

Has anyone pursued continued development of this? I'm looking for exactly this functionality (and am willing to also contribute some coding manhours)
Reply With Quote
  #19 (permalink)  
Old 02-08-2008, 04:57 PM
jamiew jamiew is offline
New Pligger
Pligg Version: 9.9
Pligg Template: yget :(
 
Join Date: Jan 2008
Posts: 2
Downloads: 0
Uploads: 0
Thanks: 0
Thanked 0 Times in 0 Posts
latest

Has anyone continued development of this particular module?
I'm looking for exactly this functionality (and am willing to also contribute some coding manhours!)
Reply With Quote
  #20 (permalink)  
Old 02-08-2008, 05:38 PM
redwine's Avatar
redwine redwine is offline
Pligg Donor
Pligg Version: 9.8
Pligg Template: custom template
 
Join Date: Jul 2007
Posts: 184
Downloads: 22
Uploads: 0
Thanks: 17
Thanked 90 Times in 57 Posts
It's all there for you!

Quote:
Originally Posted by jamiew View Post
Has anyone continued development of this particular module?
I'm looking for exactly this functionality (and am willing to also contribute some coding manhours!)
It's all there for you. Just follow the first step from gen3ric and redwine's to implement it and you can add as many extra field as want...
__________________
Visit BooksImpact /\.../\ Visit BooksImpact /\.../\ Visit BooksImpact
Reply With Quote
Reply



Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Newline ability needed for a field in user profile rossoonline General Help 0 09-18-2007 05:23 PM
How to link Extra fields in Profile to pull information from user table in database pliggnewbie Pligg Mods 0 04-12-2007 12:59 AM
Custom user profile fields revolver Suggestions 2 12-05-2006 08:52 PM
How can I add new fields to user profile gragland General Help 0 07-17-2006 11:03 PM
[bug fix] discarded stories are dipalyed in user profile gragland Bug Report 0 07-04-2006 04:18 PM


LinkBacks Enabled by vBSEO 3.0.0