Advertisement:
Anonymous Login
12-05-2016 07:51 PM

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004755SMF 2.1[All Projects] public2012-02-18 16:48
ReporterAntechinus 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
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
+Relationships

-Notes

bugnote:0014229

SleePy (Developer)

 + Hide registration links when registration is disabled (Load.php, Subs.php, index Template, Login Template, index language, Login Language) Revision 10836

bugnote:0014230

SleePy (Developer)

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.

bugnote:0014411

Spuds (Viewer)

Commit:f8cff26430e427f6bd562fb98cc8587279549820

Template, Login Template, index language, Login Language) [Feature 4755]
+Notes
MantisBT (Modified for SMF Intergration)[^] Copyright © 2000 - 2010 Mantis Group