Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 07-24-2017, 05:58 PM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 07-24-2017, 06:28 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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".
Reply With Quote
  #3  
Old 07-24-2017, 06:30 PM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm im more after the main forum icons, but perhaps it is similar code eh?
Reply With Quote
  #4  
Old 07-24-2017, 06:52 PM
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Posts: 1,314
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 07-24-2017, 07:15 PM
IggyP IggyP is offline
 
Join Date: May 2012
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by final kaoss View Post
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
Reply With Quote
Благодарность от:
TheLastSuperman
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:53 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.03534 seconds
  • Memory Usage 2,203KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (1)post_thanks_box_bit
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete