Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 



       myfreeforum.org Forum Index -> What's new? Announcements!
admin (no pm's please)

new xprofile form



Note the "Display position" parameter. This will save people editing templates most of the time.

Not quite sure when this will be going in.
admin (no pm's please)

Well a large chunk of this is functioning, well basically what is seen on the form works as a form and updates the options.

Reordering/deleting and actually making the automatic display bit happen is next.

This has to be better than the control panel bit.

It was never really intended to leave everything in the control panel, but it makes a lot more sense to get the functionality right before going down the road of making the admin side pretty.
clive staples

Looks great admin! Thanks!
admin (no pm's please)

Well aside from reordering and deletion this seems to be working really well

But it will need to be added to a couple of the template files in all 300+ system templates

But what the heck, it is only time.
admin (no pm's please)

Actually it occurs to me that if this is being revamped, then lets take it to the next level.

Different fields types and validation options are also being added.
admin (no pm's please)

Help me out here. I am trying to keep this as simple as possible. So with all system templates there will be no actual need to edit template files.

We have to be backwards compatible though and allow people to do fancy things if need be.

So for example fields can be set to "Display position: none" in which case they will not be show in topics automatically. But your existing template edits in viewtopic_body.tpl will show the fields.

For entry to profiles for example when registering or editing your profile, the existing setting "automatic=yes" will show profile entries in the {XPROFILE} macro if it has been put into profile_add_body.tpl. This macro will now be there in all system templates.

All that remains is viewing profiles. profile_view_body.tpl will be able to automatically display xprofile field via :

Code:

<!-- BEGIN xprofilerow -->
<tr>
                  <td valign="top" align="right" nowrap="nowrap"><span class="gen">{xprofilerow.TITLE}:</span></td>
                  <td> <b><span class="gen">{xprofilerow.VALUE}</span></b></td>
                </tr>
<!-- END xprofilerow -->


being present in the template.

The question is should the "automatic" setting control both whether fields are automatically created in both profile entry and display or should there be a separate option?
I want to keep it a single option, as I think that is enough for most people.
admin (no pm's please)



All seems to be working now, including some ability to validate what people enter to fields.
The programming has been made a little easier with template construct like:

Code:

<!-- IF XPROFILE_TYPE == "option" or XPROFILE_TYPE == "dropdown" -->
   <tr>
     <td class="row1">{L_XPROFILE_OPTIONS}</td>
     <td class="row2"><input type="text" size="25" name="options" value="{XPROFILE_OPTIONS}" class="post" /></td>
     <td class="row1">{L_XPROFILE_OPTIONS_DESC}</td>
   </tr>
<!-- ELSE -->
   <input type="hidden" name="options" value="{XPROFILE_OPTIONS}" />
 <!-- ENDIF -->


That sort of thing is part of the new template system also due to go in.

So far I have only edited 7 of the 100's of system templates, in part at least as I want to be really sure of things before stepping up a gear. I'd hate to do all those edits wrong

I managed to deploy a fair chunk of the improvements intended for this Saturday last Saturday, but I don't think this new round is not going to be there quite in time for the 12th. In a way this is quite fitting as the last major piece of this round of upgrades may end up being at the 2 year anniversary mark.

From that you might gather that there is still one more major upgrade needing writing Wink
admin (no pm's please)

Working a-z on the templates I am now on "m" so far two templates do not really fit the system, they would need manually editing to add profile fields neatly. The templates are "chairs" and "lifeCod", they will be marked as invisible when the update takes place so that anyone not using them cannot choose them.
Losing a few templates from a range of 100's is a small price to pay.
Symon

if you can send me a list of all the ones coming off the list so i can remove them from the template list please


Only on M my fingers were aching by the time i got to M on the list but remember M = middle the 13 th letter of the alphabet.
admin (no pm's please)

Not only is M middle, m if before myff_ and my scrollbar is actually more than halfway down the list despite all the myff ones in my list that do not need work

With a headwind or even without one, this will be done by sometime tomorrow leaving the deck relatively clear to see about when changes can go in.

It will probably come down to a very few little things people won't notice (hopefully) happening this Saturday, including uploading the templates which are compatible with the existing system.
admin (no pm's please)

Well that is done

List for removal is:

chairs
lifeCod
Raid

not much to lose really.
Nick(NR)

I've got chairs on another forum?

Is it staying there as it's already installed on the forum or is it going completely?

Idea's are not clear answers Wink
admin (no pm's please)

We try not to pull the rug from under people if at all possible. The styles will be simply marked as ones that will not be shown in add styles.
How Unlucky

Is this up yet and if it is were is it at.
Symon

Halo Fan Forum wrote:
Is this up yet and if it is were is it at.


Read the thread

       myfreeforum.org Forum Index -> What's new? Announcements!
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum