Announcement

Collapse
No announcement yet.

Avatar Hack: Categories & Usergroups

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Avatar Hack: Categories & Usergroups

    By this hack is it possible avatar-categories in vB to be created. Here are the features:

    -categories enabled/disable
    -category permissions (User Groups) for each individual group adjustable
    -all (global) categories permissions enabled/disable
    -show up 'not categorized avatars' enable/disable
    -hide empty categories
    -category selection per select menue
    -no select menue, if no categories or categories deactivated
    -bug fixing in original member.php: "0 to 0 of 0" instead "1 to 0 of 0"
    -revision: Upload New Avatar: Path to save image internal now incl. unix path
    -show up 'no avatars available' instead nothing if 0 avatars
    -replace avatar name by avatar filename (without file extension).
    -upload/add: Set default Avatarname to Filename (without file extension)
    -remove all avatar names.
    -tip,if different minimum post settings for individual avatars in categories
    -edit avatar option: with view of avatar
    -mass move avatars
    -dynamic display width: If number avatars on screen < display width then display width = number avatars
    -screen name AND category name. if you select a screen name,
    then show up the screen name instead category name
    -show up counter for avatars for each category in Control Panel
    -if you do not have categories, nevertheless applicable
    -jump feature and CSS Navigation (Cascade Style Sheets), if you like.

    If you find an error, please tell me...
    In the zip archiv 2 Screenshots are contained. Additionally everything that you need otherwise still for the installation.

    Sorry. zip archiv > 102400 bytes For previews see below!

    Bad Madman

    P.S.: I hope, it am all understandable everything despite my bad english :|

    Updates:
    -Fixed MySQL query (sub routine call in avatar_categ.php) Error message "Warning: Supplied argument is not a valid MySQL result resource in /home/blabla/unixpath/vbPortal/forums/admin/db_mysql.php on line 154"
    -Fixed function call "Fatal error: Can't redeclare already declared function in /home/blablabla/unixpath/forum/admin/avatar_categ.php3 on line 17"
    -08-24-20001: Fixed SQL error with Upload attempt of non-categorized Avatars. Please replace avatar_categ.php!
    -09-05-2001: Problems with avatar upload in avatar_categ.php fixed (Syntax error of me in the Script).
    -Downloads up to 09-05-2001: 213
    Last edited by Bad_Madman; Tue 4th Sep '01, 2:51pm.

  • #2
    Preview 1

    here preview picture 1: categories view
    Last edited by Bad_Madman; Thu 9th Aug '01, 1:18pm.

    Comment


    • #3
      Preview 2

      here preview picture 2: control panel

      Comment


      • #4
        Is all of the code in avatar.php included in your new avatar.php file?

        Comment


        • #5
          Originally posted by freddie
          Is all of the code in avatar.php included in your new avatar.php file?
          Not 1:1 - many modifications in my new file (avatar_categ.php). To detect hardly again. Why, because of license agreement?
          Last edited by Bad_Madman; Thu 9th Aug '01, 2:35pm.

          Comment


          • #6
            Does this work with 2.0.3?

            **BUMP**

            Comment


            • #7
              I plan on testing it in 2.03 so I will get back to ya tonight.
              MSN: [email protected] | MAIL: [email protected] | FOLIO: mholman.com

              Comment


              • #8
                *sniff* you did it for me? *sniff*
                Get it working in 2.03 and I will put ever such good use to it!

                Comment


                • #9
                  Re: Does this work with 2.0.3?

                  My test at version 2.0.3 was just successful. You can use also my new Script, which everything executes automatically (tested on V2.01 and 2.03).

                  Madman

                  Updates:
                  -Fixed MySQL query (sub routine call in avatar_categ.php) Error message "Warning: Supplied argument is not a valid MySQL result resource in /home/blabla/unixpath/vbPortal/forums/admin/db_mysql.php on line 154"
                  -Fixed function call "Fatal error: Can't redeclare already declared function in /home/blablabla/unixpath/forum/admin/avatar_categ.php3 on line 17"
                  -Fixed error in installation.txt (run avatar_hack_install.php instead sqltodos.php)
                  -08-24-20001: Fixed SQL error with Upload attempt of non-categorized Avatars.
                  -09-05-2001: Problems with avatar upload in avatar_categ.php fixed (Syntax error of me in the Script).
                  -Downloads up to 10-01-2001: 163
                  -10-01-2001: Because of to many problems provisionally download deactivated.
                  Last edited by Bad_Madman; Mon 1st Oct '01, 8:18am.

                  Comment


                  • #10
                    Great stuff, thank you! I can't wait to check this one out.

                    Comment


                    • #11
                      when i want to go to modify

                      Fatal error: Can't redeclare already declared function in /home/latriade.net/www/forum/admin/avatar_categ.php3 on line 17

                      Comment


                      • #12
                        I get the same?
                        MSN: [email protected] | MAIL: [email protected] | FOLIO: mholman.com

                        Comment


                        • #13
                          Version?

                          Originally posted by floleb7
                          when i want to go to modify

                          Fatal error: Can't redeclare already declared function in /home/latriade.net/www/forum/admin/avatar_categ.php3 on line 17
                          Do you use vB Version 2.01 or 2.03 ?

                          Comment


                          • #14
                            2.03

                            Comment


                            • #15
                              Sorry. Bug...

                              Originally posted by floleb7
                              when i want to go to modify

                              Fatal error: Can't redeclare already declared function in /home/latriade.net/www/forum/admin/avatar_categ.php3 on line 17
                              if you use vB Version 2.03:

                              search for (in avatar_categ.php):
                              Code:
                              function getrowbg () {
                              	global $bgcounter;
                              	if ($bgcounter++%2==0) { return "firstalt";
                              	} else {return "secondalt";}
                              }
                              ---> and CLEAR it!


                              Madman

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X