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-08-2000 Last Update: Never Installs: 0
 
No support by the author.

Hi all

Well, I finally got the bugs zapped, and am releasing v0.9

What's done:
  • Admin modification panel now sets the $avimage field properly
  • Admin modification panel now has new options: text entry field to enter a custom image path and file. Over-ride selector (which lists the publically available avatars), setting the avatar image to the custom one.
  • Admin Add User panel has the $avimage field bug fix, and the custom image settings.
  • Removed Javascript from templates, making them more browser compatible, and managing to cleverly avoid having to demonstrate my abject lack of knowledge with dHTML by not having to debug the image selector Javascript
  • Added new option to Edit Profile selector. Now, if a file exists in images/avatar/private, called $userid.gif, the selector box will list "Your Custom Avatar" at the top of the selector box.

This means that private avatars will be available, but the admin will have to upload it and rename it to $userid.gif for it to show up in a user's options.

What's coming up for v1.0?
  • Option to allow users to upload their own custom avatar images, with byte size limits, toggled from the control panel.
  • Option to set a default Avatar image for Usergroups, over-riding avatarshow in control panel (So you can allow certain user groups to have avatar images, while restricting it from others).

Instructions for applying this hack from scratch are available at http://www.moonwolf.net/cgi-bin/vb_m...structions.cgi

Those of you who have already applied v0.8, you only need to change:

member.php
user.php
and the three templates: registeradult, registercoppa, updateprofile.

You also need to run the following mini script to update the database fields:
Code:
<?php
require("./global.php");
$DB_site->query("ALTER TABLE user ADD avcustom SMALLINT (6) DEFAULT '0' not null ");
echo "Table 'user' updated<br>";
?>
Save this to a file in your forum/admin directory, then call it from your browser.

You should be able to go through the instructions and spot where you need to change, but if people have problems upgrading, I'll post specific instructions up on my site on request.

Here's hoping I remembered all the changes this time

Kath

Show Your Support

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

Comments
  #2  
Old 06-08-2000, 05:11 PM
Guest
 
Posts: n/a
Default

Hello,

This is awesome. I am going to upgrade to vBulletin ASAP!

Thanks for your hack!
Reply With Quote
  #3  
Old 06-08-2000, 05:15 PM
Guest
 
Posts: n/a
Default

Great job Kath!

I'm going to add it to my Beta site and see how it works for me

I think I'm gonna wait on the 1.0 before going public with it, tho. what a pain in the patootie to upload and rename 3000+ icons

hehehe

again, super job!
Reply With Quote
  #4  
Old 06-08-2000, 05:22 PM
Guest
 
Posts: n/a
Default

Hello,

Shoot. I read it wrong. I thought the features coming in 1.0 were out in this version.

Looks like I have time. Oh well.

Thanks again Kath. Great job!
Reply With Quote
  #5  
Old 06-09-2000, 01:06 AM
Guest
 
Posts: n/a
Default

heh

Sorry for not getting the avatar upload for users and usergroup avatar functions out in 0.9, but I wanted to get the bug fixed version out as soon as I could.

Martin, are your icons names for the UBB Avatar hack? i.e. _ in names that were converted to " " in the select boxes?

If they were I could write you a little script that will scan the avatars directory and insert their names into the database for you, saving time ...

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

Kath,
I appreciate hte thought, but I never bothered to hack it into my UBB because it was such a pain and relied heavily on JavaSrcipt. I have a lot of Mac and WebTV users and I hate for them to feel left out
Reply With Quote
  #7  
Old 06-09-2000, 03:23 AM
Guest
 
Posts: n/a
Default

0.9 and 1.0 have no javascript now

Kath
Reply With Quote
  #8  
Old 06-09-2000, 10:53 AM
Guest
 
Posts: n/a
Default

Does anyone have a forum running the latest released version of this hack so we can see it in action before applying it to our own?

The underlight.com forum seems to be using a dynamic selector still...
Reply With Quote
  #9  
Old 06-09-2000, 08:09 PM
Guest
 
Posts: n/a
Default

This hack keeps getting better
I'll implement it as soon as I have some time
Reply With Quote
  #10  
Old 06-12-2000, 11:32 AM
Guest
 
Posts: n/a
Default

I've got the implementation working.

Also fixed a bug in the original which was messing up the user table when I used the control panel to edit a user.

Code:
Original Instruction
$DB_site->query("UPDATE user SET usergroupid=$usergroupid,username='".addslashes($username).
Should be

Code:
$DB_site->query("UPDATE user SET usergroupid=$usergroupid,username='".addslashes($ausername).
Shri
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 02:34 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.06926 seconds
  • Memory Usage 2,271KB
  • 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
  • (3)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