For the longest time I couldn't figure out why I couldn't post profile objects in the advanced forum author-pane. Then I tried copy and pasting the same naked_stacked forum style ( it didn't work in the default naked template either) into garland and it works fine. I attached a screenshot of the issue.
Solving this issue is really important to me, so I'd really appreciate it if you can help. I'm not an advanced drupal user, but maybe I can help if you can let me know how to troubleshoot this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | advforum-zen-vs-garland.png | 25.68 KB | dbirider |
| #6 | advforum9vs15.png | 56.72 KB | dbirider |
| author-pane.gif | 9.84 KB | dbirider |
Comments
Comment #1
avr commentedI'm having the same issue. I've looked at the
profile.author-pane.incfile in advanced_forum's modules. I can't seem to figure out what it's not loading any content - but I'm also using a zen template. i haven't tried with a different theme.but - just noticed that i'm using a different version of AF - 6.x-1.0-alpha14.
thanks,
avr
Comment #2
anahowa commentedI'm not using zen theme
and I have the same problem, Author-pane is not showing up.
is there an option to add ?? do I mis something?
i'm using a AF 5.x-1.0-alpha14
Comment #3
michelleOk, I just tried it on my dev site using zen_classic and it works just fine. You can try sending me your subtheme if it can be disconnected from your site. Otherwise, I don't know what to tell you. It seems to be working just fine with subthemes.
Michelle
Comment #4
dbirider commentedWell that's good news. It must either be an issue with my zen theme or something I'm not doing right with the pane configuration.
When you get a chance, can you try printing a profile field in the pane? That's one particular aspect that works fine in garland, but not in zen.
Anyway, I'll do some more testing to see if I can get to the bottom of it, or at least narrow the issue down..
Comment #5
michelleSo are you saying that the author pane is showing up on Zen but you aren't able to get the $profile variable working? It's going to be a day or two before I can get back to working on AF. In the mean time, if you could tell me specifically what the problem is that would make it easier for me to test it.
Michelle
Comment #6
dbirider commentedHi Michelle,
I first started noticing the issues when I switched to zen, but this also happened to be the same time when I upgraded to advanced forum 12 (I think, whichever one that introduced the major changes).
The variables I have tested so far that are working include:
The ones that I have tested that aren't working include
I just installed advanced forum 9 to test out what's working and what's not, and everything works fine in all of the themes. So it seems to be an issue with the newer versions of advanced forum. I attached an image showing the differences between advanced forum 9 and 15 installed in zen.
Comment #7
dbirider commentedComment #8
michelleOk, Profile I haven't tested in ages. I'll give that a look when I can.
The user badges patch other people have reported issues with as well. I brought that issue back to my queue and will take a look soon. Here's the issue: #327185: Advanced Forum and Advanced Profile Kit integration
The user points patch is working fine for me on all my sites so I'm pretty sure that one works properly. Can you double check that you copied the .inc file to the root of the user points module directory? And that you remembered to rename it from .txt to .inc?
Michelle
Comment #9
dbirider commentedHi,
Ugh, We're still having problems. I'll include all of the details about my installation so you can determine if it's a module/zen error or something I'm not doing right.
So, as we worked out, I originally didn't do all of the steps steps to get every author-pane variable working. I fixed it all and so every-thing's now working in garland, but not in zen.
I copied all of the .inc files into the module base.
So I tested it in Zen, garland, and an old theme I was using called golden hour.
Additionally, I tested advanced forum in multiple zen sub-themes, reinstalled zen, and I even tried installing the dev version of zen. Nothing changed, still the same result.
I attached a screenshot of the default naked stacked theme in both garland to zen, using advanced forum 15, so you can see the differences.
Comment #10
haraldessert commentedI am having the same issue. But I, instead, am using the 6.x alpha 15 version of Advanced Forum.
I am not using a zen theme, but some of the user pane functions are not appearing, as well.
And there's neither a 6.x version of Advanced Profile to integrate with Advanced Forum, as it is recommended in this thread.
I have installed the user stats module and the privatemsg module. Their icones should be displayed in the user pane. And in the 6.x alpha 13, for some reason, they do!! But in further versions they don't.
Are the causes maybe the same as in the 5.x versions? What is the possible problem, and the possible solutions??
I haven't found any other thread about this issue in the 6.x version. So I just found it would be appropriate to report this here.
Comment #11
michelleI discussed this issue on IRC with dbirider and the problem is that he didn't read either the warning on the project page or the upgrade instructions where it explains that contrib integration has been removed and you need to add the files in manually until the other maintainers catch up. Sounds like haraldessert has the same problem.
The only remaining issue is dbirder says the profile integration isn't working in Zen, which I haven't had a chance to test, yet.
Michelle
Comment #12
haraldessert commentedThanks, Michelle. I think now I got the idea.
But I'm not a very advanced Drupal user, so I still have a few doubts:
1) The preprocess code you posted on Adding variables to the author pane is the code I should use in my .inc files to enable all the variables of author-pane?? Like user_stats.author-pane.inc, etc.??
2) If it is, how do I find out the name of the variables to replace in the following line??
3) Where do I put the .inc files?? In the 'modules' directory within the Advanced forum directory (mysite/modules/advanced_forum/modules/) or in the directory of the contributing module (for ex.: mysite/modules/user_stats/)??
Or maybe I understood it all wrong?? haha!!
Thank you again for the attention!
Harald
Comment #13
michelle@haraldessert did you read http://drupal.org/node/326460#comment-1113404 ?
Michelle
Comment #14
haraldessert commentedHello!
No... indeed I haven't!! But now I followed the steps, put the contrib incs within the other modules' directories and everything works just fine!!
Thanks again!! =)
Comment #15
michelleWell, I've spent the last hour trying to figure this out. I can confirm it doesn't work but that's all the more I know. It's not making any sense to me. It's loading the file but somehow losing it again. I need to keep digging but I'm almost out of time for now.
Michelle
Comment #16
michelleOk, after entirely too much time tracing through this code, I _finally_ figured it out. Zen is bypassing my API and calling the preprocess hooks directly, which means the include code is never getting loaded. While this is technically a problem in Zen, I was able to work around it in AF in a way that won't cause any problems for people not using Zen so I'll just commit that instead of bugging John about it.
I'll commit in a bit... Right now my dev environment is a total disaster of debug code. :(
Michelle
Comment #17
michelleSetting this back to active. Didn't get a chance to commit it and probably won't tonight. I'll forget it if I leave it on fixed.
Michelle
Comment #18
michelleOk, comitted.
Michelle