This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Event Module - Date always wrong for anonymous users using pushbutton theme

I have the event module installed and all seems well except for this obvious little problem. The date on the calendar and upcoming events block is always wrong unless the user is logged in. The date for anonymous users changes but seems to always be behind.

Since I can find no reference to this problem in the forums, I'm thinking it may be related to the theme I'm using. When I change themes, sure enough the calendar is correct. The problem is I really prefer the pushbutton theme!

Any help here appreciated!

Drupal 4.6.3, Event 4.6.10, Theme: pushbutton

Tinymce: full advanced theme problem

I have installed tinymce and select advanced theme but i cannot see the plugin button.
The file example3.htm include full advanced theme and this is thr code:
....................................................
tinyMCE.init({
mode : "textareas",
theme : "advanced",
plugins : "table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu",
theme_advanced_buttons1_add_before : "save,separator",
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor",
theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
theme_advanced_buttons3_add_before : "tablecontrols,separator",
theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator,print",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
plugin_insertdate_dateFormat : "%Y-%m-%d",
plugin_insertdate_timeFormat : "%H:%M:%S",
extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
external_link_list_url : "example_data/example_link_list.js",
external_image_list_url : "example_data/example_image_list.js",

Does throttle only "throttle" modules, not users' access to entire site?

Am using 4.6.

In admin>settings>throttle, there are options to throttle once the number of anonymous or registered users reaches a certain threshold. My question is, once these settings are set (e.g, throttle takes effect when registered users reach 50), does the throttle module only deny access to the modules or blocks you've enabled for throttling in admin>modules, or does it deny the users' access to the entire site itself? I'm assuming it's the former -- just wanted to make sure. :)

Is it possible to restrict content blog/story/page/image etc content to a particular user?

Is it possible to restrict content blog/story/page/image etc content to a particular user?

I'm not talking about roles here - I was wondering if you could restrict access to content to only the administrator and the person who created the content?

Thanks

Users Id

A very simply, maybe stupid question: I want to get the User Id of the current logged in user. In the global scope I have the object $user. Can I relay on it? Do I have allways $GLOBALS['user']->uid?

I've looked for an API function to fetch the details of the current user, but found none.

Any hints?

Indexpage module problem : access failed for for 'anonymous user' and 'authenticated user'

Hi,

I am using drupal 4.6.3.

IndexPage installed on Drupal 4.6.3. It works fine for administrator. But for 'anonymous user' and 'authenticated user' I got this message :

user error: Unknown table 'na' in where clause
query: SELECT count(type) FROM node WHERE type = "flexinode-1" AND na.grant_view = 1 AND CONCAT(na.realm, na.gid) IN ('all0','og_uid0','og_group0') in /var/www/drupal463/includes/database.mysql.inc on line 66.

I allowed them to administrate nodes, that's work. How can I fix this problem ?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions