News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

UI.S

Started by gecitli, September 18, 2021, 05:08:37 PM

Previous topic - Next topic

TwitchisMental

I am not the maker of this theme, but I may be able to assist.

Do you have a link to your forum ?

1. The icon issue is related to font-awesome. It seems that it is not being loaded correctly. Have you verified that the theme path is correct?

2. It looks like there is only an option to add an icon beside the text. Most themes have an option to add a logo image in theme settings, this one does not. You will need to edit the index.template.php file directly to add your own logo.

A quick fix to this -

Open index.template.php and find -

    <h1 class="navbar-brand">
    <a class="header-brand__link" href="', $scripturl, '">', !empty($settings['header_fa']) ? '<span class="header-brand__logo"><i class="fab '.$settings['header_fa'].'"></i></span>' : '', '<span class="header-brand__text t-hack">', $context['forum_name'].'</span></a>
    </h1>

replace with

    <h1 class="navbar-brand">
    <a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? '<img src="'. $settings['images_url']. '/custom/logo.png" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />', '</a>
    </h1>

Now you will need to use file manager and go to the themes image directory. UIS > images > add a new folder and call it custom > drop your logo as logo.png here.


You should get something like -

You cannot view this attachment.

Survivor1989

Quote from: TwitchisMental on January 05, 2023, 07:27:25 PMI am not the maker of this theme, but I may be able to assist.

Do you have a link to your forum ?
 Have you verified that the theme path is correct?



hi mr
thank you for answer
how can i verified that the theme path ?
i just install the tehme
Rise UP SMF ♥

TwitchisMental

#22
Quote from: Survivor1989 on January 06, 2023, 05:12:31 AM
Quote from: TwitchisMental on January 05, 2023, 07:27:25 PMI am not the maker of this theme, but I may be able to assist.

Do you have a link to your forum ?
 Have you verified that the theme path is correct?



hi mr
thank you for answer
how can i verified that the theme path ?
i just install the tehme
You can verify it by using your favorite file manager or ftp client.. Going to the themes directory and making sure the UIS folder is there with all the files.

Looking at your site though, it seems as though the font awesome css (which creates the icons) is not being loaded at all.

If you can, upload your index.template.php file here from the UIS theme folder and I can look further into it for you.

Survivor1989

Quote from: TwitchisMental on January 06, 2023, 10:53:05 AM
Quote from: Survivor1989 on January 06, 2023, 05:12:31 AM
Quote from: TwitchisMental on January 05, 2023, 07:27:25 PMI am not the maker of this theme, but I may be able to assist.

Do you have a link to your forum ?
 Have you verified that the theme path is correct?



hi mr
thank you for answer
how can i verified that the theme path ?
i just install the tehme
You can verify it by using your favorite file manager or ftp client.. Going to the themes directory and making sure the UIS folder is there with all the files.

Looking at your site though, it seems as though the font awesome css (which creates the icons) is not being loaded at all.

If you can, upload your index.template.php file here from the UIS theme folder and I can look further into it for you.
thank you for helping me
i upload index.template.php You cannot view this attachment.
Rise UP SMF ♥

TwitchisMental

Alright I have provided the edited version of index.template.php and the settings.template.php.

This adds the option to link to whatever image you need for the logo in the current theme settings.(Like most themes do) or you can just add a custom folder in the images directory then drop a logo.png in said folder to replace the logo.

As far as the font-awesome icons go.. Do you see a webfonts folder within the UIS theme directory? Do you know which file permissions you have it set to?

There seems to be an issue with it loading the webfonts files . This could be due to a file permission issue or simply not existing.

Survivor1989

Quote from: TwitchisMental on January 06, 2023, 11:48:47 AMAlright I have provided the edited version of index.template.php and the settings.template.php.

This adds the option to link to whatever image you need for the logo in the current theme settings.(Like most themes do) or you can just add a custom folder in the images directory then drop a logo.png in said folder to replace the logo.

As far as the font-awesome icons go.. Do you see a webfonts folder within the UIS theme directory? Do you know which file permissions you have it set to?

There seems to be an issue with it loading the webfonts files . This could be due to a file permission issue or simply not existing.

bro thank you so much ♥
but my real problme is forum icons. i dont know why cant sse icons (no load)
i send my forum addres for you in PM
plz check thank you
Rise UP SMF ♥

TwitchisMental

Quote from: Survivor1989 on January 06, 2023, 04:12:15 PM
Quote from: TwitchisMental on January 06, 2023, 11:48:47 AMAlright I have provided the edited version of index.template.php and the settings.template.php.

This adds the option to link to whatever image you need for the logo in the current theme settings.(Like most themes do) or you can just add a custom folder in the images directory then drop a logo.png in said folder to replace the logo.

As far as the font-awesome icons go.. Do you see a webfonts folder within the UIS theme directory? Do you know which file permissions you have it set to?

There seems to be an issue with it loading the webfonts files . This could be due to a file permission issue or simply not existing.

bro thank you so much ♥
but my real problme is forum icons. i dont know why cant sse icons (no load)
i send my forum addres for you in PM
plz check thank you
As stated above it seems to be a loading problem. This is typically due to file permissions or the files simply missing.

Firefox is showing some load issues for the font files.


Survivor1989

Quote from: TwitchisMental on January 06, 2023, 07:26:16 PM
Quote from: Survivor1989 on January 06, 2023, 04:12:15 PM
Quote from: TwitchisMental on January 06, 2023, 11:48:47 AMAlright I have provided the edited version of index.template.php and the settings.template.php.

This adds the option to link to whatever image you need for the logo in the current theme settings.(Like most themes do) or you can just add a custom folder in the images directory then drop a logo.png in said folder to replace the logo.

As far as the font-awesome icons go.. Do you see a webfonts folder within the UIS theme directory? Do you know which file permissions you have it set to?

There seems to be an issue with it loading the webfonts files . This could be due to a file permission issue or simply not existing.

bro thank you so much ♥
but my real problme is forum icons. i dont know why cant sse icons (no load)
i send my forum addres for you in PM
plz check thank you
As stated above it seems to be a loading problem. This is typically due to file permissions or the files simply missing.

Firefox is showing some load issues for the font files.



sorry but i dont know how can i fix this
can plz tell me how fix my problme.evry theme i install in my forum i have icon problme (no load) i like this theme UIS but its just my problme
Rise UP SMF ♥

TwitchisMental

Quote from: Survivor1989 on January 07, 2023, 03:26:09 AM
Quote from: TwitchisMental on January 06, 2023, 07:26:16 PM
Quote from: Survivor1989 on January 06, 2023, 04:12:15 PM
Quote from: TwitchisMental on January 06, 2023, 11:48:47 AMAlright I have provided the edited version of index.template.php and the settings.template.php.

This adds the option to link to whatever image you need for the logo in the current theme settings.(Like most themes do) or you can just add a custom folder in the images directory then drop a logo.png in said folder to replace the logo.

As far as the font-awesome icons go.. Do you see a webfonts folder within the UIS theme directory? Do you know which file permissions you have it set to?

There seems to be an issue with it loading the webfonts files . This could be due to a file permission issue or simply not existing.

bro thank you so much ♥
but my real problme is forum icons. i dont know why cant sse icons (no load)
i send my forum addres for you in PM
plz check thank you
As stated above it seems to be a loading problem. This is typically due to file permissions or the files simply missing.

Firefox is showing some load issues for the font files.



sorry but i dont know how can i fix this
can plz tell me how fix my problme.evry theme i install in my forum i have icon problme (no load) i like this theme UIS but its just my problme
You will need to check the file permissions using a file manager in cpanel or an ftp program like filezilla.

The themes folders should be 777. Just the folders, the files themselves should be 666.

If you do not know how to do this, you will need to do some research and learn how.

Survivor1989

Quote from: TwitchisMental on January 07, 2023, 11:31:47 AM
Quote from: Survivor1989 on January 07, 2023, 03:26:09 AM
Quote from: TwitchisMental on January 06, 2023, 07:26:16 PM
Quote from: Survivor1989 on January 06, 2023, 04:12:15 PM
Quote from: TwitchisMental on January 06, 2023, 11:48:47 AMAlright I have provided the edited version of index.template.php and the settings.template.php.

This adds the option to link to whatever image you need for the logo in the current theme settings.(Like most themes do) or you can just add a custom folder in the images directory then drop a logo.png in said folder to replace the logo.

As far as the font-awesome icons go.. Do you see a webfonts folder within the UIS theme directory? Do you know which file permissions you have it set to?

There seems to be an issue with it loading the webfonts files . This could be due to a file permission issue or simply not existing.

bro thank you so much ♥
but my real problme is forum icons. i dont know why cant sse icons (no load)
i send my forum addres for you in PM
plz check thank you
As stated above it seems to be a loading problem. This is typically due to file permissions or the files simply missing.

Firefox is showing some load issues for the font files.



sorry but i dont know how can i fix this
can plz tell me how fix my problme.evry theme i install in my forum i have icon problme (no load) i like this theme UIS but its just my problme
You will need to check the file permissions using a file manager in cpanel or an ftp program like filezilla.

The themes folders should be 777. Just the folders, the files themselves should be 666.

If you do not know how to do this, you will need to do some research and learn how.


i check my cpanel and my theme folders is 7 7 7 and file in folders is 6 6 6
Rise UP SMF ♥

TwitchisMental

The problem is that you are getting an error 403 when the page tries to load the font files.
Failed to load resource: the server responded with a status of 403 ()
It is possible it is being blocked by a security setting on your web hosts end.

If there is a web security option in your control panel, click on that and see if there is a file type allowed section.

If there is add the following file types - .woff , .woff2, and .eot

Survivor1989

Quote from: TwitchisMental on January 07, 2023, 12:35:39 PMThe problem is that you are getting an error 403 when the page tries to load the font files.
Failed to load resource: the server responded with a status of 403 ()
It is possible it is being blocked by a security setting on your web hosts end.

If there is a web security option in your control panel, click on that and see if there is a file type allowed section.

If there is add the following file types - .woff , .woff2, and .eot
sir thank you so much i am so happy you helping me
now its ok and i can see my icons. i just need reset my permisions host. so thank you bro
and for my logo. yo give me a file i just need replace this file yes ?
Rise UP SMF ♥

TwitchisMental

Quote from: Survivor1989 on January 07, 2023, 02:35:21 PM
Quote from: TwitchisMental on January 07, 2023, 12:35:39 PMThe problem is that you are getting an error 403 when the page tries to load the font files.
Failed to load resource: the server responded with a status of 403 ()
It is possible it is being blocked by a security setting on your web hosts end.

If there is a web security option in your control panel, click on that and see if there is a file type allowed section.

If there is add the following file types - .woff , .woff2, and .eot
sir thank you so much i am so happy you helping me
now its ok and i can see my icons. i just need reset my permisions host. so thank you bro
and for my logo. yo give me a file i just need replace this file yes ?
Yes just replace the two files I uploaded and you should be set :).

I am always happy to help.

Survivor1989

Quote from: TwitchisMental on January 07, 2023, 02:38:55 PM
Quote from: Survivor1989 on January 07, 2023, 02:35:21 PM
Quote from: TwitchisMental on January 07, 2023, 12:35:39 PMThe problem is that you are getting an error 403 when the page tries to load the font files.
Failed to load resource: the server responded with a status of 403 ()
It is possible it is being blocked by a security setting on your web hosts end.

If there is a web security option in your control panel, click on that and see if there is a file type allowed section.

If there is add the following file types - .woff , .woff2, and .eot
sir thank you so much i am so happy you helping me
now its ok and i can see my icons. i just need reset my permisions host. so thank you bro
and for my logo. yo give me a file i just need replace this file yes ?
Yes just replace the two files I uploaded and you should be set :).

I am always happy to help.

i do it and but i cant see any logo in my site
i use a logo link in my theme settings
and
i upload a png pic (name logo) in my host in theme folder image but still i cant see any logo
Rise UP SMF ♥

TwitchisMental

Quote from: Survivor1989 on January 07, 2023, 02:54:01 PM
Quote from: TwitchisMental on January 07, 2023, 02:38:55 PM
Quote from: Survivor1989 on January 07, 2023, 02:35:21 PM
Quote from: TwitchisMental on January 07, 2023, 12:35:39 PMThe problem is that you are getting an error 403 when the page tries to load the font files.
Failed to load resource: the server responded with a status of 403 ()
It is possible it is being blocked by a security setting on your web hosts end.

If there is a web security option in your control panel, click on that and see if there is a file type allowed section.

If there is add the following file types - .woff , .woff2, and .eot
sir thank you so much i am so happy you helping me
now its ok and i can see my icons. i just need reset my permisions host. so thank you bro
and for my logo. yo give me a file i just need replace this file yes ?
Yes just replace the two files I uploaded and you should be set :).

I am always happy to help.

i do it and but i cant see any logo in my site
i use a logo link in my theme settings
and
i upload a png pic (name logo) in my host in theme folder image but still i cant see any logo
Looks like the index.template.php has not been replaced yet. If it has you may need to clear the cache.

Admin CP > Maintenance > Server Settings > Caching

Hit run task under empty smf cache.

Also be sure to create a folder within UIS > images and name it custom. Upload the logo with the file name of logo.png in that folder.

Survivor1989

Quote from: TwitchisMental on January 07, 2023, 03:02:22 PM
Quote from: Survivor1989 on January 07, 2023, 02:54:01 PM
Quote from: TwitchisMental on January 07, 2023, 02:38:55 PM
Quote from: Survivor1989 on January 07, 2023, 02:35:21 PM
Quote from: TwitchisMental on January 07, 2023, 12:35:39 PMThe problem is that you are getting an error 403 when the page tries to load the font files.
Failed to load resource: the server responded with a status of 403 ()
It is possible it is being blocked by a security setting on your web hosts end.

If there is a web security option in your control panel, click on that and see if there is a file type allowed section.

If there is add the following file types - .woff , .woff2, and .eot
sir thank you so much i am so happy you helping me
now its ok and i can see my icons. i just need reset my permisions host. so thank you bro
and for my logo. yo give me a file i just need replace this file yes ?
Yes just replace the two files I uploaded and you should be set :).

I am always happy to help.

i do it and but i cant see any logo in my site
i use a logo link in my theme settings
and
i upload a png pic (name logo) in my host in theme folder image but still i cant see any logo
Looks like the index.template.php has not been replaced yet. If it has you may need to clear the cache.

Admin CP > Maintenance > Server Settings > Caching

Hit run task under empty smf cache.

Also be sure to create a folder within UIS > images and name it custom. Upload the logo with the file name of logo.png in that folder.

hi agein
yes i do it but not work for me
i create a new folder in UIS image (name custuom) and upload 1 pic (name logo and format png) and replace 2 file you give me and clear cache
but still not working.where is my problme
Rise UP SMF ♥

TwitchisMental

It looks like you have not replaced the index.template.php with the one I have provided.

If you would like you can just make the edit yourself.

Open index.template.php in your favorite editor.

Find
    <h1 class="navbar-brand">
    <a class="header-brand__link" href="', $scripturl, '">', !empty($settings['header_fa']) ? '<span class="header-brand__logo"><i class="fab '.$settings['header_fa'].'"></i></span>' : '', '<span class="header-brand__text t-hack">', $context['forum_name'].'</span></a>
      </h1>


Replace With
    <h1 class="navbar-brand">
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? '<img src="'. $settings['images_url']. '/custom/logo.png" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />', '</a>
</h1>

Survivor1989

Quote from: TwitchisMental on January 09, 2023, 03:23:11 PMIt looks like you have not replaced the index.template.php with the one I have provided.

If you would like you can just make the edit yourself.

Open index.template.php in your favorite editor.

Find
    <h1 class="navbar-brand">
    <a class="header-brand__link" href="', $scripturl, '">', !empty($settings['header_fa']) ? '<span class="header-brand__logo"><i class="fab '.$settings['header_fa'].'"></i></span>' : '', '<span class="header-brand__text t-hack">', $context['forum_name'].'</span></a>
      </h1>


Replace With
    <h1 class="navbar-brand">
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? '<img src="'. $settings['images_url']. '/custom/logo.png" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />', '</a>
</h1>

thank you sir its now work for me. ♥♥♥

i just 1 more problme if you can help me plz help

i need change a color in my index.css

.from-purple-700 {
 --tw-gradient-from:#ff566a;
 --tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(126,34,206,0))
}
.to-purple-600 {
 --tw-gradient-to:#ff566a
}

10 time i change ff566a colors to my favorite colers and after save agein clolors back to default coler.what is problme ?
Rise UP SMF ♥

TwitchisMental

Quote from: Survivor1989 on January 10, 2023, 11:50:27 AM
Quote from: TwitchisMental on January 09, 2023, 03:23:11 PMIt looks like you have not replaced the index.template.php with the one I have provided.

If you would like you can just make the edit yourself.

Open index.template.php in your favorite editor.

Find
    <h1 class="navbar-brand">
    <a class="header-brand__link" href="', $scripturl, '">', !empty($settings['header_fa']) ? '<span class="header-brand__logo"><i class="fab '.$settings['header_fa'].'"></i></span>' : '', '<span class="header-brand__text t-hack">', $context['forum_name'].'</span></a>
      </h1>


Replace With
    <h1 class="navbar-brand">
<a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? '<img src="'. $settings['images_url']. '/custom/logo.png" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />' : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" title="' . $context['forum_name'] . '" />', '</a>
</h1>

thank you sir its now work for me. ♥♥♥

i just 1 more problme if you can help me plz help

i need change a color in my index.css

.from-purple-700 {
 --tw-gradient-from:#ff566a;
 --tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,rgba(126,34,206,0))
}
.to-purple-600 {
 --tw-gradient-to:#ff566a
}

10 time i change ff566a colors to my favorite colers and after save agein clolors back to default coler.what is problme ?
As long as you are overwriting that file, it should change.

It could be that you are just having a cache issue. In which case clear the SMF cache(see instructions above) and clear your browser cache. That should resolve the issue you are having.

Steve

Would minimize files affect this?
DO NOT pm me for support!

Advertisement: