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)

kaotic 06-11-2003 06:32 AM

Straight up: Can anybody confirm that this hack works on 2.3.0 without ANY errors or complications?

gmarik 06-11-2003 09:51 AM

/me thinks there are some errors on 2.3 still it can be edited

bad_madman 06-11-2003 04:27 PM

Quote:

Today at 09:32 AM kaotic said this in Post #381
Straight up: Can anybody confirm that this hack works on 2.3.0 without ANY errors or complications?
Quote:

Today at 12:51 PM gmarik said this in Post #382
* gmarik thinks there are some errors on 2.3 still it can be edited
I have installed on vB 2.3.0 (hack free vB version, new installation). It works without any problems...

geniuscrew 06-11-2003 09:17 PM

I think I had to rearrange some of the code, but I've got it working on vB 2.3.0 also

prcast 06-23-2003 07:31 PM

How can i add a maxiumpost setting to the avatar_categ.php file so that i can use it to set the maxium by category.

Buczilla 06-26-2003 02:12 AM

Thanks a bunch, AWESOME hack... Im about to search for this, but just gonna post it to be safe... is there a way to get rid of the (# of avatars) after the name of each category? Thanks!

dmark101 07-11-2003 12:48 AM

hey guys. i have a bit of a problem. i've posted about this before and i haven't had any answers.

i've installed the hack on vb2.2.9. i can creat the categories and i can upload avatars to the categories. what i am having a problem with is trying to exclude people from being able to select an avatar.

my site has donating members and they, along with the forum moderators, can have avatars, but no one else can.

do i exclude the user groups from the category in order to keep them from being able to select an avatar?

or do i include them in order to keep them from selecting one?

any help would be greatly appreciated. :)

wwwabbit 07-25-2003 03:11 PM

I am in the same boat as dmark101......
It's all installed, but I don't know how to make it do what I want.... I want so "registered" users get nothing to do with Avatar's, but everyone else (the other 5 member groups we have) can have an avatar, and upload there own, etc. I am lost as how to set it up so it can do that.

Thanks!
~Brian

wwwabbit 07-28-2003 07:35 PM

Anyone?

bad_madman 08-08-2003 05:06 PM

Quote:

07-25-03 at 06:11 PM wwwabbit said this in Post #388
I am in the same boat as dmark101......
It's all installed, but I don't know how to make it do what I want.... I want so "registered" users get nothing to do with Avatar's, but everyone else (the other 5 member groups we have) can have an avatar, and upload there own, etc. I am lost as how to set it up so it can do that.

Thanks!
~Brian

Hmm. only a quick workaround:
search in member.php for:
Code:

if (($avatarallowupload or $avatarallowwebsite) and $bbuserinfo[posts] >= $avatarcustomposts) {
and replace with
Code:

if (($avatarallowupload or $avatarallowwebsite) and $bbuserinfo[posts] >= $avatarcustomposts and
        $bbuserinfo[usergroupid]==6) {

6 for the user groupid (User group) which can play with avatars (upload).

For more than one group this code:
Code:

if (($avatarallowupload or $avatarallowwebsite) and $bbuserinfo[posts] >= $avatarcustomposts and
        ($bbuserinfo[usergroupid]==4 || $bbuserinfo[usergroupid]==5 ||
        $bbuserinfo[usergroupid]==6 ...)) {



All times are GMT. The time now is 06:25 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.01668 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)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