 | |  | | | Photopost Pro Installation & Upgrades If you're having install or upgrade problems |
March 25th, 2010, 05:42 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
| smf 2 style
Is this also something you wait with till smf 2 goes gold ? i noticed the default smf 2 style is not really the same as on the forum itself, diffrent headers and so with the default curve theme. Or did i do something wrong ?
|
| |
March 25th, 2010, 08:59 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Cant really say the last time I looked at SMF the style worked fine but yes its still beta software.
|
| |
March 25th, 2010, 09:31 AM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
It does look more like the style that smf 1.1.x had as the default, i noticed the same on another site that had sm2.x with PP
|
| |
March 25th, 2010, 09:36 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
well remember its going to pull whatever default style you set if the user has not selected a style.
|
| |
March 25th, 2010, 09:46 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
It kinda takes the style since the custom header i had put on top of PP i had to put the css in the default style that i was using, so that part tells me it should be well, but then again maybe it is diffrent with smf 2 styles.
|
| |
March 25th, 2010, 10:08 AM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
could be I am just saying if the style the user is selecting in smf or the default theme in smf we load that style.
|
| |
March 25th, 2010, 10:31 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
i know, users cannot select styles and we use the default style.
|
| |
March 25th, 2010, 10:53 AM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
photopost loads the actual stylesheet like so Code: Content visible to verified customers only.
Not much I can say without seeing the actual site.
|
| |
March 25th, 2010, 10:57 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
Site is currently experiencing alot of timeouts. forum Gallery
but as i said the site is crap right now so not sure it will load fine and fast
|
| |
March 25th, 2010, 12:54 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
| http://www.pixelnutz.com/forums/Them.../index.css?rc3
Thats your forum theme
This is the theme loaded in the gallery http://www.pixelnutz.com/forums/Them...ault/style.css
Thats the theme the gallery is using.
it is really hard to start talking custom themes on a beta product but what I can tell you is this.
Whether a user has a default theme selected we use that. If they do not have a default theme selected we use what is set as the default theme in the smf admin panel.
Now our code is very specific here. In SMF they set a theme url which is a full url to the stylesheet whether its the user style or the default style.
lets talk the default style right in your smf2.php file is this. There is some similar code to do queries if a user has a stylesheet preference but this gives you an idea of what we do. Code: Content visible to verified customers only.
So basically what we do is return the theme_url variable from the database of the user selected stylesheet or the default style if the user does not have a style selected.
So really based on the coding which is very specific I would have to ask WHY is your site returning that specific theme_url variable thats coming right from your database as the url of the stylesheet that is your default style. Your telling me the default is some other theme here.
I know when I worked with the SMF betas that the style was exactly done as I am showing. Now if your set your forum back to the default smf style not the custom I would think things would match so really whats going on in how that custom style is handled thats not standard to how smf by default works?
|
| |
March 25th, 2010, 01:01 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
You might be able to alter your smf2.php file just for your own use by changing the line I noted in post 8 from Code: Content visible to verified customers only.
to Code: Content visible to verified customers only.
However like I said you might want to investigate things a little to see how that custom style is working.
Until SMF2 goes gold I dont think I will be changing things alot here but will wrap up any core changes they do then.
|
| |
March 25th, 2010, 01:28 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
Thanks, so far that looks a bit closer then the forum theme
|
| |
March 25th, 2010, 01:44 PM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
yep glad to help as I pointed out you may want to note out if your custom style is doing something apart from the default coding of smf you will always have that issue adding styles.
|
| |
March 25th, 2010, 01:51 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
well not custom but the default, but i assume it get fixed properly when it goes gold, hope that will be very soon but that is probably wishfull thinking  . Thanks so far as it matches it better now
|
| |
March 25th, 2010, 02:41 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
well I would wonder why its different than the default theme included. If SMF 2 doesnt keep a uniform style declaration anymore than that would mean no real way to support style integration. Just an FYI but at any rate when they go gold let me know
|
| |
March 25th, 2010, 03:09 PM
|
#16 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
I also wonder, since i had put the css for the header in /style.css and it picked that up. Might look into another theme this week and see how that will work
|
| |
March 25th, 2010, 03:43 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
yeah the structure I saw last time I looked at this the product does this
/Themes/default/style.css
/Themes/newstyle/style.css
/Themes/another/style.css
If they start to break away from a standard theme layout then its hard to integrate.
|
| |
March 26th, 2010, 04:26 AM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
I think what happened was that i did the upgrade to 2.x and part of the old theme was there, so the style.css was from the old theme, but indeed when i looked in the download the theme css is in /css.
Probably just the curve theme, but i will let you know when it goes cold
|
| |
March 26th, 2010, 05:45 AM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,945
|
Nope I can definately tell you the normal smf theme is Themes/default/style.css because downloading a clean SMF that style is there. I know because I downloaded a SMF beta when I wrote the integration so that style was there I never did an upgrade.
|
| |
March 26th, 2010, 06:15 AM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Mar 2010
Posts: 67
|
Normally yes, probably this has changed since the beta in the default one. I just checked by downloading the full install version and looked in the theme folder. Anyway, it is ok since now my gallery is using the right css and the theme probably will change when we are ready with the front portal so we put everything together. I noticed the same on here Problems with smf2 integration |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 05:00 PM. | |