Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Details »»

Version: , by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 06-06-2000 Last Update: Never Installs: 0
 
No support by the author.

Hi all

OK, at long last, I think this is ready for everyone else to poke at

To make things easier, I've put the instructions up on my site, using a program someone gave me a long time ago that's designed specifically for posting hacks with. At one point I thought about doing a PHP version of it, I guess I have motivation now

This release is still not completely clean. There are a few things not yet coded that I want to get in before it makes it to 1.0. the to-do list is:
  • Allow Private Avatars
  • Allow usergroup-wide Avatars (like the custom usertitles)
  • Clean up the template work for when Avatar images isn't running. Right now, if $avatarshow is off, the templates will display the start of the selector, just with no images. This is mostly because the way the table row formatting gets tweaked adding in the selector, it's easier to just put the blank there.

As always, use at your own risk. It's recommended you back up your vB PHP files before implementing this hack. The database modifications won't affect anything if you back the hack out.

Anyway, you can find the instructions for applying the hack at http://www.moonwolf.net/cgi-bin/vb_m...structions.cgi

To see it in operation, I have a version of it running at http://www.underlight.com/VBB

Enjoy!

Kath

[Edited by Moonwolf on 06-06-2000 at 12:04 PM]

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-06-2000, 02:59 AM
Guest
 
Posts: n/a
Default

Hmm, was a problem with the [url] tags ... all better now.

Kath

[Edited by Moonwolf on 06-06-2000 at 12:05 PM]
Reply With Quote
  #3  
Old 06-06-2000, 03:11 AM
Guest
 
Posts: n/a
Default

OK< I found one bug.

if you edit a user's Avatar through the admin panel selector, it enters the avatarsid # into the user's Avatar record, rather than the path.

I'll work a fix. In the meantime, this won't affect users selecting their own Avatar from the register and profile screens, only if you admin panel edit them.

Kath
Reply With Quote
  #4  
Old 06-06-2000, 03:23 AM
Guest
 
Posts: n/a
Default

Umm.. I got a 403 error when I copied the URL from the instructions and pasted them into lynx.

Shri
Reply With Quote
  #5  
Old 06-06-2000, 03:27 AM
Guest
 
Posts: n/a
Default

Fixed, sorry about that

Note to self: Don't write instructions at 4am in the morning after pulling an all-nighter :P

Kath
Reply With Quote
  #6  
Old 06-06-2000, 03:30 AM
Guest
 
Posts: n/a
Default

*grin* moved up one notch from a 403 error to a 404 (file not found)
Reply With Quote
  #7  
Old 06-06-2000, 03:36 AM
Guest
 
Posts: n/a
Default

Did you reload instructions.cgi to get the new URL?

Kath
Reply With Quote
  #8  
Old 06-06-2000, 03:38 AM
Guest
 
Posts: n/a
Default

Nice hack

I like this idea. I just wish it could upload with restrictions to size and weight, but I think that would require an extra table and profile field.

I think it could be done without that, though, if the icons were referenced from an upload directory and forced to be named username.gif

I ramble...

nice hack
Reply With Quote
  #9  
Old 06-06-2000, 03:55 AM
Guest
 
Posts: n/a
Default

Applied the hack .. not a problem.

Now, I get a javascript error when I go to modify my profile on member.php

Line 10
Char 1
Error: 'document.dynamicselector.dynamicselector2' is not an object

Any ideas?
Reply With Quote
  #10  
Old 06-06-2000, 04:11 AM
Guest
 
Posts: n/a
Default

OK, that one is definately a bug on my part

In all of the selector templates, where it says
Code:
<FORM ACTION=
Replace with:
Code:
<FORM name=preferences ACTION=
Then edit avatar.js, and change
Code:
document.dynamicselector.dynamicselector2
To:
Code:
document.preferences.avatar
My fault, I uploaded the wrong .js file, sorry

I've changed instructions.cgi and uploaded a new .zip file with the correct avatar.js file in it.

The admin editing problem has me stumped though. The syntax should br bringing up the avpath, but it's not, it's bringing up the avatarsid ...

I'll keep battling it.

Sorry I'm a klutz with documentation

Kath

[Edited by Moonwolf on 06-06-2000 at 01:22 PM]
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:10 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07003 seconds
  • Memory Usage 2,270KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete