Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi! I have a file which serves as a template for my view named "views-view-fields--aphoto_photo_and_video_photography.tpl" (long, but makes sense given I have a bunch of these for specific views).
In this file, I have PHP which displays elements such as formatting tags, styles, scripts to display information, and lines of php which output variables from the view. On this particular view, I have a bunch of variables, all of which display properly. However, I'm having a problem with one, which doesn't seem to respond the way the others do.
In creating a content type called 'Report', two of the fields require referencing two users (editors). So I want a case where in the My Workbench tab only content of the type 'Report' along with those related to the current user: So the 'My Edits' section only displays content that have been edited by the crrent user, while All Recent Content will be a repository for contents relevant to the current user (i.e. the user was selected during the content creation stage or the content was created by the user).
My antispam combination made of Antispam, Honeypot and Recaptcha starts to fail. And so i search for a solution to stop the spambot entries after registration too.
First thought is to block the first post of a new user until a moderator had a look at it, and unlocks it. So far so good.
My first way leaded me to the rules module. But i cannot find a way to receive the user post count. And this with User Stats enabled.
So how can i implement what i need here? Does it even work with the Rules module? Are there other modules for this purpose around?