Description: Adds a dropdown list beneath the regular "Select Avatar" link. Modifies the public edit profile and registrations forms to include before mentioned dropdown list.
I didn't try it without using the NonCGIURL var, but it made sense to me, so I decided to throw it in in the first attempt.
We'll see what happens, I'm not done yet!
Edit: LK, I remember now that I didn't get it to work without using the NonCGIURL var (it is included by UBB, in ultimatebb.cgi, along with the other vars in vars_config. ). It wouldn't link correctly to the images without that var.
Thanks again Idle! I have my avatars based on historical counterparts and its nice to be able to display the name of the avatar (in the dropdown) so players can also choose one to reflect a particular country or role.
Idle, the dropdown works fine on the Edit Profile page, but not on the registration page (regular templates); all I get is an empty dropdown box on the registration page. Where is it failing to count?
Well, I take your word for it and give it another try. Then again, I could've been thinking of something else when I got the URLs wrong (double, like http://www.blah.com/ubb/avatars/somepic.jpghttp://www.blah.com etc...).
Alright, enough yapping, I'll get back to it immediately (can't sleep, too hot).
Updated instructions once again (forgot even more steps for modifying ubb_registration.cgi, and fixed the HTML code for public_registration_form.pl (JCTemplates) so the listbox is on a seperate line).
If the member has previously chosen an avatar and edits his profile, his/her current avatar will be selected in the list.
Thanks to LK for the Javascript cleanup (gets rid of bunch of extra text!).
If you're "upgrading" from previous releases of this mod, all you should need to do is replace the function in ubb_lib_misc.cgi with the updated one in the instructions, and the first step in ubb_profile.cgi.
Oh, not to mention replace the Javascript snippet in the templates (public_register_form.pl and public_edit_profile.pl).
I was wondering if someone could help me out with my problem... when i'm in "my profile" I click on "select a diferant Avatar" and it comes to the Avatar display window... my problem is when I click next on the bottom right hand corner... it comes to "page not displayed" I can not view the rest of my Avatars... Is there anyone that could help me out with this problem? Version 6.3
quote: I was wondering if someone could help me out with my problem... when i'm in "my profile" I click on "select a diferant Avatar" and it comes to the Avatar display window... my problem is when I click next on the bottom right hand corner... it comes to "page not displayed" I can not view the rest of my Avatars... Is there anyone that could help me out with this problem? Version 6.3
Thanking you in advance! BUZN_WILDLY
quote: [qb] we can't even consider assisting you until you fix the copyright on your software [/qb]
Really sorry about that! I've been screwing around with the BBS so much, I totally forgot I took it off. It's back on.. and thank you for reminding me. I agree about copyrights!
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.