Announcement

Collapse
No announcement yet.

[RELEASE vB2.0] Custom Avatars as Files

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

  • in the newer version ov vb it seems that the users only have to hack member.php and admin functions.php and the hack seems to work fine.

    Comment


    • Yes, in fact it works fine, but just when viewing the member's profiles or private messages.

      When showing threads, avatars will be still loaded from the SQL-Server.

      Greetings, The Professor!

      Comment


      • yea i just noticed that so you just have to hack the showthread file up.

        Comment


        • i did some searching and found were the coding to hack up is at now so latter tonight i will see about releasing a new version of this hack for vbulletin 2.0.3

          Comment


          • Any progress in getting this to work properly for 2.0.3 showthread?

            Comment


            • any word on the development for 2.0.3

              **BUMP**

              Comment


              • Here's how to get it working in 2.0.3

                In admin/functions/php, announcement.php and private.php

                Find:
                PHP Code:
                    if ($post[hascustomavatar] and $avatarenabled) {
                      
                $avatarurl="avatar.php?userid=$post[userid]&dateline=$post[avatardateline]"
                and replace it with:
                PHP Code:
                      if ($post[hascustomavatar] and $avatarenabled) {
                        if (
                $usefileavatar$avatarurl="custom_avatars/avatar$post[userid]_$post[avatarrevision].gif";
                        else 
                $avatarurl="avatar.php?userid=$post[userid]"
                Bid For Power - Bid For Power Forums
                =======================
                Anime Academy - Anime Academy Forums

                Comment


                • Do you have to run the install again after upgrading?

                  If so, which one did you use?
                  The original or the one of the modified hack?
                  The Knowledge Emporium

                  The Knowledge Emporium Forums

                  Wonderful World Of Freeware

                  Comment


                  • Dakota, that's the exact same code as the original hack. I am aware that the showthread.php changes are now in functions.php but this doesn't make it work.

                    Look at the source code of a thread with a custom avatar and you will see the avatar is still img src=avatar.php.... while on other pages that display the avatar it does indeed come for the custum_avatars folder.

                    Comment


                    • Keir, buddy. Please rerelease an update for your hack!!! It is needed.

                      Comment


                      • Yes please I also want to use this hack with vB 2.0.3

                        Comment


                        • Sort this Out

                          Would someone PLEASE start a new thread for 2.03 hacks. I ran the install script and then found that the code did not match, now I have to wait for an update.

                          Comment


                          • Mhmm, if just Kier would look into here and post something like:

                            Yes, I'm going to update, be patient

                            or at least

                            No, I'm too busy, sorry

                            Comment


                            • Any news yet ?

                              Any news yet ? My forum needs this mod to work!
                              thanks for your great feature

                              pier

                              Comment


                              • I have a guess why Kier didn't update the hack.

                                It's already done on the vB 2.0.4 waiting for release!
                                vB Drupal Community Plumbing | vB Survey | vBusy | vB Spell | vBouncer

                                Comment

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