281
Mamba
Re: Some questions about xoops
  • 2023/2/13 20:46

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
Module builders I tried to download weren't working properly.

What was the problem? Maybe we can help....
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs



282
zivXP
Re: Icon fonts are not displayed
  • 2023/2/13 9:09

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


You can only add a file to a folder "fonts". Will also work.
I hope they understand me through a translator?



283
zivXP
Re: Icon fonts are not displayed
  • 2023/2/13 7:48

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


The directive may not work. By default, Nginx handles static files.
Translated to Apache content types fonts.
You have become great.



284
sweetlou
Re: Some questions about xoops
  • 2023/2/12 23:20

  • sweetlou

  • Just popping in

  • Posts: 10

  • Since: 2023/2/10


I don't even know if this is the correct code. I want to show the online status under the new user's nickname in the list.
<{if $users[i].onlinestatus == 1}>
<
span class="online-status">ONLINE</span>
<{/if}>



285
sweetlou
Re: Some questions about xoops
  • 2023/2/12 22:26

  • sweetlou

  • Just popping in

  • Posts: 10

  • Since: 2023/2/10


Sorry, I wasn't able to log in since I got banned here (I forgot my password).
2. It's already solved.
4. That wasn't the cache problem. I've edited files in "modules" instead of "/theme/default/modules."
5. Almost fixed.
7 - I've managed to set an online text under each user.
The "Who's Online" module is a bit of a pain in the ass. I want to show one random online user. But every modification I make does nothing.

That still leaves me with 1, 3, and 6. Module builders I tried to download weren't working properly.



286
zivXP
Re: Icon fonts are not displayed
  • 2023/2/12 15:42

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Yes, it has become clear now. Thanks for the help



287
heyula
Re: Some questions about xoops
  • 2023/2/12 15:26

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Resized Image


Maybe it will meet your needs when the theme is finished soon.

Demo:
https://erenyumak.com/ato/



288
heyula
Re: Icon fonts are not displayed
  • 2023/2/12 15:18

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Quote:

zivXP wrote:
Thanks for the answer, but it doesn't help
Also tried Header set Access-Control-Allow-Origin "*" - that didn't help either


You may not realize it, but the code completely solved your problem.

Example :https://corder.ru/

Resized Image


Example :https://www.corder.ru/

Resized Image


If you clear the caches in your browser, the result will be the same for you.

I have this problem most of the time and I always use this solution.

Demo:
https://erenyumak.com/modules/xmcontent/viewcontent.php?content_id=13



289
zivXP
Re: Icon fonts are not displayed
  • 2023/2/12 13:41

  • zivXP

  • Not too shy to talk

  • Posts: 113

  • Since: 2006/2/9 1


Thanks for the answer, but it doesn't help
Also tried Header set Access-Control-Allow-Origin "*" - that didn't help either



290
heyula
Re: Icon fonts are not displayed
  • 2023/2/12 12:39

  • heyula

  • Theme Designer

  • Posts: 590

  • Since: 2008/4/24


Add the following code to your .htaccess file in the Main Directory;
<FilesMatch ".(ttf|otf|eot|woff|woff2)$">
  <
IfModule mod_headers.c>
    
Header set Access-Control-Allow-Origin "*"
  
</IfModule>
</
FilesMatch>




TopTop
« 1 ... 26 27 28 (29) 30 31 32 ... 29422 »



Login

Who's Online

107 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 107


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits