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)

snyx 08-15-2001 07:51 AM

I installed the first verison without the catigories, now I wanna upgarde from it kinda, but there are not inturctions on how? help?

bad_madman 08-15-2001 08:11 AM

[QUOTE]Originally posted by snyx
I installed the first verison without the catigories, now I wanna upgarde from it kinda, but there are not inturctions on how? help?

snyx 08-15-2001 08:35 AM

2.03

bad_madman 08-15-2001 09:05 AM

[QUOTE]Originally posted by snyx
2.03

snyx 08-15-2001 09:20 AM

eek, all I know is I have the zip, here thanks for the help btw man

bad_madman 08-15-2001 10:01 AM

[QUOTE]Originally posted by snyx
eek, all I know is I have the zip, here thanks for the help btw man

SirSteve 08-15-2001 01:44 PM

Got this while using the auto install. Am on 2.0.3:

...create template view_avatarcategories in Style Default...
...create template view_avatarcategoriesadd in Style Default...
...create template view_avatarcategoriesdis in Style Default...
...create template view_avatarcategorieslist in Style Default...
...add CSS-Styles for Navigation in template headinclude in Style Default...
...create template numbernav_own in Style Default...
...create template numbernav_pages_own in Style Default...
...change (for avatar categories) template modifyavatar in Style vB Original...

Template update complete.

Warning: fopen("index.php.backup","a") - Permission denied in /forums/admin/avatar_hack_install.php on line 245

Warning: Supplied argument is not a valid File-Handle resource in /forums/admin/avatar_hack_install.php on line 246

Warning: Supplied argument is not a valid File-Handle resource in /forums/admin/avatar_hack_install.php on line 247
...make backup of file index.php...

Warning: fopen("index.php","w") - Permission denied in /forums/admin/avatar_hack_install.php on line 265

Warning: Supplied argument is not a valid File-Handle resource in /forums/admin/avatar_hack_install.php on line 270

Warning: Supplied argument is not a valid File-Handle resource in /forums/admin/avatar_hack_install.php on line 271
...change menu entry in file index.php (Original avatar entry modified)...
...make backup of file member.php...

Warning: fopen("../member.php","w") - Permission denied in /forums/admin/avatar_hack_install.php on line 324
...Change (avatar hack - part 1) the file member.php in forum directory (original modified)...
...Change (avatar hack - part 1.1) the file member.php in forum directory (original modified)...
...Change (avatar hack - part 2) the file member.php in forum directory (original modified)...
...Change (avatar hack - part 3) the file member.php in forum directory (original modified)...
...Change (CSS and jump features) the file member.php in forum directory (original modified)...

Warning: Supplied argument is not a valid File-Handle resource in /forums/admin/avatar_hack_install.php on line 330

Warning: Supplied argument is not a valid File-Handle resource in /forums/admin/avatar_hack_install.php on line 331

Files update complete.

Warning: fopen("avatar_categ.php","w") - Permission denied in /forums/admin/avatar_hack_install.php on line 354

Warning: Supplied argument is not a valid File-Handle resource in /forums/admin/avatar_hack_install.php on line 355

Warning: Supplied argument is not a valid File-Handle resource in /forums/admin/avatar_hack_install.php on line 356
...write file avatar_categ.php to your forums admin directory...

File management complete.

???????

bad_madman 08-15-2001 01:59 PM

[QUOTE]Originally posted by SirSteve
Got this while using the auto install. Am on 2.0.3:

...Warning: fopen("index.php.backup","a") - Permission denied in /forums/admin/avatar_hack_install.php on line 245....
....???????

bad_madman 08-16-2001 09:10 AM

@SirSteve...

[QUOTE]Originally posted by Bad_Madman
I don't know :confused: But I assume that the Script to writing does not have sufficient rights. Make the forums folder and the forums/admin folder 777 chmod. PHP required to have permission to write files to disk. If they do not have the neccessary permissions, it will fail.

SirSteve 08-16-2001 05:11 PM

I'll have to get back to you as when I manually CHMOD the directories, they don't stick.

Dakota 08-16-2001 09:01 PM

Ok I got another suggestion. In the admin CP when you are selecting an avatar for someone to use, like to reset it, or give them a custom avatar or something. Could you also add the hack to that part of it?

bad_madman 08-17-2001 08:31 PM

[QUOTE]Originally posted by Dakota
Ok I got another suggestion. In the admin CP when you are selecting an avatar for someone to use, like to reset it, or give them a custom avatar or something. Could you also add the hack to that part of it?

lyn 08-19-2001 09:27 PM

Quote:

Originally posted by Bad_Madman
here preview picture 1: categories view
I'm terribly confused. :(

I installed the hack and while I can define categories in Admin just fine, when I go to change the avatar in my user CP, I don't get any sort of drop down menu of any sort.

I have followed the instructions PERFECTLY. So I don't understand what's wrong.

:(

Is there SUPPOSED to be a category drop down menu?

Thanks in advance for any help.

lyn 08-19-2001 10:09 PM

Okay, well I got the dropdown list to work (I think) however I had to go into the "modifyavatar" template and replace $avatcategorie with the contents of the view_avatarcategories template.

Why did I have to do this? What does the $avatcategorie variable call and why did it seem to completely ignore whatever it was supposed to do?

Will replacing it with the contents of the view_avatarcategories template cause any harm?

Thanks in advance.

lyn 08-19-2001 10:22 PM

Okay, I figured out what the problem was.

$avatcategorie is pulling up the template for view_avatarcategoriesdis instead of view_avatarcategories for some reason. I cannot figure out why.

In the PHP code it states the avatarcategoriesdis template will be called when, "$totalavatars=$totalavatars2" however I can't understand for the life of me WHY this isn't working for me or why the "totalavatars" and "totalavatars2" are equal to one another.

Is there something I'm not doing right? Please help

Thanks.

bad_madman 08-20-2001 12:37 AM

[QUOTE]Originally posted by lyn
$avatcategorie is pulling up the template for view_avatarcategoriesdis instead of view_avatarcategories for some reason. I cannot figure out why.

lyn 08-20-2001 12:51 AM

Okay, then the question remains, I guess . . . .

How do I activate the categories?

I have three so far . . . I don't see any option to "activate"

How would I go about doing that?

Thanks.

lyn 08-20-2001 12:57 AM

Oh!!

I got it. I had to go into options and select Yes for "Show up avatar categories" which for some reason was turned off.

Everything is working now and it's beautiful!!

Thanks for the great hack.

I'm really not this stupid, just my blonde roots showing through. :)

bad_madman 08-20-2001 12:57 AM

[QUOTE]Originally posted by lyn
Okay, then the question remains, I guess . . . .
How do I activate the categories?
I have three so far . . . I don't see any option to "activate"
How would I go about doing that?
Thanks.

bad_madman 08-20-2001 12:58 AM

[QUOTE]Originally posted by Bad_Madman
On the left side in the vB CP you find the point "Options" in the paragraph "Avatars / Categories". Then on right side: "Show up avatar categories" >> Yes/No (Categories activate/deactivate) ;)

Admin 08-20-2001 04:54 PM

Ever since I installed this hack, whenever I try to attach a file (with a permitted extension), I get error_avatarnotimage (The uploaded file is not a valid GIF or JPG file. Please ensure that it is an try again).

I installed this hack on a demo board as well, and the same thing happened. I undid everything (including the MySQL changes), but still it didn't help.

huythuy 08-20-2001 05:31 PM

sorry , but is this hack works with the hack " Save avatar as file" ? Or pictures are saved in database ? Because my databse size is limited to 25Mb :(

bad_madman 08-20-2001 09:38 PM

[QUOTE]Originally posted by huythuy
sorry , but is this hack works with the hack " Save avatar as file" ? Or pictures are saved in database ? Because my databse size is limited to 25Mb :(

bad_madman 08-20-2001 09:47 PM

[QUOTE]Originally posted by FireFly
Ever since I installed this hack, whenever I try to attach a file (with a permitted extension), I get error_avatarnotimage (The uploaded file is not a valid GIF or JPG file. Please ensure that it is an try again).

I installed this hack on a demo board as well, and the same thing happened. I undid everything (including the MySQL changes), but still it didn't help.

Admin 08-21-2001 04:54 AM

I'm using v2.0.3, and yes, I installed at least a dozen hacks.
But I'm not sure if it's this hack's fault, maybe something in the PHP configuration that got changed. Someone in the troubleshooting area is checking this now.
Thanks anyway. :)

GameGalaxy 08-21-2001 08:37 AM

Is there any way you can add so that each category can have different user titles?

This way Star Wars Male could have male titles like Han Solo etc
and Star Wars Female could have like Princess Leia?


Thank you :) this works great and will make it easier on me and my users to find a icon.

HellRazor 08-22-2001 01:57 AM

Ok, I've done the install, but for some reason I am not getting the dropdown menu of categories. And the avatars that appear in the list are all from the first category only.

Any idea what the problem might be?

HellRazor

HellRazor 08-22-2001 02:33 AM

I am using a stock VBulletin 2.0.3. My database mods have already been made successfully, but I'm having problems getting the drop-down category list to appear.

Can someone upload the modified files for 2.0.3 for me?

HellRazor

lyn 08-22-2001 02:35 AM

Razor,

Have you checked to make sure you didn't make the mistake I made?

Go click on Options under Avatars / Categories then make sure you have "Show up avatar categories" set to "Yes"

If that isn't the problem, hopefully another kind person here will be able to help. :)

HellRazor 08-22-2001 02:57 AM

Yep, had it set to "yes". But thanks for the tip!

HellRazor



Quote:

Originally posted by lyn
Razor,

Have you checked to make sure you didn't make the mistake I made?

Go click on Options under Avatars / Categories then make sure you have "Show up avatar categories" set to "Yes"

If that isn't the problem, hopefully another kind person here will be able to help. :)


bad_madman 08-22-2001 08:33 PM

[QUOTE]Originally posted by HellRazor
I am using a stock VBulletin 2.0.3. My database mods have already been made successfully, but I'm having problems getting the drop-down category list to appear.
Can someone upload the modified files for 2.0.3 for me?
HellRazor

HellRazor 08-23-2001 01:01 AM

Well, not sure what I was doing wrong before, but I tried the install again and it worked this time. :) Thanks everyone!

HellRazor

HellRazor 08-23-2001 01:45 AM

Ok, got it installed, but now I have another problem.

Since I installed the hack, the custom avatars don't seem to work. It will let you enter a URL or upload the avatar, but the avatar itself never actually displays (the picture isn't being found wherever its trying to look). Any suggestions?

HellRazor

HellRazor 08-23-2001 10:39 PM

* Bump *

bad_madman 08-23-2001 11:55 PM

[QUOTE]Originally posted by HellRazor
Ok, got it installed, but now I have another problem.

Since I installed the hack, the custom avatars don't seem to work. It will let you enter a URL or upload the avatar, but the avatar itself never actually displays (the picture isn't being found wherever its trying to look). Any suggestions?

HellRazor

HellRazor 08-24-2001 12:09 AM

Here is the generated HTML, if it helps:

<font face="verdana, arial, helvetica" size="2" ><b>My Name</b></font><br>
<font face="verdana,arial,helvetica" size="1" >My Title</font><br>
<img src="avatar.php?userid=1&dateline=998615847" border="0" alt=""><p>

Is this the way it should be? HTML for the avatars added normally comes out like this:

<font face="verdana,arial,helvetica" size="1" >Royal Advisor</font><br>
<img src="images/avatars/Human Males/Human Male 064.jpg" border="0" alt=""><p>

HellRazor

bad_madman 08-24-2001 12:20 AM

[QUOTE]Originally posted by HellRazor
Here is the generated HTML, if it helps:
....
HellRazor

HellRazor 08-24-2001 12:25 AM

No I don't. This is the only hack I have installed.

bad_madman 08-24-2001 12:58 AM

[QUOTE]Originally posted by HellRazor
...
<font face="verdana, arial, helvetica" size="2" ><b>My Name</b></font><br>
<font face="verdana,arial,helvetica" size="1" >My Title</font><br>
<img src="avatar.php?userid=1&dateline=998615847" border="0" alt=""><p>
...

bad_madman 08-24-2001 01:07 AM

[QUOTE]Originally posted by huythuy
sorry , but is this hack works with the hack " Save avatar as file" ? Or pictures are saved in database ? Because my databse size is limited to 25Mb :(


All times are GMT. The time now is 08:18 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.01605 seconds
  • Memory Usage 1,821KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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