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)

dsboyce8624 05-12-2005 03:49 PM

Quote:

Originally Posted by MarcoH64
You should have left the AUTO_INCREMENT in that statement, only remove the default value there.

So what would I do to correct it?

Marco van Herwaarden 05-12-2005 05:30 PM

Do the following SQL statement and i post the output here.
[sql]show create table customprofilepic;[/sql]

dsboyce8624 05-12-2005 06:50 PM

Attached.

blueuniverse 05-12-2005 08:09 PM

Can somebody help me reverse the queries. To be honest, I've spent ages on this, installing all the fixes and I still get the same errors. :S

The initial queries are

Quote:

ALTER TABLE `customprofilepic` ADD thumbnaildata mediumtext NOT NULL AFTER profilepicdata;
ALTER TABLE `customprofilepic` ADD comment varchar(255) NOT NULL AFTER filename;
ALTER TABLE `customprofilepic` ADD disapproved smallint(5) not null default'0';
ALTER TABLE `customprofilepic` ADD reason varchar(100) not null;
ALTER TABLE `usertextfield` ADD sigdateline int(10) unsigned NOT NULL default '0';

ALTER TABLE `customprofilepic` DROP PRIMARY KEY;
ALTER TABLE `customprofilepic` ADD picture_id int(10) unsigned NOT NULL default '0' AUTO_INCREMENT PRIMARY KEY AFTER userid;

INSERT INTO `settinggroup` (`grouptitle`, `displayorder`, `volatile`) VALUES ('vb3album', 968, 0);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('album_perpage', 'vb3album', '18', '18', '', 10, 0, 0);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('album_pertr', 'vb3album', '3', '3', '', 20, 0, 0);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('album_approval', 'vb3album', '0', '0', 'yesno', 30, 0, 0);
INSERT INTO `setting` (`varname`, `grouptitle`, `value`, `defaultvalue`, `optioncode`, `displayorder`, `advanced`, `volatile`) VALUES ('album_exempt', 'vb3album', '6,7,5', '6, 7, 5', '', 40, 0, 0);
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);
Thanks, sorry to repost but it is quite urgent.

osariase 05-13-2005 01:08 AM

Hi Guys,
I am still struggling with this hack, but i'm making head way, my latest issue is the error that I am getting when i click on upload picture, below is the error message i receive:

Parse error: parse error, unexpected '{' in /home/naijawor/public_html/includes/functions_upload.php on line 448

can someone please tell me how to fix it, I am not good with this code

Marco, you are the man please help thanks man

MissKalunji 05-13-2005 01:10 AM

i gave up on this hack...i've uninstall it...half of the pictures dont even show up....

dsboyce8624 05-13-2005 09:44 PM

Quote:

Originally Posted by osariase
Hi Guys,
I am still struggling with this hack, but i'm making head way, my latest issue is the error that I am getting when i click on upload picture, below is the error message i receive:

Parse error: parse error, unexpected '{' in /home/naijawor/public_html/includes/functions_upload.php on line 448

can someone please tell me how to fix it, I am not good with this code

Marco, you are the man please help thanks man

Open the file and go to that line. Compare any changes you made to what the instructions say. You probably have a stray bracket that should have been part of the edit.

dsboyce8624 05-13-2005 10:48 PM

Quote:

Originally Posted by MarcoH64
Do the following SQL statement and i post the output here.
[sql]show create table customprofilepic;[/sql]

Okay, so it was working fine, despite the SQL mess up.

Something else happened and I had to start over. I followed the new install without a hitch and left out the default value in the one SQL statement.

Seemed great, I was happy. Wrong. Still bunches of little red x's.

Anything else I can try? I cleared the browser cache and even rebooted the server.

Thanks,

Marco van Herwaarden 05-14-2005 07:54 AM

Quote:

Originally Posted by osariase
Hi Guys,
I am still struggling with this hack, but i'm making head way, my latest issue is the error that I am getting when i click on upload picture, below is the error message i receive:

Parse error: parse error, unexpected '{' in /home/naijawor/public_html/includes/functions_upload.php on line 448

can someone please tell me how to fix it, I am not good with this code

Marco, you are the man please help thanks man

Oops sorry, i missed your reply. Still need help on this?
PS Better send me a PM, or i might miss your reply again.

Boofo 05-14-2005 09:39 AM

Has anyone come up with a way of notifying the Admin when a member uploads a pic that needs to be approved?

blueuniverse 05-16-2005 07:22 AM

Is there any way at all to uninstall this???

blueuniverse 05-16-2005 08:15 PM

Ok, I've finally managed to sort it by using phpmyadmin and manually uninstalling each table entry.

dsboyce8624 05-16-2005 08:51 PM

Marco, did you get my PM?

Dennis

dsboyce8624 05-19-2005 05:37 PM

Quote:

Okay, so it was working fine, despite the SQL mess up.

Something else happened and I had to start over. I followed the new install without a hitch and left out the default value in the one SQL statement.

Seemed great, I was happy. Wrong. Still bunches of little red x's.

Anything else I can try? I cleared the browser cache and even rebooted the server.

Thanks,
Anybody?

Chadi 05-25-2005 01:49 AM

In admin cp under vb3 gallery "verify pictures" they are all X for some reason. I do have GD2 installed and working fine.

How do I correct this?

venomx 05-25-2005 02:13 AM

Most of us have that problem :(

dsboyce8624 05-28-2005 12:04 AM

Quote:

Originally Posted by venomx
Most of us have that problem :(

Mine look like that in album.php as well.

Skyline 06-15-2005 08:29 PM

How do I "Run the following queries from PhpMyAdmin"?

sorry, might be a stupid question, but I'm kinda new....THANKS!

MissKalunji 06-15-2005 10:44 PM

Quote:

Originally Posted by Skyline
How do I "Run the following queries from PhpMyAdmin"?


sorry, might be a stupid question, but I'm kinda new....THANKS!

when you select your database click on sql : )

dsboyce8624 06-23-2005 01:52 AM

I think the only thing wrong with this hack is that the thumb images are not generated. This seems to be due to some issue with the database.

If I read things correctly the thumbs are stored there.

Can't anybody have a look at this and get it fixed? It's a great hack, shame to let it die from something so simple.

dsboyce8624 06-24-2005 08:08 PM

Okay, I will PAY to have this hack repaired on my site.

PM me if interested.

|Jordan| 06-29-2005 09:43 PM

Meh. The only use this hack is good for is for making sure your users arent breaking signature rules.

dsboyce8624 06-30-2005 02:48 AM

Quote:

Originally Posted by MyIS_Jordan
Meh. The only use this hack is good for is for making sure your users arent breaking signature rules.

Huh?

|Jordan| 06-30-2005 09:56 PM

Instead of having to rely on moderator/user input about signatures, you can view them all at the same time. That's what i meant.

dsboyce8624 06-30-2005 10:51 PM

This hack is for creating a page that shows thunbmails of users profile picture in a photo album format.

It has nothing to do with sigs.

Christine 07-01-2005 02:07 AM

Quote:

Originally Posted by dsboyce8624
It has nothing to do with sigs.

It has both - a photo gallery and a user sig gallery. It has a dropdown that lets you change the view. :)

dsboyce8624 07-01-2005 02:24 AM

Yeah, but it's only there to look at them, not to control them.

Unless I seriously missed something.

|Jordan| 07-01-2005 03:14 AM

Quote:

Originally Posted by dsboyce8624
This hack is for creating a page that shows thunbmails of users profile picture in a photo album format.

It has nothing to do with sigs.

I know that, but the user profile picture is broken (and going through this thread, you'll see that its broken for a lot of other people too).

Yes signature editing still has to be done thru admincp, but at least with the signature gallery part of this hack, you can quickly view everyone's sigs.

dsboyce8624 07-01-2005 04:32 AM

I haven't even looked at that part, I want the photos to work.

And I'm still willing to pay to get it fixed.

Christine 07-01-2005 11:15 AM

A note on the sig gallery feature:

vB doesn't have image checking (but there are hacks for size). It also doesn't control the number of images -- only the character count.

People also have a tendency to hotlink, which we do not allow.

I have sigs turned off for me on my board because many of our users get carried away with them and I don't want to have to scroll an entire screen just to get to the next post.

This allows me to scan sorted by the latest modify date looking for hotlinking and other issues. ;)

BTW -- this hack will not work on vB 3.5 as written. If you are planning to upgrade anytime soon, you may want to hold off and watch for a 3.5 version to be released.

:)

dsboyce8624 07-02-2005 05:03 PM

I would really like the sig guardian hack to get that one last update the author promised so I can use it and turn on sig img's.

But I only wanted this for the album of profile photos.

paul41598 07-12-2005 04:45 PM

I just got mine to work,

But its bringing up users avatars, not profile pics! wtf

m0nde 07-12-2005 06:20 PM

The instructions for this hack assume certain things that could cause serious problems for inexperienced users.

First of all, no contingency is made for people using table prefixes.

Number two, in adding table data for phrases, it's assumed that no other phrases have been added and that this data can be added at phraseid 9231.

I only got this hack working after debugging several problems.

Please revise your instructions accordingly.

- Sid

buro9 10-16-2005 08:48 AM

Would really appreciate a 3.5 port. :)

Chadi 11-02-2005 10:00 PM

How do you uninstall this?

Chadi 11-03-2005 01:30 AM

I dropped "customprofilepic" and then now I get database error when viewing any member profile.

I tried to rerun the queries but I get this:

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 reason varchar(100) not null' at line 1

how do I fix this?

buro9 11-04-2005 07:31 PM

Quote:

Originally Posted by chadi
I dropped "customprofilepic" and then now I get database error when viewing any member profile.

You dropped the whole table? :eek:

That's a default vBulletin table, to which this hack merely added two columns. You should've dropped the columns not the table!

The solution is to create a new version of the table:
[sql]
CREATE TABLE IF NOT EXISTS customprofilepic (
userid int(10) unsigned NOT NULL default '0',
picture_id int(10) unsigned NOT NULL auto_increment,
filedata mediumblob NOT NULL,
thumbnaildata mediumtext NOT NULL,
dateline int(10) unsigned NOT NULL default '0',
filename varchar(100) NOT NULL default '',
comment varchar(255) NOT NULL default '',
visible smallint(6) NOT NULL default '1',
filesize int(10) unsigned NOT NULL default '0',
width smallint(5) unsigned NOT NULL default '0',
height smallint(5) unsigned NOT NULL default '0',
PRIMARY KEY (picture_id),
KEY userid (userid)
) TYPE=MyISAM AUTO_INCREMENT=1;
[/sql]

And don't drop tables without checking in future!!!

Chadi 11-04-2005 07:34 PM

How do I completley uninstall this thing?

Chadi 11-07-2005 12:53 AM

Anyone please help?


All times are GMT. The time now is 02:53 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.01875 seconds
  • Memory Usage 1,831KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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