The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Query Question
Ok I've been working on a mod for profile banners. I'm using the gd2 library for image resizing. My question is this. Is there away to add a file input box on the page usercp?do=editprofile , and add code to the process page so it creates a new directory if a checkbox is checked. Also how would I add the users id number to it so it only names the folders after the users i. Next for the template for memberinfo, I cant seem to get a read from
if(isset($_GET['u'])) { $userid = $_GET['u']; } I use the varible $userid to read the dir and open it as well. heres the rotator script PHP Code:
I link to the file using an if condition to check if the checkbox is checked then it links to the page auto. its <img src="images/profilebanner/random.php?$session[sessionurl_q]u=$userinfo[userid]" alt="$musername" /> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|