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)
-   -   I Want To Add A Little Dot Next to Notifications When You Receive A New (https://vborg.vbsupport.ru/showthread.php?t=303741)

whitechapel 10-23-2013 02:08 PM

I Want To Add A Little Dot Next to Notifications When You Receive A New
 
I want to add it so a little dot (which I'd make in Photoshop) shows up next to Notifications to the left of the it when a new PM arrives. How can I do this? Something that will grab the user's attention.

I am on vBulletin 4.2.2.

ForceHSS 10-23-2013 02:13 PM

<a href="https://vborg.vbsupport.ru/showthread.php?t=298444" target="_blank">This</a> plugin adds a few nice ways to get members attention to pm's pro version is even better

whitechapel 10-23-2013 02:21 PM

I don't need all that, I just want to add a dot.

ForceHSS 10-23-2013 02:25 PM

Then ask in the right forum

whitechapel 10-23-2013 02:34 PM

Design and graphics is the wrong forum for adding a dot, which involves HTML and/or CSS and a graphic?

ForceHSS 10-23-2013 03:07 PM

You are asking someone to give you the right coding to put this is better for unpaid work

whitechapel 10-23-2013 03:19 PM

I don't need someone to do it for me, I just need to know what section to modify in the template.

ThatGreenAlien 10-23-2013 06:42 PM

Hi there, look in your header template for...
Code:

<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>
Add your html right before {vb:rawphrase your_notifications}:

So something like...

Code:

<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}"><b>*</b>{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>
Let me know if that works.

whitechapel 10-23-2013 07:17 PM

Quote:

Originally Posted by ThatGreenAlien (Post 2455608)
Hi there, look in your header template for...
Code:

<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>
Add your html right before {vb:rawphrase your_notifications}:

So something like...

Code:

<a class="popupctrl" href="usercp.php{vb:raw session.sessionurl_q}"><b>*</b>{vb:rawphrase your_notifications}: <span class="notifications-number"><strong>{vb:raw notifications_total}</strong></span></a>
Let me know if that works.

This is on a per template basis, correct? I have the default template plus three additional templates plus the mobile template.

Thanks for the quick response, I am going to try it as soon as I get home tonight.

ThatGreenAlien 10-23-2013 07:20 PM

Quote:

Originally Posted by whitechapel (Post 2455620)
This is on a per template basis, correct? I have the default template plus three additional templates plus the mobile template.

Thanks for the quick response, I am going to try it as soon as I get home tonight.

You mean per theme/style? If so, yeah.


All times are GMT. The time now is 08:08 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.02473 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete