This is not the same as censoring for posts, which is internal to XF software. Google traffic is external to XF software, thus you cannot possibly know what search terms will come to your site.The other day I noticed search terms are not censored. Running a family friendly site, this is a large problem.
This doesn't just apply to mods, it applies to XF as well. Every different area of XF uses a unique controller name to control that aspect of the site, whether XF or add-on. The use of this unique identifier allows for quick control over what pages you show this mod upon and what pages you don't.Can you explain a little what all that means?
I'd like to get this working on xenporta as well
Thanks, but I'm not stupid. I know how this works. However, people have recently been googling a query that they know will turn a result on our site + curse words. I don't care if it's a post, a conversation, a username.. if it's going to be displayed in text on my site, it should be run through the censor.This is not the same as censoring for posts, which is internal to XF software. Google traffic is external to XF software, thus you cannot possibly know what search terms will come to your site.
Not trying to insult you, so not sure why you are defensive. If it took you 30 seconds to fix it Jeremy, then how did you do it so others who want to can also fix the problem, if you don't mind? As you can read, people above obviously would like that solution themselves.It took me all of thirty seconds to modify the addon to run terms through the censor. I was simply bringing the issue to attention here and proposing a possibly better solution.
Anyone has a solution for this?ErrorException: Undefined index: host - library/Dark/AzuCloud/EventListener/FrontControllerPreView.php:44
Generated By: komarov47, Sunday at 10:17 AM
I have a few of them in my error logs, can you guide me on this please?
Is that what generates from a search engine not covered by the mod maybe? DI?Anyone has a solution for this?
0.1.1 (11/12/2011):
- Fixed error log spam ('undefined index: host')
- Added template hook (no edits required any more)
- Search terms are now censored
My search terms take like 5 minutes to load, it's probably because I have over 5000 pages. Any idea how to clear some that only have less than 10 hits?
And sometimes it comes up with this error:
Mysqli statement execute error : Error writing file '/tmp/MYVj76Lw' (Errcode: 28)
- Zend_Db_Statement_Mysqli->_execute() in Zend/Db/Statement.php at line 297
- Zend_Db_Statement->execute() in Zend/Db/Adapter/Abstract.php at line 479
- Zend_Db_Adapter_Abstract->query() in XenForo/Model.php at line 218
- XenForo_Model->fetchAllKeyed() in Dark/AzuCloud/Model/Nakano.php at line 126
- Dark_AzuCloud_Model_Nakano->getTerms() in Dark/AzuCloud/ControllerAdmin/AzuCloud.php at line 121
- Dark_AzuCloud_ControllerAdmin_AzuCloud->actionList() in XenForo/FrontController.php at line 310
- XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
- XenForo_FrontController->run() in /home/xxxxx/public_html/admin.php at line 13
delete from dark_azucloud_terms_pages where hits < 10;
delete from dark_azucloud_terms terms where (select term_id from dark_azucloud_terms_pages pages where pages.term_id=terms.id limit 1) is null;
That's a server issue (/tmp full and/or misconfigured mysql)
As for removing terms with <10 hits,
Code:delete from dark_azucloud_terms_pages where hits < 10; delete from dark_azucloud_terms terms where (select term_id from dark_azucloud_terms_pages pages where pages.term_id=terms.id limit 1) is null;
(Not fully tested)
Thanks.
Could it also mean not enough PHP memory allocated?
thanks for the updated version dark.New version
We use essential cookies to make this site work, and optional cookies to enhance your experience.