![]() |
Did you read that your new version fixed the problems that I was having? ;)
And what do I do about the first replacement in the modifyprofilepic, sir? Since I am using RC3, it is different than your code. |
What is GD Graphics library? I did everything exactly as asked in the set up and I get the same exact error as calvin
|
Boofo, just place the code where it seems appropriate (use your HTML wisdom ;) ). This was developed for vB3 Gold, so I can't help for older versions where the templates are different, since I don't know what the templates look like. If you want to post the template, I'll have a look.
Quote:
http://www.php.net/gd It's an image library for advance image manipulation in PHP. For this hack, you need it to resize images. If you have PHP4.3.0 or above, you have GD2 installed. To check if it's installed and what version, use: PHP Code:
You must also have the option enabled via your AdminCP -> Options page. |
Velocd,
I tried to run the rebuild to make the images a bit bigger tonight, and it is locking up. I have 300 pics loaded, but set it as low as 10 trying to make it go through. It gets to image 7 and then just flashes. New pics load in fine, but I can't get the old ones to change (and really don't want to manually load them a second time!) Any thoughts on what to look at? My GD version is 2.0.15 if that matters. Thanks! |
Mike, I just noticed that the avatars aren't showing up for the signatures when I list them. I am using avatars as files in a dir on the server. Can this be what is causing it not to show the avartars and show the red x instead?
The code in the modifyprofilepic template is as follows: HTML Code:
<script type="text/javascript"> |
Quote:
Quote:
In album.php, find: PHP Code:
PHP Code:
HTML Code:
<td><img src="image.php?u=$bbuserinfo[userid]&type=profile&dateline=$profilepic[dateline]" alt="$vbphrase[your_profile_picture]" border="0" /></td> HTML Code:
<td><img src="image.php?u=$bbuserinfo[userid]&type=profile&dateline=$profilepic[dateline]" alt="$vbphrase[your_profile_picture]" border="0" /><if condition="!$profilepic[visible]"><br /><u><b><i>This image is awaiting approval status!</i></b></u></if><if condition="$profilepic[comment]"><br /><i>$profilepic[comment]</i><br /></if></td> |
Ok, the avatars work now in the signatures listing and the message shows up in the modifyprofilepic area like it should when they ate awaiting approval. I'm all set to go. Thank you, sir. ;)
I know you said you don't like adding things and I dont blame you, but (and there is always a but, isn't there?) would there be away to stop the picture from also showing up in the profile until it is verified? That part bypasses this and that would really be a great idea if you ever had users that were to upload a porn pic or something. ;) |
Actually Boofo, that is already applied. ^^
Only the user can view his/her own profile picture in their profile page (member.php) if it is unapproved, but no one else can. However, even if unapproved, it wont show in the gallery (album.php). |
Quote:
I think the sig editor is a great addition to this. It makes checking for a user's sig a lot faster than going through posts or profiles one by one. Excellent hack, sir! Thank you! ;) |
Quote:
Any thoughts? |
All times are GMT. The time now is 03:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|