|
[TuT]: Auto Post Warn
|
|
09-12-2011, 10:21 AM
Post: #1
|
|||
|
|||
|
[TuT]: Auto Post Warn
Works With 1.6.x
Original Author: thebod First of all you have to find this in warnings.php (line 248): PHP Code: $db->insert_query("warnings", $new_warning); Add below: PHP Code: $plugins->run_hooks("warnings_do_warn_insert"); Then create a file named 'warnpost.php' in inc/plugins with the following content: PHP Code: <?phpYou only have to change "$into_fid". That's the Forums ID. It's a German Tutorial. Therefore, it is "Punkte" for "Points" and "Notiz" for "Notice". You can change it for yourself. Then you have to activate it in ACP. That is!
|
|||
|
09-12-2011, 10:37 AM
Post: #2
|
|||
|
|||
|
RE: [TuT]: Auto Post Warn
so when a user is warned, it automatically posts a new thread about it ... fine
|
|||
|
09-12-2011, 11:30 AM
Post: #3
|
|||
|
|||
RE: [TuT]: Auto Post Warn This user has been denied support.
if possible some one make a plugin for it plz.
![]() but thnx a lot man too good job
|
|||
|
09-12-2011, 11:43 AM
Post: #4
|
|||
|
|||
|
RE: [TuT]: Auto Post Warn
^ well, this topic actually provides the plug-in code ; however it needs a core file edit !!
|
|||
|
09-12-2011, 12:01 PM
Post: #5
|
|||
|
|||
|
RE: [TuT]: Auto Post Warn
Right.
![]() warnpost.php is the code for a plugin. If you create the file you have a plugin.
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help





This user has been denied support.