Advertisement:

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004755SMF 2.1[All Projects] public2011-06-16 19:542012-02-18 16:48
ReporterAntechinus 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0004755: When registration is disabled, don't show the registration option
Descriptionhttp://www.simplemachines.org/community/index.php?topic=438267.0 [^]

Good idea. We should do this.

Further dscussion here: http://www.simplemachines.org/community/index.php?topic=438294.0 [^]
Steps To ReproduceDisable registration. Links are still visible in main menu, theme header, and on login page.
Tags2.1
Attached Files

- Relationships

-  Notes
(0014229)
SleePy (Developer)
2011-10-21 20:16

 + Hide registration links when registration is disabled (Load.php, Subs.php, index Template, Login Template, index language, Login Language) Revision 10836
(0014230)
SleePy (Developer)
2011-10-21 20:17

I couldn't find this anywhere in our source code:

./Themes/default/languages/Errors.english.php:16:$txt['login_to_post'] = 'To post you must be logged in. If you don\'t have an account yet, please ' . $scripturl . '?action=register.';

Its language string to registration, but that doesn't seem to be anywhere I can find in the source files. No error calls it as well. So not sure. Just letting somebody know I didn't miss this if its found, I just couldn't trace it.
(0014411)
Spuds (SMF Friend)
2012-02-18 16:48

Commit:f8cff26430e427f6bd562fb98cc8587279549820

Template, Login Template, index language, Login Language) [Feature 4755]
MantisBT 1.2.8 (Modified)[^] Copyright © 2000 - 2010 Mantis Group