News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

NightBreeze

Started by SychO, July 25, 2018, 11:31:03 AM

Previous topic - Next topic

chayakorn

I love this theme.
I want more edit to have background full page and fixed width about 1000px.
Please advise with thanks

Antechinus

Quote from: Boloh! on September 28, 2018, 07:18:02 PM
Hi ! this is an excelent theme!!

I hope to explain well.
What I want to do is the following...

Ok, this is the basics. I haven't played with resizing for all different screens yet. This is just basic desktop display. It will need some tweaking to deal with content issues on the board index table. You'll need to decide how you want to arrange the post and topics counts, and the last post details. There are several ways you can do these, none of which are particularly difficult.

Kindred

I think that you are going to have to edit more than CSS.
You're probably going to have to add containers around the sections that you want to move around - and then modify the standard theme css containers and add the new container CSS.

as far as I can tell, it's not just a 1-2 line change
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Antechinus

You talking to me, sunshine? The bloke who wrote half the markup and CSS you're using to post here. I know exactly what it requires. ;)
I just set it up on local for a few minutes of idle amusement. It works with the files I attached, if they are used to replace the same files in the theme's folder.

I know it's not my theme, but since it's something that goes beyond what most theme authors would really want to bother with for free, and since Boloh! said he wanted to learn more about coding, I thought I'd get him off to a good start. It's currently a workable proof of concept, but as I mentioned it still needs more tweaking.

Kindred

No...   I actually didn't realize there were more posts... :P

I was posting to Boloh and chayakorn above your post..
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Boloh!

Quote from: Antechinus on September 30, 2018, 08:13:39 AM
Quote from: Boloh! on September 28, 2018, 07:18:02 PM
Hi ! this is an excelent theme!!

I hope to explain well.
What I want to do is the following...

Ok, this is the basics. I haven't played with resizing for all different screens yet. This is just basic desktop display. It will need some tweaking to deal with content issues on the board index table. You'll need to decide how you want to arrange the post and topics counts, and the last post details. There are several ways you can do these, none of which are particularly difficult.

That worked perfect to me! thank you so much!!!

Now I need more help but I will publish it in the corresponding sections

Again, thank you so much!

Antechinus


registering

Nice theme.
Thanks for your work.

I detect 1 issue:
1) If the user is not logged in, there is no button to login on the forum.

Thanks again.

SychO

Quote from: registering on October 02, 2018, 11:57:57 AM
Nice theme.
Thanks for your work.

I detect 1 issue:
1) If the user is not logged in, there is no button to login on the forum.

Thanks again.

There is, take a look at the demo

What's your forum link ?
Can you attach the file index.template.php located in Themes/Nightbreeze20
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Boloh!

Quote from: Antechinus on September 30, 2018, 08:13:39 AM
Quote from: Boloh! on September 28, 2018, 07:18:02 PM
Hi ! this is an excelent theme!!

I hope to explain well.
What I want to do is the following...

Ok, this is the basics. I haven't played with resizing for all different screens yet. This is just basic desktop display. It will need some tweaking to deal with content issues on the board index table. You'll need to decide how you want to arrange the post and topics counts, and the last post details. There are several ways you can do these, none of which are particularly difficult.
Until today everything has worked correctly.
But I've noticed that since I installed those files that you've attached, it no longer shows profile photos in recent messages.
How could I fix it?  :P


Antechinus

I have no idea. :P That must be a custom theme setting somewhere. You'll have to ask Sych0 about that.

Boloh!

Quote from: Antechinus on October 02, 2018, 07:42:44 PM
I have no idea. :P That must be a custom theme setting somewhere. You'll have to ask Sych0 about that.

Definitely the problem is in BoardIndex. I placed the original files and it shows everything right until the replacement by the one that has given me. I do not blame you for anything, obviously, you have given me a great help and I really appreciate it! I would like to know how to fix it by myself in order to learn. I put both files on par to find differences and be able to solve it but I did not find anything haha

Antechinus

Ok, it's the global.

function template_info_center()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings, $memberContext;


Compare that with the corresponding code for the rest of the board index:

function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings;


Note how $memberContext is not called for the main template, but is called for the info centre. That ties in with this, and the bits just after it:

// Get The Avatar the easy Way
loadMemberData($last_poster);
loadMemberContext($last_poster);


So, if you add $memberContext to the globals for the main template, it should work. :)
Make sure you get the syntax right. It should look exactly like this:

function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings, $memberContext;

Boloh!

Well, I already learned another small (big) thing!

It works correctly! thank you very much for always being there to help me  :P


Antechinus

I'll bloody run away when you get something really gnarly. :D

registering

Quote from: SychO on October 02, 2018, 01:40:08 PM
Quote from: registering on October 02, 2018, 11:57:57 AM
Nice theme.
Thanks for your work.

I detect 1 issue:
1) If the user is not logged in, there is no button to login on the forum.

Thanks again.

There is, take a look at the demo

What's your forum link ?
Can you attach the file index.template.php located in Themes/Nightbreeze20

There is no login button.

hxxp:c1390931.ferozo.com/ [nonactive]

SychO

enable "Show a quick login on every page" in Admin > Configuration > Features and Options > Layout
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Blade73

Hey getting some errors in the theme
this error is comming on all members

Quote/forum/index.php?/topic,19196.0/topicseen.html:
Undefined index:
/public_html/forum/Themes/GamerZ/Display.template.php
Line: 525

       524:         // Show the post group if and only if they have no other group or the option is on, and they are in a post group.
==>525:            if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')

SychO

/public_html/forum/Themes/GamerZ/Display.template.php

No. This is not coming from NightBreeze, it's from a different theme
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Blade73


Advertisement: