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.


All times are GMT. The time now is 01:05 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.01416 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)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