NEED HELP? »  Show posts from    to     

Icy Phoenix


phpBB 3 MODS And Styles (Not Compatible With phpBB 3.1) - NEED HELP?



mikemikeee [ Sat 26 May, 2018 05:17 ]
Post subject: NEED HELP?
I used the following code on my own forum to move the PM and email buttons from under a post to inside the posters profile:
Code: [Download] [Hide]

template: viewtopic_body.html
search for...

Code:
<!-- BEGIN custom_fields -->
<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
<!-- END custom_fields -->
</span>

and add after...

Code:
<br />
<!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF -->




UPDATE...
Well I just tried adding this code and it does not do anything with this style for some reason. I figured the template for viewtopic_body.html would be the same for all styles, but it obviously is not. Yes - I refreshed the style after the edit. No effect. Bummer:(

Can anyone please suggest an alternative code - my son really wants this like my forum.


Informpro [ Mon 28 May, 2018 16:28 ]
Post subject: Re: NEED HELP?
Hi,

Do you also want to move the Profile button?
Do you want to move it on the left column, under the avatar/post count?




Powered by Icy Phoenix