nairu
New Member
Posts: 2
inherit
258021
0
Aug 17, 2020 6:46:40 GMT -8
nairu
2
March 2019
nairu
|
Post by nairu on Aug 16, 2020 15:04:11 GMT -8
Since registration is disabled on my forum, I was curious if there was a way to remove the "Register" option from the header entirely? All help would be appreciated.
|
|
inherit
252032
0
May 14, 2022 12:23:55 GMT -8
Retread
Tribbial Pursuit.
5,009
January 2018
retread
|
Post by Retread on Aug 16, 2020 17:22:26 GMT -8
Since registration is disabled on my forum, I was curious if there was a way to remove the "Register" option from the header entirely? All help would be appreciated. Hi nairu To remove the Register link, from your Admin panel, navigate: Admin Home> Themes> Layout TemplatesSelect the desired theme using the dropdown to the right of the words: Current ThemeClick on the listing for Forum Wrapper in the column marked: Template NameOn or about line 43, find a line that looks like this: Please $[login_link]{if $[login_link] && $[register_link]} or {/if}$[register_link]. Replace that with this: Please $[login_link] Click the Save Changes button at the bottom of the page or the Save Theme button near the top of the page. Please let me know if this gets you where you want to go. Note: If you ever re-enable registration on your forum, please remember to reverse this modification.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,663
January 2015
msg
|
Post by Lynx on Aug 17, 2020 5:05:41 GMT -8
A slightly different way, which would retain the coding if registration was ever re-enabled, would be something like this:
Please $[login_link]<!--{if $[login_link] && $[register_link]} or {/if}$[register_link]-->.
The part in between the <!-- and --> would be treated as a comment (not executed), but would allow for the original coding to remain. Reversing this (to make it show a Register link again) would be simple removing the <!-- and -->
|
|
inherit
252032
0
May 14, 2022 12:23:55 GMT -8
Retread
Tribbial Pursuit.
5,009
January 2018
retread
|
Post by Retread on Aug 17, 2020 5:11:40 GMT -8
^ Brill! ^
|
|
nairu
New Member
Posts: 2
inherit
258021
0
Aug 17, 2020 6:46:40 GMT -8
nairu
2
March 2019
nairu
|
Post by nairu on Aug 17, 2020 6:47:21 GMT -8
Thanks guys!
|
|
MattyH
New Member
Blackpool is a town in England and it's a great family holiday place in the UK!
Posts: 47
inherit
261630
0
Dec 19, 2021 12:00:46 GMT -8
MattyH
Blackpool is a town in England and it's a great family holiday place in the UK!
47
July 2020
mattymaster7
|
Post by MattyH on Sept 1, 2020 11:18:59 GMT -8
Since registration is disabled on my forum, I was curious if there was a way to remove the "Register" option from the header entirely? All help would be appreciated. Hi nairu To remove the Register link, from your Admin panel, navigate: Admin Home> Themes> Layout TemplatesSelect the desired theme using the dropdown to the right of the words: Current ThemeClick on the listing for Forum Wrapper in the column marked: Template NameOn or about line 43, find a line that looks like this: Please $[login_link]{if $[login_link] && $[register_link]} or {/if}$[register_link]. Replace that with this: Please $[login_link] Click the Save Changes button at the bottom of the page or the Save Theme button near the top of the page. Please let me know if this gets you where you want to go. Note: If you ever re-enable registration on your forum, please remember to reverse this modification.That might get you
|
|
#FF6600
Closet Spammer
31801
0
1
Mar 28, 2023 20:46:10 GMT -8
wildmaven
Fear the Flying Flocks of Fiery Fury!!
35,383
October 2004
wildmaven
Take Out
Cheesecake
Wildmaven's Mini-Profile
|
Post by wildmaven on Sept 1, 2020 14:32:52 GMT -8
Hi Matty. I appreciate you wanting to help, but if you don’t have a solution of your own, it’s best if you don’t reply to those asking for help. Thanks.
|
|
inherit
262438
0
Sept 12, 2021 3:21:10 GMT -8
thereddiamanthe
75
October 2020
thereddiamanthe
|
Post by thereddiamanthe on Oct 7, 2020 18:33:51 GMT -8
Would it be possible to remove the corner line'Please Login Register' completely - including the bigger 'Register' button
1. ONLY KEEPING THE LOGIN BUTTON
2. & possibly modify the text of the bigger login button to something else?
|
|
inherit
262621
0
Oct 7, 2022 1:56:30 GMT -8
RogerTXRS-01
32
October 2020
rogertxrs01
|
Post by RogerTXRS-01 on Nov 10, 2020 16:03:41 GMT -8
Hi Matty. I appreciate you wanting to help, but if you don’t have a solution of your own, it’s best if you don’t reply to those asking for help. Thanks. I don't understand what you're telling us wildmaven, or why you've admonished Matty for trying to help. I thought this forum was a help forum for people who are experiencing difficulties with problems on their forum. Does it matter who solves a code problem first? Let's say for argument sake, you are the original person who thought up this particular answer for a problem like this. Are you saying no one else can use this code fix to help someone else with the same problem? because they never thought of it first. Hmm....
|
|
inherit
140147
0
Mar 29, 2023 1:18:21 GMT -8
Nscalerr 🐺
Throw me to the wolves and I'll return leading the pack!
2,735
May 2009
nscalerr
Anything with Bacon!
Ice Cream
|
Post by Nscalerr 🐺 on Nov 11, 2020 0:11:57 GMT -8
Would it be possible to remove the corner line'Please Login Register' completely - including the bigger 'Register' button 1. ONLY KEEPING THE LOGIN BUTTON 2. & possibly modify the text of the bigger login button to something else? Look for <p id="welcome"> in the Forum Wrapper template, (Admin Home > Themes Layout Templates) and replace the code with the code below. Let me know if this gets you where you want to go??  <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} --> <a href="$[login_link.href]">Login message here</a> {else} <span>Welcome $[current_user.name].</span> $[logout_link] {/if} </p>
|
|
inherit
140147
0
Mar 29, 2023 1:18:21 GMT -8
Nscalerr 🐺
Throw me to the wolves and I'll return leading the pack!
2,735
May 2009
nscalerr
Anything with Bacon!
Ice Cream
|
Post by Nscalerr 🐺 on Nov 11, 2020 0:14:12 GMT -8
I don't understand what you're telling us wildmaven, or why you've admonished Matty for trying to help. The users quote didn't actually help anyone as it was just a quote that had been posted by Retread. 
|
|
MattyH
New Member
Blackpool is a town in England and it's a great family holiday place in the UK!
Posts: 47
inherit
261630
0
Dec 19, 2021 12:00:46 GMT -8
MattyH
Blackpool is a town in England and it's a great family holiday place in the UK!
47
July 2020
mattymaster7
|
Post by MattyH on Nov 12, 2020 9:00:17 GMT -8
Hi Matty. I appreciate you wanting to help, but if you don’t have a solution of your own, it’s best if you don’t reply to those asking for help. Thanks. I don't understand what you're telling us wildmaven, or why you've admonished Matty for trying to help. I thought this forum was a help forum for people who are experiencing difficulties with problems on their forum. Does it matter who solves a code problem first? Let's say for argument sake, you are the original person who thought up this particular answer for a problem like this. Are you saying no one else can use this code fix to help someone else with the same problem? because they never thought of it first. Hmm.... I agree, I was just wanting to be nice, that's all.
|
|