The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

View previous topic View next topic Go down

How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

Post by AlexandruMiron on March 14th 2011, 12:02 pm

Well, i wanna put that variable to work in a template, i just want to put the useravatar on the header, in a menu that i'm gone make.
I know this seems to be impossible, but i think it well word somehow.
Like you just did with that variables to work in a htm page, when users crated from administration panel, they put in that page a script, so the variables cand work.

Well i want to make this in a forum template, in the overall_header with the USERNAME_AVATAR?


Does anyone know how can I do'it?


sorry, for my bad english

AlexandruMiron
Forumember

Male Posts : 45
Reputation : 0
Language : Romanian and a little Eng
Location : Terra - Europa - Romania - Galati

http://lavorba.net

Back to top Go down

Re: How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

Post by Tropica on March 15th 2011, 7:59 am

Do you mean, after log-in, so every member will have their avatar picture at the top of the page?

Tropica
Forumember

Posts : 99
Reputation : 0
Language : Indonesian
Location : GIF

http://gayindoforum.com

Back to top Go down

Re: How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

Post by AlexandruMiron on March 18th 2011, 5:44 am

yes.

AlexandruMiron
Forumember

Male Posts : 45
Reputation : 0
Language : Romanian and a little Eng
Location : Terra - Europa - Romania - Galati

http://lavorba.net

Back to top Go down

Re: How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

Post by AlexandruMiron on March 20th 2011, 5:15 pm

well? can somebody help me with this?

AlexandruMiron
Forumember

Male Posts : 45
Reputation : 0
Language : Romanian and a little Eng
Location : Terra - Europa - Romania - Galati

http://lavorba.net

Back to top Go down

Re: How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

Post by Darren1 on March 21st 2011, 2:05 am

Hi,

Sorry about the delay, Ive been in and out of the forum lately - Though I thought someone would have been able to help by now ....

Now I do just want to ask 1 quick question, it is to be on every page, correct?
(Just according to your 1st post, you noteded to edit the over_header which means it'll show on every page)

Example no table:
username
avatar


Example table: username avatar


P.S. Nice irony as your avie loove

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Re: How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

Post by AlexandruMiron on March 21st 2011, 5:23 am

Yes, I want to be on all pages.
I want to do a phpBB2 theme, and some ideas I want to put them into practice. I can not start something if you do not find a solution to what I wanted to do.
The first theme was that I made http://alexm.wikiforum.ro but I left it unfinished. But now I want to do something even more beautiful. So, I want to know how to make it appear in the header, the avatar of a user, using variables

AlexandruMiron
Forumember

Male Posts : 45
Reputation : 0
Language : Romanian and a little Eng
Location : Terra - Europa - Romania - Galati

http://lavorba.net

Back to top Go down

Re: How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

Post by Darren1 on March 21st 2011, 6:06 am

Ive basically got it all ready to go, I would just like to know exactly where you want it Smile

Above/below the nav bar, where the following text lies, or somewhere else?
MotanelTutorials este o comunitate (forum), care va pune la dispozitie o gama larga de tutoriale din care dumneavoastra sa puteti invata ceea ce nu stiti.

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Re: How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

Post by AlexandruMiron on March 23rd 2011, 1:28 pm

i just want the {USERNAME_AVATAR} to work in overall_header.
no matter which party is it, know how to code, and change it the way i want, but I want to make it functional.

AlexandruMiron
Forumember

Male Posts : 45
Reputation : 0
Language : Romanian and a little Eng
Location : Terra - Europa - Romania - Galati

http://lavorba.net

Back to top Go down

Re: How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

Post by Darren1 on March 24th 2011, 1:41 am

Well, the {USERNAME_AVATAR} code isn't one FM recognizes, instead it's 2 silly codes.
Avie: {postrow.displayed.POSTER_AVATAR}
Name: {postrow.displayed.POSTER_NAME}

Logged in variable: <!-- BEGIN switch_user_logged_in -->
<!-- END switch_user_logged_in -->

Please don't ask me why there such silly codes - could be simplified soooo much if you asked me TT TT

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Re: How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

Post by AlexandruMiron on March 24th 2011, 5:36 am

I tried this but it did not work
I think I have to give up this idea and I'll start this tehme without this modification.
Thank you, for trying to help me

AlexandruMiron
Forumember

Male Posts : 45
Reputation : 0
Language : Romanian and a little Eng
Location : Terra - Europa - Romania - Galati

http://lavorba.net

Back to top Go down

Re: How can i make the USRNAME_AVATAR variabile work in overall_header template [PhpBB2]

Post by Darren1 on March 24th 2011, 7:07 am

Really?
Hang 10, Ill check it out as they worked for me a while back.

Whoa. I had a tut I was making to get the username there using the Using php in posts is called being a smart ass... Stop it script, but where was it

Give me a few days to find it - Ive got a hectic workload starting in 1hr again.

Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum