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.

{USERNAME} on nav bar

View previous topic View next topic Go down

In progress {USERNAME} on nav bar

Post by J0k3R^ on May 22nd 2014, 9: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^
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 on May 22nd 2014, 12: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
Hyperactive

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

http://redlustempire.forumtl.com/

Back to top Go down

In progress Re: {USERNAME} on nav bar

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

lol, reread my post plz... Very Happy

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 on May 22nd 2014, 5: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
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

In progress Re: {USERNAME} on nav bar

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

Hello ^^


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

Neptune-
Forumember

Male Posts : 187
Reputation : 21
Language : French (10), English (8), CSS (5), HTML (4), Javascript (1)
Location : France

http://www.planet-series.com/

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