Passing a test before allowing a user to comment...

I was wondering if anyone knows of a module or selection of modules that would permit an administrator to create a test that a user, if they wish to comment on any posts, must first pass. Much like a captcha, but for weeding out more than just robots... Ideas and suggestions greatly appreciated.
Thanks

WYSIWYG TinyMCE Plugin (How to add a custom CSS)

I have been developing a plugin for TinyMCE on WYSIWYG.

I have created a Plugin that adds a Custom DIV to the TinyMCE interface. Everything works fine when the node is saved. However, I wanted to be able to give some feedback to the user while still in edit mode.

A DIV is added once a button from the TinyMCE interface is pressed but the DIV doesn't show any styling and looks like nothing has changed. Only after the node is save that you can see how it looks like.

Fatal error: Call to undefined function db_query_slave()

Hi there Drupal Community,
I have a problem. I have accidentally interfered with the "includes" folder in my FTP client for my Drupal 6 installation (I was trying to update my other website which runs on Drupal 7 and made a mistake when transferring unpacked files across but luckily spotted it before it interfered with any other core files).
So now my site has a fatal error. I have downloaded various versions of drupal 6 core from 6.0 to 6.17 and tried to delete the wrong "includes" folder (the Drupal 7 folder) from my public/html folder in my FTP Remote Site and replace it with a compatible Drupal 6x "includes" folder but after numerous attempts I keep getting the error message: "Fatal error: Call to undefined function db_query_slave() in /home/wmulholl/public_html/modules/node/node.module on line 755".
Compounding the situation, I am not able to work out from my crippled site which version of Drupal 6 it was running, my best guess from the date of the other core (26 May 2010) is Drupal 6.15 or 6.16 - I have tried both of these with no luck and keep getting the error message.

How can I install a PinIt button on Drupal 6.2?

I'm unable to install the pinit button on my version of Drupal (6.2). How can I do this?

strange problem with $conf values

Hi,

I have a bizzare problem that I don't think is actually drupal, but it only happens in drupal.

In short, if my site sits idle for a short period of time then the 1 request gives me just a partial part of $conf but then every other request after that is fine until another extended period of idle.

I don't think its something drupal specific because I rsync'ed the whole drupal install off another of my servers and I don't have the same problem on that machine.

I can reproduce this on the command line 100% of the time, for example:

<?php

include_once('./includes/bootstrap.inc');
// disable error reporting for bootstrap process
error_reporting(E_ERROR);
// let's bootstrap: we will be able to use drupal apis
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
// enable full error reporting again
error_reporting(E_ALL);

global $conf;
print_r($conf);

?>

After the idle time when I run the above $conf just has a few things in it, cron_semaphore and rules_inactive_sets and reverse_proxy.

If I turn around and run it again, everything is in there and I can run it 100 times after that and it always has everything in it. Its not until I let it sit idle for a while that it will revert to showing me just the cron_semaphore and rules_inactive_sets and reverse_proxy and nothing else.

authcache module error when try to add new ruleset

hi to all,

after installed memcache API module and Authcache module and configured them, i try to add a new ruleset but an alert box appears with an error message:

notice: Undefined index: option in _authcache_pagecache_form() (line 225 of /Users/alex/Sites/drupal-628/sites/all/modules/authcache/authcache.admin.inc). ..........

i tryed with the 6.x-1.0-rc2 and 6.x-1.x-dev

my config:

drupal 6.28
doost enable
devel enable

php 5.3.20 with memcache and memcached installed
apache2 web server

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x