inherit
121455
0
Oct 20, 2024 19:46:35 GMT -8
Shawn
547
March 2008
stagefright
|
Post by Shawn on Dec 23, 2016 20:58:46 GMT -8
Happy Holidays everyone. I'd like to move the Welcome username. Logout from the navigator to the line under Newest Member in the info center which is at the top of my forum under the banner. rockbrigade.proboards.com/Thank You for your time RB
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 27, 2016 17:43:36 GMT -8
Do you also want to move the "Welcome Guest, Please Login Or Register" to the same place?
|
|
inherit
121455
0
Oct 20, 2024 19:46:35 GMT -8
Shawn
547
March 2008
stagefright
|
Post by Shawn on Dec 31, 2016 0:52:54 GMT -8
Do you also want to move the "Welcome Guest, Please Login Or Register" to the same place?
yes please
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 31, 2016 1:09:53 GMT -8
OK so, I can't see your forum but I suspect we are going to have an issue: the info centre displays only on the home page of the forum.
Moving the login / register to this area would mean a user could only login or register if they are viewing the forum home page. Is this okay? Or would you like it set to display in the info centre when on the home page, and then in the regular spot for all other pages?
|
|
inherit
121455
0
Oct 20, 2024 19:46:35 GMT -8
Shawn
547
March 2008
stagefright
|
Post by Shawn on Dec 31, 2016 9:10:12 GMT -8
OK so, I can't see your forum but I suspect we are going to have an issue: the info centre displays only on the home page of the forum.
Moving the login / register to this area would mean a user could only login or register if they are viewing the forum home page. Is this okay? Or would you like it set to display in the info centre when on the home page, and then in the regular spot for all other pages?
Hi, thx i would prefer everything be on info centre on the home page....they will get used to it. Thanks You
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 31, 2016 17:31:39 GMT -8
Sounds good! Okay so:
1. Go to admin > structure > layout templates. 2. Click the forum wrapper option. 3. You'll see a tonne of code. You'll need to find this:
<p id="welcome"> {if !$[current_user.is_member]} Welcome Guest. {if $[login_link] || $[register_link]} Please $[login_link]{if $[login_link] && $[register_link]} or {/if}$[register_link]. {/if} {else} <span>Welcome $[current_user.name].</span> $[logout_link] {/if} </p>
Delete it from the template.
4. Next, go back to the list of links on the template page. Select the Home template. 5. Find your info centre -- it should be located under {if #[show_stats]} 6. Find this line:
<tr><td>Newest Member: $[newest_user]</td></tr> Change it to this:
<tr><td>Newest Member: $[newest_user]<br /> {if !$[current_user.is_member]} Welcome Guest. {if $[login_link] || $[register_link]} Please $[login_link]{if $[login_link] && $[register_link]} or {/if}$[register_link]. {/if} {else} <span>Welcome $[current_user.name].</span> $[logout_link] {/if}</td></tr> Save your changes.
That should do the trick. If not, let me know!
|
|
inherit
121455
0
Oct 20, 2024 19:46:35 GMT -8
Shawn
547
March 2008
stagefright
|
Post by Shawn on Jan 1, 2017 2:10:44 GMT -8
worked perfectly thanks KamiRB
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Jan 1, 2017 2:11:15 GMT -8
Glad it worked. Happy new year!
|
|