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)

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:14 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.01191 seconds
  • Memory Usage 1,762KB
  • 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_php_printable
  • (1)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