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)
-   -   new topic glow code for vb4? (https://vborg.vbsupport.ru/showthread.php?t=325435)

IggyP 07-24-2017 05:58 PM

new topic glow code for vb4?
 
hello,

im wondering can anyone help me understand the way for this?

after glowing forum icons for new content...rather than the simple icon change it does...

it seems much easier in vb5 because there is this type of>>
.topic-item.read .vb-icon-topic-status

but im not sure in vb4 where exactly does it know about old and new content?
what template would i need to edit and where? i am not adverse to template edit, this is vb4.2.5 so it isnt upgrading...

really enjoy the effect on my vb5, hoping it is possible...thanks

MarkFL 07-24-2017 06:28 PM

If you want to affect the CSS of unread threads, edit the class selector in "threadlist.css" which reads:

HTML Code:

.threadbit .threadtitle_unread {
        font-weight: bold;
}

or, if you'd prefer not to edit that template, you can add that same class selector and include the desired CSS in "additional.css".

IggyP 07-24-2017 06:30 PM

hmm im more after the main forum icons, but perhaps it is similar code eh?

final kaoss 07-24-2017 06:52 PM

Well if you're only going to be changing the forum icons (images), then perhaps it would be better to take the image & apply a glow effect to it in photoshop and reupload it to your server.

IggyP 07-24-2017 07:15 PM

Quote:

Originally Posted by final kaoss (Post 2588848)
Well if you're only going to be changing the forum icons (images), then perhaps it would be better to take the image & apply a glow effect to it in photoshop and reupload it to your server.

i am after like, top class modern CSS glowING effect tho...looks so much better if it is any way possible....thanks tho

i got the rough code just not sure where to put it into the html or however it needs hmm...maybe something like

.forumbit_post .foruminfo .forumicon_unread

???

--------------- Added [DATE]1500939166[/DATE] at [TIME]1500939166[/TIME] ---------------

for more info, after some testing this is the dilema i see...

and also this is based of a thread on glenn v's site although that is discussing vb5 so here is what i got after the feedback and some poking around....

so we notice that if we add the effect to what i believe i found as the "proper" which is>>

.forumbit_post .foruminfo .forumicon

that will make all of them glow regardless of new/old post status...

so then as it is suggested in the other article, we must then restrict the non-new contents with another code....so overall (and without the glow code of course which i include after)

.forumbit_post .foruminfo .forumicon {
background-color: limegreen;
border-radius: 100%;
-webkit-animation: glowing 1500ms infinite;
-moz-animation: glowing 1500ms infinite;
-o-animation: glowing 1500ms infinite;
animation: glowing 1500ms infinite;
}
/* then override and reset read posts to original style */
.forumbit_nopost .foruminfo .forumicon {
background-color: transparent;
border-radius: 0;
-webkit-animation: none;
-moz-animation: none;
-o-animation: none;
animation: none;
}

not working on default style test tho....seems like i must be close.....any ideas?

the biggest problem seems it wants to consider them both _post and _nopost at the same time...
thanks

--------------- Added [DATE]1500941985[/DATE] at [TIME]1500941985[/TIME] ---------------

ok well......i got it...i see it only needs this code heh

.forumbit_post.new .foruminfo .forumicon {
background-color: limegreen;
border-radius: 100%;
-webkit-animation: glowing 1500ms infinite;
-moz-animation: glowing 1500ms infinite;
-o-animation: glowing 1500ms infinite;
animation: glowing 1500ms infinite;
}

simple eh


All times are GMT. The time now is 03:54 PM.

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.00991 seconds
  • Memory Usage 1,726KB
  • 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_html_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