The original one does not. I’ve uploaded a preliminary new version in the first post; no doubt filled with bugs. Let me know if it works or what breaks and I’ll try to fix them.
Hi
I cant seem to see the plugin in the CP. i have extracted the zip file and tried placing the file in
/system/expressionengine/plugin and /system/expressionengine/third_pary
but i cant see it all ??
thanks
Okay, I’ve updated the first post with a newer version of the plugin that will show up in EE’s control panel. You have to put the entire folder, with the one file inside it, inside the third party folder. I hope it works this time. 😊
Hey it still doesn’t work it shows up in the EE control panel but when you click on it, just comes up with blank page.
This is what i have done to test and see if it works.
Under Member tab i have clicked on Member Fields and created ad custom member field called it custom_title.
Then i have edited the a Members profile and under custom_title field i have added Custom Tag.
Then have put this
{exp:BH_custom_member data="field_name"}
in the forum_theme/forum_threads/thread_rows
under
<div class="userBlock">{lang:joined} {join_date format="%Y-%m-%d"}</div>
and its actually displays the code it self rather my Custom Tag.
I am assuming either the plugin is no working or i am doing something wrong here.
any ideas ?
Thanks heaps.
Okay, I’ve done some more testing and have updated a new version that will work in the current version of the forums.
Sad news is, right now it works only when you run the forums through the regular template engine.
So make a template in the CP with the tag “{exp:forum}” and that’s it on it. On that template page, this plugin will work as outlined in the instructions.
I’m still working on getting categories to work in regular EE though.
Black thanks so much for this.
Question: So if i would like to display custom tag in the forum_threads page where do i need to create this template ? (sorry i am quiet new to EE so i am still learning as i am going ) Basically what i am trying to achieve is under member name to display custom tag.
eg:
Bob Member custom title post cunt joint date.
that is my main goal that i am trying to achieve with your plugin ?
Black, sorry i am not sure if i am missing something here are the steps i have taken.
1) unzip the file 2) place the file in /system/expressionengine/thirdparty ( i can see plugin in CP of EE) 3) go to /themes/forum_themes/my_theme/forum_threads 4) open thread_rows.html
this is my code( note my theme is little modified so things may be little different)
<div class="span3">
<ul class="unstyled thread-member-info">
<li><a href="http://{path:member_profile}">{author}</a>
{if avatar}<li>{path:avatars}</li>{/if}
<li><span class="label label-info">{rank_title}</span></li>
<li><span class="label label-inverse">{total_posts} posts</span></li>
<li><a href="http://{path:send_private_message}"><span class="label label-info">PM</a></li></span>
<div>{exp:BH_custom_member data="field_name"}</div>
</ul>
</div>
5) save the file 6) went to my forums and only thing i can see is this.
Yes, I see the problem. Here’s the thing: the forum module is lightweight. By that I mean it doesn’t do a ton of processing; presumably because the forums are generally busy. But that’s a problem, since I think the forum template processing does not actually process plugins. Like Mine. Which is why you are seeing the actual plugin call there. I’ve been pondering if that’s the case and how to fix it otherwise.
So, the solution is to run your forum via a regular site template.
Try this: go to your EE template manager (not the forum templates, the regular site templates), create a new template somewhere and as the sole content of the template put in this tag: {exp:forum}
That’s it. Visit that page in your browser and see your forum appear. Check if the plugin is now working. The downside of this approach is heavier resource usage, but for a new site that’s likely not a problem yet. I don’t know what the percentages are, but it’s probably in the order of 20 percent or so.
If this works, you’ll have to just use that template as your forum page ( I suggest naming it something forum related)
Hmm. Well, the only thing I can think of is that somewhere you are making a mistake or a setting is incorrect. That kind of error you are getting says to me that somehow you are not running the page in EE or something.
Take a look at my test forum here: http://researchandmotions.com/index.php/home/forum/
You will note that the plugin is installed and working well, on the one topic and thread available.
If you’d like, PM me your info and I can take a look.
Steps: Create your forum, category, and actual forum itself. Create in EE a page template with the contents “{exp:forum}” as the only thing (don’t use the quote marks)
For the settings, decide on a theme. Now, do not use a forum “short word”, and for the url to the forum put in your template that you have created earlier. So in my example, I have a template group “home” and then a template “forum” inside that template group.
Make sure your forum is loading via that url before you start monkeying with the theme code.
Then, you can edit the theme to include my plugin code, and it should work.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.