The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
User Info Block
I have been looking for 2 days now and I am now completely at a loss...
Im sure I had this before with the user info including messages and the user avatar, but I cannot find it anywhere. www.eurodonks.com/community currently I have just username and last post (copied from another thread) but would like to include the above things. Im not a genius at programming... but i am capable of doing various php stuff Any help would be greatly appreciated Matt |
#2
|
||||
|
||||
I have no idea what you are talking about. Can you show us an image of what you are looking for?
Are you talking about this widget: Hello Unregistered Your last post was: That is from some example code I posted in an article - https://www.vbulletin.com/forum/show...-or-PHP-Widget |
#3
|
|||
|
|||
Hi Lynne,
Ya thats the block... I stole the code from one of the posts I found that you made before. Within this block I want the avatar of the user, and basically most of whats in teh postbit legacy. and also something on the lines of You have No new messages, or you have 1 unred message ? Im pretty sure I have used something like this before on vb3 Sorry if im being vaigue Matt |
#4
|
||||
|
||||
I didn't write all that stuff in my example, but I'm sure you could write a query to get all the information and then post in into the block. But, that was never part of my example.
|
#5
|
|||
|
|||
Just had the custom made skin put on my site!
And ya, im pretty sure there is.. just i really have no idea! Thanks for your replies! Matt |
#6
|
|||
|
|||
im trying to work it out, or even write the code myself but geting no luck.
I tried to use my initiative here, but as I thought it doesent work $my_output = "Hello ". vB::$vbulletin->userinfo['username']; $my_output = vB::$vbulletin->userinfo['useravatar']; all i wnna do is show the user avatar under the username Thanks for any help Matt |
#7
|
||||
|
||||
I don't believe there is a default variable called "useravatar". You would need to write the code to define it first before using it.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|