This version of the plugin worked out of the box for me. Thanks!
I've applied a hack to Fireboard where users can subscribe to categories (rather than jsut a thread). There is a thread at BestofJoomla, or concise instructions here:
www.wittongilbert.free-online.co.uk/FBHack/HowTo.html
I took a stab at modifying this plugin so that it would work with the subscribe to category hack in this thread.
Now this plugin will show subscribed posts and subscribed categories, and will give users a way to unsubscribe to both.
Begin by loading the package above from Joomlapolis. Follow the instructions to make sure the updated simpleboard plugin works out of the box. Then write this version of cb.simpleboardtab.php over Nant's.
Notes:
- My template didn't like the way this plugin used the css class "sectiontableheader", so I changed some of teh formatting, too. (it worked better for me)
- You'll have to define an additional language string: _UE_USER_CAT_SUBSCRIPTIONS (I defined it as "Your Category Subscriptions" to match).
- I broke the "unsubscribe all" form, if it worked properly in the first place. (I assume it did, because the favorites one still works). I didn't find it necessary so I commented it out instead of fussing with it.
- If a user has either a post or category subscription, the query for each will always have something in it, so your lose the "no subscriptions" text. You can tweak the SQL to make that work better, I'm sure.
- IE says it the page loads with errors, but it still seems to work fine
- Sorry I didn't comment my changes well. Compare them to the other to see what I did. I left most everyhting (except some extra <div>s after reformating)
If anyone can improve on this, I wouldn't mind
Let us know how it works for you.
Attachment cb-a73a8b5f0acaa55cd7b3421013cd7c23.txt not found
Post edited by: Phleum, at: 2008/03/11 06:41
Post edited by: Phleum, at: 2008/03/11 06:43