The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Include number of notifications in title
<font face="Franklin Gothic Medium">Dears members of this community,
I need guidance on how to set the number of notifications in the title of my forum, similar to what Facebook do when you have notifications, indication in the title of the web the number of notifications without seeing. I tried setting the variable {vb: raw notifications_total} in the title, but does not work. Please help me Thanks in advance Greetings.</font> |
#2
|
|||
|
|||
If all you did was reposition the variable within the "header" template, then it should have worked.
Not sure what else we can tell you, you haven't given us anything to work with. |
#3
|
|||
|
|||
My title tag: <title>( {vb: raw notifications_total} ) Game Rol.net</title>, This on header template.
Tell me you need to work. Regards and thanks. |
#4
|
|||
|
|||
Quote:
Code:
<title>( {vb:raw notifications_total} ) Game Rol.net</title> |
#5
|
|||
|
|||
Sorry for the late reply.
The code not work: Thanks for all help. |
#6
|
|||
|
|||
A variable has to be registered (made available) to a particular template. I thought you were just moving the variable on the "header" template, but your picture shows a different template.
In the future please take the time to provide us with enough details so we can determine what you are doing, extra information cannot hurt especially if you are not English speaking. Make appropriate attachments. In this case attaching your template code would have helped. What is the template name you trying to post this variable on? |
#7
|
|||
|
|||
Sorry, but i'm newbie in this forum, for this, I say you: Tell me you need to work.
The template name is: FORUMHOME EDIT: I've tested also in the template "headinclude" but not work Regards and thanks. |
#8
|
|||
|
|||
Create a plugin at hook: "forumhome_complete"
PHP Code:
Here is a great guide by @Cellarius on the subject. https://vborg.vbsupport.ru/showthread.php?t=228078 |
#9
|
|||
|
|||
Solved. I appreciate very much your help, thanks.
Regards. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|