vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Help with CSS for external RSS feed in forum block (https://vborg.vbsupport.ru/showthread.php?t=324271)

chloe101 01-23-2017 04:41 PM

Help with CSS for external RSS feed in forum block
 
Hi,

I'm using http://www.surfing-waves.com/feed.htm to bring in some external RSS feeds into forum sideblocks. I've already set up a CSS sheet using the stylevar for it to use and that's working great except that it needs to know where that CSS is and I have no idea where to place it so that when my users change skin, that CSS inherits that particular skin's style var.

I placed the css for that feed in clientscript/vbulletin_css/style00013l which is a problem because when someone changes to a different style, the forum block still calls the css in style00013l and the colors are off. My set up has about 20 different styles.

Is there anyway to set things up so that when the skin changes, that CSS calls up the stylevar for that skin? Thanks in advance for any help.

PS. I know about the workaround of setting up a poster to post the RSS threads and then drawing those into a block using latest threads. It's a fall back but I'd rather not use it.

webmastersun 01-31-2017 06:27 AM

Why don't use custom codes instead of using rss feed?
You are making this become complex.

chloe101 02-15-2017 02:55 AM

Quote:

Originally Posted by webmastersun (Post 2581571)
Why don't use custom codes instead of using rss feed?
You are making this become complex.

What custom code? I need to pull in about 4 different RSS feeds. I'm not sure what kind of custom code you're referring to...


All times are GMT. The time now is 09:19 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.02842 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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