The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Random Profile Picture
I am wanting to setup a random profile picture to show on the page when the page is loaded. How can I access the photos of the users that have a photo set?
Or has some one else set this up and has similar code that i could start with? I am working with a 3.6 vB Board. |
#2
|
|||
|
|||
no one?
|
#3
|
||||
|
||||
Assuming you are using vbadvanced and you want it to use in a module..
Make a PHP module for vbadvanced using the following code else delete the footer for eval template, save as a phpfile index.php and place this in the directory with pictures and call it from the template mentioned below then iframe to the index.php file PHP Code:
Make sure that you use the correct path and at the bottom of this script we call a template 'adv_portal_randomchickblock' but you can use whatever name you like ofcourse.. I had this running on several sites for years good luck |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|