This forum is for less technical discussions about the Drupal project, not for support questions.

Module Testers Wanted: Email This Page

Hi,

if any of you have the time, i'd be most gratefull if you would download, install and try out the emailpage.module

It works great for me on a couple of sites, but I'd love to get feedback, suggestions and bug reports.

What does it do?

This module adds a link to the navigation, and to every FULL node (not the main page teasers) to the emailpage script. Then users can send any page to a friend easily. (at least in theory hehehe!)

Recent blogs block

I have created another block for my site, so I thought I'd post it here in case anyone was interested.

It shows the last 3 blog entries for each of the last 3 users who have posted blogs.

So not only does it show you some recent blogs, it also encourages people to blog more often (to get their name pushed up the list).

It's relatively simple to change it to show the last x entries by the last y users.

Anyway, here's the code:

global $user;

if (user_access("access content")) {
  $blogs = "";

  $queryResult = db_query_range("SELECT n.uid, u.name, max(n.nid) FROM {node} n INNER JOIN {users} u ON u.uid = n.uid WHERE n.type = 'blog' AND n.status = 1 GROUP BY n.uid, u.name ORDER BY 3 DESC", 0, 3);

  while ($node = db_fetch_object($queryResult)) {
    $blogs .= l(t("<h3>%username</h3>", array("%username" => $node->name)), "blog/$node->uid", array("title" => t("Read %username's latest blog entries.", array("%username" => $node->name))))
      . node_title_list(db_query_range("SELECT n.title, n.nid FROM {node} n WHERE n.type = 'blog' AND n.status = 1 AND n.uid = " . $node->uid . " ORDER BY n.nid DESC", 0, 3));
  }

  return $blogs
      . "
". l(t("more"), "blog", array("title" => t("Read the latest blog entries."))) ."
"; }

What about Drupal scalability?

Hi,

I saw a benchmark on OpenBrick with Zope, SPIP, Templeet, and Drupal:

http://nexus.ouvaton.org/Benchmark_OpenBrick/

and it's very bad for Drupal v4.10....

Avatars in forums?

Is there a way to get avatars in forums? I'd like to see the poster's avater supplied in their user profile (with profile module enabled) displayed with their post. Is this possible? If not, do I look to make changes in node.module or forum.module?

-todd[1]

going thru index.php multiple times?

When I trace through the drupal 4.5 code with Zend debugger, I am observing the execution going thru index.php multiple time.

To be clear, when the last statment of index.php executes, it then drops into a session routine and then beings at the top statement of index.php. This happens about 4 times (cycles thru index.php) when I first hit my site.

I have written a hit counter which show this as well even when I am not in debug mode...so i do not think it is an effect of running the debugger.

Has anyone esle noticed this?

Any ideas?

thx

4.4.0 LDAP module?

Hi everyone,

I was wondering if anyone had a working LDAP module for Drupal 4.4 - I'm working on an intranet portal for the developers where I work.

I realize that there are options for 4.3.x, but are any of them being brought forward?

Thanks.

James Addison
http://www.pjsoft.ca

Pages

Subscribe with RSS Subscribe to RSS - General discussion