In the admon panel I click "EnvoAvatar" and it comes up with:
"You can't access this file directly..."
But I need to get in there and make it so the group "Users" and the group "Moderators" can upload their own avatars. Please help!
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 07:01 AM
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 06:41 AM
- ehdwma created topic »Hide "Register new account" and change template to 3 col« 06:27 AM
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 01:29 AM
- mdee created topic »How to implement returnpage ?« 01:00 AM
- nestormateo responded to »Fillters in Clip« 24. May
- damon responded to »Can the Updated Version Check be Turned Off (Z 1.3)« 24. 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
Changing the EnvoAvatar
-
- Rank: Helper
- Registered: Sep 16, 2004
- Last visit: Oct 21, 2009
- Posts: 731
try enabling PASTNUKE in your Admin -=> Settings. There might be a function call ni there that has been deprecated in the core but supported by "legacy module function".
UHEweb -
- Rank: Helper
- Registered: Sep 16, 2004
- Last visit: Oct 21, 2009
- Posts: 731
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=37228&highlight=access+file+directly+avatar
Duid you get Jmvedrines version? or another? There is also a link for a discussion on the same prob there -
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
Hello,
This is a common problem with "old style" modules and PostNuke .750 (no problem with .760)
The fix involve to edit your ROOT admin.php file (Warning : not the admin.php file in the EnvoAvatar directory
).
Open the admin.php file at the root level of your PostNuke site and add the lines
Code
before the lines :
Code
if (file_exists($file='modules/' . pnVarPrepForOS($module) . '/admin.php')) {
$ModName = $module;
include $file;
Applying this method will solve the problem for all old style modules without (contrary to other "brute force methods) creating any security hole in your PostNuke site :D
--
Visit my live reef aquarium.
My Amazon wish list. -
- Rank: Helper
- Registered: Jan 12, 2004
- Last visit: Jan 20, 2010
- Posts: 590
No,
I learned programming alone many many years ago (about 30 years ago ...) it's not my job (my job is to teach statistics to french students), just a thing that I enjoy to do. And today with a lot of websites teaching how to code it's a lot easier.
--
Visit my live reef aquarium.
My Amazon wish list.
- Moderated by:
- Support
