iSpanish
05-20-2005, 10:00 PM
Hi there
This is my Second hack
As requested here (https://vborg.vbsupport.ru/showpost.php?p=656406&postcount=3)
What does this hack do?
In the new thread page it checks if the subject have a denied symbol or not. If the user enter any symbol from this + = _ # $ ^ * will get a message telling user to change the desired thread title.
Updated on 22/5/2005
Thanks to Aurous for fixing the error ( extra ";") on the denied_threadtitle.php file.
for update just replace includes/denied_threadtitle.php with the new one from attachment.
install this hack?
just upload 1 file to includes folder.
Edit functions_newpost.php file.
That's all.
1.
Open includes/functions_newpost.php
Find:
$post['title'] = trim(preg_replace('/*32;/', ' ', $post['title']));
Below add:
// # Denied symbol from new thread[strat]
require('denied_threadtitle.php');
// # Denied symbol from new thread[end]
Save & uplaod includes/functions_newpost.php
2.
Upload denied_threadtitle.php (from attachment) to includes file.
Demo:
Look to the screenshot.
Please don't forget to click install
This is my Second hack
As requested here (https://vborg.vbsupport.ru/showpost.php?p=656406&postcount=3)
What does this hack do?
In the new thread page it checks if the subject have a denied symbol or not. If the user enter any symbol from this + = _ # $ ^ * will get a message telling user to change the desired thread title.
Updated on 22/5/2005
Thanks to Aurous for fixing the error ( extra ";") on the denied_threadtitle.php file.
for update just replace includes/denied_threadtitle.php with the new one from attachment.
install this hack?
just upload 1 file to includes folder.
Edit functions_newpost.php file.
That's all.
1.
Open includes/functions_newpost.php
Find:
$post['title'] = trim(preg_replace('/*32;/', ' ', $post['title']));
Below add:
// # Denied symbol from new thread[strat]
require('denied_threadtitle.php');
// # Denied symbol from new thread[end]
Save & uplaod includes/functions_newpost.php
2.
Upload denied_threadtitle.php (from attachment) to includes file.
Demo:
Look to the screenshot.
Please don't forget to click install