vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Member Album 2.0 (https://vborg.vbsupport.ru/showthread.php?t=63733)

Velocd 04-26-2004 11:02 PM

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. :)

Boofo 04-26-2004 11:15 PM

Mike, is there a way to have it so regular members will not be able to list the signatures when viewing the album?

Velocd 04-26-2004 11:24 PM

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">
<option value="1"<if condition="$type == 'image'"> selected="selected"</if>>Pictures</option>
<option value="2"<if condition="$type == 'sig'"> selected="selected"</if>>Signatures</option>
</select>&nbsp;&nbsp;

Replace it with:
HTML Code:

<select name="type">
<option value="1"<if condition="$type == 'image'"> selected="selected"</if>>Pictures</option>
<if condition="$bbuserinfo['usergroupid'] != 2">
<option value="2"<if condition="$type == 'sig'"> selected="selected"</if>>Signatures</option>
</if>
</select>&nbsp;&nbsp;

They'll still be able to access signatures if they know the code, so in the album.php, find:

PHP Code:

$type $_REQUEST['type'] ? $_REQUEST['type'] : 1

Replace it with:

PHP Code:

$type $_REQUEST['type'] && $bbuserinfo['usergroupid'] != $_REQUEST['type'] : 1


welo 04-27-2004 02:53 AM

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.

Velocd 04-27-2004 04:26 AM

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.

welo 04-27-2004 07:22 AM

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. ;)

Onkel_Tom 04-27-2004 10:29 AM

Quote:

Originally Posted by welo
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.

same bug for me !

subu1 04-27-2004 02:59 PM

Quote:

Originally Posted by Pseudomizer
Ok. The solution is easy:

You missed that line during the installation:

PHP Code:

ALTER TABLE `customprofilepicADD comment varchar(255NOT NULL AFTER filename

Please do this command and all should work fine.

Cheers,

cool soweit sogut, hoffe mir ist niemand b?se wenn ich mal eben etwas deutsches wieder reinbringe, aber sonst bekomm ich es nicht auf die Reihe *snief*

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;)

Pseudomizer 04-27-2004 03:54 PM

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,

subu1 04-27-2004 05:16 PM

Quote:

Importieren und Pflege -> Z?hler aktualisieren -> Anhang Thumbnails erstellen
Wenn ich das ausf?hre kann ich garnicht so schnell schauen wie die Meflermeldungen der misc.php aufgerufen werden :rolleyes:


All times are GMT. The time now is 06:04 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
  • Page Generation 0.01537 seconds
  • Memory Usage 1,756KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete