vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - vBulletin 3.8.x particles (https://vborg.vbsupport.ru/showthread.php?t=328060)

OzgurcaN 05-25-2020 09:00 PM

vBulletin 3.8.x particles
 
1 Attachment(s)
Demo : https://www.sevgiforum.net/?styleid=2/

Kaynak Konu Link: https://www.sevgiforum.net/vbulletin...eme-36879.html

?ncelikle ekteki zipli dosyayı indiriniz ve JS isimli klas?r? ftp ana dizinine g?nderin.

Temanızın header templatesine en ?ste ekleyin

Code:

<div id="particles-js"></div>
Headinclude template en ?ste ekle

Code:

<script src="/js/particles.min.js?_v=8542e0c9"></script>
<script>particlesJS.load('particles-js', 'js/particlesjs-config.json');</script>

Kullandığınız temanın extra css kısmına ekleyin

PHP Code:

#particles-js {
    
background#031732;
    
widthauto;
background-imageurl( /js/particles-bg.jpg );
background-sizecover;
background-positioncenter;
background-repeatno-repeat;
}
@
media (min-width:650px) {
    [
data-template="forum_list"#particles-js {
        
height450px
    
}
    
#particles-js {
        
height410px
    
}


https://vbulletin.org/forum/attachme...5&d=1590490384

https://vbulletin.org/forum/attachme...6&d=1590490384

https://vbulletin.org/forum/attachme...7&d=1590490384

lange 05-26-2020 02:06 PM

Thank you. The code works well and it is responsive (on smartphone) with my theme. The problem: it does not run above the image / logo in the header. It is outside the images in the header.

I will try to resolve this issue by searching for a solution on the web. A starting point: https://github.com/VincentGarreau/pa....js/issues/216

OzgurcaN 05-26-2020 05:49 PM

Thank you for the answer dear lange

<a href="https://www.yourdomain.net"><img src="/.....jpg" alt="your domain title" class="responsive"></a>

.responsive {
width: 100%;
height: auto;
}

Dr.CustUmz 05-27-2020 06:01 AM

Thanks for the share, we need more coders sharing. Although this is not an add-on (a product the user can install) it is a template modification. but nice share.

OzgurcaN 05-27-2020 11:46 AM

Quote:

Originally Posted by Dr.CustUmz (Post 2603092)
Thanks for the share, we need more coders sharing. Although this is not an add-on (a product the user can install) it is a template modification. but nice share.

Thank you dear CustUmz


All times are GMT. The time now is 07:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02828 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete