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)

HalfBreed 08-14-2001 04:43 AM

Quote:

Originally posted by Bad_Madman
test:

edit avatar_categ.php
search for:
Code:

  $avatar_categs=$DB_site->query_first("SELECT * FROM avatar_categories WHERE avatar_categoriesid!=0");
and replace it with:
Code:

  $avatar_categs=$DB_site->query("SELECT * FROM avatar_categories WHERE avatar_categoriesid!=0");
Hmmm. Apparently nevertheless still a few bugs :(

Yes!!! But, that fix worked like a champ so that means one less to contend with. :)

dxb 08-14-2001 09:24 AM

I know it's a dumb question but I got lost between your two posts Bad_Madman

so now we have two files to download one is

avatar_hack.zip

and the other one is

automatic_install.zip

so what exactly we are supposed to do

follow the instruction in the first zip or just upload the files in second zip file and use the sqltodos.php and then run the avatar_hack_install.php

please if it's possible clearify this :)

and thanks alot

bad_madman 08-14-2001 10:08 AM

[QUOTE]Originally posted by dxb
...follow the instruction in the first zip or just upload the files in second zip file and use the sqltodos.php and then run the avatar_hack_install.php

please if it's possible clearify this :)

and thanks alot...

Dakota 08-14-2001 03:19 PM

I am using vB 2.0.3 on another forum that I help, and when I installed I get this error when I try to go to Add or Modify

Fatal error: Cannot redeclare getrowbg() in /*/*/public_html/forum/admin/adminfunctions.php on line 83

Here is the code in that part of adminfunctions
Code:

// ###################### Start getrowbg #######################

function getrowbg () {

// returns the current alternating class for <TR> rows in the CP.

        global $bgcounter;

        if ($bgcounter++%2==0) {

                return "firstalt";

        } else {

                return "secondalt";

        }

}


Dakota 08-14-2001 03:50 PM

Ok, well I got rid of the error by deleting this part of avatar_categ.php

on line 5:
Code:

function getrowbg () {

        global $bgcounter;

        if ($bgcounter++%2==0) { return "firstalt";

        } else {return "secondalt";}

}


bad_madman 08-14-2001 04:00 PM

[QUOTE]Originally posted by Dakota
Ok, well I got rid of the error by deleting this part of avatar_categ.php...

bad_madman 08-14-2001 11:16 PM

[QUOTE]Originally posted by floleb7
it's possible to have the same things for that page
http://www.latriade.net/forum/misc.p...on=showavatars

e.g selection of category and only XX avatars show per page

Dakota 08-15-2001 04:43 AM

I got this error.

Parse error: parse error in /(/*/*/*/bidforpower.com/htdocs/forum/misc.php on line 208

Line 208 is just
Code:

?>
using vB 2.0.1

bad_madman 08-15-2001 07:15 AM

[QUOTE]Originally posted by Dakota
I got this error.

Parse error: parse error in /(/*/*/*/bidforpower.com/htdocs/forum/misc.php on line 208

Line 208 is just
Code:

?>
using vB 2.0.1

floleb7 08-15-2001 07:27 AM

http://www.latriade.net/forum/misc.p...on=showavatars

great thks man ;)


All times are GMT. The time now is 08:10 AM.

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.02091 seconds
  • Memory Usage 1,739KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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