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)

Liz 02-02-2002 05:21 PM

Version 2.2.0 - 2.2.1
Hack is in. BUT when you go to Select Categories it is blank. What happened?
In the admin control panel all the categories are in..all the avatars are moved and show categories is selected yes under options.
Can anyone help? This is really frustrating and my memebers are getting antsy.

Minimazz - I had one of those errors too. But I fixed it..and I'm not sure how. After hours of doing the same coding you forget at times. I can always try sending you my member.php file......

This is what happends to my hack (It's a screen shot)...the avatar categories don't show. Does anyone know what's wrong?

newvbuser 02-03-2002 01:21 PM

Does this work with version 2.2.2 ??

LuBi 02-03-2002 04:58 PM

Quote:

Originally posted by newvbuser
Does this work with version 2.2.2 ??
Yep! This is one of the most powerful hacks to date :eek:

Just wanted to give my thanks :p

Liz 02-05-2002 01:31 PM

I put the avatar categories hack into my board (vb 2.2.1) and it looks great EXCEPT that the very same 25 avatars show up for each category no matter which one you choose! And at the bottom of the screen where the # of av is listed, there is nothing for total # of avatars, just "showing 4 of 4".

Anyone have any idea what went wrong??

Its the first 25 avatars I had in there to begin with. And show categories is enabled.

Help help!!

Liz

Justice 02-06-2002 05:35 PM

still doesn't work with the "avatars as files" hack, huh?

Jawelin 02-09-2002 10:15 AM

Quote:

Originally posted by Justice
still doesn't work with the "avatars as files" hack, huh?
... and what about 14 (fourteen) !!! attachments within a single thread to complete this hack, with lot of files overwriting each other ?

:stupid: :supwink:

Jawelin 02-13-2002 08:32 PM

--=^BUMP^=--

LanciaStratos 02-20-2002 08:59 PM

I can't seem to find the code I need to change in admin/index.php. It's just not there, and I'm using 2.2.0. :confused: Am I doing something wrong, or does this just not work for 2.2.0? :stupid:

Rose 03-02-2002 04:34 PM

Quote:

Originally posted by LanciaStratos
I can't seem to find the code I need to change in admin/index.php. It's just not there, and I'm using 2.2.0. :confused: Am I doing something wrong, or does this just not work for 2.2.0? :stupid:

I'm having the same problems. I'm using 2.2.2 and can't find the right admin/index.php code.


BUMP!!! :D


Any help? ;)

Liz 03-02-2002 05:19 PM

I figured out what was wrong with mine, but forgot to post about it. Ooops? ;)

Rose and LanciaStratos - are you two scrolling down and reading every bit of code..looking for what you need to change? Yikes! That's a pain. I never did that, what I do is hit
CTRL and F and then type in part of the code I'm looking for...and it brings me directly to the code. ;)

Hope that helps!

Also..which index.php are you looking in? Maybe your editing the wrong one....

Floris 03-22-2002 10:45 AM

Anybody running this on 2.2.4 ? (and without problems?)

HellRazor 03-24-2002 01:40 AM

I'm running it on 2.2.4 with no problems.

Stylez 04-17-2002 11:00 PM

what about 2.2.5?

ZiRu$ 04-17-2002 11:14 PM

this is a GR8 hack! I will test it out as soon as I get home! Congrats

Jawelin 04-18-2002 07:31 PM

I'm trying to investigate why some users has choosen an avatar in a category they shouldn't have seen ....
How could I go deeper ?

Thanks

Jawelin 04-20-2002 01:46 PM

Quote:

Originally posted by Jawelin
I'm trying to investigate why some users has choosen an avatar in a category they shouldn't have seen ....
How could I go deeper ?

I think I've found the problem: register.php
Infact, many users choose category-unaccesible avatars at register time.
I think the quickest solution could be replace
PHP Code:

  if ($avatarenabled) { 

with
PHP Code:

  if ($avatarenabled and !$avatarpermissions) { 

... What do you think about ?

Thnx

alanvo 04-21-2002 12:44 AM

any luck with 2.2.5?

LightBringer 04-24-2002 05:29 AM

I'd like to know if anyone else has gotten this to work on 2.2.5 as well. ;)

geniuscrew 04-29-2002 12:22 PM

We are running it on 2.2.5 without any probs ;)

nulltone 05-04-2002 12:47 AM

Quote:

Originally posted by Liz
Version 2.2.0 - 2.2.1
Hack is in. BUT when you go to Select Categories it is blank. What happened?
In the admin control panel all the categories are in..all the avatars are moved and show categories is selected yes under options.
Can anyone help? This is really frustrating and my memebers are getting antsy.

Minimazz - I had one of those errors too. But I fixed it..and I'm not sure how. After hours of doing the same coding you forget at times. I can always try sending you my member.php file......

This is what happends to my hack (It's a screen shot)...the avatar categories don't show. Does anyone know what's wrong?

I am using version 2.2.5, my problem is similar, but I dont even see a dropdown box to cycle through.

Emma 05-06-2002 08:03 PM

I am having a problem with , when the categories are viewable, new members can pick their avatar but then it comes up saying they aren't logged in, when in fact they are, and when they try to log in, it won't let them b/c it says they have the wrong password, when infact they have the right one.

Help!
Emma

ZiRu$ 05-06-2002 08:21 PM

Is anyone running this fine with the STORE hack? Cause I heard there was problems

Velocd 05-07-2002 03:51 AM

Hey this looks like another excellent hack, can't believe I passed by it. By reading the above posts I'm not so sure its compatible with newer VB versions though..:(

Brad 05-09-2002 04:47 PM

i got problems under 2.2.5


the permisson to allow custom avatars in the cp is gone, that means users cant upload custom ones anymore, only us admins in the cp :(. they get this message, The uploaded file is not a valid GIF or JPG file. Please ensure that it is and try again.


the other admin installed it, newbie hacker, so id thought i ask for suport before i went intot he files/database

Preasidium 05-13-2002 05:19 AM

I have a problem.

I am running 2.2.5
I uploaded and ran the sqltodos.php with no problems.

Then i proceed to edit the index.php and I cant seem to find this:

PHP Code:

<?php maketableheader("Avatars"); ?>
</table>
<a href="avatar.php?s=<?php echo $session[sessionhash]; ?>&action=upload"> Upload </a> |
<a href="avatar.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a> |
<a href="avatar.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>

What I see for avatars is this:

PHP Code:

// *************************************************
makenavoption("Add","avatar.php3?action=add","|");
makenavoption("Modify","avatar.php3?action=modify","|");
makenavoption("Upload","avatar.php3?action=upload");
makenavselect("Avatars");
// *** 

When i replace that with the first code I get a parse error. What exactly am I doing wrong here?

scsa20 05-13-2002 07:01 AM

hmm...seems like some (if not, most) people that's runny vb 2.2.5 had luck with it, I, for the other hand, didn't :( I don't know what's wrong, I put in everything, it doesn't categories the avatars, nor show the drop down box :(

any help can be help full, thanks

Suspiria 05-17-2002 09:35 AM

I have the same problem as these other folks do with 2.2.5 - not having the drop down menu appear in the user CP. Does anyone know how to fix this? :(

ZiRu$ 05-18-2002 12:56 PM

I guess I'll wait till the bugs are cleared up

Velocd 05-18-2002 09:35 PM

I am having this problem also :( For some reason, and I have created all the neccesary templates and done everything correctly, the drop down list is not appearing! Somebody please help! Firefly or Logican perhaps? I am running version 2.2.4
If you have it working and you're running 2.2.4 or 2.2.5, PM me please!

Velocd 05-19-2002 07:44 PM

^ bump

somebody please help this is an awesome hack and vbulletin wouldn't be the same without it ^_^

scsa20 05-19-2002 07:56 PM

I don't know what's wrong with it eather, it's not showing up for me either :(

Matt 05-20-2002 03:54 PM

This is really odd, it works fine for me, and thats on 2.2.5. I just followed the instuctions as stated.

I have to go offline now but I will rewrite the file later and see if that helps, if not then people can send me links to their forums and I will see if I can spot the problem :)

Sadie Frost 05-20-2002 06:49 PM

It works fine for me on 2.2.4 - that is odd

I'll try to help if I can - I know of 2 people having problems installling this though

Velocd 05-21-2002 12:52 AM

thanks, any help would be greatly appreciated. I can be contacted on AIM at invincible box

;)

bad_madman 05-21-2002 10:02 PM

I have changed the old version a little. These new version works definitely with vB Version 2.2.5!
I also have enclosed a help file (firststeps.txt) which can help with first problems. Reading through the file at the best at problems after the installation once. Also notice every step in the installation instructions!

Madman

The file was removed.
The latest version is in the first post (https://vborg.vbsupport.ru/showthrea...159#post152159)
.

Sadie Frost 05-22-2002 10:47 PM

Okay, I haven't looked at the new file just posted, but in case that doesn't work, I've just finished installing this on a friend's 2.2.5 board with no problems. Here's what I did in case it helps anyone. :)

I followed the directions bad madman gave, in a nutshell:

1) added each of the templates and made the changes as instructed to modifyavatar template

2) uploaded sqltodos and avatar_categ; ran http://www.yoursite.com/path/to/admin/sqltodos.php

3) Made change to index.php - this was different than in the directions I had (maybe I had an old copy):

Find:
Code:

makenavoption("Add","avatar.php?action=add","|");
makenavoption("Modify","avatar.php?action=modify","|");
makenavoption("Upload","avatar.php?action=upload");
makenavselect("Avatars");

and replace with:

Code:

makenavoption("Add","avatar_categ.php?s=&action=add","|");
makenavoption("Modify","avatar_categ.php?s=&action=modify","|");
makenavoption("Options","options.php?s=&action=options&settinggroupid=26#settinggroup26");
makenavselect("Avatars / Categories");

4) made changes to member.php - here I added the code after it says
Quote:

>>> Replace ist with (if you don't use CSS-Navigation - see further below):
That is all I did - I skipped all the other CSS stuff. Like I said, I might have an old copy of the directions, but what I did worked, so I figured it might help someone :)

Velocd 05-24-2002 04:46 AM

LOL! Bwahahahah, I just figured out why it never showed up before, and it is the stupidest mistake in the world. Funny thing is, everyone who can't get this hack to work 99% chance if you installed correctly its because of this problem (thanks to bad_madman).

In Admin -> Options -> Avatars

Make sure the following are marked yes:

- "Show up avatar categories"
- "Show up not categorized avatars"


Now your drop down list should show, for me it was default for "show up avatar categories" was off, and I never bothered to check that value. d'oh

Its all good now though, great hack and thanks ;)

scsa20 05-24-2002 05:40 AM

Quote:

Originally posted by Velocd
LOL! Bwahahahah, I just figured out why it never showed up before, and it is the stupidest mistake in the world. Funny thing is, everyone who can't get this hack to work 99% chance if you installed correctly its because of this problem (thanks to bad_madman).

In Admin -> Options -> Avatars

Make sure the following are marked yes:

- "Show up avatar categories"
- "Show up not categorized avatars"


Now your drop down list should show, for me it was default for "show up avatar categories" was off, and I never bothered to check that value. d'oh

Its all good now though, great hack and thanks ;)

lol, I just noticed that after reading that post, my "Show up not categorized avatars" was set to yes as default but that other one "Show up avatar categories" was set to no, thanks for pointing that out to everyone :D

bad_madman 05-27-2002 01:12 PM

New version out: 1.25.1

Features/Updates
- Bug fixed: User can call categories, which wasn't opened for the Usergroup.
- Total number avatars in a category (select menue).
- Categories now also for the FAQ page (Help-View on vBulletin) possible. e.g. link
- Categories now also in Control Panel -> Users administration
- More options in Control Panel / Bug fixing in HTML Source
- How many Users use a definite Avatar (+list of Users) (CP).
- Adminlog function enabled (avatar_categ.php)
- Config/Admin-File (avatar_categ.php) for .php3 including now.

Screenshots:
Screenshots in the first post.

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

Madman

Velocd 05-28-2002 12:05 PM

Excellent job ;)


All times are GMT. The time now is 12:02 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.01664 seconds
  • Memory Usage 1,836KB
  • 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
  • (2)bbcode_code_printable
  • (4)bbcode_php_printable
  • (7)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