Some questions and additional features

atuyo60 - January 16, 2008 - 06:59
Project:UIE Forum
Version:5.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi,

1) I am unable to figure out the "display lower breadcrumbs" and "display the first level of sub-forums from the forum-list on all views without threads" options. I have tried enabling and disabling but nothing on my forum has changed. What do these options actually do?

I interpreted "display the first level of sub-forums from the forum-list on all views without threads" as showing each main forum and subforums all on one page like the usual forum displays and like the use of containers with the core forum module but this did not work.

2) Access control checkboxes on the add forum pages do not work. After adding a forum, these boxes will still not be checked even though it was checked on the form. Only editing and re-submitting the forum will save the options.

3) Line 1145, shouldn't Global be in small letters as such: global $user ? I am just asking this as I did a change to the code at line 1215. I added the following:

if (module_exists('privatemsg') && $user->uid != $Poster->uid) {
  $post_content[0]['data'] .= l(t("Message me"),'privatemsg/msgto/'.$Poster->uid);
      }

If it works correctly, this will enable a message link that brings the user to his private message page for sending the poster a message. Maybe you could add it to your release.

4) I am also wondering how do you actually call for the avatars of a user? Are they called differently from the way comments and user lists call them? I am asking this because I am using the imagecache profiles module which lets me set a fixed profile image size and a default smaller size for all other areas where the avatar appears. But this did not work with uieforums and my avatars are the original uploaded sizes.

Thanks!

#1

atuyo60 - January 17, 2008 - 19:00

Ok, I managed to do the imagecache smaller avatars with this change on line 1201:

Replace that line with:

if (module_exists('imagecache')) {
  if(variable_get('uieforum_allow_display_avatars', 1) && $show_avatar) $post_content[0]['data'] .= theme('imagecache', 'user_image_avatar', $Poster->picture);
  }
  else {
      if(variable_get('uieforum_allow_display_avatars', 1) && $show_avatar) $post_content[0]['data'] .= theme_user_picture($Poster);
  }

where user_image_avatar is the preset namespace you created with the imagecache module.

 
 

Drupal is a registered trademark of Dries Buytaert.