Curve Reborn

Started by shadav, October 28, 2021, 06:22:13 PM

Previous topic - Next topic

shadav

Link to the theme

This theme is based on the Curve theme but with some tweaks, recolors, and preinstalled mods :)

This theme comes with 7 different colors
  • Default
    You cannot view this attachment.
  • Purple
    You cannot view this attachment.
  • Red
    You cannot view this attachment.
  • Green
    You cannot view this attachment.
  • Blue
    You cannot view this attachment.
  • Orange
    You cannot view this attachment.
  • Black
    You cannot view this attachment.

Preinstalled Mods
Moved the Topics/Posts/Replies/Views to under the Board/Post Name

Added footer floating share buttons, you can read this post on how to edit it if you wish

Made the theme responsive (to the best of my ability anyways) used a combo of Responsive Curve and Hilbert, as well as some hints and tips throughout the forum and online

Added Favicons, you can edit them however you see fit
icons are in the theme's images folder and in the favicon folder
the code is in the themes index.template.php
<link rel="apple-touch-icon" sizes="180x180" href="', $settings['images_url'], '/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="', $settings['images_url'], '/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="', $settings['images_url'], '/favicon/favicon-16x16.png">
<link rel="manifest" href="', $settings['images_url'], '/favicon/site.webmanifest">

Added Advanced sidebar menus, for those that like to use sidebars

Added Admin ban button in post

Added Modified No Topics Message and edited it a bit

Added Edited Time Next To Posted Time

Added Post Separator

Added Tabbed Info Center

Added Tabbed Profile

I felt these should be built-in so well I made this theme ;) per the license of each mod it was allowed and I have linked to the creators to give credit where credit is due

Live Demo: https://hostingspot.net/testing/smf20/

thanks to Antechinus I can now show live demos for each variant of the theme
Default variant

Purple variant

Red variant

Green variant

Blue variant

Orange variant

Black variant

And thanks to everyone who commented with advice in the preview thread for this theme

also a big thank you to Diego for helping to iron out mistakes and validations

realized after I took screenshots, Diego mentioned I forgot to add the site slogan back in
You cannot view this attachment.


====


update Nov 25, 2021

- Fixed the Settings.english.php corrected the thumbnail.jpg to thumbnail.gif
- Fixed editor when creating a post or reply to a post so that the text isn't pushed behind the edges of editor
- Lowered the catbars and divbars from 40px to 30px


====


update Nov 28, 2021

- Fixed editor when creating a reply to a post via quickreply so that the text isn't pushed behind the edges of editor


====


update Nov 29, 2021

- Fixed Undefined index: report_board_id


====


update Dec 23, 2021
- Fixed thumbnail.gif to use the themes default version thumbnail
- Updated theme to smf 2.0.19

Shambles

I truly believe that the 'calendar' display, on the black variant of your theme, is one of the finest examples of perfection that I've ever come across.

Very well done, and nice work.

shadav

#2
:-[  thanks

also a big thank you to Diego for helping to iron out mistakes and validations

realized after I took screenshots, Diego mentioned I forgot to add the site slogan back in

You cannot view this attachment.

Dave J

I really like the theme and it's variation of colours but I find that the cat_bars are too thick and bulky for me, I would prefer them to be the same as default curve.

I have looked in index.css but can't find the solution to make them thinner.

Can you help please?

You cannot view this attachment.
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

shadav

in the css of the color of the theme you are using find
div.cat_bar
change the height to whatever you want

then in index.css find
h3.catbg, h3.catbg2, h3.titlebg, h4.titlebg, h4.catbg
make sure to change the height and line-height to match the div.cat_bar's height

also in index.css find
table.table_list a.collapse
make sure to adjust the height and line-height as well so the collapse images display

the css is split so that index.css holds most everything and then anything to do with colors and such are found in the theme color css

Dave J

Thanks very much shadav, I'll check that out
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Dave J

That worked a treat thank you shadav
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Dave J

Hi shadav

A couple of issues I've found, they're not deal breakers but thought you ought to see them.

Firstly I'm using
SMF 2.0.18
PHP7.3.33.

The first issue is with some of the rounded and non rounded edges. I have taken screenshots of all colours and they are attached. If you look at them you can see that in some colours the corners are rounded but others they are not, the rounded edges actually look odd under those conditions default, orange, green and red are all OK.

Next is the menu buttons.

In some colours the menu buttons seem to have a line underneath them, again see the screenshots. Purple is OK but as you can see black and blue all have the line. I have noticed that if I logout the line seems to go, why I don't know

Feel free to have a look yourself using the link in my sig. The default theme is blue and you can see the round corner issue by going to the arcade then scroll down an click on 'highscores' in one of the games.
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

shadav

#8
hm that is odd, as you can see in my screenshots and on my demos it doesn't do that
I'm guessing that when you resized the catbars it messed it up a bit :)

I'll have to play with it and see
===
I clicked on the link in your sig just to see if I could see your code and see what might be causing it, but I'm not seeing this issue on your site either

Dave J

Thanks for the reply

I was wondering if it was because I set the border radius to the info bar, but I deleted the code in the css and the issue is still there.

I will check later and compare each colour css with the originals to see if it was me.
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Dave J

I have now started from scratch on my test site https://www.davejohnson.co.uk/testing/index.php with a new SMF2.0.18 install with only the Arcade mod and the issue is still there. I have set the theme to blue by default. I have made no changes to any of the css files they are as installed.

I can solve the issue of the windowbg2 curves in the blue theme by setting

.windowbg2 {
color: #656462;
background-color: #cfe3ec;
border-radius: 0 0 0 0;}

It looks better now but still doesn't explain why it's not the same in the other colours.

I hope that helps in some way.


One last thing. In 'Settings.english.php' you have the target for the thumbnail image as .jpg as you know it should be .gif
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

shadav

lol oops, thanks, I'll fix the .jpg to .gif, force of habit

hm looking at your new images, seems to be the arcade mod conflicting with the theme, I'm guessing somewhere in the arcade mod's css it's using the .windowbg2 as well and overwriting the theme's settings

also noticed that I needed to edit the theme's editor a bit, when typing a new thread or reply, the beginning of the text is hidden by the editor box

shadav

ok updated

- Fixed the Settings.english.php corrected the thumbnail.jpg to thumbnail.gif
- Fixed editor when creating a post or reply to a post so that the text isn't pushed behind the edges of editor
- Lowered the catbars and divbars from 40px to 30px

Dave J

Thanks very much shadav.

I will check out the arcade .windowbg2 settings
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Dave J

Sorry me again.

I have spent the last 3 days trying to resolve this issue by myself but with no luck.

If you look at the quizland image you'll see that the topics are showing short on the page. If you look at the test site image you'll see that they are OK.

What I have done to resolve this is to set up the test site with exactly the same mods as the quiz site and as you can see the problem is not duplicated.

The mods are identical to the main site as I downloaded them from the quiz site packages folder. I then compressed the theme files on the test site and uploaded them to the quiz site and expanded them and the problem still remains, I should add that I copied the original files on the quiz site then deleted them, so I wasn't overwriting files.

The only way I can get the issue resolved is to disable SMF Portal. I have tried to disable blocks on the portal but that makes no difference either and the portal is installed and working correctly on the test site. I have also disabled the shoutbox too but that makes no difference either.

I am using the newest download from the SMF theme section for both sites.

Under normal circumstances I would just walk away from this but I really like the theme and want it to work.

If it would help to get a better view I'll send you a username and password with admin rights after I've posted this.

It just doesn't make any sense at all to me why it works on one but not the other
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

shadav

#15
sent you a reply in pm
I don't understand myself why it's doing that but yeah it's the portal for some reason is acting like there's something there on the right hand side even though there's not and it's only doing it on the messageindex.template.php and not elsewhere that I have seen
very strange

I sent you some code to change in the portal's css, not sure if it'll mess up anything else in the portal, I don't think it should, we're just adding a width 100% is all
and also adding that to the table code in my css to try and bypass whatever the portal is doing to that page
===
edit I just noticed it's also messed up the footer on that page as well
so I'm guessing something somewhere is missing a closing tag in the portals code or something in the MessageIndex.template.php didn't get closed properly
can you send me your MessageIndex.template.php file?

Dave J

Thanks for looking.

OK file attached. What I don't understand is why it's doing it on the quiz site and not on the test site and they both have the same mods installed.
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

shadav

yeah it's not in there, I see you added a mod that altered the file, and as far as I can tell looking at it it's fine, I found the mod looked it over...threw your file into my test site, everything works fine so it's not that...

ok and now i'm really confused why it's messing up just that file/page
everywhere else is fine but for some reason on the messageindex it's taken the footer out of the wrapper div
so I'm assuming that somewhere there's an extra </div> but why it would only affect the messageindex and not the rest of the site is beyond me at the moment and I can only guess there again it's something to do with the portal you are using but again why only is it messing up the messageindex and not the rest of the site  :-\  :o

shadav

hahaha noticed an error on my part [again] while trying to figure out the issues on your site :p
I don't use quick reply so didn't notice when I fixed the editor for the reply box I didn't fix the quick reply
I fixed it on your site while I was there  :laugh:
I'll upload a fixed file to here in a bit....
still trying to poke around your site trying to see if I can find what's messing up the messageindex

Dave J

I've made the changes you suggested now the topics are spanning the whole page as they should, but the footer is still oversized.

I disabled the bottom scrolling block from the site and it did nothing.

I have tried to add 'width: 100%;' to the .footer in the index_blue css and index.css but that makes no  difference.

As a last resort I copied the default theme from the test site and put it into the quiz site and that didn't do anything either.

I'll play some more when I get the chance.

Thanks for looking at it Shadav it's much appreciated. Feel free to mess around on the site whenever you want, I will leave the admin password as it is for the moment
If you want quizzes to add to the new SMF2.1 quiz mod go here . There are also walkthroughs in the forum to explain how to install them and other tips.

Advertisement: