251
goffy
Re: Antispam solutions
  • 2016/8/12 8:36

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi geekwright

two additional ideas, which I have implemented on myxoops.org:
1) starting point of bots is register.php, I'm using another name (changed manually). Would it be possible to generate during installation of xoops a random file name and write this file name into xoops config?
2) normally nobody types in "http://website.com/register.php" in the Url field of browser. Everybody use the link somewhere on the website to get to registration form, therefore there must be a http referer if register.php starts.

Of course, this steps do not help against cheap human labor.

What do you think?



252
goffy
Re: xoopsDB and mysql_fetch_assoc
  • 2016/8/8 17:44

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi mamba

works, thank you

one additional basic question:
what should be used:
global $xoopsDB;
...
$result $xoopsDB->query($sql);
...

or
...
$result $GLOBALS['xoopsDB']->query($sql);
...

or is this equal?



253
goffy
xoopsDB and mysql_fetch_assoc
  • 2016/8/8 15:27

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi

can someone help me:

Xoops 2.5.7.2
php 5.6.19

This code works:
$sql 'SELECT * FROM piwik_site;';
$result $xoopsDB->query($sql);
while (
$row mysql_fetch_assoc($result)) {
      echo 
"result row:".$row['name'];
}


why does
...
while (
$row mysqli_fetch_assoc($result)) {
...

not working?
Quote:
Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, resource given in...



254
goffy
Re: Antispam solutions
  • 2016/8/8 10:45

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi mamba

Quote:
Quote:
2) the spammers often use the same mail domain (e.g. "...@mail.ru). it should be possible to add such maildomains to registration blacklist

Most registrations were from @gmail accounts, which you obviously don't want to block

on my sites most of spammers have mail.ru or .pl
on xon.myxoops.org we have nice email domains like a.mylittlepony.website or f.pattaya-mega.com
so, IMO it make sense to have a blacklist with suspicious mail domain. maybe we can solve it, that
- this email domain need admin verfication or
- this registration will be blocked immediately

Quote:
That's what we've discussed with Richard couple of days ago - if you're a new user, and have less than X messages posted, you time between messages is 10 min, if you're between X and Y, then 5 min, and anything above Y, no limitation.
that good to hear

Quote:
Ideas are nice and good, but what's would be better, are actual solutions
So if anybody wants to go and implement something, please do and show us your code...
I prefer to discuss first and if we have a common agreement then I start with coding

Quote:
Quote:
1) in user management there should be a button "Ban user" and then the email and IP should be added to protectors ban list
Yes, that's what we're doing it, so it was question ...
This is the second reason for discussing first, because if someone is already dealing with it, it make no sense that I do the same



255
goffy
Antispam solutions
  • 2016/8/8 6:43

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi together

I want to open this new thread, because default procedure (https://xoops.org/modules/smartfaq/faq.php?faqid=856) to avoid spamming is not sufficient enought.
Quote:
Why not take a break and come back in 600 sec
is no solution.
It is like to capitulate against spammers.
And, in my opinion, a solution for this problem should be first priority.
If I visit as a new xoops user this main website of xoops and I recognize, that they have problems to fix this, maybe I go away.

Some ideas from my side:
1) in user management there should be a button "Ban user" and then the email and IP should be added to protectors ban list
2) the spammers often use the same mail domain (e.g. "...@mail.ru). it should be possible to add such maildomains to registration blacklist
3) each user should get a flag for trustworthiness (depending on the rank or the numbers of good postings,...). Depending on this flag also the time for "Why not take a break ..." and so on
4) adding captha methods (like google reCaptcha) to Xoops core

any other ideas?



256
goffy
Re: Common Utilities
  • 2016/8/8 6:21

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


Hi mamba
I agree with cifug: Quote:
Why not take a break and come back in 600 sec
is no solution.
It is like to capitulate against spammers
Antispamming/Antispamregistration must have first priority.



257
goffy
Re: Xoops Core Translation and german characters
  • 2016/8/4 7:23

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi mamba

all is the same.

and, hooray, with last version from github (xoops 2.5.8.1 beta) it works



258
goffy
Re: Xoops Core Translation and german characters
  • 2016/8/3 7:38

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi mamba

testet with wampserver 3.0.4, apache 2.4.18, php 5.6.19 (and additional with php 7.0.4)

the same

maybe the general windows setting has an influence?



259
goffy
Re: Xoops Core Translation and german characters
  • 2016/8/3 6:11

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


hi

it's current version from github master (25.07.)

define('XOOPS_DB_CHARSET', 'utf8')

if I use XAMPP 3.2.1 with php 5.6 and
- install xoops 2.5.7.1 it works
- install xoops 2.5.8 it fails

therefore I believe it is not XAMPP or MySql




260
goffy
Re: Xoops Core Translation and german characters
  • 2016/8/2 12:55

  • goffy

  • Just can't stay away

  • Posts: 535

  • Since: 2010/12/27


if I change line 135 of install/include/makedata.php from
$newbid    $dbm->insert('newblocks'' VALUES (0, 1, ' $func_num ", '" addslashes($options) . "', '" addslashes($newblock['name']) . "', '" addslashes($newblock['name']) . "', '', 0, 0, " $visible ", 'S', 'H', 1, 'system', '" addslashes($newblock['file']) . "', '" addslashes($newblock['show_func']) . "', '" addslashes($edit_func) . "', '" addslashes($newblock['template']) . "', 0, " $time ')');
into
$newbid    $dbm->insert('newblocks'' VALUES (0, 1, ' $func_num ", '" addslashes($options) . "', '" utf8_decode(addslashes($newblock['name'])) . "', '" utf8_decode(addslashes($newblock['name'])) . "', '', 0, 0, " $visible ", 'S', 'H', 1, 'system', '" addslashes($newblock['file']) . "', '" addslashes($newblock['show_func']) . "', '" addslashes($edit_func) . "', '" addslashes($newblock['template']) . "', 0, " $time ')');
it works again




TopTop
« 1 ... 23 24 25 (26) 27 28 29 ... 43 »



Login

Who's Online

233 user(s) are online (150 user(s) are browsing Support Forums)


Members: 0


Guests: 233


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits