Advertisement:

Author Topic: NightBreeze  (Read 22093 times)

Offline chayakorn

  • Newbie
  • *
  • Posts: 2
Re: NightBreeze
« Reply #140 on: September 30, 2018, 02:18:22 AM »
I love this theme.
I want more edit to have background full page and fixed width about 1000px.
Please advise with thanks

Offline Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,208
  • Master of BBC Abuse
Re: NightBreeze
« Reply #141 on: September 30, 2018, 08:13:39 AM »
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.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,315
  • Gender: Male
    • Kindred-999 on GitHub
Re: NightBreeze
« Reply #142 on: September 30, 2018, 08:28:39 AM »
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
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,208
  • Master of BBC Abuse
Re: NightBreeze
« Reply #143 on: September 30, 2018, 08:44:43 AM »
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.

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 57,315
  • Gender: Male
    • Kindred-999 on GitHub
Re: NightBreeze
« Reply #144 on: September 30, 2018, 12:06:57 PM »
No...   I actually didn’t realize there were more posts... :P

I was posting to Boloh and chayakorn above your post..
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Boloh!

  • Semi-Newbie
  • *
  • Posts: 23
  • Gender: Male
  • Seize the day!
    • dani.masedo on Facebook
    • Boloh!
Re: NightBreeze
« Reply #145 on: September 30, 2018, 04:52:57 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!

Offline Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,208
  • Master of BBC Abuse
Re: NightBreeze
« Reply #146 on: September 30, 2018, 04:55:41 PM »
No problem.

Offline registering

  • Newbie
  • *
  • Posts: 2
Re: NightBreeze
« Reply #147 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.

Offline SychO

  • Lone Wolf
  • Customizer
  • Sr. Member
  • *
  • Posts: 702
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: NightBreeze
« Reply #148 on: October 02, 2018, 01:40:08 PM »
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

Offline Boloh!

  • Semi-Newbie
  • *
  • Posts: 23
  • Gender: Male
  • Seize the day!
    • dani.masedo on Facebook
    • Boloh!
Re: NightBreeze
« Reply #149 on: October 02, 2018, 04:59:08 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


Offline Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,208
  • Master of BBC Abuse
Re: NightBreeze
« Reply #150 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.

Offline Boloh!

  • Semi-Newbie
  • *
  • Posts: 23
  • Gender: Male
  • Seize the day!
    • dani.masedo on Facebook
    • Boloh!
Re: NightBreeze
« Reply #151 on: October 02, 2018, 11:44: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

Offline Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,208
  • Master of BBC Abuse
Re: NightBreeze
« Reply #152 on: October 03, 2018, 12:14:26 AM »
Ok, it's the global.

Code: [Select]
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:

Code: [Select]
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:

Code: [Select]
// 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:

Code: [Select]
function template_main()
{
global $context, $settings, $options, $txt, $scripturl, $modSettings, $memberContext;

Offline Boloh!

  • Semi-Newbie
  • *
  • Posts: 23
  • Gender: Male
  • Seize the day!
    • dani.masedo on Facebook
    • Boloh!
Re: NightBreeze
« Reply #153 on: October 03, 2018, 12:42:41 AM »
Well, I already learned another small (big) thing!

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


Offline Antechinus

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 24,208
  • Master of BBC Abuse
Re: NightBreeze
« Reply #154 on: October 03, 2018, 12:56:40 AM »
I'll bloody run away when you get something really gnarly. :D

Offline registering

  • Newbie
  • *
  • Posts: 2
Re: NightBreeze
« Reply #155 on: October 05, 2018, 09:24:35 PM »
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]

Offline SychO

  • Lone Wolf
  • Customizer
  • Sr. Member
  • *
  • Posts: 702
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: NightBreeze
« Reply #156 on: October 06, 2018, 03:50:35 AM »
enable "Show a quick login on every page" in Admin > Configuration > Features and Options > Layout

Offline Blade73

  • Semi-Newbie
  • *
  • Posts: 42
  • Gender: Male
Re: NightBreeze
« Reply #157 on: October 11, 2018, 12:01:59 PM »
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'] != '')

Offline SychO

  • Lone Wolf
  • Customizer
  • Sr. Member
  • *
  • Posts: 702
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: NightBreeze
« Reply #158 on: October 11, 2018, 12:23:44 PM »
/public_html/forum/Themes/GamerZ/Display.template.php

No. This is not coming from NightBreeze, it's from a different theme

Offline Blade73

  • Semi-Newbie
  • *
  • Posts: 42
  • Gender: Male
Re: NightBreeze
« Reply #159 on: October 11, 2018, 12:41:45 PM »
sry cant read  lol