TinyPortal

Development => Support => Topic started by: rbh on June 07, 2006, 03:22:51 PM

Title: a few block questions
Post by: rbh on June 07, 2006, 03:22:51 PM
i want to change the title bar colors of of my blocks seperate from the forums. what file would i edit to achieve this? 

how do i make certain blocks only seen by post based groups? it only has option for normal membergroups and i want to add a post based group.

i have seen several sites with a content block like the one here. is this just done in an html block or is this a block in a future release? i made one with html to do the bullets, headers and such, but i thought since i have seen several sites all with a block called content that maybe there was a new block that would make the headers, bullets, and linked text automatically just by filling in the boxes.
Title: Re: a few block questions
Post by: RoarinRow on June 07, 2006, 03:34:24 PM
Those are good suggestions.  I'd also like to see blocks that can visible only on certain themes since my site has 3 main themes depending on the board you go to.
Title: Re: a few block questions
Post by: IchBin on June 07, 2006, 04:42:17 PM
I'm not 100% sure, but I don't think Bloc plans to add post based groups to the permissions. I could be wrong though....

The content Bloc is already implemented into TP. Play with your menu manager to add the different type of links and you will see.

I not sure about theme specific blocks, but I do know that Bloc said something about having Blocks appear depending upon which part of the board you are in. That would pretty much accomplish the same thing. But these are not yet features of TP.

Title: Re: a few block questions
Post by: rbh on June 07, 2006, 05:21:44 PM
well your full of good news ich! ;) ;D i figured out the menu manager, i like it, thanks. too bad about the post based groups though. :(

as for the color changes of the title bars, it sounds as if the blocks will still pull from a style.css file only it will be able to pull from different themes is this correct? i was just wanting a permanent change. the color i have now works within the forums, but just doesnt work with the blocks, probably because it shows up in just a couple places within the forum but is above every block, and i was hoping to lighten them up some. there isn't a way to make a perm color change? unless there is a way to have the border for the block without the title? now that would work.
Title: Re: a few block questions
Post by: IchBin on June 07, 2006, 06:04:10 PM
If you look in the TPortalBlocks.template file in the default theme you can go through and change the class that is used. You can create your own class with a different color if you want.
Title: Re: a few block questions
Post by: rbh on June 08, 2006, 02:58:25 AM
Quote from: IchBinâââ,¬Å¾Ã,¢ on June 07, 2006, 06:04:10 PM
If you look in the TPortalBlocks.template

now see there, thats what i asked to begin with ;D ;) thanks ich! :up:
Title: Re: a few block questions
Post by: IchBin on June 08, 2006, 03:36:06 PM
Sometimes we are a little slow around here, but we get the job done. :)
Title: Re: a few block questions
Post by: Stirred on June 08, 2006, 03:58:47 PM
Hi all.

CanÂÃ,´t we make a code to give those post group permissions on v0.8.6 ? I really need that aquisition... in my website only members with a certain number of posts can view all Categories, and i want a block saying something like "You need to make # posts, to be able to enter Downloads" for those who have a inferior number of posts.

Thanks!
Title: Re: a few block questions
Post by: IchBin on June 08, 2006, 04:02:26 PM
Quote from: Stirred on June 08, 2006, 03:58:47 PM
Hi all.

CanÂÃ,´t we make a code to give those post group permissions on v0.8.6 ? I really need that aquisition... in my website only members with a certain number of posts can view all Categories, and i want a block saying something like "You need to make # posts, to be able to enter Downloads" for those who have a inferior number of posts.

Thanks!

The only people capable of doing this is Bloc or Feline. Bloc is busy with his real life right now and not around. And Feline is busy with her own projects. You'll have to wait.
Title: Re: a few block questions
Post by: Stirred on June 08, 2006, 07:52:11 PM
Quote from: IchBinâââ,¬Å¾Ã,¢ on June 08, 2006, 04:02:26 PM
Quote from: Stirred on June 08, 2006, 03:58:47 PM
Hi all.

CanÂÃ,´t we make a code to give those post group permissions on v0.8.6 ? I really need that aquisition... in my website only members with a certain number of posts can view all Categories, and i want a block saying something like "You need to make # posts, to be able to enter Downloads" for those who have a inferior number of posts.

Thanks!

The only people capable of doing this is Bloc or Feline. Bloc is busy with his real life right now and not around. And Feline is busy with her own projects. You'll have to wait.

Thanks for the answer.

Please comeback Bloc (almost begging... =P).
Title: Re: a few block questions
Post by: rbh on June 09, 2006, 02:14:44 AM
uuuuuummmmmm, ich, ::) i looked and changed several things but nothing worked. this isnt a big deal, so don't sweat it, but if you know exactly what i should be looking for to change in regards to the block title bar colors please let me know. thanks!
Title: Re: a few block questions
Post by: elpvn on June 09, 2006, 02:46:24 AM
Quote from: rbh on June 09, 2006, 02:14:44 AM
uuuuuummmmmm, ich, ::) i looked and changed several things but nothing worked. this isnt a big deal, so don't sweat it, but if you know exactly what i should be looking for to change in regards to the block title bar colors please let me know. thanks!

To make a bar color in TP, please following steps belows:

Edit in your style.css file with the theme you want to apply the changes

Add this code

(thank Inchbin for this codeÃ,  ;))

Quote.titlebg, tr.titlebg th, tr.titlebg td, .titlebg a:link, .titlebg a:visited
{
   
color: #849EAD;
font-style: normal;
background-color: the hexa code of the color you want;
background-image: url(images/your image name);Ã,  Ã,  |
background-repeat: repeat-x; Ã,  Ã,  Ã,  Ã,  Ã, Ã,  Ã,  Ã,  Ã,  Ã,  Ã,  Ã, Ã,  Ã,  Ã,  Ã,  Ã, Ã,  |Ã,   using if you need make a background image for your bar
}

That's all
Title: Re: a few block questions
Post by: rbh on June 09, 2006, 04:00:21 AM
that changes the colors through  out the forum. i am looking to change the bar colors of tp blocks only without changing colors in forum.