![]() |
Quote:
All it really does differently is to pass the postid of the 'quoted' post as a form parameter back to the script. |
Thanks . I think I might have the problem with the lastactivethread I was working on last week I forgot to put the string in the config.php file, Here is where I put it at but when I open the forum it will not open. It's torwards the bottom.
<?php ///////////////////////////////////////////////////////////// // Please note that if you get any errors when connecting, // // that you will need to email your host as we cannot tell // // you what your specific values are supposed to be // ///////////////////////////////////////////////////////////// // type of database running // (only mysql is supported at the moment) $dbservertype="mysql"; // hostname or ip of server $servername=""; // username and password to log onto db server $dbusername=""; $dbpassword=""; // name of database $dbname=""; // allow password viewing / editing in control panel // 0 = not visible or editable // 1 = not visible, but can be edited // 2 = visible and can be edited $pwdincp=0; // technical email address - any error messages will be emailed here $technicalemail = "support@realwebhost.net"; // use persistant connections to the database // 0 = don't use // 1 = use $usepconnect = 1; $lastactivethread_length = 35; ?> |
Quote:
Finally, you don't actually need that in the config if you are happy with the default of 35 characters. |
My usenet template was working fine, then I posted a message and now it's using the default template. The only other thing I did was subscribe to a usenet forum, but that didn't kill it, it was posting a message that caused the problem. I'm racking my brain but have no clue why.
|
Quote:
If I didn't thank you already, thanks for an awesome script. You should get some benefit for all this hard work! |
Quote:
|
I don't understand how the spamkiller works at all. I tried to read it but it doesn't make sense to me. Can someone explain what it does and if possible to give examples like you are talking to the dummest perso there is? :( Thanks!
P.S. the latest instructions seem to still have an error? Section 4 from vb_code_Changes Quote:
|
Quote:
Code:
0 0,4,8,12,16,20 * * * /home/dbforums/newnews.pl The redirection bit is to ensure the script output AND the cron output is redirected. |
Quote:
|
Quote:
As for the spam filters... unless you want to use regular expressions, you can simply enter a string leaving the defaults. If the string is contained in either the header, body or both (whatever you have selected) it will be rejected. The option to span lines is there for safety when using regular expressions. By default, it will only match if the string is all on one line. Without this check it would be very easy to inadvertently match every message and reject the lot. It's impossible to give you a tutorial on regular expressions in one post. I recommend you do a quick search and put aside a few hours, weeks or days :) to learn all the possibilities. The script uses standard Perl regular expresions (as opposed to POSIX used by ereg in PHP). I'll post some examples when I get home later. |
All times are GMT. The time now is 03:58 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|