Protostar
Posts: 10
Joined: 30 December 2009
Location: England
|
I think an option to remove user validation on registering would be a nice addition to the software.
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3055 |
Red Giant
Posts: 155
Joined: 25 October 2009
Location: United Kingdom
|
I have a feeling that somewhere along the line we'll be adding multiple validation methods, such as confirm via Email, admin verification, or no verification... No idea when though.
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3056 |
Head of User Documentation
User Documentation
Posts: 858
Joined: 23 August 2009
Location: Hove
|
1.3?
Thanks, Prentice
Sorry for any miss-spellings, I now use my wii for internet stuff! 
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3057 |
Retired Lead Developer
Posts: 18
Joined: 25 August 2009
Location: Nairn, Scotland
|
You really want a situation of allowing people to register with no validation?
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3058 |
Project Leader
Project Manager
Posts: 739
Joined: 17 August 2009
Location: Manchester
|
I think the point is having the option to allow no validation, it's up to the administrator of course. I think, however, in reality that people wouldn't use that option, except people who have server issues (where they can't send mail etc) and so they either need admin approval (which is time consuming on large boards) or no validation, which may or may not suit them.
I think all in all we'll have the other options, and not the 'no validation' one.
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3059 |
Retired Lead Developer
Posts: 18
Joined: 25 August 2009
Location: Nairn, Scotland
|
It makes much more sense. I agree with having more options, but there are times when you've got to draw a line and not allow normal users the opportunity to make their boards less secure. There should always be a default security level that no-one is allowed to go below.
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3060 |
Project Leader
Project Manager
Posts: 739
Joined: 17 August 2009
Location: Manchester
|
Good summing up there 
James
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3070 |
Protostar
Posts: 56
Joined: 26 December 2009
Location: Ontario
|
What about the people who can't send mail through their servers,should they be left in the dark? I think you should at least give the admin/the owner of his/her site the option to remove validation,after all it is their site.Every major bulletin board has this option.
PHP Code Snippet
<?php echo "Insert text here";?>
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3071 |
Project Leader
Project Manager
Posts: 739
Joined: 17 August 2009
Location: Manchester
|
I know what you mean. Perhaps, we could have it as an option, but when you click on submit/OK etc, they're taken to an info page with a warning on the security of doing so, a list of known compatible free/paid hosts, and things like that, perhaps links to some enhanced anti-spam modules.
James
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3072 |
Protostar
Posts: 10
Joined: 30 December 2009
Location: England
|
James  I know what you mean. Perhaps, we could have it as an option, but when you click on submit/OK etc, they're taken to an info page with a warning on the security of doing so, a list of known compatible free/paid hosts, and things like that, perhaps links to some enhanced anti-spam modules.
James
Indeed, I always have it disabled on any forum I own or work upon. People don't like having to check there emails for links when registration only takes seconds. Plus if the board gets spammed it takes seconds to clean it up.
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3075 |
Project Leader
Project Manager
Posts: 739
Joined: 17 August 2009
Location: Manchester
|
Hulnu  James  I know what you mean. Perhaps, we could have it as an option, but when you click on submit/OK etc, they're taken to an info page with a warning on the security of doing so, a list of known compatible free/paid hosts, and things like that, perhaps links to some enhanced anti-spam modules.
James
Indeed, I always have it disabled on any forum I own or work upon. People don't like having to check there emails for links when registration only takes seconds. Plus if the board gets spammed it takes seconds to clean it up.
I disagree with the 'seconds' comment - I'm a moderator on a board which gets spammed frequently - the admin has finally enabled moderation for new users, and disabled links in those first few messages. They have to be manually approved now, but even so, nearly 90% of the messages are spam - it's appalling really.
So, no, it doesn't always take seconds to clear up, but hopefully we can counterbalance this in NovaBoard by allowing people, if they explicitly disable verification, to quickly mop up the mess through enhanced moderation features, similar to the (ajax?) features in vB.
I have mentioned to him about NovaBoard but he's already got licenses for vB etc.
James
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3077 |
Retired Lead Developer
Posts: 18
Joined: 25 August 2009
Location: Nairn, Scotland
|
NovaBoard already has "CASPIAN", a built in SPAM-catching system (you can't turn it on or off). It's possibly the best spam-catching system out there (out of the box).
It's a good system that'll catch human spammers too, not just the bots that register and plague the boards.
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3081 |
Project Leader
Project Manager
Posts: 739
Joined: 17 August 2009
Location: Manchester
|
I've been meaning to ask you about CASPIAN - what's the web address for it? I can't find anything on Google.
James
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3086 |
Coder
Posts: 94
Joined: 24 August 2009
Location: London
|
There isn't one. It is INSIDE NovaBoard. Have a look at the source and you'll see it.
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3089 |
Project Leader
Project Manager
Posts: 739
Joined: 17 August 2009
Location: Manchester
|
What I mean is where was the code originally from? Unless Dave developed it himself it must be somewhere. Just interested that's all :-)
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3091 |
Retired Lead Developer
Posts: 18
Joined: 25 August 2009
Location: Nairn, Scotland
|
I developed the method myself. Umm.. kind of like most of NovaBoard
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3095 |
Project Leader
Project Manager
Posts: 739
Joined: 17 August 2009
Location: Manchester
|
Fair enough ;-)
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3107 |
Protostar
Posts: 46
Joined: 12 January 2010
Location: Bourgas,Bulgaria
|
Please,I want to install NovaBoard forum, but mu host isn't supporting "send mail" function, so users cannot register. How can I manually remove validation? What should I change?
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3109 |
Project Leader
Project Manager
Posts: 739
Joined: 17 August 2009
Location: Manchester
|
Well the main advice is to use one that does, otherwise you can at least temporarily manually validate members - browse through your admin cp and find them. Just tick the box and save it.
I'm sure there is a way so bear with us!
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3111 |
Head of Core Development
Posts: 222
Joined: 23 August 2009
Location: Rochdale, UK
|
4J2  Please,I want to install NovaBoard forum, but mu host isn't supporting "send mail" function, so users cannot register. How can I manually remove validation? What should I change?
- Open includes/pages/register.php
- Find:
PHP Code Snippet
mysql_query("INSERT INTO {$db_prefix}members (name, password, email, role, register_date, password_time, pass_salt) VALUES ('$name', '$password', '$email', '3', '$register_date', '$register_date', '$salt')");
- Change to:
PHP Code Snippet
mysql_query("INSERT INTO {$db_prefix}members (name, password, email, role, register_date, password_time, pass_salt, verified) VALUES ('$name', '$password', '$email', '3', '$register_date', '$register_date', '$salt', 1)");
- Find:
PHP Code Snippet
mail($outgoing, $subject, $message, $from);
- Change to:
PHP Code Snippet
//mail($outgoing, $subject, $message, $from);
- Save & close the file
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3112 |
Protostar
Posts: 46
Joined: 12 January 2010
Location: Bourgas,Bulgaria
|
Jonny  ....
Thank you . I will try this... It's work!Thank you!
Last edited by: 4J2
- Thursday, Jan 14, 2010 10:22.
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3113 |
Head of Security
Security Team
Posts: 601
Joined: 23 August 2009
Location: Heiloo
|
Good to hear. Remember, this is just a temporary solution.
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3492 |
Protostar
Posts: 56
Joined: 26 December 2009
Location: Ontario
|
Sorry for this Bump BUT..............
CASPIAN?? Where in the source is this located?
PHP Code Snippet
<?php echo "Insert text here";?>
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3493 |
Head of User Documentation
User Documentation
Posts: 858
Joined: 23 August 2009
Location: Hove
|
Why would you want to edit the spam filter?
Thanks, Prentice
Sorry for any miss-spellings, I now use my wii for internet stuff! 
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3494 |
Coder
Posts: 94
Joined: 24 August 2009
Location: London
|
I believe CASPIAN is inside /scripts/php/functions.php, but I'm not entirely sure
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3496 |
Protostar
Posts: 56
Joined: 26 December 2009
Location: Ontario
|
Prentice  Why would you want to edit the spam filter?
No,I don't want to edit the spam filter I just want to see how it does.Whether it filters based on a bad list site, certain words, or past warnings.
And thanks Putzy.Got it, it's here.
Spoiler Alert Click to ViewPHP Code Snippet
// "CASPIAN" Trigger Envoke
function caspian_trigger($id){
global $db_prefix, $nova_domain, $my_id, $avoid_caspian, $akismet_key;
// Your WordPress API key
$GLOBALS["akismet_key"] = $akismet_key;
// The name of the blog you're protecting
$GLOBALS["akismet_home"] = $nova_domain;
// Your User-Agent string
$GLOBALS["akismet_ua"] = "NovaBoard/1.0";
/**
* Advanced settings below, only change these if you know what you're doing
*/
// The Akismet hostname
$GLOBALS["akismet_host"] = "rest.akismet.com";
// Base URL to append to host and prepend to all queries
$GLOBALS["akismet_url"] = "1.1";
include "scripts/php/akismet.php";
$never_spam="0"; // reset spam check
if ($akismet_key!=''){
// first, if the member is not a spammer, then
// we can skip the rest...
if ($avoid_caspian=='1'){ // can their group bypass caspian?
$never_spam="1"; // if so, tell it.
}
if ($never_spam=='0'){
if ($my_id > '0'){
$query = "select NEVER_SPAM from {$db_prefix}members WHERE ID ='$my_id'" ;
$result = mysql_query($query) or die("functions.php - Error in query: $query") ;
$never_spam = mysql_result($result, 0);
}
else{
$never_spam="0"; // we're not sure, so it's a potential spammer
}
}
if ($never_spam=='0'){ // potential spammer
// calculate the messages spam level...
$query = "select CONTENT from {$db_prefix}posts WHERE ID ='$id'" ;
$result = mysql_query($query) or die("functions.php - Error in query: $query") ;
$comment = mysql_result($result, 0);
$query = "select NAME from {$db_prefix}members WHERE ID ='$my_id'" ;
$result = mysql_query($query) or die("functions.php - Error in query: $query") ;
$name = mysql_result($result, 0);
$query = "select EMAIL from {$db_prefix}members WHERE ID ='$my_id'" ;
$result = mysql_query($query) or die("functions.php - Error in query: $query") ;
$email = mysql_result($result, 0);
// The array of data we need
$vars = array();
// Add the contents of the $_SERVER array, to help Akismet out
foreach ( $_SERVER as $key => $val ) { $vars[ $key ] = $val; }
// Mandatory fields of information
$vars["user_ip"] = $_SERVER["REMOTE_ADDR"];
$vars["user_agent"] = $_SERVER["HTTP_USER_AGENT"];
// The body of the message to check, the name of the person who
// posted it, and their email address
$vars["comment_content"] = $comment;
$vars["comment_author"] = $name;
$vars["comment_author_email"] = $email;
// ... Add more fields if you want
// Check if it's spam
if ( akismet_check( $vars ) ) {
mysql_query("UPDATE {$db_prefix}posts SET approved='0' WHERE id='$id'"); // mod-queue the post
mysql_query("UPDATE {$db_prefix}members SET moderate='1' WHERE id='$my_id'"); // mod-queue the member to prevent future posts
$time=time();
mysql_query("INSERT INTO {$db_prefix}moderate (postid, title, member_id, member_name, time) VALUES ('$id', 'Potential SPAM', '$my_id', 'CASPIAN', '$time')");
}
}
}
}
Is this actually deprecated? Spoiler Alert Click to ViewPHP Code Snippet
<?php
/*
---------------------------------------------------------
CODE BELOW IS DEPRECATED DUE TO THE NEW HOOKS SYSTEM.
WILL BE REMOVED IN 1.3
---------------------------------------------------------
*/
// check modules folder for any other folders...
$dir = "modules/";
$modules_installed="0";
# Load cached modules
include $nova_root . '/cache/modules.php';
$modules_installed = count($cache);
// if there are no installed modules, skip this part...
$installed = 0;
$runDefault = true;
$runDefaultFile = '';
$runDefaultFileLocation = '';
if ($modules_installed != 0)
{
// is it in the database?
foreach ($cache as $mod)
{
$module = $mod['module_name'];
if (file_exists($nova_root . 'modules/'.$module.'/templates/includes/'.$template_folder.'/replace/'.$template_hook.'.php'))
{
$runDefaultFile = $module;
$runDefaultFileLocation = 'replace';
continue;
}
elseif (file_exists($nova_root . 'modules/'.$module.'/templates/includes/'.$template_folder.'/before/'.$template_hook.'.php'))
{
$runDefaultFile = $module;
$runDefaultFileLocation = 'before';
continue;
}
elseif (file_exists($nova_root . 'modules/'.$module.'/templates/includes/'.$template_folder.'/after/'.$template_hook.'.php') && $runDefaultFileLocation != 'after') {
$runDefaultFile = $module;
$runDefaultFileLocation = 'after';
continue;
}
else
{
if ($runDefaultFile == '')
{
$runDefaultFile = $module;
$runDefaultFileLocation = '';
continue;
}
}
}
foreach ($cache as $mod)
{
$module = $mod['module_name'];
if (file_exists("modules/$module/templates/includes/$template_folder/before/$template_hook.php"))
{
if (file_exists("themes/$theme/modules/$module/templates/includes/$template_folder/before/$template_hook.php"))
{
include $nova_root . "themes/$theme/modules/$module/templates/includes/$template_folder/before/$template_hook.php";
}
else
{
include $nova_root . "modules/$module/templates/includes/$template_folder/before/$template_hook.php";
}
if ($runDefaultFile == $module && $runDefaultFileLocation == 'before')
{
if (file_exists("themes/$theme/templates/includes/$page_location"))
{
include $nova_root . "themes/$theme/templates/includes/$page_location";
}
else
{
include $nova_root . "templates/includes/$page_location";
}
$runDefault = false;
}
}
if (file_exists("modules/$module/templates/includes/$template_folder/replace/$template_hook.php"))
{
if ($runDefaultFile == $module && $runDefaultFileLocation == 'replace')
{
if (file_exists("themes/$theme/modules/$module/templates/includes/$template_folder/replace/$template_hook.php"))
{
include $nova_root . "themes/$theme/modules/$module/templates/includes/$template_folder/replace/$template_hook.php";
}
else
{
include $nova_root . "modules/$module/templates/includes/$template_folder/replace/$template_hook.php";
}
$runDefault = false;
}
}
if (file_exists("modules/$module/templates/includes/$template_folder/after/$template_hook.php"))
{
if ($runDefaultFile == $module && $runDefaultFileLocation == 'after')
{
if (file_exists("themes/$theme/templates/includes/$page_location"))
{
include $nova_root . "themes/$theme/templates/includes/$page_location";
}
else
{
include $nova_root . "templates/includes/$page_location";
}
$runDefault = false;
}
if (file_exists("themes/$theme/modules/$module/templates/includes/$template_folder/after/$template_hook.php"))
{
include $nova_root . "themes/$theme/modules/$module/templates/includes/$template_folder/after/$template_hook.php";
}
else
{
include $nova_root . "modules/$module/templates/includes/$template_folder/after/$template_hook.php";
}
}
if ($runDefault == true)
{
if ($runDefaultFile == $module)
{
if (file_exists("themes/$theme/templates/includes/$page_location")){
include $nova_root . "themes/$theme/templates/includes/$page_location";
}
else{
include $nova_root . "templates/includes/$page_location";
}
$runDefault = false;
}
}
}
}
else
{
if ($runDefault == true)
{
if (file_exists("themes/$theme/templates/includes/$page_location")){
include $nova_root . "themes/$theme/templates/includes/$page_location";
}
else{
include $nova_root . "templates/includes/$page_location";
}
}
}
/*
---------------------------------------------------------
END DEPRECATED CODE
---------------------------------------------------------
*/
?>
Last edited by: AskAlex
- Saturday, Mar 13, 2010 14:53.
PHP Code Snippet
<?php echo "Insert text here";?>
|
|
Top
|
|
|
Use the following URL to link to this post: http://community.novaboard.net/findpost/3510 |
Coder
Posts: 94
Joined: 24 August 2009
Location: London
|
I believe it is deprecated yes, and is only there for legacy modules that have not been updated to the new hooks system yet.
I'm not entirely sure though, so can't give you a solid answer.
|
|
Top
|
|
|
|
|