Closed (fixed)
Project:
Advanced Forum
Version:
6.x-1.0-rc2
Component:
Contrib integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2009 at 06:20 UTC
Updated:
17 Mar 2009 at 13:30 UTC
Hi there,
I'm pretty new to Drupal. I'm trying to have images displayed in a forum that uses Advanced Forum, and am not sure if it's possible - I've spent days searching, and haven't come up with any decent information.
At the moment, I have a set of forums (with AF), and a front page generated by 'views' which filters posts from the forums. I have used any number of combinations of image handling modules, and each time, the images attached to forum topics are displayed on the front page, but never in the actual forum.
Is there something basic going wrong, or is this simply not possible? From my forum (user) experience, it seems like such a fundamental thing.
Thanks in advance for any help.
Comments
Comment #1
michelleThere's really not enough information here to make a guess as to what could be wrong. First off, please make sure this is actually a problem with AF by disabling it and seeing if your images show up in the forum. If they still don't show up, then the problem isn't with AF and I suggest trying the support forums to ask a larger group of people. If they show up with core forum and not with AF then I need more information about how you are adding the images.
Michelle
Comment #2
modified-1 commentedThanks for your reply.
I've done some more testing, and found that the issue seems to be a combination of AF and the "Sky" theme. When either one of them is disabled, images are displayed in both forums and on the front page (with Views). With both enabled, images don't display in the forums.
I've tried using both Image Assist / Image and IMCE / BUEditor, with the same result. The only non-core modules installed other than those at the moment are Advanced Forum / Author Pane and Views / Views UI. I've done some customising of the Sky theme, but it only involves changing of colours, buttons etc.
Comment #3
jacinemodified,
I don't have the time to test this combo right now, but quickly, both the theme and the module attempt to preprocess forum nodes, so it sounds like there's probably a conflict where it's looking for sky's node-forum vs. the template files created by advanced forum.
If I were you, I would try removing everything Sky is trying to do where the forums are concerned. You don't really need it, since AF is better. So, step by step:
1 - Remove node-forum.tpl.php
2 - Remove this code from template.php
3 - Clear the cache.
4 - Also remove the forum styles from style.css (Starts at line 1222)
When AF is officially released, and I have more time, I'll look into it more and see how to make the two work together without problems.
Let us know if that solves the problem. Thanks.
Comment #4
modified-1 commentedThank-you so much! That has worked almost perfectly. There's one tiny artifact where a button is sitting on top of another button, but I'm sure that's going to be easy to sort out.
I've tested this with the two different image uploading/displaying modules mentioned, and both are fine. Not only that, but I get to keep all of my custom sky/AF icons!
Thanks again, I can now go ahead and get my website ready for public release.
Comment #5
michelleThanks, Jacine!
Michelle