myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Country: US
    US
    Address: 38.107.191.109
  • Server Appeal

Custom profile hack programming started
Page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> What's new? Announcements!
View previous topic :: View next topic  
Author Message
Please Register and Login to this forum to stop seeing this advertsing.






Add Karma

rated by members
Add Comment
Show Comments

online/offline
Posted:     Post subject:


Back to top
Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Apr 24, 2006 8:52 am    Post subject: Custom profile hack programming started Reply with quote

Ground has just been broken on this

This was after another round of going over the options, including the option of simply not going ahead.

A review of the existing available custom profile hack revealed it would have a significant performance hit, and we were concerned about our own design in this regard.

But what we have finally come up with does I hope fit the bill of doing the job, whilst not killing the servers, and all in a relatively simple to use and expandable way.

Not sure when it will be hitting the live or even test forums though.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
sgts
Teacher
Teacher


Joined: 13 Sep 2005
Posts: 954



Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Apr 24, 2006 2:49 pm    Post subject: Reply with quote

Brilliant... this is one I will be using
_________________

| Royal Marines Online | Royal Marines Forum |
Quick look busy, admin is coming

Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Apr 24, 2006 3:19 pm    Post subject: Reply with quote

The current way it looks is that you define custom fields in window ini file format in a dialog like the forum footer dialog. e.g.

[AGE]
level=user
type=text
default=12
length=2
maxlength=2
autogenerate=1

You then can either add the input fields to your template, or let them be autogenerated, they will always be autogenerated in the admin screens.
More options will appear over time, for that matter only a start has been made on the above features.
I thought of making it an "xml" definition for even more power, but that would be overdoing it.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Apr 25, 2006 8:08 am    Post subject: Reply with quote

Won't get a chance to work on this today But tomorrow in pencilled in as a full day on this

I am kind of hopeful that by the end of the week something quite playable with could be put in place. So we could have some member lead feedback on how it develops.

The big issues once the core tech is there, is how to make it easiest for people to use. So I can see it being better having an alpha version of the code being used by some people on the understanding that there will at that stage be no backward compatabiltiy guarenteed between releases.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 26, 2006 9:45 am    Post subject: Reply with quote

First question people can help with. Profile fields fall as I see it into 3 distinct types.

1. User and Admin can update. User and Admin can see.
2. Admin can update, User and Admin can see.
3. Admin can update, Admin can see.

So when entering the data that will set up an item. You will need to enter something like:

access=user
visible=user

or:

access=admin
visible=user

Is there a clearer way of specifying this?
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
symon
Moderator
Moderator


Virtual Cash: 34170

Joined: 04 Sep 2005
Posts: 11651


Location: Hampshire,England
Add Karma

rated by 91 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 26, 2006 9:46 am    Post subject: Reply with quote

Makes sense to me.

But my brain is hurting from all them bullets last night
_________________




Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 26, 2006 11:28 am    Post subject: Reply with quote

Well a custom profile field is now working in the sense you can alter it in a users profile and the value is saved and returned. That might sound trivial, but is the basis on which it all has to be built.

More of a database change has been done than I was planning on, hence no way can this be "alpha'd" until after Saturday, as we prefer to do database updates on Saturday morning.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
sgts
Teacher
Teacher


Joined: 13 Sep 2005
Posts: 954



Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 26, 2006 1:10 pm    Post subject: Reply with quote

They all make sense. Am I correct?

access=user + Admin (Both can change)
visible=user + Admin (Both can see)

or

access=user
visible=user

or:

access=admin (User cannot change)
visible=admin (User cannot see)
_________________

| Royal Marines Online | Royal Marines Forum |
Quick look busy, admin is coming

Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 26, 2006 1:13 pm    Post subject: Reply with quote

well

access=user
visible=admin

would probably not be that useful. But I think it is clearer having the two parameters rather than rolling them into one.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
sgts
Teacher
Teacher


Joined: 13 Sep 2005
Posts: 954



Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 26, 2006 1:22 pm    Post subject: Reply with quote

So,
user = User and Admin
admin = admin only
Correct?
If so then yes it is fairly straight forward.
_________________

| Royal Marines Online | Royal Marines Forum |
Quick look busy, admin is coming

Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 26, 2006 1:39 pm    Post subject: Reply with quote

Yep pretty much be defintion, admins alway have access/
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 26, 2006 2:29 pm    Post subject: Reply with quote

With basic fields, if you have :

{XPROFILE}

in the profile template file, the custom fields will now appear. Or you can program them yourself if you set the "automatic" variable.

Think the next step is to get them into the admin screens, and then the places where the results need to be visible.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
sgts
Teacher
Teacher


Joined: 13 Sep 2005
Posts: 954



Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 26, 2006 2:42 pm    Post subject: Reply with quote

So, if we have an admin field viewable by all users it could become a 'secondary' rank field. i.e. user groups or admin defined group?
_________________

| Royal Marines Online | Royal Marines Forum |
Quick look busy, admin is coming

Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Apr 26, 2006 3:15 pm    Post subject: Reply with quote

sgts wrote:
So, if we have an admin field viewable by all users it could become a 'secondary' rank field. i.e. user groups or admin defined group?


Yep that would work. All sorts of things may be possible.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin


Virtual Cash: 24210

Joined: 22 May 2005
Posts: 25515



Add Karma

rated by 214 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Apr 27, 2006 6:57 am    Post subject: Reply with quote

Seems to be working in the admin panel now.

So main thing is to let the things be used in the users viewable profile and posts.

At the moment I am thinking of not implementing validations and different kinds of input fields. Lets see what needs arise before adding complexity!



_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

Back to top
View user's profile Private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> What's new? Announcements! All times are GMT
Page 1, 2, 3, 4  Next
Page 1 of 4
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group