![]() |
I will definately be interested in this if you can make that happen. maybe I'll add some code to put a little paragraph under each picture that is also randomized. ;)
Can you show me some randomizing code for my quotes? |
Hello Boofo,
thanks for bringing this up. I just rewrote the code and brought it down to 1 single query. :nervous: Please implement all changes like this: Find: PHP Code:
PHP Code:
Replace in my code above: PHP Code:
PHP Code:
Cheers, |
Ah, much better. Thank you, sir. ;)
|
You're welcome. Where ever i can help.
Cheers, |
Hi all,
I installed this very nice hack today. Many thanks to Velocd for this great work and the simple ans clear installation instructions. I get a problem in admincp => vB3 Member Album => Approve Images there are no thumbnails shown, only red crosses and no images ! I run all queries, do the installation correct and GD Support is enabled for 1.6.x My server only has PHP 4.2.3 and GD 1.6.2 My second problem is that only 4 images are shown in Admincp for aproval and on the album.php page but there must be more Pics because many users have a userpic in their profile. any idea ? |
Okay, sorry, it was a little bit late last night ;)
I changed profile picture and user picture in my mind... all profile pictures are shown on the album.php page ! but the size is still max. 100 pixel on the album.php while in the profile the size is max.200 pixel (this is my setting in the usergroup for profile pictures). In attachment settings the sizes are 800x600 for all picure endings. I rebuild thumbnails in admincp => vB3 Member Album => Options but size on album.php page is only max. 100 pixel ! also images which where uploaded before the installation of this hack where showed in admincp as a red cross. any ideas ? |
Hi Tom,
regarding your first probem with the size: I had the same problem and i forgot to set the profile picture size for each group and not the avatar picture size. You should be fine with the attachment size of 800x600 ( a little bit large i think but ok ). Regarding your second problem it is very obvious. This hack puts all pictures in form of a blob into the database. All previous pictures have not been implemented into the database. About how many pictures are we talking about which you are seeing as a cross ? One or two or about 200 ? Cheers, |
Hi Pseudomizer,
thanks for your quick reply. Quote:
Quote:
|
Quote:
Quote:
Cheers, |
Okay, I deleted all 4 profile pictures and then uploaded ohter pics in 200 Pixel with again on the server.
Now the thumbnails in admincp shown the old picture but not a red cross ;) But at album.php still small pictures with 100 Pixel are shown... |
Okay, I think I'm too stupid to understand the hack...
Now the right pictures are shown in admincp but only with 100 Pixel instead of 200. Also in album.php the pictures are still 100 pixel... |
Quote:
just a question. This hack is for version 3.0.0 from VBulletin. Your board is running 2.3.5 ( yes, i just registered there ;-) ). Are you in the process of upgrading ? If not, there is a version for 2.3.x VBs out. How long does it take until a member gets full status on your site ? Cheers, |
I have more than one board ;)
It depends on the admins how long the activation needs, I will have a look in 2 Minutes... The board for the Hack is a vB3.0.1 ! |
Quote:
Cheers, |
I am attaching a file with 3 minor add-ons for anyone interested.
Included: 1. Ties the album viewing permissions to the memberlist viewing permissions 2. Adds the ability to add/update the photo with a comment in the Admin CP 3. Adds the ability to add/update the photo with a comment in the Mod CP Thanks again, Velocd -- my members LOVE the album!! |
Quote:
Attached is a template mod for Navbar that will put the Memberlist and Velocd's album into a dropdown menu like QuickLinks is, with a fallback for those who can't view the JS. :) |
Quote:
|
Quote:
|
Quote:
|
Installing on 3.0.1 and receive this error in albumcp.php?do=approve
Code:
Invalid SQL: Code:
SELECT " . TABLE_PREFIX . "customprofilepic.*, " . TABLE_PREFIX . "user.username Now you say ACP -> vB3 Member Photo -> Settings (which is actually 'Options') is the key, so I set entries per page from 18 to 12. Making progress. Now I get this error on album.php: Code:
Invalid SQL: Code:
$images = $DB_site->query(" |
Oh, and everything for your sorting selectors in album.php neglects prefixes too:
Code:
$users = $DB_site->query(" |
Okay, hate to be a pest but this one I'm not tracking down. For some reason whenever I update my profile picture info from UCP, I get an error (a VB error - not SQL) saying:
Quote:
|
verry nice Hack, i installed on vB3.0 Gold and i have an error by album.php
PHP Code:
|
Quote:
there is no column 'comment' in the user table. Where is this query located and when do you get this error ? Seems something to be wrong with your source code. Did you check again if you implemented all the changes correctly ? Cheers, |
..the query is locatet only in my profile.php
search: PHP Code:
PHP Code:
I thing i need a command for my User Table... INSERT INTO `User....only I do not know like what can i do :nervous: |
Hello subu1,
no, you don't need a column in the user table. The column should be located in your customprofilepic table. Please try in the phpmyadmin or in mysql command line the following query and tell me what you get: PHP Code:
|
Quote:
Fehler SQL-Befehl : SELECT userid, dateline, COMMENT , visible FROM customprofilepic WHERE userid = '1' LIMIT 0, 30 MySQL meldet: Unknown column 'COMMENT' in 'field list' |
What do you get for:
PHP Code:
Cheers, |
now I see this :rolleyes:
|
Ok. The solution is easy:
You missed that line during the installation: PHP Code:
Cheers, |
Sorry about my recent absence from this thread, been busy. ;)
If you still have questions, feel free to ask. If you could provide me with a URL to your gallery, I'll add it to the first post of this thread under "Examples," as a display of some of the gallerys out there. I've added Mudxx's already. Just PM me the link. :) |
Mike, is there a way to have it so regular members will not be able to list the signatures when viewing the album?
|
Regular members? As in the specific usergroup "registered" ?
Assuming your registered group ID is #2, in the template "album_display", find: HTML Code:
<select name="type"> HTML Code:
<select name="type"> PHP Code:
PHP Code:
|
I think I found a bug but wanted to check here and make sure.
In the UCP it gives you either the option of importing your pic from a remote url or uploading it. Whenever someone imports from a url the board imports the pic and stores it in the database. What's happening is, if a person uploads a pic everything works fine and their thumbnail is created in the member album. However, if they use a url to import it, somehow GD skips that step and a broken image shows up in the member gallery. Anyone else have this happen? For now I just commented out the url linking feature in the modifyprofilepic template (and adjusted the corresponding phrase). Be nice not to have to though. |
I'll look into this. I'm quite sure I tested this out when creating the hack, but I could have overlooked it, assuming it should have worked in either case.
|
Yeah, one of my staff members was having trouble with it so I just tried it myself. If you upload the pic then the thumbnail renders; import it from url and it doesn't (the pics are still in the user profile though).
I'm still having an issue trying to add a comment to an already uploaded picture, too. If I add the comment at the time of the pic upload, it works. Attempting it subsequently produces a board error. This is a really cool script, man. Just hoping we can get these couple of bugs worked out before building on it a little more. This hack took an inordinate amount of time to install due to tracking down the lack of table prefixes in your files, so with all this effort invested I'm not gonna give up yet, hehe. ;) |
Quote:
|
Quote:
Sah im ACP auch nur diese 4 Kreuze und das hochladen funktionierte nicht, ergo bin ich hin und habe die 4 Profilpics in der Datenbank gel?scht. Bekomme aber trotzdem nichts hochgeladen und komme mit den gr??eneinstellungen im ACP nicht klar. Gibs nicht nochmal ne Anleitung f?r Dummies worauf ich zu achten habe, habe auch icq ;) greetz subu1 Finde diesen Hack klasse und die Member w?rden sich wirklich freuen :rolleyes: W?rdest Du mir nochmal helfen;) |
No problem. One quick help in german and one in english:
English: VBulletin Options -> Avatar Options -> Enable profile pic to YES Member attachment options -> Thumbnailsize -> 500 Maintenance -> Update Counters -> Message Thumbnails > Rebuild vB3 Member Album -> Approve Images -> Rebuild profile picture thumbnails ( only available if you have an unapproved pic pending ) Usergroup -> for each specific group set the profile pic dimensions like heigth 500 and width 500 German: VBulletin Optionen -> Benutzerbild Optionen -> Profil Bild aktivieren auf JA Beitrag Anhang Optionen -> Thumbnail Größe -> 500 Importieren und Pflege -> Zähler aktualisieren -> Anhang Thumbnails erstellen vB3 Member Album -> Approve Images -> Rebuild profile picture thumbnails ( geht nur, wenn ein Bild noch auf Freischaltung wartet ) Usergruppen -> für jede Usergruppe die Profilbild Dimensionen auf z.B. Höhe 500 und Breite 500 einstellen Und ich habe keine ICQ Nummer in Deinem Profil gefunden. Meine sollte in meinem Profil stehen. Cheers, |
Quote:
|
All times are GMT. The time now is 04:36 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:
|