IMC-York/Drupal/OriginalInstallNotes

From Aktivix
Jump to navigation Jump to search


IMC York original Drupal Installation

Since altered and upgraded see notes elsewhere

Core

Using Drupal 4.7.x with the following patches:

To remove IP logging the address is removed from the PHP variable right at the start in includes/bootstrap.inc http://york.indymedia.org.uk/files/patches/bootstrap.anonymity.patch

Modules

audio

http://drupal.org/project/audio

Patched to mend the anonymity problem. This patch now included in current module http://drupal.org/node/64889

event

http://drupal.org/project/event

Patched to make ending times clearly optional http://drupal.org/node/68643 this is a wish of the event.module developers, but I think they may do it a different way.

Patched to make hidden stories not selected for display in calender, upcoming events block etc. PATCH FILE TO BE CREATED all it does is change the sql query example:

  // add removal of hiddens INNER JOIN {term_node} t ON t.nid = n.nid // AND t.tid NOT IN (2, 4, 5)
  $result = db_query(db_rewrite_sql("SELECT n.nid, n.title, n.type, n.status, n.moderate, e.event_start FROM {node} n INNER JOIN {event} e ON n.nid = e.nid INNER JOIN {term_node} t ON t.nid = n.nid WHERE n.status = 1 AND n.moderate = 0 AND e.event_start >= %d AND t.tid NOT IN (2, 4, 5) ORDER BY event_start"), $time);

TODO: To make the hidden topics a drupal variable not hard coded cf. theme hiddens This would be solved using node hook_access into a custom module (rather than hacking modules and themes).

The event module is attached to stories as well as flexinode-1 events type. This allows the calendar to show reports on events as well as their announcement, and allows for easy finding of reports by the date they happened (rather than the date they were reported).

flexinode

http://drupal.org/project/flexinode

Patched to solve a gripe about the misuse of the <label> tag outside of a form. http://york.indymedia.org.uk/files/patches/flexinode.20060617.patch

Only one flexinode content type created, for event announcements.

image

http://drupal.org/project/image

Patched to mend the anonymity problem. This patch now included in current module http://drupal.org/node/64883

img_assist

http://drupal.org/project/img_assist

indymedia_cities

http://docs.indymedia.org/pub/Devel/ImcDrupalDev/indymedia_cities.module

A custom module made to make a block for the cities list. FEATURE-REQUEST: make it call up the xml version and offer alternative block styles?

taxonomy_access

http://drupal.org/project/taxonomy_access

taxonomy_block

http://drupal.org/node/15192

Patched to stop img_assist tags showing up it the teaser http://york.indymedia.org.uk/files/patches/taxonomy_block.module.20060616.patch

This is used to create the newswire, by making a block with everything in that topic.

urlfilter

http://drupal.org/project/urlfilter

Theme

Wireframe