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 -> PhpBB3 General Support
archers-rest

custom profile images

Can we add images to be displayed with our custom profiles? That how 90% of mine are used on phpbb2 will this be a feature on 3?
admin (no pm's please)

In time yes, but we will not be adding our own method until we are sure phpbb3 will not gain this as a feature itself.

It is in the meantime possible to code images into templates based on the custom profile fields.
archers-rest

How would one go about doing that admin?

Is there a rough estimation of when this may be available as a standard feature?
admin (no pm's please)

Symon has been doing this with the flags, there are some recent posts on this.

Time scales are VERY hard to determine.

There are a lot of conflicts on interest going on. There is our natural desire to get these things working, which might be measured in days, and our desire to stay on track with phpbb3 developments which might measure this in literally years  
Symon

archers-rest wrote:
How would one go about doing that admin?

Is there a rough estimation of when this may be available as a standard feature?


What are we talking about here ?

1 Image or things like rank images ?

Do you have an example
archers-rest

I was meaning how would i adjust the template's to add an image to show for the custom profiles, I understand you have done similar for your flags.

I have managed to get my custom profile fields displaying beneath the signature on prosilver template and all is looking pretty good so far, but many of our custom profile fields are displayed as a picture so working out how to that would be great.

http://archersrest.zaphod3.myfree....org/viewtopic.php?f=43&t=156

On the left below the avatars you see a profile field titled AR Supporter, on phpbb2 this is displayed as some flashing stars and I would like the same on phpbb3

to give an example heres a link to the same thread on phpbb2, it shows quite a few custom profile fields displayed as pics

http://archersrest.myfreeforum.org/about156.html
Symon

Ok i understand.

Have you followed the new guide on moving CPF around the viewtopic_body.tpl

If not do what needs to be done , because this needs to be done first to be able to use an image.

The you will need a code like

Code:
<!-- BEGIN custom_fields -->
                        <!-- IF postrow.custom_fields.PROFILE_FIELD_NAME eq "FLAGS" -->
                            <b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b>  <a href="{postrow.custom_fields.PROFILE_FIELD_VALUE}"><img src="http://symon.myfabforum.org/images/ranks/flags/"{postrow.custom_fields.PROFILE_FIELD_VALUE}.gif" alt="{postrow.custom_fields.PROFILE_FIELD_VALUE}" title="{postrow.custom_fields.PROFILE_FIELD_VALUE}"></a>
                         <!-- ENDIF -->
                   <!-- END custom_fields -->


Change flags for the name of you "field name" not portal name as said in the guide.

And change the url of the images to be that of your ranks, or if its not a rank an just an image.

I have to be out for a while this afternoon , but i will do a guide for this later.

Still working on something that maybe needed first.
archers-rest

Thanks for that Symon, I'll have a crack at that later after some much needed shut eye, oh and yes I followed the guide on moving the cpf's around and managed to use that to put them in where the signature go's, yet another great how2
archers-rest

Symon wrote:
Ok i understand.

Have you followed the new guide on moving CPF around the viewtopic_body.tpl

If not do what needs to be done , because this needs to be done first to be able to use an image.

The you will need a code like

Code:
<!-- BEGIN custom_fields -->
                        <!-- IF postrow.custom_fields.PROFILE_FIELD_NAME eq "FLAGS" -->
                            <b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b>  <a href="{postrow.custom_fields.PROFILE_FIELD_VALUE}"><img src="http://symon.myfabforum.org/images/ranks/flags/"{postrow.custom_fields.PROFILE_FIELD_VALUE}.gif" alt="{postrow.custom_fields.PROFILE_FIELD_VALUE}" title="{postrow.custom_fields.PROFILE_FIELD_VALUE}"></a>
                         <!-- ENDIF -->
                   <!-- END custom_fields -->


Change flags for the name of you "field name" not portal name as said in the guide.

And change the url of the images to be that of your ranks, or if its not a rank an just an image.

I have to be out for a while this afternoon , but i will do a guide for this later.

Still working on something that maybe needed first.


Dropped straight in with that Symon, many thanks

       myfreeforum.org Forum Index -> PhpBB3 General Support
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum