NamelessMC

Internet Explorer

Internet Explorer is not supported. Please upgrade to a more modern browser.

[Tutorial] Online Staff Members Module V2
Started by Tsuki

Tsuki

Tsuki

Member
Joined
25 Mar 2017
Last Seen
17 Jan 2022
Topics
5
Posts
27
Hello Nameless Community,

Link to Version 1 Format:
https://namelessmc.com/forum/topic/439-tutorial-online-staff-members-module/

I recently created a Module for Nameless version 1 which shows all online staff members. A lot of people requested that I make a Version for Nameless 2. This one was created with the pre version 3.0.

Screenshots:



Step 1:
Navigate to /modules/Forum/pages/forum/index
and /modules/Forum/pages/forum/view_forum

Add the following code to the document:
Save both documents

Step 2:
Navigate to your template folder that you are user (/custom/templates/YOURTEMPLATE/forum)
Open the following documents: forum_index.tpl, view_forum.tpl, view_forum_no_discussions.tpl

forum_index.tpl
place this line 78 (replace old code mattching code)
http://textuploader.com/dh4i4

view_forum:
Add the same code on line 130

view_forum_no_discussions:
Add the same code on line 71

I hope you understand the tutorial and that it helps you with your website!

~Tsuki
x2
Tsuki · over 6 years ago · Last edited: over 6 years ago
CRUGG

CRUGG

Member
Joined
11 Feb 2018
Last Seen
09 May 2019
Topics
6
Posts
13
I didn't do the View Forum part. Is that a Problem since it's not working?
x1
CRUGG · over 6 years ago
Tsuki

Tsuki

Member
Joined
25 Mar 2017
Last Seen
17 Jan 2022
Topics
5
Posts
27
CRUGG:
I didn't do the View Forum part. Is that a Problem since it's not working?

Well yeah, thats the modification of the code. If you dont have the varibels created in the view forum part it wont display or even break your site.

If you need extra help you can always PM me on discord: 
Tsuki#0993
Tsuki · over 6 years ago · Last edited: over 6 years ago
M4IU

M4IU

Contributor
Joined
31 Jan 2017
Last Seen
24 May 2023
Topics
0
Posts
1
nice
x1
M4IU · over 5 years ago
Ariuw

Ariuw

Contributor
Joined
28 May 2016
Last Seen
05 Jun 2023
Topics
13
Posts
70
Nice. Is it updated to the last commit? 
<p>• 22 | @ElReinoOficial</p>
Ariuw · over 5 years ago
Sapphire

Sapphire

Contributor
Joined
28 Jan 2018
Last Seen
24 Jan 2021
Topics
0
Posts
12
Ariuw:
Nice. Is it updated to the last commit? 

Hello. In pre-release 4 there is added Online Staff members widget, which you are able to enable. It works great on here as well. ;)
x1
Sapphire · over 5 years ago