Having problems installing Drupal? See the Installation Guide for more information.

Escaping Wiki links

[edited by ax to fix markup. please preview your submissions!]

I'd like to escape a Wiki link so that I can write instructions on how to use them. I've tried \[ and <pre..., but those don't work. Any suggestions? Thanks!

PS.. thanks to all the deveolopers for the great software.

Hiding a Node Link from Anonymous Users?

So I am running Drupal-4.1.0 and am using the extended profile.module functionality. The only thing I want to do now is to not display the 'members' link to Anonymous Users. Currently, at the top of the page (UnConeD Theme) there is a link to 'members' which directs to "http://MY_DOMAIN_NAME.org/module.php?mod=members"

How can I get it so this link is not displayed accept for authenticated users and admins?

/Mike

Limit access to pages/modules? A few other newb questions...

Hey all,

Just curious how one would do this... Not sure if I can explain it correctly... I'm new to drupal so please forgive any ignorance I show.

One thing I would like to do is let anonymous users see my initial website. If I go into permissions there are two default 'roles'. The privilege in question is 'access content'. Now, if I grant that to anonymous they can see all content in the website.. forums, blogs, etc.. I don't want them to be able to do that.. they need to register for an account first and be approved.

Problem with chatbox module

I've a problem,when i try to use chatbox module and i click on the link "join the chatbox",a new window appear but nothing more.It's blank.But twice week ago at least it worked.why?

GD version autodetection fails on image.module

On my provider host according to phpinfo() I've GD version "1.6.2 or higher", but the image modules detect GD2 and by this code it doesn't let me select GD1. I've changed the following code on image.module:

[?
if (function_exists("imageCreateTrueColor")) {
$libraries = array("imagemagick" => "imagemagick", "gd2" => "gd2");
}
else if (function_exists("imageCreate")) {
$libraries = array("imagemagick" => "imagemagick", "gd1" => "gd1");
}
?]

by:

[?
$libraries = array ( "imagemagick" => "imagemagick", "gd1" => "gd1", "gd2" => "gd2" );
?]

And now I can happily select gd1 and it works fine.

I do not know by function_exists ("imageCreateTrueColor") returns true, but the fact is that if I try to use GD2 I get this error when trying to submit an image:

Fatal error: imagecreatetruecolor(): requires GD 2.0 or later in /home/html/testing/modules/image.module on line 927

when calling imageCreateTrueColor in this code:

[?
if ($lib == 'gd2') {
$th = imageCreateTrueColor($thx, $thy); // <- line 927
imageCopyResampled($th, $im, 0, 0, 0, 0, $thx, $thy, $image_details['width'], $image_details['height']);
}
?]




inside function _image_make_thumbnail.

(please note that my line 927 could be different than the regular image.module one because I've modified some code and added some comments while debugging)

default language and localization

Dear All,

Drupal 4.3.1 was configured to present the site in english (default). I started to translate a bunch of strings and then decide to move the first language (in conf.php from en to fr).

Once this was done, I continue my translation. What's funny now is that my localization.module stores only the "english" translation, not the "french" one. Like if configuring the site to be in "french" by default has suddenly moved all the terms from english only to french only.

What I mean is the following.

Pages

Subscribe with RSS Subscribe to RSS - Installing Drupal