Dript - A Scripting Language for Drupal

Component type

module

Downloads

1176

Component created

Component changed

Dript is a scripting engine running around Drupal. Dript can be used by other modules to add scripting or formula capability. The module itself implements a filter that can be applied to nodes and other contents. Dript is simpler and safer than PHP. It is meant to be a glue language similar to formula in spreadsheet with the casual programming concept "once coded it will be forgotten". As a dialect of LISP and a simpler LISP, Dript is for non-programmers who want to alter their contents slightly according to certain behaviors. Dript will give ordinary users or administrators a capability to add function and logic on the fly while working with Drupal without having to go down with PHP or creating a module.

Content Injector (formerly AdSense Injector)

Component type

module

Maintenance status

Development status

Downloads

53402

Component created

Component changed

Insert advertisements(or any text/HTML/JavaScript content) into nodes without editing individual nodes or tweaking theme templates. Insert ads or other content in node body or teasers automatically.

*Content Injector was formerly known as AdSense Injector.

Major new features

Reliable in-content insertion using HTML DOM and XPath manipulation

Want to insert ads or other content inside node bodies?

The 6.x-3.x and 7.x-3.x versions for Drupal 6 and 7 now provide reliable in-line insertion into a node's body.

This version provides three body insertion points: top, in-line, and bottom.

The in-line insertion template uses the PHP DomDocument's XPath query feature to select an insertion point. This is powerful, allowing for any valid XPath expression to select the insertion point -- but this also requires that you know what you're doing with XPath if you want to override the default insertion point.

Per-node insertion blocking

There are undocumented features in the 6.x-3.x and 7.x-3.x branches. You can prevent insertion on a per-node basis by adding ai:noinject to the start of a node's body text. See issue #1333800: Document ai:noinject feature: prevent automatic injection in node body of selected nodes. for more info.

In addition, if the node contains any AdSense module [adsense:xxx] manual insertion tags, this module will not inject any ad templates -- so in effect, if you place any AdSense ads using the AdSense module's [adsense] tags, this module's features are disabled for the node in question.

Upgrading from a previous release

The 6.x-3.x and 7.x-3.x branches are fully functional but lack ability to migrate settings from previous versions, so you'll have to reset all your current settings (save copies of your ad templates first!) and re-configure the module.

Call for testers

I need help testing the 6.x-3.x and 7.x-3.x branches new features. Please test and create bug reports if you find any problems.

Module Overview

You can control the node types and word count that will trigger insertion. For example, you can insert content only on "Story" or "Book" (or both) node types, and only if they have more than 300 words. You can use CSS styles to control placement on the page to some extent.

This module allows you to inject content at the top, bottom, or inline in a node's body field when a node is rendered on a full-page view. You can inject content before or after the node's teaser in teaser views. You can inject any arbitrary content you like: text, HTML, JavaScript, whatever.

The AdSense module is required only for [adsense] tag support; if you aren't using [adsense] tags, there is no dependency on the AdSense module as of the 6.x-3.x and 7.x-3.x branches.

Override Node Options

Component type

module

Maintenance status

Development status

Downloads

203383

Component created

Component changed

The Override Node Options module allows permissions to be set to each field within the Authoring information and Publishing options field sets on the node form. It also allows selected field sets to be set as collapsed and / or collapsible.

To install:

  1. Download, unpack and place in sites/all/modules/
  2. Adjust access control in admin/user/permissions
  3. Adjust Fieldset options in admin/settings/override_node_options

Note: Autocomplete "Authored by" field only works if user has "Access user profiles" permission.

Read More Link (Drupal 6 and earlier)

Component type

module

Maintenance status

Development status

Downloads

59197

Component created

Component changed

Seeking a new maintainer

Please contact Todd Nienkerk if you are interested in taking over maintenance of this module.

About Read More Link

This module allows you to move the "Read more" link from the node's links area to the end of the teaser text.

Node Comments

Component type

module

Maintenance status

Development status

Downloads

22621

Component created

Component changed

With this module comments can be full nodes. For every content type you can choose to use different content type as comment, or to continue using Drupal core comments.
Thanks to this module, comments can have fields, revisions, taxonomy, uploaded files, access control and anything else that comes from the goodness of nodeapi.

Contest

Component type

module

Maintenance status

Development status

Downloads

2611

Component created

Component changed

The Contest module allows your site to host random games of chance, “Sweepstakes”. Users can enter to win prizes via a random drawing.

Example uses for the Contest module include:

  • A theater or museum has a contest to give away tickets to encourage online users to join.
  • A club hosting a sweepstakes for it's members.
  • An advertiser sponsor's a contest that a news/publishing/media company hosts in exchange for the entrant list.
  • A website host's contests to entice members to visit the site regularly.

The Contest module provides an easy way to join the website and enter the contest at the same time. Members with complete profiles can just click the “Enter Contest” button.

Contact Link

Component type

module

Maintenance status

Development status

Downloads

7653

Component created

Component changed

Contactlink provides a "contact the author" link for nodes and comments. Admins can choose which content types to display the links for.

Links will show up only for node or comment authors who have chosen to be contactable via their contact forms.

Requires contact.module. Initial development sponsored by CivicSpace.

Media Field

Component type

module

Maintenance status

Development status

Downloads

4688

Component created

Component changed

OUTDATED MODULE: This is a bundle of two modules audiofield.module and videofield.module which are CCK fields for storing audio and video files. They are similar to filefield.module and imagefield.module fields.
Both fields depend on multimediafile.inc which implements common functions and can be used in the future for all other file CCK fields.