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 to create "Logged In As:"

Go down

Solved How to create "Logged In As:"

Post by Ace 1 on Wed Sep 16, 2015 7:45 pm

I was wondering, how to show everything at the top of the forumotion's home page. User information and such. Thanks.


Last edited by Ace 1 on Tue Sep 29, 2015 12:26 am; edited 1 time in total
avatar
Ace 1
Helper
Helper

Male Posts : 842
Reputation : 63
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by brandon_g on Wed Sep 16, 2015 7:50 pm

Hello,

I believe it is the homepage message with some fancy coding in it. Not sure if FM is willing to release the code.

-Brandon


Remember to mark your topic when a solution is found.
avatar
brandon_g
Support Moderator
Support Moderator

Male Posts : 6636
Reputation : 600
Language : English
Location : USA

http://broadcastingduo.forumotion.com/

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by Ace 1 on Wed Sep 16, 2015 8:10 pm

Idk. They might blackeye
avatar
Ace 1
Helper
Helper

Male Posts : 842
Reputation : 63
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by Ange Tuteur on Wed Sep 16, 2015 8:16 pm

avatar
Ange Tuteur
Forumaster

Male Posts : 13193
Reputation : 2904
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by Ace 1 on Thu Sep 17, 2015 12:36 am

It didn't work..
avatar
Ace 1
Helper
Helper

Male Posts : 842
Reputation : 63
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by mpelmmc on Thu Sep 17, 2015 11:08 am

What went wrong?

Have you done what Ange Tuteur told in the thread he gave you?

@Ange Tuteur wrote:When pasting the code, make sure that you're using source code mode on the editor. Otherwise, it may incorrectly add the code, or not add it altogether.
avatar
mpelmmc
Helper
Helper

Male Posts : 411
Reputation : 46
Language : Spanish and English
Location : Spain

http://asistencia.foroactivo.com/forum

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by Ace 1 on Sun Sep 20, 2015 8:36 am

I don't know what he meant by "source code mode" lol...
avatar
Ace 1
Helper
Helper

Male Posts : 842
Reputation : 63
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by Ange Tuteur on Sun Sep 20, 2015 4:18 pm

@Ace 1 wrote:I don't know what he meant by "source code mode" lol...
Clicking the sheet of paper swaps between two modes :

1. WYSIWYG Mode ( the button looks like all the other buttons )
2. Source code mode ( the button will appear to have a white background )

Also, if you're still having problems provide the URL of your forum.
avatar
Ange Tuteur
Forumaster

Male Posts : 13193
Reputation : 2904
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by Ace 1 on Sat Sep 26, 2015 12:05 am

It still didn't work...

http://pb2genocide.forumotion.com/

I pasted the code via the correct method lol.

I understand how pasting it in the WYSIWYG mode can cause problems Xd
avatar
Ace 1
Helper
Helper

Male Posts : 842
Reputation : 63
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by Ange Tuteur on Sat Sep 26, 2015 1:26 am

Thanks for posting your forum link. Wink

The problem is that you have the toolbar disabled. The module makes use of the _lang object which unfortunately is only available whilst the toolbar is enabled.

If you don't want the toolbar, you can use this JavaScript to define the _lang object yourself :
Code:
(function(win) {
  if (!win._lang) {
    win._lang = {
      Posts : 'Posts',
      PMs : 'PMs',
      rank_title : 'NOT_AVAILABLE',
      Reputation : 'Reputation',
      See_my_profile : 'View profile',
      Edit_profile : 'Edit profile',
      All_PMs : 'My private messages',
      Notif_see_all : 'See all the notifications',
      All_Topics : 'My Topics',
      All_Messages : 'My posts',
      js_topics_followed : 'Watched topics'
    };
  }
})(window);

Just set its placement to in all the pages.
avatar
Ange Tuteur
Forumaster

Male Posts : 13193
Reputation : 2904
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by Ace 1 on Sun Sep 27, 2015 10:12 pm

Why does rank say not available?
avatar
Ace 1
Helper
Helper

Male Posts : 842
Reputation : 63
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by Ange Tuteur on Sun Sep 27, 2015 11:09 pm

It's not available without the toolbar, so that's a place holder. You can remove that part if you want, it should be around L.rank_title
avatar
Ange Tuteur
Forumaster

Male Posts : 13193
Reputation : 2904
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by Ace 1 on Mon Sep 28, 2015 9:57 pm

where do i go to make the toolbar come back Razz
avatar
Ace 1
Helper
Helper

Male Posts : 842
Reputation : 63
Language : English - French?
Location : Druid Hill Park

http://help.forumotion.com

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by Ange Tuteur on Mon Sep 28, 2015 10:04 pm

Administration Panel > Modules > Toolbar > Config > Activate

Make sure to remove the _lang script I gave you. Wink
avatar
Ange Tuteur
Forumaster

Male Posts : 13193
Reputation : 2904
Language : EN10, FR5, JA5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: How to create "Logged In As:"

Post by APE on Wed Sep 30, 2015 5:07 am

Topic solved and archived



avatar
APE
Manager
Manager

Male Posts : 11845
Reputation : 1169
Language : fluent in dork / mumbojumbo & English haha
Location : STUCK IN FORUMOTIONS SERVERS HELP ME !!!!!!

http://chatworld.forumotion.co.uk/

Back to top Go down

Back to top


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