![]() |
Quote:
Dont really know I am just your average vb muppet :classic: |
Nope, it's all CHMOD'd, the images are getting uploaded, just giving me that error and not showing in the gallery.
|
Quote:
|
Quote:
Right! Is there a addon to delete some pictures? Now it is a pain in the *ss to delete a photo |
Old, but good question. Is there a possibillity to delete a photo??
Floh |
OK - I'm having some trouble with this hack now - but it's rather hard to describe so bear with me....
My host provider didn't have the latest GD library installed, so the hack wouldn't work as originally released and I had to defer installing it for many months. Then someone on this thread came up with an alternative version of one of the files (I think it was gdresize.php) which though was unsupported, was supposed to get around the GD2 library problem. I installed the hack with this modification and it all worked great! (many thanks to both VeloCD and the guy who came up with the mod to make it work on "pre-GD2" - sorry can't remember who you were but it worked fine) Now, many months later, my host has finally upgraded their PHP and GD libraries - and the "mod'd" version now doesn't seem to work too good - the generated thumbnails seem to get their colourmap all confoozed. I'm assuming this is the upgraded GD libraries that are responsible for this. However - my problem; I can no longer find what the "mod" was! I've tried downloading the original hack again - but can't see any difference between that and the version of gdresize.php I am using. Can anyone think what it is I may have done? I've got around the problem temporarily my altering the templates so that the thumbnail page uses the fullsize picture - but scaled down to thumbnail size by the browser. This works fine although it means that the thumbnail page is actually downloading all the fullsize photos while only displaying them at thumbnail resolution. I'm sure I'm just missing something obvious here - both the original hack and the mod seem great and all kudos to both authors. |
From time to time, the UNAPPROVED section of the Admin panel gets full coz users won't upload any new photos...
Since this hack didnt provide any delete photos, I decided to: 1) approve all conforming photos 2) run this php file every once in a while, when unapproved photos list is too long Hope this helps any1 like me.... Set up instructions: **THIS HACK WILL DELETE ALL UNAPPROVED PHOTOS FROM MEMBERPHOTO TABLE** 1) download attachment 2) put deletephotos.php on forums/admin folder 3) edit admin/index.php Find makenavoption("Verify","pverify.php?action=verify" ); Replace with makenavoption("Verify","pverify.php?action=verify" ,"|"); makenavoption("Delete Unapproved","deletephotos.php?action="); Save, upload. 4) Enter admin panel. 5) approve all photos complying with your rules... 6) click on Delete Unapproved and follow instructions. |
Great add-on...
One problem - I am getting the following error when I run the delete command: Code:
Database error in vBulletin Control Panel 2.2.9: TIA, |
I'm afraid I uploaded a wrong version of the php... I've reuploaded the correct one. Just remove the quotes from the SQL query in the php file, ie.:
where it reads delete FROM 'memberphoto' WHERE visible='-1' put delete FROM memberphoto WHERE visible=-1 |
Quote:
That fixed it 100%. It's soo nice not to see that long list of memberphotos anymore! Thank you greatly for this add-on Areku Cheers, |
U're welc. Glad u liked it! ;)
|
Quote:
Hi guys, I dont have that link into my admin CP Panel?! I dont understand. I changed admin/index.html I uploaded pverify in the admin folder. Everything else should be working. Help please! |
Quote:
|
Does it has anything to do with the :
// draw cp nav bar $cpnav = array(); $cpmenu = array(); $cpnav[1]="{firstaltcolor}"; $cpmenu[1]="class=\"fjsel\" selected"; $cpnav[2]="{secondaltcolor}"; $cpnav[3]="{secondaltcolor}"; $cpnav[4]="{secondaltcolor}"; $cpnav[5]="{secondaltcolor}"; $cpnav[6]="{secondaltcolor}"; $cpnav[7]="{secondaltcolor}"; $cpnav[8]="{secondaltcolor}"; ? |
Anyone please?
Does someone know what part of the modification is involved with the cpanel left menu link? please :rolleyes: |
Nevermind, thanks!
|
Wowzer.
GreaT Hack, and I'm a NoOb at this, and it only took me like 30 minutes! Great Job! pz out, Shady |
Greetings,
Firstly wanna congratulate for this good and usefull hack. Secondly, i got a quest. Is there a way to use this hack with the GD 1.6.x/1.8.x version? Coz i been running this version right now, and can't update to the new version coz of some reason. Thanks in advanced, Peace on ya! |
Velocd, *love* the hack, great work!
I'm trying to modify it slightly, however, to display on the main home page instead. I've tried to take the code inserted in memberlist.php and apply it to index.php (minus the (if $action) portions) in hopes if displaying a row of pictures at the top of the forum. Obviously, this didn't work. I was wondering if someone could help point me in the right direction as to how to accomplish this. Thanks! |
good work
/me installs |
Is there a way to use this hack with the GD 1.6.x/1.8.x version? Coz i been running this version right now, and can't update to the new version coz of some reason.
No response yet on this quest, any help? |
Apologies if I'm wrong, but shouldn't there be something in the admin cp around this area IF you have the approval system enabled.?
Quote:
Code:
if($approvalsystem==1){ |
I just moved to a new server. I check my permissions and have GD 2.0.15 installed but when I try to upload a pic this screen shows up for a second and the pic doesn''t load in the Member Photos section.
I've attached a screenshot. Does anyone know what is wrong? Thanks, BGray |
All times are GMT. The time now is 07:06 PM. |
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:
|