The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

{USERNAME} on nav bar

4 posters

Go down

In progress {USERNAME} on nav bar

Post by J0k3R^ May 22nd 2014, 11:33 am

hi,
i want to add this text on my nav bar
Code:
welcome back, {USERNAME}

but the
Code:
{USERNAME}


doesnt appear. How can i fix this?
I tried to add the USERNAME to other position (to the homepage msg for example) and it worked, but why doesnt work on the navigation bar?
Thanks  :rose:
J0k3R^
J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

In progress Re: {USERNAME} on nav bar

Post by Pizza Boi May 22nd 2014, 2:08 pm

Hi Very Happy

Please try this:

AP < Display < Homepage < Generalities < Paste this code before saving:

Code:
<p class="wb">
 Welcome back, {USERNAME}
</p>

Then this in your CSS:

Code:
p.wb {
position: absolute;
top: 105px;
left: 900px;
}

If you need an extended help, please just email this account: Email Removed with the link to your problem(s).

@Staff: Guys, please don't remove this because as I said, this is just an alternate account, it does not matter if it gets hacked or not and if you still remove it, my apologies as you know that my inbox is very limited AND my sentbox is already 100% full. I cannot delete my messages in it as they are important so I will give out my alternate email for use here. I have also posted this in topics that I have this email in. There is also no worries for IP trackers as I am using Dynamic IP's so my area can switch from any area as my provider pleases and that I also switch devices so I'm generally untraceable.

I also realized I did not indicate this, but I disabled members from PMing me AND emailing me since I am using one of my main accounts and a would be the problem if I give it out. That is why I posted an alternate. Please read all the topics where my emails can be found so you can understand my justifications. I've been receiving irrelevant PMs as well as support questions and it is very annoying because I do not want to be flooded with questions that should be posted instead.

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

In progress Re: {USERNAME} on nav bar

Post by J0k3R^ May 22nd 2014, 2:15 pm

lol, reread my post plz... Very Happy
J0k3R^
J0k3R^
Forumember

Male Posts : 742
Reputation : 28
Language : Greek > English > Russian > Spanish
Location : C:\>r00t

http://fmplanet.forumgreek.com

Back to top Go down

In progress Re: {USERNAME} on nav bar

Post by Ange Tuteur May 22nd 2014, 7:29 pm

Hello J0k3R^,

I do not believe that variable can be used in the templates. I haven't tried, but see if this works. Use this in the templates :
Code:
<span id="logged">{LOGGED_AS}</span>

Then add this to CSS :
Code:
#logged { font-size:0; }
#logged strong { font-size:11px; }

Adjust the 11px to modify the font size of the username.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

In progress Re: {USERNAME} on nav bar

Post by Neptune- May 25th 2014, 9:19 am

Hello ^^


It should work with that tutorial :
-> Use variables {USER...} et {FORUM...} elsewhere on the forum
Neptune-
Neptune-
Forumember

Female Posts : 496
Reputation : 104
Language : French (10), English (8), CSS (5), HTML (4), Javascript (4)
Location : Scotland, UK

https://www.galaxie-series.net/

Back to top Go down

Back to top

- Similar topics

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