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)

kira 08-31-2004 07:52 PM

Thanks, Slynderdale! But I'm confused.

Quote:

Also I'll uploaded a zip file of all my fixes and edits.
(Bolding mine) Does this mean your latest zip file doesn't incorporate Weasel's changes too, as Pseudomizer mentioned in his request? I'm so confused! I can't figure out who's done what to this hack, what with three different zip files of hack instructions and changed files!

(Edited 'cause my thumbs are working now!)

Slynderdale 09-01-2004 02:52 AM

Quote:

Originally Posted by kira
Thanks, Slynderdale! But I'm confused.



(Bolding mine) Does this mean your latest zip file doesn't incorporate Weasel's changes too, as Pseudomizer mentioned in his request? I'm so confused! I can't figure out who's done what to this hack, what with three different zip files of hack instructions and changed files!

(Edited 'cause my thumbs are working now!)

It contains Weasels fixes as well as mine.

venomx 09-10-2004 04:31 AM

Ok I tried this on vb3.0.3 and the small image doesnt show. I tried to rebuild in admin and I get a page with just this in the source..

<!-- START CONTROL PANEL FOOTER -->
<p align="center"><a href="http://www.vbulletin.com/" target="_blank" class="copyright">vBulletin v3.0.3, Copyright &copy;2000-2004, Jelsoft Enterprises Ltd.</a></p>
</div>
</body>
</html>

venomx 09-10-2004 05:07 AM

If I View/Prop.. in IE for the thumbnail and copy the url of the image and then paste it to IE and hit enter I get this in the window..
Array

I have GD2 and its on in the admin.. :(

venomx 09-10-2004 05:48 AM

Ok just got one problem.. thumbnails dont show :(

venomx 09-10-2004 05:58 AM

Ok mine doesnt show but a test accounts does...

Nordinho 09-10-2004 10:36 AM

Hello,

When I try to run the sql-queries, I get this error:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
ALTER TABLE `customprofilepic` ADD comment varchar(255) NOT

Does anyone have an idea how to fix this??

Greets,

Nordinho 09-13-2004 07:06 PM

Quote:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
ALTER TABLE `customprofilepic` ADD comment varchar(255) NOT
Anyone???

Ganon 09-14-2004 03:16 AM

I'm getting broken images for all of them, even after trying to rebuild thumbnails. I have GD version 2+ and I followed all the installation instructions exactly. Any ideas?

Pseudomizer 09-14-2004 05:57 AM

Quote:

Originally Posted by Ganon
I'm getting broken images for all of them, even after trying to rebuild thumbnails. I have GD version 2+ and I followed all the installation instructions exactly. Any ideas?

https://vborg.vbsupport.ru/showpost....&postcount=320

or scroll up to the top.

Cheers,

Ganon 09-14-2004 10:17 PM

Got it working now, thanks!

venomx 09-21-2004 11:48 PM

I am getting a brpken image for members that do NOT have a image uploaded. This shows in the admin and on the album.... Any fixes?

PitchouneN64ngc 09-29-2004 10:25 AM

Just a suggestion :)

After you applied modifications into ./profile.php file, when you want to upload a picture and you have never picture uploaded before, you have a part of the 'modifyprofilepic' template who appears. This corresponding with this php code:

PHP Code:

 $profilepic $DB_site->query_first("
SELECT userid, dateline, comment, visible, disapproved, reason
FROM " 
TABLE_PREFIX "customprofilepic
WHERE userid = 
$bbuserinfo[userid]
"
);
 
  
$profilepic['comment'] = fetch_censored_text($profilepic['comment']);
  
$show['profilepic'] = iif($profilepictruefalse); 

It is possible to hide this part of the template?

Pseudomizer 09-29-2004 10:32 AM

Quote:

Originally Posted by PitchouneN64ngc
Just a suggestion :)

After you applied modifications into ./profile.php file, when you want to upload a picture and you have never picture uploaded before, you have a part of the 'modifyprofilepic' template who appears. This corresponding with this php code:

PHP Code:

 $profilepic $DB_site->query_first("
SELECT userid, dateline, comment, visible, disapproved, reason
FROM " 
TABLE_PREFIX "customprofilepic
WHERE userid = 
$bbuserinfo[userid]
"
);
 
  
$profilepic['comment'] = fetch_censored_text($profilepic['comment']);
  
$show['profilepic'] = iif($profilepictruefalse); 

It is possible to hide this part of the template?

This php code will never be visible in the template. Or do you want to hide the output of this php code via template? Please clarify.

Cheers,

PitchouneN64ngc 09-29-2004 07:22 PM

After i have made modifications into ./profile.php, i have like i have posted in attachment (profilepic.jpg).

And i have this code for the editprofilepic do into the profile.php file:

PHP Code:

if ($_REQUEST['do'] == 'editprofilepic')
{
    if (
$vboptions['profilepicenabled'] AND ($permissions['genericpermissions'] & CANPROFILEPIC))
    {
        
$profilepic $DB_site->query_first("
            SELECT userid, dateline, comment, visible, disapproved, reason
            FROM " 
TABLE_PREFIX "customprofilepic
            WHERE userid = 
$bbuserinfo[userid]
        "
);
        
$profilepic['comment'] = fetch_censored_text($profilepic['comment']);
        
$show['profilepic'] = iif($profilepictruefalse);
        
$permissions['profilepicmaxsize'] = vb_number_format($permissions['profilepicmaxsize'], 1true);
 
        
// draw cp nav bar
        
construct_usercp_nav('profilepic');
        
$navbits[''] = $vbphrase['edit_profile_picture'];
        
$templatename 'modifyprofilepic';
    }
    else
    {
        
print_no_permission();
    }


And I have no entries in the table customprofilepic.

zer026 09-29-2004 11:12 PM

This hack has too many issues...and considering vb already displays a member's profile pic on the memberlist(if enabled in ACP), all of this struggling seems rather odd. I apologize if i seem negative, it''s just an opinion and doesn't really count anyway...right on.

Ted S 09-29-2004 11:23 PM

zer026,
I have the hack working fine and it only took following one person's changes. If you don't like it and don't find it functional then don't use it... no one needs every hack out there.

PitchouneN64ngc 09-30-2004 09:31 AM

I have resolved my problem ^^

On the ./profile.php file, you have this part of the code:

PHP Code:

        $profilepic['comment'] = fetch_censored_text($profilepic['comment']);

        
$show['profilepic'] = iif($profilepictruefalse); 

You must to change this 2 lines like this:

PHP Code:

        $show['profilepic'] = iif($profilepictruefalse);

        
$profilepic['comment'] = fetch_censored_text($profilepic['comment']); 

And all is ok ;)

joergh 10-06-2004 07:12 PM

Great hack,

I used the old member hack in vb2. After upgrading to vb3 i didn?t had the gallery live for months:

Today I tried to (re)install it on a vb3.0.3:

1) I used this file:

https://vborg.vbsupport.ru/showpost....&postcount=320

2) then I used the migrating tool from Pseudomizer: THX!

https://vborg.vbsupport.ru/showpost....3&postcount=76

Everything went well!

If you like to see it:

http://www.revierloewenfans.de/forums/album.php

joergh :)

FleaBag 10-10-2004 10:08 PM

Works like a dream right out of the box!

venomx 10-11-2004 12:20 AM

Mine is showing a Red X for members without a pic for some reason :(

Any ideas?
http://www.discussionjunction.com/forums/album.php

FleaBag 10-11-2004 12:54 AM

I don't see any red crosses?

maddawg138 10-11-2004 03:31 PM

2 problems still

1. half of the pics still dont show up even after doing all the updates

2. admin cp still doesnt show any of the thumbnails

ive done all the updates and what not and still nothing

http://happymojo.com/forum/album.php theres the link to the album

P.S. I still need to edit the template so it'll fit the album the right way...just too lazy to go do it right now

FleaBag 10-11-2004 07:49 PM

If you have installed this before here's my advice...

Use clean vB3 files, follow all the instructions in the instruction file - run the 2 update queries - bingo, it'll work. :)

venomx 10-11-2004 08:40 PM

Quote:

Originally Posted by FleaBag
I don't see any red crosses?


Maybe its because I am Admin?

FleaBag 10-11-2004 09:03 PM

I was thinking the same thing, but I couldn't say for sure.

maddawg138 10-11-2004 09:33 PM

nvm i forgot to clear my cookies and clean my cache...its fine now

Dead End Society 10-12-2004 09:24 PM

Quote:

Originally Posted by Nordinho
Hello,

When I try to run the sql-queries, I get this error:


An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
ALTER TABLE `customprofilepic` ADD comment varchar(255) NOT

Does anyone have an idea how to fix this??

Greets,

I solved this problem by executing each SQL command (line) separately, leaving out the semicolon. There's got to be an easier way, but oh well, it worked.

nautiqeman 10-13-2004 07:07 PM

Is there any way to change the fact that people can only upload just one?

FleaBag 10-16-2004 12:45 AM

OK so maybe I jumped the gun... I just get clear like images when users update their profile pictures... In the profile they show up fine, so it's something to do with the thumbnails I guess...

Reeve of shinra 10-21-2004 12:27 PM

hmmm I am getting an error where only red-x's show up. I rebuilt the thumbnails and while on that page, I click the link to a members thumbnail and it gives me an error saying that "http://www.shinraonline.com/board/image.php?u=1570&type=pthumb" cant be displayed because of errors. Any idea on what it refers to?

Slynderdale 10-22-2004 01:30 AM

Quote:

Originally Posted by Reeve of shinra
hmmm I am getting an error where only red-x's show up. I rebuilt the thumbnails and while on that page, I click the link to a members thumbnail and it gives me an error saying that "http://www.shinraonline.com/board/image.php?u=1570&type=pthumb" cant be displayed because of errors. Any idea on what it refers to?

If you use vBulletin 3.0.3 try the fixes here:
https://vborg.vbsupport.ru/showpost....&postcount=320

Boofo 10-22-2004 02:10 AM

Has anyone come up with a way to send an pm or email to the Admin when someone uploads a pic that needs to be verified?

Reeve of shinra 10-22-2004 02:26 AM

Slynderdale -- thanks. I will check it out this weekend when I have a chance. I dont know how I missed that. :-p

Slynderdale 10-22-2004 12:13 PM

Quote:

Originally Posted by Reeve of shinra
Slynderdale -- thanks. I will check it out this weekend when I have a chance. I dont know how I missed that. :-p

Remember to rebuild the thumbnails after you install the fixes in that file for them to show properly.

HarryBO 11-13-2004 08:36 PM

After 3 hours hard work, the Hack runs perfect!

Just one question? See the Screenshot!

Is there something missing?

PitchouneN64ngc 11-13-2004 08:39 PM

Have you executed all queries?

HarryBO 11-13-2004 08:54 PM

Yes, but I became an error message!

This part doesn?t work

Code:

INSERT INTO `phrase` (`phraseid`, `languageid`, `varname`, `text`, `phrasetypeid`) VALUES (9231, 0, 'settinggroup_vb3album', 'vB3 Member Album', 5000);
INSERT INTO `phrase` (`phraseid`, `languageid`, `varname`, `text`, `phrasetypeid`) VALUES (9232, 0, 'setting_album_perpage_title', 'Entries Per Page', 5000);
INSERT INTO `phrase` (`phraseid`, `languageid`, `varname`, `text`, `phrasetypeid`) VALUES (9233, 0, 'setting_album_perpage_desc', 'Specify how many entries will show for each page.', 5000);
INSERT INTO `phrase` (`phraseid`, `languageid`, `varname`, `text`, `phrasetypeid`) VALUES (9234, 0, 'setting_album_pertr_title', 'Entries Per Row', 5000);
INSERT INTO `phrase` (`phraseid`, `languageid`, `varname`, `text`, `phrasetypeid`) VALUES (9235, 0, 'setting_album_pertr_desc', 'Specify how many entries will show for each row.', 5000);
INSERT INTO `phrase` (`phraseid`, `languageid`, `varname`, `text`, `phrasetypeid`) VALUES (9236, 0, 'setting_album_approval_title', 'Require Approval', 5000);
INSERT INTO `phrase` (`phraseid`, `languageid`, `varname`, `text`, `phrasetypeid`) VALUES (9237, 0, 'setting_album_approval_desc', 'If selected, pictures will have to be approved via the AdminCP before visible by the public.', 5000);
INSERT INTO `phrase` (`phraseid`, `languageid`, `varname`, `text`, `phrasetypeid`) VALUES (9238, 0, 'setting_album_exempt_title', 'Exempted Usergroups', 5000);
INSERT INTO `phrase` (`phraseid`, `languageid`, `varname`, `text`, `phrasetypeid`) VALUES (9239, 0, 'setting_album_exempt_desc', 'If you have approval enabled, but would like specific usergroups to be exempt from it, then <u>in a comma separated list</u>, specify those usergroup IDs.', 5000);


PitchouneN64ngc 11-13-2004 08:59 PM

Try this:

[SQL]INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'settinggroup_vb3album', 'vB3 Member Album', 5000);
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'setting_album_perpage_title', 'Entries Per Page', 5000);
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'setting_album_perpage_desc', 'Specify how many entries will show for each page.', 5000);
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'setting_album_pertr_title', 'Entries Per Row', 5000);
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'setting_album_pertr_desc', 'Specify how many entries will show for each row.', 5000);
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'setting_album_approval_title', 'Require Approval', 5000);
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'setting_album_approval_desc', 'If selected, pictures will have to be approved via the AdminCP before visible by the public.', 5000);
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'setting_album_exempt_title', 'Exempted Usergroups', 5000);
INSERT INTO `phrase` (`languageid`, `varname`, `text`, `phrasetypeid`) VALUES (0, 'setting_album_exempt_desc', 'If you have approval enabled, but would like specific usergroups to be exempt from it, then <u>in a comma separated list</u>, specify those usergroup IDs.', 5000);[/SQL]

HarryBO 11-13-2004 09:06 PM

Code:

Fehler

SQL-Befehl : 

INSERT INTO `phrase` ( `languageid` , `varname` , `text` , `phrasetypeid` )
VALUES ( 0, 'settinggroup_vb3album', 'vB3 Member Album', 5000 )

MySQL meldet:


#1062 - Duplicate entry 'settinggroup_vb3album-0-5000' for key 2

Same as before!


All times are GMT. The time now is 01:09 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
  • Page Generation 0.01503 seconds
  • Memory Usage 1,858KB
  • 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_code_printable
  • (5)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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