vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Avatar Hack: Categories & Usergroups (https://vborg.vbsupport.ru/showthread.php?t=24997)

bad_madman 06-11-2002 05:27 PM

Quote:

Originally posted by ladyfyre
...I have clicked on change avatar and it takes me to: "thanks for updating your profile" and then takes me to the avatars page and i scroll down to browse and change my personal avatar, press submit modifications, and it throws me back to: "you are not logged in "....
The reason could be a wrong session string.
This is a error in my hack. Sorry. Have just noticed it :nervous:

Please, test it:
Search in member.php for
Code:

$session[sessionhash]="$session[sessionhash]$avatcatadd";
and replaces the line with:
Code:

$perpage="$perpage$avatcatadd";
Madman

Sadie Frost 06-11-2002 05:28 PM

make sure they are browsing the board with cookies and automatically logging on when they return to the site - that always causes problems for my members :)

bad_madman 06-11-2002 05:39 PM

This is actually the best way :cool:
Unfortunately, some users don't like cookies :devious: :devious: or cookies blockedly by definite programs :paranoid:

ladyfyre 06-11-2002 06:29 PM

Great....that worked....

only one other problem i have found so far....

in Opera, Mozilla, and IE, the page # links all show up properly....but in Netscape (read: Nutscrape), they are now clickable at all....the link code needs to be adjusted to be cross-browser compatible.

bad_madman 06-11-2002 09:00 PM

@ladyfyre
Many thanks for your report :) :) The Download also is corrected now.
I will look at the problems with Netscape...

pran 06-14-2002 01:20 AM

I couldn't find this code in 2.2.6, member.php:
PHP Code:

 $avatarcount $DB_site->query_first("SELECT COUNT(*) AS count
                                  FROM avatar
                                  WHERE minimumposts<='
$bbuserinfo[posts]'");
  
$totalavatars $avatarcount[count]; 


bad_madman 06-14-2002 01:45 AM

Only look for this first line best, you then will see the complete block.
Code:

$avatarcount = $DB_site->query_first("SELECT COUNT(*) AS count
Or you already have the file changed because of a different one hack...?

Rose 06-28-2002 08:37 PM

I love this new upgrade of the hack. I've got it working almost peachy on vB 2.2.6. The only problem I get is this -

If I have more than 100 avatars in a category, it won't display any pages but the first page in the user cp. I can see them in the admin cp, but not user.

Any suggestions or has this been heard of before?

bonnmac 06-28-2002 11:06 PM

:( Everything seemed to go okay until I edited the membe.php and misc.php. Now when I go to my faq page it's blank and when I go into usercp I get a blank page. Any ideas? I put my backups up again for now and all seems to be working okay.

bad_madman 06-28-2002 11:11 PM

Only a blank page? No error message or other text?

Quote:

Originally posted by bonnmac
:( Everything seemed to go okay until I edited the membe.php and misc.php. Now when I go to my faq page it's blank and when I go into usercp I get a blank page. Any ideas? I put my backups up again for now and all seems to be working okay.

bad_madman 06-28-2002 11:15 PM

Quote:

Originally posted by Rose
I love this new upgrade of the hack. I've got it working almost peachy on vB 2.2.6. The only problem I get is this -

If I have more than 100 avatars in a category, it won't display any pages but the first page in the user cp. I can see them in the admin cp, but not user.

Any suggestions or has this been heard of before?

I have found the error. The page navigation is missing, if avatars are in a category between 100 and 249. An update follows...
Thx to Rose and Patrick for the reports :)

bonnmac 06-28-2002 11:20 PM

Nope just blank pages. Plain old white. Nothing written on them. But everything else seems to be working okay. Everything in the admin panel. Might I be installing the wrong ones? you know you instructed to css? How do I know if I'm using css or not? Sorry if I sound dumb but I'm pretty new to this stuff.
Thanks for your quick reply btw. :) Awesome hack!

Quote:

Originally posted by bad_madman
Only a blank page? No error message or other text?



bad_madman 06-28-2002 11:41 PM

Quote:

Originally posted by bonnmac
Nope just blank pages. Plain old white. Nothing written on them. But everything else seems to be working okay. Everything in the admin panel. Might I be installing the wrong ones? you know you instructed to css? How do I know if I'm using css or not? Sorry if I sound dumb but I'm pretty new to this stuff.
Thanks for your quick reply btw. :) Awesome hack!

Install prefer without CSS. Perhaps this is less misleading at the beginning ;) But it is real no matter whether you install with or without CSS. It must have another reason, if you get only an blank page.
You probably have forgotten installation steps :surprised: ?
Have you selected "Click here for a first installation of the hack" after the start of SQLTODOS.PHP? Please, install once again. I am sure that it works this time :devious: :)

bad_madman 06-29-2002 01:48 PM

New version out: 1.30

Features/Updates
- Bug fixed: Page navigation is missing, if avatars are in a category between 100 and 249
- Faster statistics routine
- Provide definite custom avatars also for other users
- Small bug in user.php eliminated (if you use 'categories in Control Panel -> Users administration')
- Update Instructions in sqltodos.php

Screenshots:
Screenshots in the first post.

Download:
The latest version is in the first post of this thread.

Karybdis 07-01-2002 06:11 AM

hi. W have your hack installed on the site I work at, but we've found a hole in the permission checking

dunno if this has been fixed before but I didnt notice it.. just point me to the right area please if it has ^^;;

Anyways, if you input an $avatcat value into the linking line.... like member.php?action=editavatar&avatcat=33, then it takes the user to that category even if they dont have the permissions for it. And apparently people have been passing this around our site for a long time, so it's becoming well known

just wanted to make sure this doesnt effect any other of the avatar permissions to and what changes could be made to the script to fix it.

had to disable our script in the meantime in case it effected anything else

thanks ^^;; Great hack btw ^^

GloriousWarrior 07-01-2002 10:12 AM

Great Thing, bad_madman! Our users love this function.

But now we have up to 3000 avatars and we've problems with the structure of the categories. Is there a possibility for sub-categories?

like:

Main1 (can be empty)
-- Sub1
-- Sub2
Main2 (can be empty)
-- Sub3
-- Sub4

And its possible to have an image navigation? An example: http://avatars.borg-drohne.de/?conte...esolution=high (only without the popup!) ;)

bad_madman 07-01-2002 07:52 PM

Quote:

Originally posted by Karybdis
hi. W have your hack installed on the site I work at, but we've found a hole in the permission checking...
...Anyways, if you input an $avatcat value into the linking line.... like member.php?action=editavatar&avatcat=33, then it takes the user to that category even if they dont have the permissions for it. And apparently people have been passing this around our site for a long time, so it's becoming well known...

You are right. There really was the bug. This bug is eliminated since the version 1.25.1. You install the latest version 1.30 best :) A couple of other bugs are also eliminated there ;)

bad_madman 07-01-2002 08:00 PM

Quote:

Originally posted by GloriousWarrior
...But now we have up to 3000 avatars and we've problems with the structure of the categories. Is there a possibility for sub-categories?...
good ideas. It is more effort. But perhaps I integrate image navigation and sub categories into the next version... :rambo:

Rose 07-03-2002 01:34 PM

Quote:

Originally posted by bad_madman

I have found the error. The page navigation is missing, if avatars are in a category between 100 and 249. An update follows...
Thx to Rose and Patrick for the reports :)


Works like a charm. Love the new format, I'm used to the very first version of this hack. :D Thanks, BadMadman!!

uhoe 07-12-2002 05:31 AM

i get this error when i try to load anything under the "users" in the cp:
Parse error: parse error in /u/web/pla413/community/admin/user.php on line 576

i'm using vb 2.2.5.

bad_madman 07-12-2002 11:54 PM

You probably have changed something wrongly in the file. Please, repeat the changes at the file admin/user.php...
Quote:

Originally posted by uhoe
i get this error when i try to load anything under the "users" in the cp:
Parse error: parse error in /u/web/pla413/community/admin/user.php on line 576

i'm using vb 2.2.5.


Emma 07-21-2002 02:51 PM

I am having the same problems as I had before with this. Its a great hack, and I really need it considering I have 600+ avatars.

When a user signs up, and they return to the boards for the first time, it doesn't show their avatar( appears as Not selected), yet it shows them as logged in. Now when they reply to the email that was sent, it brings them back to the boards and everything appears fine, although their avatar now appears as "Guest". Now when they try to log in, it tells them their password is wrong. And even if they fill out that sheet and reset their password, it still comes up as wrong.

How can I fix this?

Thank you!
Emma

bad_madman 07-21-2002 04:03 PM

@Emma
This is strange. Hmm. Which ones hack have you installed so that the avatar is shown on the homepage? trilOByte's "Welcome Panel [Final]" or FireFly's "Avatar on homepage". You have these problems, since you have installed my hack 'avatar categories'?

Emma 07-22-2002 05:47 PM

I have Welcome Panel [Final Installed] , and I don't have the problems unless I have the categories show, if I keep them turned off, there is no problem.

Any Ideas?

Emma

SoloX 07-30-2002 01:03 AM

Hello,
I installed the latest version and when my users go to the Avatar selction page, only the first category is shown. Althought the pull down menu has correcnt number of cats and the screen does refresh, but the results are always shown from the first category.

any idea where I can fix this?

thanks

bad_madman 07-30-2002 08:06 PM

Really sure that you have the latest version? I am actually sure that there isn't the fault in the version 1.3 any more :bunny: Pls, can you post (or PM me) the lines in member.php :knockedout: between this
Quote:

$avatarcat=$DB_site->query("SELECT * FROM avatar_categories ORDER BY disorder,title,screenname");
and this
Quote:

if ($repea1==1 and $avataroptions==1) {eval ("\$totalavatarsadd = \"".gettemplate("view_avatarcategoriesadd")."\";") ;}
Thx :)

Quote:

Originally posted by SoloX
Hello,
I installed the latest version and when my users go to the Avatar selction page, only the first category is shown. Althought the pull down menu has correcnt number of cats and the screen does refresh, but the results are always shown from the first category.

any idea where I can fix this?


thanks


Diva 08-19-2002 03:45 AM

Hi bad_madman! This is one of my favorite hacks! I do have a problem now that I upgraded. I tested the hack on a tester board then uploaded to my current board. Now I can only select avatars from the control panel. Any hints? The permissions are correct, too. Thanks bunches!!!

Diva 08-20-2002 06:29 AM

I also have another porblem. I uninstalled the hack, and I still have duplicate options in the control panel. anysuggestions on how to get rid of these?

Donkeyballz 08-20-2002 10:20 AM

Nice very nice :)

bad_madman 08-21-2002 01:09 AM

Quote:

Originally posted by Diva
Hi bad_madman! This is one of my favorite hacks! I do have a problem now that I upgraded. I tested the hack on a tester board then uploaded to my current board. Now I can only select avatars from the control panel. Any hints? The permissions are correct, too. Thanks bunches!!!
Only from control panel in vB admin? Not in user cp? What do you see in the user cp, if you liked to change the avatar?

Quote:

Originally posted by Diva
I also have another porblem. I uninstalled the hack, and I still have duplicate options in the control panel. anysuggestions on how to get rid of these?
Hm. This didn't happen by the avatar hack uninstallation. Something other is to blame there ;) Please, can you look whether the description 'Custom Avatars Folder' exists 2 times. Use phpMyAdmin for this. Select table 'setting', sort by 'description' and look... I think the entry is 2 times also available there. Delete the 2nd entry and check the settings in vB Admin options. I don't know what has caused this. But it wasn't the avatar hack uninstallation.

Diva 08-21-2002 01:28 AM

Quote:

Originally posted by bad_madman
Only from control panel in vB admin? Not in user cp? What do you see in the user cp, if you liked to change the avatar?

Hi! I see all the categories, but when I try to select, it just won't let me. I need to tell you that I also installed your one avatar taken hack. They worked beautifully on my test board. On this board, it reverts to the no avatar selected unless you use/upload a custom avatar.

Quote:

Hm. This didn't happen by the avatar hack uninstallation. Something other is to blame there ;) Please, can you look whether the description 'Custom Avatars Folder' exists 2 times. Use phpMyAdmin for this. Select table 'setting', sort by 'description' and look... I think the entry is 2 times also available there. Delete the 2nd entry and check the settings in vB Admin options. I don't know what has caused this. But it wasn't the avatar hack uninstallation.
I looked and could only find one. :disappointed:

bad_madman 08-21-2002 02:01 AM

Hm. My hack 'one use avatar' isn't compatible with 'avatar category hack'. I must change this... Please undo changes for hack 'one use avatar'. I'll write a changed version of the hack 'one use avatar'...

your 2nd problem: strange. very strange :confused: I don't know. Have you changed the file admin/options.php?

Diva 08-21-2002 02:04 AM

It isn't compatible? Drat! That's a great hack, too! I would love to know when you do make a modified version.

I'll look through my hacks to see if I had to do that. Thanks again!

Prophet2002 08-23-2002 06:09 AM

Okay i got the d/b problem fixed but still havin one more. In user cp the categories show up mixed (always the last five are from a diffrent categorie). Also when selecting a diffrent categorie from the drop down box, the screen refreshes but the same avatars are shown. Funny though, in admin cp it works fine, the groups show as as they are supposed to and no problems changing groups. Any ideas on how to fix this?

Tim Wheatley 08-31-2002 11:48 PM

Er, is this working for 2.2.6 then or is it still beta? I haven't read a single 'great, thanks - got this working...' ??

Diva 08-31-2002 11:53 PM

It's working great in 2.2.6 now. I just can't use the noavatar.gif hack with it.

But this one is great!

Tim Wheatley 09-01-2002 01:21 AM

Thanks. :) It was kind of difficult to see whether it was working or not! lol

Skyrender 09-01-2002 07:40 AM

For some reason The Cat Doesnt show up at all

Ron ? DCS 09-02-2002 01:05 AM

I think I found a bug...

My custom avatars are supposed to be for a select group of people, namely, my "supporting members." However, I have been finding new members when first signing up having the ability to access these custom avatars...

I couldn't figure it out for a while, but finally found the problem...when a new member first signs up, there is a drop down box containing ALL avatars, including custom-made ones...

I've tried everything to get rid of this problem, including "hiding" the custom avatar category, to no avail...the rest of the program works perfectly, is there a solution to this particular problem?

Diva 09-02-2002 02:34 AM

Okay, I just noticed something like that too. All of the "New" avatars I uploaded are showing, including the ones in a 'hidden' folder. But my older ones are not, including avatars that are supposed to be seen.


All times are GMT. The time now is 03:57 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.01935 seconds
  • Memory Usage 1,843KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_php_printable
  • (16)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