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)

Solice 12-26-2002 03:14 AM

I was hoping someone might be able to help me out with this... I tried installing the hack on 2.2.9 and it everything works except for member.php and misc.php... and sadly I can't seem to figure out how to get them to work ~_~

I greatly appreciate any and all help anyone gives me... thankies in advance ^.^

[EDIT]
Ok, i figured telling the erroes might help... on misc.php it says theres a parse error on line 232.... all thats on that line is the ?> command...

I actually got members.php to work kinda... its actually showing the page now, but still not the cats, once again any help is greatly appreciated ^^
[/EDIT]

[EDIT AGAIN]
weeeeeeeeeeeeee..... ::does happy dance:: well I got members.php working... not bad for someone with zero php/mysql knowledge :P... misc.php still doesn't work, but I dun really care about it much, if someone wants to help on it, its appreciated, if not, oh well ~_~
[/EDIT]

dmark101 01-10-2003 06:18 PM

hmm.

i'm having this problem:

the permissions are active. i've set it so that only admins and mods have permission to modify or even have an avatar. i've set up categories for them. i've even changed the minimum post settings to make them high enough so that ONLY those groups that have permission can change them.

the deal is, new users can select their own avatar! what is the dealio? :(

i'm using vB 2.2.9 and i'm seriously considering ditching this mod and not allowing avatars at all.

kevinnguyen 03-21-2003 01:03 PM

does it work with 2.3.0?

TVboardsXcom 04-03-2003 07:09 PM

Yeah I need to know the same thing, does this work with 2.3.0? Because I really need this and I have 2.3.0....

Thanks.

dmark101 04-09-2003 02:43 AM

hmm.

nice to see the support for this.

i'm through monkeying around with this mod. i'm de-installing it and adding avatars manually. it will save me the headache of not getting any damned answers. :x

Splitfyre 04-11-2003 01:44 AM

want to implement this but must wait til VB3.0

GZ_Tanis 04-11-2003 02:31 AM

yes it works on 2.3.0 I am using it on my boards www.gzleagues.com/forum

Splitfyre 04-13-2003 02:24 AM

Cannot get the categories to show up when going into change my avatar. Can anyone help?

www.futurelooksforums.com

GZ_Tanis 04-13-2003 02:57 AM

I dont know dude it worked fine for me I have had this hack since I got vb

One thing I always do once I install a hack is to go thru the staeps again to make sure i did everything correct.

Splitfyre 04-13-2003 03:11 AM

Time to go through it again. :(

Splitfyre 04-13-2003 04:05 AM

The dropdown appears when a user goes in and tries to navigate through the folders, however:

It doesn't switch over and just shows the same avatars??

Help. I've gone through this install twice.

GZ_Tanis 04-13-2003 04:08 AM

SF im on MSN now add me trl_tanis@yahoo.com maybe we can figure this out.

GZ_Tanis 04-23-2003 11:37 PM

DOH!!!!!

I accidently deleted my page nav templates can someone post on here what the 2 page nav templates are suppose to have in them and the name of the template pls

Frozen Dreams 04-28-2003 09:52 PM

I had a bloody hard time installing this hack - but now it works...
this is on a 2.2.9

if someone ever gets a member.php error on line 901 remove the ar"; on that line ... that's what caused problems for me - but after removing it - worked

We cant upload avs through cp anymore though ... only via ftp and then adding - can anyone tell me why?

gmarik 05-24-2003 07:23 AM

If this works on 2.3.0, it's REALLY what I was searching for all the time, thanks.

Steve W. 06-08-2003 11:11 AM

I had some avatars of 64x64 uploaded, and my members could access them fine. Then I reuploaded them as 95x95 and readded them to the categories, and now none of them work. They show up in the select avatar bit fine, but when you look at a postbit or the welcome panel, it just shows "avatar not selected". Any ideas why?

Steve W. 06-08-2003 12:30 PM

Anyone have any ideas?

Steve W. 06-08-2003 01:54 PM

If someone wants to register and see whats wrong, http://rockpop.goldenpie.com

Steve W. 06-08-2003 05:17 PM

I mean, anyone with this problem, some support, please help!

legendarysk8er 06-09-2003 04:16 AM

Very nice hackm thanks!

/me clicks install.

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 ...)) {


JGM007 08-09-2003 01:10 AM

Hmmm.. I could be crazy, but I have had no problems up to 2.3.1

But today since I am moving to a new web host in the AM I figured I would take advantage of a fresh install of 2.3.2 since it just came out.

For the life of me I can figure out why I can not see the avatars when going to choose a new avatar, but they DO show up under the FAQ.

I see the dropdown list, reports the correct number of avatars...

I have done a fresh install 2X and checked for errors a few times now. Not to ask this common phrase, but... Has anyone tried it on 2.3.2 since it was released today?

You can take a gander at the problem at:
http://aries.lunarpages.com/~madoshi2/sobanoodles/

If you look at before 7am Eastern time it will look kinda bland there. From 7am till 8 or 9 it will be offline while I move the db into place.

I want to place the blame on a template issue... but I am not sure.

King Badklow 08-09-2003 04:28 AM

Yeah, today i update my foruns for 2.3.2 and this happening with me too. I cant see the avatars, but the droopdown list show the numbers of avatar for categories

JGM007 08-09-2003 01:30 PM

Can you see the avatars on the FAQ page?


Also I though I shoud note what I have for mods too:

Avatar Hack ;)
vBindex
Sig Killer

bad_madman 08-09-2003 04:31 PM

Quote:

Today at 07:28 AM King Badklow said this in Post #392
Yeah, today i update my foruns for 2.3.2 and this happening with me too. I cant see the avatars, but the droopdown list show the numbers of avatar for categories
Quote:

Today at 04:30 PM JGM007 said this in Post #393
Can you see the avatars on the FAQ page?


Also I though I shoud note what I have for mods too:

Avatar Hack ;)
vBindex
Sig Killer

Oops. With update 2.3.2 come a new function for a better page-navi in the file 'admin\functions.php'. But no problem:
search in member.php for
Code:

  $perpage = $numavatarshigh * $numavatarswide;
and inserting (!!!) the following lines under this
Code:

  if (!isset($pagenumber) or $pagenumber==0) $pagenumber=1;
  $limitlower=($pagenumber-1)*$perpage+1;
  $limitupper=($pagenumber)*$perpage;

and search in member.php for
Code:

  sanitize_pageresults($totalavatars, $pagenumber, $perpage, $perpage, $perpage);

  $limitlower=($pagenumber-1)*$perpage+1;
  $limitupper=($pagenumber)*$perpage;

and replace with
Code:

//  sanitize_pageresults($totalavatars, $pagenumber, $perpage, $perpage, $perpage);

//  $limitlower=($pagenumber-1)*$perpage+1;
//  $limitupper=($pagenumber)*$perpage;


Matt 08-09-2003 11:04 PM

I would really love the ability to allow specific users access to a certain category. I want to give Contributors to my forum access to a category containing a selection of special avatars.

Is this possible?

JGM007 08-10-2003 04:52 AM

Thank you bad_madman!! Works like a charm! ^_^

You were right on top of that one. Thank you again for the great hack!

JGM007 08-10-2003 01:09 PM

Heya bad_madman, I think I found another bug, I am not sure.
In the admin/user.php I get an error on line 671 when I try to use the functions under users: add find move/prune


line 671 points to the } at the end of the section: // ###################### Start modify Avatar ################




//at the end of the section//
//line 671 for me ->// }


// ###################### Start Update Avatar ################


If I remove the line the admin/user functions work again but it shows admin functions again, but errant bits from the avatar selection code show up :D

If you need more information let me know and I will try to provide you with it.

poetic 08-23-2003 05:27 AM

i get a error in admin/user on line 673 when i try to delete inactive users and click on the ip address link in admin cp can you figure it out madman

gmarik 08-23-2003 07:48 AM

Categorys could be used not only for avatars ...

poetic 08-24-2003 01:54 AM

well can anyone help my error????


All times are GMT. The time now is 04:11 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.01737 seconds
  • Memory Usage 1,822KB
  • 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
  • (7)bbcode_code_printable
  • (5)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