collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 386
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Author Topic: Re: Simple catbg/titlebg fix?  (Read 13191 times)

0 Members and 1 Guest are viewing this topic.

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Simple catbg/titlebg fix?
« on: November 29, 2011, 09:08:46 PM »
I went to look for a PHP file that ABelle suggested and I couldn't find it on my C-Panel.

I went and extracted the zip file and found the PHP file under the smf1 folder.

So I looked for the smf1 folder in my C-Panel.

I can't find it...

Is it possible that not all the files are getting uploaded?

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Re: Simple catbg/titlebg fix?
« Reply #1 on: November 30, 2011, 12:27:04 PM »
I hope you won't mind I've split your topic out of the others.
Your problem is related to the catbg/cat_bar issue, but your theme is extra special.

You've got at least 4 main_block files, I think.  Which one do you want to use?

main_block will make purple block headers.
In your index.css, you use 80800.png for h3.catbg and for div.cat_bar

But you've also got main_block3 for h3.catbg in your index.css
And in index.css, you've also got, for h3.catbg span.left, main_block4.png

To make this work, you are going to have to
1) copy portal.css into your custom theme's css directory
2) pick which bar you want to use (block4, 808080, block3, or main_block)
3) define the h3.catbg and h3.catbg span.left to be consistant for this.

First step -- copy portal.css into your custom theme's css directory. This will not fix the problem.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Simple catbg/titlebg fix?
« Reply #2 on: November 30, 2011, 03:52:11 PM »
No problem AngelinaBelle

I'm glad you took a peek at my site.  I like the idea of the main_block using a 2300X864 png but can't modify it enough to come up with the type of headers I'd like to use. So I make my own stuff but can't put it into a 2300X864 png.  this keeps me from using the -160px etc. that the curve theme uses.  This is where I'm wondering if everything is getting downloaded in the package.  I went to look for that Sub_Portal PHP like you suggested and I couldn't find it under the default theme or under sources in my C-Panel.  Should I have a SMF1 and SMF2 folder with that PHP file like I do when I extract the zip file into my documents?

I'm going to manually install them tonight and see if that helps.

Thanks for you input.

Fog

Offline ARG

  • Beta Tester
  • *
  • Posts: 56
    • Simple Mode Forum
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Simple catbg/titlebg fix?
« Reply #3 on: November 30, 2011, 03:56:05 PM »
So I make my own stuff but can't put it into a 2300X864 png.  this keeps me from using the -160px etc. that the curve theme uses.  This is where I'm wondering if everything is

What issues are you having that you cannot "put it into a 2300X864 png"? Is it a graphic issue or css issue?


 ;)

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Simple catbg/titlebg fix?
« Reply #4 on: November 30, 2011, 09:07:51 PM »

What issues are you having that you cannot "put it into a 2300X864 png"? Is it a graphic issue or css issue?


 ;)

It's a graphics issue.  I don't have any software to create my own 2300X864 PNG unless I take the orginial main_block and use something like Picnik to modify it.  I'm not a graphics person what so ever but have learned a few tricks on making gradient bars and puting curved corners on them then naming them like main_block2 etc. and modifing the CSS.  This also means I don't use the -160 and so on in my CSS.  But for the life of me I can't get the portal blocks to have a curve on the left hand side as we all know.

Some where there has to be a main_block png file in the PHP or (catbg) because I changed all the CSS to different minus values (meaning I changed -160px to -260px) and I still have the left hand problem and it's still at -160px.

I'm going to manually install a couple of PHP files I don't see on my C-Panel to see if I can find anything.

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Simple catbg/titlebg fix?
« Reply #5 on: November 30, 2011, 09:25:56 PM »
Just for a test I would like you to put the following style attribute into Custom Title Style in the style options for a block:

Code: [Select]
border-radius: 6px 6px 6px 6px;

... & then tell me how the block title displays.

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Simple catbg/titlebg fix?
« Reply #6 on: November 30, 2011, 09:30:51 PM »
OK...BRB

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Simple catbg/titlebg fix?
« Reply #7 on: November 30, 2011, 09:57:29 PM »
It didn't do anything.  I have one theme I can try that on and see if it works.  I made a theme without the curves a while back that I can test it on if you want me to.  I see what you're after.

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Simple catbg/titlebg fix?
« Reply #8 on: November 30, 2011, 10:00:37 PM »
Am I suppose to see a SMF2 Folder in my C-Panel?

If so where should I be looking for it?

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Simple catbg/titlebg fix?
« Reply #9 on: November 30, 2011, 10:06:48 PM »
Am I suppose to see a SMF2 Folder in my C-Panel?

If so where should I be looking for it?

What I mean is using SP 2.3.4 default css (without you editing it) navigate in your SMF forum to edit a block.
Let's say User Info for example.. and while editing that block in the Admin in the bottom left enter the above code for the custom title style attribute.

Here is a screenshot of the effect although I do not have your theme to test:




or with this setting:
Code: [Select]
border-radius: 10px 10px 15px 15px;

 
« Last Edit: November 30, 2011, 10:22:18 PM by Underdog »

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Re: Simple catbg/titlebg fix?
« Reply #10 on: November 30, 2011, 10:23:38 PM »

You've got at least 4 main_block files, I think.  Which one do you want to use?

main_block will make purple block headers.
In your index.css, you use 80800.png for h3.catbg and for div.cat_bar

But you've also got main_block3 for h3.catbg in your index.css
And in index.css, you've also got, for h3.catbg span.left, main_block4.png

To make this work, you are going to have to
1) copy portal.css into your custom theme's css directory
2) pick which bar you want to use (block4, 808080, block3, or main_block)
3) define the h3.catbg and h3.catbg span.left to be consistant for this.

First step -- copy portal.css into your custom theme's css directory. This will not fix the problem.

Can I send you a copy of my CSS for the theme you see on my forum page?

I have no main_block png file in my CSS but yet on the blocks it shows my main_block png file

That Theme is over an year old and when I was using Simple Portal back then I still had the left hand side problem with the portal blocks and still do today.  I went to a stand alone portal at that point and when you guys updated within the past two weeks I wanted to see if the problem was gone and it isn't.

I enjoy SimplePortal more than the others because you guys make it simple.  Ill do what ever it takes to help.

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Simple catbg/titlebg fix?
« Reply #11 on: November 30, 2011, 10:30:36 PM »
Underdog...OK

Hang on...

Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Simple catbg/titlebg fix?
« Reply #12 on: November 30, 2011, 10:41:51 PM »
Underdog...that didn't work, for me, in the custom title part of editing a block.

I would have thought if I had a custom title in my CSS named titlebg69 or catbg69. I would put in title69 or catbg69 into that field and click on save.

I'm not sure how that custom title field works when editing a block.

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Simple catbg/titlebg fix?
« Reply #13 on: November 30, 2011, 11:03:33 PM »
Underdog...that didn't work, for me, in the custom title part of editing a block.

I would have thought if I had a custom title in my CSS named titlebg69 or catbg69. I would put in title69 or catbg69 into that field and click on save.

I'm not sure how that custom title field works when editing a block.

The style attributes that I just gave you would be entered into the custom title style field.
Your custom css are called by entering it in the custom title class field.

Offline ARG

  • Beta Tester
  • *
  • Posts: 56
    • Simple Mode Forum
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Simple catbg/titlebg fix?
« Reply #14 on: November 30, 2011, 11:09:04 PM »
Just for a test I would like you to put the following style attribute into Custom Title Style in the style options for a block:

Code: [Select]
border-radius: 6px 6px 6px 6px;

... & then tell me how the block title displays.

Just a heads up but something like this would be better as it is supported in most modern browsers. The code you posted may not function properly in older versions of IE.

Code: [Select]
-moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;
 ;)

Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Simple catbg/titlebg fix?
« Reply #15 on: November 30, 2011, 11:15:28 PM »
@Fog
Just to clarify the area to enter your attributes:


Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Simple catbg/titlebg fix?
« Reply #16 on: November 30, 2011, 11:24:59 PM »
As I go through these cycles of updating my site and re-understanding CSS

I was wondering where to look for "class" and "style" just a few days ago.

I need to play around with that a bit more on how I can add to the class side of my CSS.

Question...

If one knows how to create a custom title (class or style) why wouldn't they add it to their CSS instead of the custom title field?




Offline Chen Zhen

  • The Underdog
  • Operations Manager
  • *
  • Posts: 1350
  • Gender: Male
  • Kinesis
    • WebDev
  • SMF Version: 2.1
  • EhPortal Version: 1.22
Re: Simple catbg/titlebg fix?
« Reply #17 on: November 30, 2011, 11:27:18 PM »
Just for a test I would like you to put the following style attribute into Custom Title Style in the style options for a block:

Code: [Select]
border-radius: 6px 6px 6px 6px;

... & then tell me how the block title displays.

Just a heads up but something like this would be better as it is supported in most modern browsers. The code you posted may not function properly in older versions of IE.

Code: [Select]
-moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;
 ;)

ref. http://www.w3schools.com/cssref/css3_pr_border-radius.asp

Only introduced in IE9??



Offline Fog

  • Jr. Member
  • **
  • Posts: 79
  • Gender: Male
  • SMF Version: 2.0.1
  • SP Version: 2.3.4
Re: Simple catbg/titlebg fix?
« Reply #18 on: November 30, 2011, 11:32:53 PM »
@Fog
Just to clarify the area to enter your attributes:


I'll try it Underdog...I see what you getting at


Offline ARG

  • Beta Tester
  • *
  • Posts: 56
    • Simple Mode Forum
  • SMF Version: 2.0.2
  • SP Version: 2.3.5
Re: Simple catbg/titlebg fix?
« Reply #19 on: November 30, 2011, 11:48:23 PM »
Just for a test I would like you to put the following style attribute into Custom Title Style in the style options for a block:

Code: [Select]
border-radius: 6px 6px 6px 6px;

... & then tell me how the block title displays.

Just a heads up but something like this would be better as it is supported in most modern browsers. The code you posted may not function properly in older versions of IE.

Code: [Select]
-moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px;
 ;)

ref. http://www.w3schools.com/cssref/css3_pr_border-radius.asp

Only introduced in IE9??

That is why I stated:

Quote
The code you posted may not function properly in older versions of IE.

 ;)