XBMC Community Forum
[RELEASE] Forum Browser - Programs Addon - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Forum Browser - Programs Addon (/showthread.php?tid=85018)



- ErlendSB - 2011-02-03 19:06

Great addon. It works great, but it seems a bit stretched on my 1080p tv.
[Image: screenshot000.png]

I´m using Xperience skin if it matters.


- Sranshaft - 2011-02-16 18:31

Haven't seen much activity as of late and really hope this great addon is still being developed because I've recently started skinning it for reFocus and have been running into a few hurdles that I'm hoping can be overcome.

The trouble I'm running into mainly deals with the textcolor of the labels. I see that they are hardcoded into the forum code. Is there any chance we might be able to set those textcolors via the label controls? Or barring that, perhaps a color.xml file placed in the skin directory?

I appreciate all the hard work you've put into this. This addon is one of the few addons I use on a daily basis and really enjoy the ability to check the forums without having to leave the comfort of the couch.


- ruuk - 2011-02-16 21:00

Sranshaft Wrote:Haven't seen much activity as of late and really hope this great addon is still being developed because I've recently started skinning it for reFocus and have been running into a few hurdles that I'm hoping can be overcome.

The trouble I'm running into mainly deals with the textcolor of the labels. I see that they are hardcoded into the forum code. Is there any chance we might be able to set those textcolors via the label controls? Or barring that, perhaps a color.xml file placed in the skin directory?

While not very active at the moment Smile, I'm still maintaining the addon and will continue to add features as and when I think of some that are important to me. Lately I've just been dealing with large life events unrelated to the joys of python scripting.

Anyway, the hard coded colors are there because the idea is to have them themed to the forum. What I think would be a good idea and should solve your problem is if I added the option of disabling forum themes (perhaps making that the default), so that the skin can determine the colors. I'll try to get to that sooner rather than later Smile

As an aside, I think I should rename all the image files so they have a unique namespace, so if you find that in the next release, I apologize in advance for the pain and suffering that will probably cause you Blush

Sranshaft Wrote:I appreciate all the hard work you've put into this. This addon is one of the few addons I use on a daily basis and really enjoy the ability to check the forums without having to leave the comfort of the couch.

Thanks for that. That was what I had in mind when I wrote the addon and it's nice to know someone is finding it useful in that way.


- Sranshaft - 2011-02-17 00:11

ruuk Wrote:While not very active at the moment Smile, I'm still maintaining the addon and will continue to add features as and when I think of some that are important to me. Lately I've just been dealing with large life events unrelated to the joys of python scripting.

I wish you all the best and hope it isn't too serious.

[quote=ruuk]Anyway, the hard coded colors are there because the idea is to have them themed to the forum. What I think would be a good idea and should solve your problem is if I added the option of disabling forum themes (perhaps making that the default), so that the skin can determine the colors. I'll try to get to that sooner rather than later Smile

Thank you very much and look forward to seeing what you come up with.

ruuk Wrote:As an aside, I think I should rename all the image files so they have a unique namespace, so if you find that in the next release, I apologize in advance for the pain and suffering that will probably cause you Blush

Argh!! No...I'm sure it'll fine. Laugh


Version 0.8.3 - ruuk - 2011-02-17 22:53

Ok Sranshaft. Try this out:

http://forumbrowserxbmc.googlecode.com/files/script.forum.browser-0.8.3.zip

Changes:
Added 'Use Forum Colors' option in settings (disabled by default). Allows other skins to diplay properly.
Renamed skin image files to give a unique namespace

Here are the regular expressions I used in Eclipse for the filename changes. Hope you have an editor that can use them. You may have to replace the $4 with \4 or something.

-xml regexp file name replacements (case sensitive)-

Find: >(TR)?(FB)?(default-)?([\w-]*?.png)<
Replace: >forum-browser-$4<

Find: "(TR)?(FB)?(default-)?([\w-]*?.png)"
Replace: "forum-browser-$4"


-image file renaming-

FB*.png forum-browser-*.png
TR*.png forum-browser-*.png
default-*.png forum-browser-*.png


- Sranshaft - 2011-02-18 11:01

Wow! Thanks for the quick update. Things are working great so far though I have run across a couple things.

Button id="105" doesn't inherit the textcolor and selectedcolor of the button in the skin.
Label id="103" doesn't inherit the textcolor while updating the text (the "Reading data", "Loading..." text changes).

[Image: screenshot000.jpg]

Label id="103" and "104 don't inherit the proper font style. They appear bold while the skin calls for normal. Shown in the following example, the top image is what it should look like, the bottom is what it looks like currently.

[Image: screenshot002.jpg]

Again, I really appreciate all of the work you've put into this. Thanks a lot mate!


Version 0.8.4 - ruuk - 2011-02-18 23:15

Ok, I think I got all the color and bold overrides cleaned out including several you didn't mention. Also now in the forum view you can do a StringCompare(ListItem.Genre,sub) to find sub-forum status, and in the threads view ListItem.Director = me indicates the thread was started by the user and ListItem.Studio = me indicates the last post was by the user.

Get it here:

http://forumbrowserxbmc.googlecode.com/files/script.forum.browser-0.8.4.zip


- Sranshaft - 2011-02-21 20:50

Sorry I haven't been able to respond sooner but I wanted to give a huge thanks to Ruuk for all the work he's done the last couple of days in getting this great addon working for skins. I really appreciate it mate! If you're ever in the Melbourne area, the beers are on me.


Boxee version - ruuk - 2011-03-03 00:11

For anyone interested I've got the Forum Browser working on Boxee (including the Boxee Box)
I've also done a couple of other minor Boxee apps as well.

Add repository http://2ndmind.com/boxee

And, no, I'm not stopping XBMC app development Smile I still have 3 times more XBMC in my house than Boxee Wink


- warlion - 2011-04-24 21:37

hi ruuk im trying to make a forum parce of vapeando.com/foro/ im using the http://www.xbmc4xbox.org cuz is phpbb but i have some problems is not open is parcing all the time
do we need to upload something to the root of the website?

i love this addon but i like to have more of my forums avalible


url:base=http://www.vapeando.com/foro/

what im doing wrong
thanks for you help