Avatar 2.0 has a few bugs:
Its uses the syntax explode($string,$delimiter) when it should be:
explode($delimiter,$string) whenever its checking permissions on the avatars.
Also, even after the correction, the permission check doesn't take into account the file extension.
So, at explode pers_1.jpg becomes [pers] and [1.jpg] but then the permission check is looking for an integer...so it fails on [1.jpg] but would pass for [1].
The file extensions will need to be parsed out before the permission check.
NCM
SwitchBit/UHEweb
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- internetking created topic »password problem« 25. May
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Avatar 2.0 bug
-
- Rank: Helper
- Registered: Sep 16, 2004
- Last visit: Oct 21, 2009
- Posts: 731
-
- Rank: Team Member
- Registered: Jul 15, 2004
- Last visit: May 27, 2010
- Posts: 277
-
- Rank: Team Member
- Registered: Jan 02, 2003
- Last visit: Oct 21, 2009
- Posts: 800
Perhaps in one of the RCs, not in the final version 2.0, see pnuserapi.php, line 87ff (funtion checkavatar()).
--
"He is not dangerous, he just wants to play...." -
- Rank: Helper
- Registered: Sep 16, 2004
- Last visit: Oct 21, 2009
- Posts: 731
Thanks Landseer...I thought I had the latest, but I'll re-download and check
-
- Rank: Helper
- Registered: Sep 16, 2004
- Last visit: Oct 21, 2009
- Posts: 731
Avatar 2.0 final works great - I had the final, and an RC...guess I unpacked the RC by mistake
- Moderated by:
- Support
