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)

Pseudomizer 04-27-2004 05:24 PM

Quote:

Originally Posted by subu1
Wenn ich das ausf?hre kann ich garnicht so schnell schauen wie die Meflermeldungen der misc.php aufgerufen werden :rolleyes:

Fehlermeldungen ? Welche Art ? Dr?ck mal auf STOP in dem Browser und dann mach nen Screenshot.

Gru?,

subu1 04-27-2004 05:53 PM

it works *g*.......ich Dummi hatte nicht alle queries ausf?hren lassen, kopierte alle auf einmal zum ausf?hren und wieder etwas gelernt;)

ICQ ist schon eine nette Erfindung:-)

akiy 04-27-2004 07:56 PM

I believe the line in profile.php:

Code:

            $profilepic['comment'] = fetch_censored_text($profilepic['comment']);
needs to be

Code:

          if ($profilepic) {
            $profilepic['comment'] = fetch_censored_text($profilepic['comment']);
          }

Otherwise, a user who doesn't have a profile picture currently uploaded will get the "Your Current Profile Picture" fieldset in his/her Edit Profile Picture section.

cooltechie 04-27-2004 08:38 PM

can't wait to see this working

Velocd 04-27-2004 10:26 PM

Quote:

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.
Actually, I intentionally made it do this. I can't precisely remember why, it may have been that some bug would have got in the way thus making it longer to code. Also, I figured most people put one comment for each unique picture, and leave it be, until they upload a new picture.

welo 04-28-2004 12:26 AM

Quote:

Originally Posted by Velocd
Actually, I intentionally made it do this. I can't precisely remember why, it may have been that some bug would have got in the way thus making it longer to code. Also, I figured most people put one comment for each unique picture, and leave it be, until they upload a new picture.

I see. Well, perhaps an interim workaround is to add a note below the comment text field explaining this. I'm only running it on my test board right now and already three testers have mentioned it. Bound to keep reappearing in a live environment. You know people will keep wanting to change this (like their signature).

subu1 04-28-2004 02:26 PM

Quote:

Originally Posted by Pseudomizer

Now enable your custombox_3 in your vboptions in your ACP and all set all done. Have fun !!!




Cheers,

sorry but i don't have this Option in my vbioptinons.php or ACP.

I have now upgrade from vBindex-3[1].0.0-RC3_Build-8 to vBindex-3-0-0-RC5_Build-5, but NO enable feature :surprised:

welo 04-29-2004 05:13 PM

Sorry, I am forced to uninstall this hack. Too many weird errors and enduser ambiguities floating around it for use in a live environment yet. I'll take a fresh look at it later when I have more time. It's a great idea though.

Pseudomizer 04-29-2004 09:40 PM

Quote:

Originally Posted by subu1
sorry but i don't have this Option in my vbioptinons.php or ACP.

I have now upgrade from vBindex-3[1].0.0-RC3_Build-8 to vBindex-3-0-0-RC5_Build-5, but NO enable feature :surprised:

This is how it should look like after upgrading to RC5. Then you select custombox 3 and you edit the template which is named like this.

Cheers,

TyC 05-04-2004 03:25 AM

Hi ,

Sorry about the n00bish Q, i am new to VB3.

The only problem i am having on the installation instructions is..
25. Create a new template called album_display

I am unsure about creating a new template, Do i just open Notepad , put in the code you provided and save as album_display.php ?

I have searched the forums but cant find any help on this subject.

Many thanks

-TyC

TyC 05-04-2004 06:56 AM

OK i worked out how to make the template , no thanks to anyone here!

I got all the Errors everyone else got until i debuged like everyone else & it worked , only problems now are images on the album.php dont appear , all you see is a red x.

When i try upload a new picture i get this error.

Parse error: parse error, unexpected $ in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 417

Fatal error: Call to undefined function: build_image() in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 204

i think im going to remove this Hack now

Pseudomizer 05-04-2004 08:26 AM

Quote:

Originally Posted by TyC
OK i worked out how to make the template , no thanks to anyone here!

I got all the Errors everyone else got until i debuged like everyone else & it worked , only problems now are images on the album.php dont appear , all you see is a red x.

When i try upload a new picture i get this error.

Parse error: parse error, unexpected $ in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 417

Fatal error: Call to undefined function: build_image() in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 204


i think im going to remove this Hack now

Hi,

first of all welcome if you are new to vb. The first thing you should learn is to be patient. The second thing to read the threads. Multiple people have asked a lot of questions and many people run into the same problems.

On top of this i would suggest that you install a testboard where you can test things out first.

Cheers,

Boofo 05-04-2004 10:18 AM

Quote:

Originally Posted by TyC
OK i worked out how to make the template , no thanks to anyone here!

I got all the Errors everyone else got until i debuged like everyone else & it worked , only problems now are images on the album.php dont appear , all you see is a red x.

When i try upload a new picture i get this error.

Parse error: parse error, unexpected $ in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 417

Fatal error: Call to undefined function: build_image() in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 204


i think im going to remove this Hack now

Ok, take a deep breath and calm down and we'll see about getting this fixed for you.

First of all, what code is on this line in this file?

Quote:

Parse error: parse error, unexpected $ in /home/httpd/vhosts/URL/httpdocs/forum/includes/functions_upload.php on line 417

pixelpunk 05-07-2004 03:38 PM

I'm having a little bit of trouble on my site with your gallery.

http://www.midsouthraves.org/community/album.php

Some of the images don't get parsed when I rebuild the profile picture thumbnails. At first I thought it was the GIF files but it's happening with jpgs that users have uploaded as well.

When I run the script to rebuild the images in my control panel it looks as if it's stuck in a loop and eventually times out or something, I haven't figured out what exactly it's doing because after awhile (by the time i'm tired of watching the page flicker) it's mysteriously stopped.

Any suggestions? It's almost working!

Pseudomizer 05-07-2004 03:57 PM

Quote:

Originally Posted by pixelpunk
I'm having a little bit of trouble on my site with your gallery.

http://www.midsouthraves.org/community/album.php

Some of the images don't get parsed when I rebuild the profile picture thumbnails. At first I thought it was the GIF files but it's happening with jpgs that users have uploaded as well.

When I run the script to rebuild the images in my control panel it looks as if it's stuck in a loop and eventually times out or something, I haven't figured out what exactly it's doing because after awhile (by the time i'm tired of watching the page flicker) it's mysteriously stopped.

Any suggestions? It's almost working!

Does this happen to all of your new uploads ? Which gd version are you using ? What seetings did you choose in the ACP for the thumbnails ?

Cheers,

pixelpunk 05-07-2004 04:57 PM

Quote:

Originally Posted by Pseudomizer
Does this happen to all of your new uploads ? Which gd version are you using ? What settings did you choose in the ACP for the thumbnails ?

Cheers,

How do you mean? The images look fine everywhere (profiles, members list, etc) except in the album.php.

I'm running 'GD version bundled (2.0.15 compatible)'

Specifically what settings are you looking for in my ACP for the thumbnails? I have the max res for profile pics set to 320x320 and thumbnails are set to exactly the same thing. I've tried using the control panel to rebuild attachment thumbnails and when I try to rebuild the profile pics it just refreshes the first page (1-20) and doesn't seem to want to move to the next batch. I don't know if this bit of information helps any but say i set the 'number of pictures to process per cycle' to 10 and then hit rebuild... well it still tells me it's processing profile pictures 1-20.

I've tried reuploading the admin album page and the album.php and it didn't seem to make a difference.

Attached is a screen cap of the screen I get every time I try to rebuild the profile images. This is the one that says processing images 1-20... always.

Thanks for the help!!

*edit - This happens in both IE 6 and in FireFox 0.8.

Pseudomizer 05-07-2004 05:26 PM

Hi,

and if one of your members uploads a new profile pic what happens then ? Does this problem always occur or just ocasionally ? Or is this only for pictures which where there before the hack was installed ?

Cheers,

pixelpunk 05-07-2004 05:58 PM

Quote:

Originally Posted by Pseudomizer
Hi,

and if one of your members uploads a new profile pic what happens then ? Does this problem always occur or just ocasionally ? Or is this only for pictures which where there before the hack was installed ?

Cheers,

These are all images from before the hack was installed.

I've had a few users try it out and they can upload images fine. No errors whatsoever.

What does the reset button do on the Approve Pictures page? When i click that nothing happens.

Pseudomizer 05-07-2004 06:03 PM

Quote:

Originally Posted by pixelpunk
These are all images from before the hack was installed.

I've had a few users try it out and they can upload images fine. No errors whatsoever.

What does the reset button do on the Approve Pictures page? When i click that nothing happens.

Hi,

i had the same problem. But i migrated from version 2.3.x to version 3.0.0 and i had the old hack installed. So i wrote a script which cleans up the complete memberpics and deletes everything in there and then migrates the pics from the old hack into the new hack. This will not help you at all but you have 2 choices. You can either ask every member to upload the files again or you delete all pictures and let them upload again. That would be my guess but please check with the hack author first.

Cheers,

pixelpunk 05-07-2004 06:25 PM

Right on, thanks for your help Pseudomizer.

I was beginning to think that they'd have to upload their pics again so I'll let them know and when I find out what's working I'll let you know.

msimplay 05-07-2004 07:45 PM

hmm weirdo errors two of em 1st one when i approve pictures they seem to still need approving as in the photos appear on the page again even though they are approved

and two i checked this on Boofos forum to make sure i wasn't the only on
when viewing signatures in the album the username doesn#t seem to lead to the users profile
the link appears to be wrong

Christine 05-07-2004 11:36 PM

Quote:

Originally Posted by pixelpunk
...when I try to rebuild the profile pics it just refreshes the first page (1-20) and doesn't seem to want to move to the next batch.

Hi pixelpunk,

I was having the same exact issue.

If it isn't too late -- before you ask your peeps to reload their pictures, you may want to try this fix from Velocd:

https://vborg.vbsupport.ru/showpost....6&postcount=55

Just rename the attached file to albumcp.php, override the albumcp.php in your ACP and give it a test run.

:)

Boofo 05-07-2004 11:42 PM

Quote:

Originally Posted by msimplay
hmm weirdo errors two of em 1st one when i approve pictures they seem to still need approving as in the photos appear on the page again even though they are approved

and two i checked this on Boofos forum to make sure i wasn't the only on
when viewing signatures in the album the username doesn#t seem to lead to the users profile
the link appears to be wrong

I just checked it and on my site, the username DOES go to their profile just fine. You might want to recheck that. ;)

msimplay 05-07-2004 11:50 PM

Quote:

Originally Posted by Boofo
I just checked it and on my site, the username DOES go to their profile just fine. You might want to recheck that. ;)

actually u might wanna check it

http://www.bearfacts2.com/forums/alb...sts&order=desc

thats signatures

Boofo 05-07-2004 11:54 PM

Quote:

Originally Posted by msimplay
actually u might wanna check it

http://www.bearfacts2.com/forums/alb...sts&order=desc

thats signatures

Awww, you didn't say signatures. I thought you were referring to the profile pics. ;)

He's right, Mike, apparently the userid isn't being passed to the name link in the signatures part of this hack.

Velocd 05-09-2004 12:39 AM

I've updated to version 2.0.

It's mostly a bug update, but I also improved the verification process in the AdminCp. So I emphasize you to update.

Upgrade instructions and the new file, as well a v2.0 screenshot of the ACP, can be found in the first post:
https://vborg.vbsupport.ru/showthread.php?p=498288

If you have questions or problems, just ask. ;)

assassingod 05-09-2004 12:45 AM

Thanks Mike, installed and working fine:)

pixelpunk 05-10-2004 03:05 PM

Quote:

Originally Posted by Christine
Hi pixelpunk,

I was having the same exact issue.

If it isn't too late -- before you ask your peeps to reload their pictures, you may want to try this fix from Velocd:

https://vborg.vbsupport.ru/showpost....6&postcount=55

Just rename the attached file to albumcp.php, override the albumcp.php in your ACP and give it a test run.

:)

Didn't work, I had to reupload all the images that weren't showing up.

Question: How would I have my default album page load show the pics ascending by username?


Also, how would you go about modifying the folder display for the Photo Album? It's a little redundant. See the image below for the change.

http://toybox.homeip.net/howto.gif

Velocd 05-10-2004 08:14 PM

For your first question, it's hard coded in album.php.

Find:
PHP Code:

    if (!in_array($sort$valid_sort))
        
$sort 'posts';
}
else
{
    
$sort 'posts';


Replace posts with username in both instances.

Then find:
PHP Code:

    if (!in_array($order$valid_order))
        
$order 'desc';
}
else
{
    
$order 'desc';


Replace desc with asc in both instances.

I'm not sure what you mean by redundant for your second question. Member Album is the parent feature, where as you can consider "signatures" and "profile pictures" to be its children. (clicking "Member Album" takes you to the default "profile pictures" view.

Christine 05-10-2004 10:35 PM

Thanks for all your work on this, Velocd.

:)

pixelpunk 05-11-2004 07:27 PM

Awesome thanks, I looked for that and simply didn't recognize it... I get so scatterbrained when I start modifying everything!

What I mean by redundant is how "> Member Album" shows up next to the board name and then you have " Profile Pictures" under that.

Typically when you click the navigation to your control panel it reads:

Board Title
`- User Control Panel

not:

Board Title > options or whatever
`- User Control Panel

Thanks for helping us out! This hack is beautiful.

Maikeru 05-14-2004 01:20 AM

I like this hack, especially because I've used it on a forum before :o. It works really well, so..maybe I'll download it.

MaxScript 05-15-2004 12:55 AM

no workie
www.batalk.com/album.php

i get a blank page

Velocd 05-15-2004 06:20 AM

You forgot to install the templates.

If that's not the case, arbitrarily place PHP echo statements in your album.php to find where the error is.

MaxScript 05-15-2004 04:36 PM

:) my bad , i forgot one temp


works great [ clicks install ]

www.batalk.com/album.php

assassingod 05-16-2004 04:28 AM

Comment system if anyone wants it:
https://vborg.vbsupport.ru/showthrea...870#post512870

Rich 05-16-2004 01:01 PM

Hello,
The installatioin went fine,everything appears to work with THIS program. However,it doesn't allow anyone to change their avatars,ect. I get this error when I use my test name:

Parse error: parse error, expecting `']'' in /home2/hcenter/public_html/profile.php on line 1622

This is line 1622:

$profilepic['comment'] = fetch_censored_text($profilepic['comment' $show['profilepic'] = iif($profilepic, true, false);

What the problem???????

Pseudomizer 05-18-2004 04:14 PM

Quote:

Originally Posted by Velocd
I've updated to version 2.0.

It's mostly a bug update, but I also improved the verification process in the AdminCp. So I emphasize you to update.

Upgrade instructions and the new file, as well a v2.0 screenshot of the ACP, can be found in the first post:
https://vborg.vbsupport.ru/showthread.php?p=498288

If you have questions or problems, just ask. ;)

Hello Velocd,

with all respect i have to post this because i think that other people will also run into this problem.

What's the problem ? Very easy. As soon as you have too many pictures you will run into either browser problems or PHP timeout problems exceeding 30 secs.

Fix for this ? Why do admins click on "Verify" ? Not to see the already verified pictures. The admin wants to verify any new pic that has been uploaded.

Due to this i altered your original code to show per default the "unapproved" and "disapproved" pictures and only if someone clicks on "approved" then he will get the full list of the approved pictures.

This is what i need and i don't know if other people need this but just in case you run into this problem here are my changes:

Open albumcp.php in an editor and find:
PHP Code:

require_once('./global.php'); 

After this place:
PHP Code:

        if (!$_REQUEST['type'])
        {
            
$type "1";
        }
        else
        {
            
$type $_REQUEST['type'];
        } 

Then REPLACE this:
PHP Code:

        echo "<td align='center' class='alt1'><a href='#unapproved'>Unapproved</a> ($count_una) &nbsp;|&nbsp; 
            <a href='#approved'>Approved</a> (
$count_app) &nbsp;|&nbsp; 
            <a href='#disapproved'>Disapproved</a> (
$count_dis)</td>"

with this:
PHP Code:

        echo "<td align='center' class='alt1'><a href='albumcp.php?type=1'>Unapproved</a> ($count_una) &nbsp;|&nbsp;
            <a href='albumcp.php?type=2'>Approved</a> (
$count_app) &nbsp;|&nbsp;
            <a href='albumcp.php?type=1'>Disapproved</a> (
$count_dis)</td>"

Then find this:
PHP Code:

        if ($unapproved)
        { 

Before add this:
PHP Code:

     if ( $type == "1" )
     { 

Then find this:
PHP Code:

            print_submit_row('Verify Unapproved','Reset'6); 

After add this:
PHP Code:

        }
      }
      else
      { 

Then find this:
PHP Code:

            print_submit_row('Verify Approved ','Reset'6);
        } 

After add this:
PHP Code:

      }
      
//endif
        
        // Disapproved
        //////////////////

     
if ( $type == "1" )
     { 

Then find this:
PHP Code:

            print_submit_row('Verify Disapproved','Reset'6);
        } 

Add this below:
PHP Code:

     }
     else
     {
     }
     
//endif
    


All set all done. Or replace the albumcp.php with my attached albumcp.php.

Enjoy.

Cheers,

Kwak 05-19-2004 02:19 AM

Hi, I double checked the codes for each files and the new template and I get the database error:

http://www.calpolyonline.com/forums/album.php

Where could the problem be?

Velocd 05-19-2004 02:44 AM

CalPoly online eh? San Luis Obispo is my home town ;) I would have gone to that college, except they don't seem to admit the local citizens by huge numbers. :\

As for your problem, I can view the image gallery fine.


All times are GMT. The time now is 09:15 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.01640 seconds
  • Memory Usage 1,883KB
  • 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
  • (14)bbcode_php_printable
  • (18)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