Cookies help us deliver our services. By using our services, you agree to our use of cookies.
Changes
Jump to navigation
Jump to search
← Older edit
Protecting access log
(view source)
Revision as of 15:52, 5 October 2023
42 bytes removed
,
15:52, 5 October 2023
Text replacement - "<syntaxhighlight lang="php" enclose="div">" to "<syntaxhighlight lang="php">"
Line 39:
Line 39:
After the login check in the showlog.php
After the login check in the showlog.php
−
<syntaxhighlight lang="php
" enclose="div
">
+
<syntaxhighlight lang="php">
include($cms['tngpath'] . "checklogin.php");
include($cms['tngpath'] . "checklogin.php");
</syntaxhighlight>
</syntaxhighlight>
Line 47:
Line 47:
For TNG v9 and later, the code should be added after the
For TNG v9 and later, the code should be added after the
−
<syntaxhighlight lang="php
" enclose="div
">
+
<syntaxhighlight lang="php">
include("tng_begin.php");
include("tng_begin.php");
Line 54:
Line 54:
Add the following logic
Add the following logic
−
<syntaxhighlight lang="php
" enclose="div
">
+
<syntaxhighlight lang="php">
if( $assignedtree || !$allow_edit ) {
if( $assignedtree || !$allow_edit ) {
$message = $admtext[norights];
$message = $admtext[norights];
KenRoy
Bureaucrats
, maintainer,
Administrators
17,862
edits
Navigation menu
Personal tools
Log in
Request account
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Register
Recent changes
TNG Wiki Help
TNG Wiki Sitemap
Language
English
Deutsch
français
dansk
español
Translate
TNG Guides
Getting Started
Visitors
Registered Users
Administrator
Programmer
Mod Manager
TNG Glossary
Items of Interest
Reports
Mods
Software
Web Services
Tips and Tricks
Wanted Articles
TNG Glossary
Categories
►
Captcha
►
Charset
►
CMS Integrations
►
Data Protection
►
Desktop
►
GoogleMaps
►
Guestbook
►
How TNG Works
►
How to Code
►
Installation
►
Maintenance
►
Media
►
Mod Manager
►
Mods
►
Other Scripts
►
Reports
►
Security
►
Setup
►
Software
►
SQL Updates
►
Templates
►
Tips and Tricks
►
TNG Upgrades
►
TNG Wiki How To
►
Troubleshooting
►
Wanted Articles
►
Web Services
External links
TNG Software
TNG Forum
TNG Mail Archives
Mail Searchable Index
Translators
Bing
DeepL
Google
Tools
Special pages
Printable version