Drupal is up and running but how do I ...?

Users With Administer Nodes Permissions Cannot Preview

When a user with Administer Nodes permissions tries to preview a node before submitting it, it goes to a page such as:

http://www.sitename.com/node/30

And displays the message:

"Your was created."

And a blank node is created.

When I disable Administer Nodes on their role the problem goes away.

I cannot say for sure when this behavior started. I recently upgraded from the 4.7 beta to the 4.7.0 release, so that could very well be when it began.

How To Create A View Showing The Top Rated Nodes?

Hi all.

I am using the userreview module to allow people to vote on nodes. What I'm trying to do is create a new view (a block view) that will show the top 10 rated nodes. It will display the title of the node and the current average rating.

As a test, I create two nodes, MyNode1 and MyNode2. I then voted twice on MyNode1, the first time giving it a rating of 3 and then a rating of 2. The average rating of MyNode1 is now 2.5. I then voted twice on MyNode2, the first rating was a 10, the second was a 9, giving it a average rating of 9.5.

I want my view to display:
MyNode2 9.5
MyNode1 2.5

In my view, I've selected to display two fields, "Node: Title" and "VotingAPI: Voting Results". But, I can't find the correct combination of filters to display what I want. The closest I can get is:
MyNode2 10
MyNode2 9.5
MyNode1 3
MyNode1 2.5

What it's showing is the average after the first vote, then the average after the second vote for each node.

I found this (http://drupal.org/node/53342) in the votingapi bug/feature request tracker, which suggests that 1) it is technically possible and 2) support for the cache values was greatly enhanced in CVS.

I did update my votingapi and views modules to the CVS, but to no avail. (In fact, I didn't see any changes in the views UI with respect to the votingapi cache values).

Any help would be appreciated.

How to do not show "read counters" in the node links?

I want to have stats on how many times my nodes are read. I want them for private use so I don't want these stats to be showed in "node links" section.

How can I disable it?

T.I.A

User List - How can I display certain roles in list (roles[3])

I'm loving my user list, but I only want to show the role of "approved blogger" which is roles[3]. What would I add to this code to do that. Ultimately, I'd like to list roles[3], then roles[4] below that.... but I definately don't want every user on this list. That will be a separate list.

Super Excellent Thank You in advance!


<?php

global $user;

$no_avatar = "drupal/files/avatar_none.gif";
$odd = TRUE;
$result = db_query(db_rewrite_sql("SELECT * FROM {users} u"));
while ($user_info = db_fetch_object($result)) {

if($user_info->uid){

profile_load_profile($user_info); //load the profile for that user
print '

';

if($user_info->picture){
print 'Only local images are allowed.picture.'" height=50 align=left>';
}

if($user_info->profile_blog_title){
print ' ' . l($user_info->profile_blog_title, "blog/$user_info->uid");
}
else {
print ' ' . l('Suggest a name for my blog', "blog/$user_info->uid");
}
print '
';
print ' by '.l($user_info->name, "user/$user_info->uid").'

';

if($user_info->profile_blog_description){
print ''.$user_info->profile_blog_description.'';
}
else {
print 'A description of my blog will appear here when I have one';
}

print '

';

XSL stylesheet logic, simple problem for someone...

I understand completely that this is not a Drupal question, but there don't seem to be many communities on the web with an active group of people like this, so...

Looking at this: http://www.coolidge.org/drupal/showtimes

Lets say I have a movie playing on 06012006 at three separate times, and again on 08012006 for three more times. I need to have an output like this:

The Big Show
06012006 : 0500, 0600, 0700
08012006 : 0500, 0600, 0700

Expanding node at Read More?

Is there a modification that exists that would expand a node at the Read More click rather than refresh to a new screen? When I click Read More, the screen seems to redraw and I'm at the top of it. I have to scroll down to find my place where I left off before clicking Read More. I was wondering if there is an expand/collapse modification available, or something similar to the "a name..." tag that would take me to where I am in the text (node) upon clicking Read More so I can pick up where I left off reading rather than have to scroll down and find my place.

Thanks.

Pages

Subscribe with RSS Subscribe to RSS - Post installation