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)

Job_41:25 10-01-2001 01:07 AM

I just installed this hack, works perfect for members changing their avatars, but I had a question about the avatar faq page. This may seem minor but are the categories supposed to show up under the avatar faq page? They show up when you go to change your avatar but not here. Any idea?:confused:

Here's the faq page

bad_madman 10-01-2001 01:26 AM

@Job_41:25

Did you install this: http://www.vbulletin.com/forum/showt...r=3#post154381 ?

Job_41:25 10-01-2001 03:19 AM

Musta missed that part. Works like a charm! Great hack, makes avatars so much easier to mantain.

Thanks for the support. :D

YourHostSucks 10-01-2001 07:13 AM

Works Great, Thanks! ;)

Never run auto_installs! always hand code it.. lol..
I ran the auto_install, and that just made the hand coding a wee harder, when the auto install failed with about 60% of the things
it was supposed to do... ;(
Because then you have to figure out what the auto-install did,
and then what you need to do.. (hehe)

Anyhow was very easy to setup and works great so far..

Is there a way to set what Category is displayed first?
(Order Categories)

bad_madman 10-01-2001 03:20 PM

[QUOTE]Originally posted by YourHostSucks
Is there a way to set what Category is displayed first?
(Order Categories)

YourHostSucks 10-01-2001 04:17 PM

The problem with auto install, is you would first have to give
the correct permissions to the files (777)..... :)
It did most everything but edit the files themself..
EX: It handled the MySQL end, and the template edits..
But did not edit the .php files.

*FYI*

B0204520 10-13-2001 05:45 PM

just wondering if there's option to choose either absolute path and relative path:

Since some ppl prefer to use other server for hosting images instead so that won't hog the forum's performance down

cheers.

Diva 10-17-2001 01:02 PM

I just finished putting together the avatar category hack [again.. heh heh] and when I uploaded, the picture wasn't there. Just a broken link. I scanned the files and found 3 lines in red in the avatar_category.php...

1.
echo "<img src='../$avatarpath/$FileArray[$x]' border=0 align='center'>";

2.
maketableheader("Edit Avatar:</b><i> $avatar[title]</i><img align=\"absmiddle\" src=\"../$avatar[avatarpath]\">","",0);

3.
echo "<td valign='bottom' nowrap align='center'><img src=\"".iif(substr($avatar['avatarpath'],0,7)!="http://" and substr($avatar['avatarpath'],0,1)!="/","../","")."$avatar[avatarpath]\"><br><b>$avatar[title]</b><br>$current_cat\n";

Anyone know the magic words? Please?

Thanks bunches!

Diva 10-18-2001 08:23 PM

Just ^ ^ BUMPING ^ ^ it up, in hopes someone can help... :)

bad_madman 10-18-2001 10:29 PM

Occurs with all avatars or only with certain avatars?

Did you upload the avatars in the CP (CP -> Avatars / Categories -> Modify -> add/upload -> Upload New Avatar) or beforehand by ftp did upload and then added in CP (CP -> Avatars / Categories -> Modify -> add/upload -> Add a single/multiple avatars)?

The red-marked lines are by the way ok. That is because of the fact that it is not a HTML code and your program cannot interpret other code (for example Perl or PHP) probably.


All times are GMT. The time now is 09:57 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.01310 seconds
  • Memory Usage 1,735KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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