The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
what are the userinfo variables for notifications
stuff like $vbulletin->userinfo['pmunread'] but one for each of the "notifications"
How do i find out what the userinfo vars are for all of these unread profile visitor messages profile visitor messages waiting approval incoming friend requests requests to join your social groups invitations ot join social groups unread picture comments picture comments waiting approval group messages waiting approval basically i want the userinfo variables so i can set another variable based on eather or not those userinfo vars have something or not like if($vbulletin->userinfo['pmunread']!= 0) |
#2
|
||||
|
||||
I'm not positive, but I don't think that if is because of an option to turn it off, I think it is just "if there are notifications then show the notifications". If you don't want that code, just comment it out or delete it.
|
#3
|
||||
|
||||
actually what i was planning on doing was adding seperate notifcation icons for the different notifications, but i dont know what all of the userinfo variables are, so instead im trying to find those.
im basically wanting to modify this https://vborg.vbsupport.ru/showthread.php?t=96221 |
#4
|
||||
|
||||
You should look in global.php starting around line 660 where the $notifications array is defined.
|
#5
|
||||
|
||||
that might be what i need thanks.... ill poke around a bit more tomorrow when i have some time.
right now im noticing the differences in the memberinfo template between 3.6 and 3.7 ..... no way to show an avatar there i guess. |
#6
|
||||
|
||||
There is an avatar shown on the new member page. It's on the right side in the Mini Stats box.
|
#7
|
||||
|
||||
yes i didnt see that until after because i was messing with getting a default avatar working.
It wasnt showing up there, but i got it showing in the mini stats. Where does the profile pic go? Im unable to upload one due to my host having exec() disabled, but basically I wanted my 3.7 member info page to look like the one i had done up on my old 3.6 board. the code for the page has changed quite a bit though, and has enough additions that it would be hard to copy my 3.6 template, and modify it for 3.7 |
#9
|
||||
|
||||
hmm......now i really wish i could make it look like my 3.6 member info page
how hard would it be to take that section with the username/avatar/titles/activity from my 3.6 board, and make the 3.7 board look like it? it isnt modified heavily, just things like profile pic/avatar were moved... i added a couple of extra stats. here is what my old member info looks like. the profile pic actually shows up below the reputation and above the activity stats. |
#10
|
||||
|
||||
If you want it to look like 3.6, then use the 3.6 templates.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|