Hello
Upgraded my zikula to 1.1.2, and now weblinks will not allow registered users to add links.
When they try to add the link, a page comes up with this:
Sorry! You are not a registered user or you have not logged-in.
If you were registered, you could contribute links to this web site.
Becoming a registered user is a quick and easy process.
Why is registration required for access to certain features?
So that you are offered only the highest-quality content,
each item is individually reviewed and approved.
The site editor aims to offer useful information only.
Register for a new user account
(also, where would I find that text to edit?)
I tried allowing all users to add links in the configuration, but when they try they get this:
Sorry! No authorization to access this module.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- 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
- 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
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
upgrade to zikula 1.1.2, weblinks no longer allows users to add links
-
- Rank: Registered User
- Registered: Sep 18, 2009
- Last visit: Jan 12, 2010
- Posts: 43
-
- Rank: Registered User
- Registered: Sep 18, 2009
- Last visit: Jan 12, 2010
- Posts: 43
as a possible fix, how would i make the weblinks module permissions to allow unregistered users access? -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
mmhh that is weird. Did you try to log out en log in again, or clean de sessions table ?
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Registered User
- Registered: Sep 18, 2009
- Last visit: Jan 12, 2010
- Posts: 43
tried relogging in, tried other user accounts...
how do i clean the sessions table?
Noel -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
I guess that's a matter of the Web_Links permission schema....
I remember that it requires Add access, I'm not sure... but try to log a ticket in the weblinks tracker. The module adopter may be able to solve that
BTW, you need to register an account and log in the project to open a new ticket.
And check the already closed tickets to see if there's already an explanation....
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Registered User
- Registered: Sep 18, 2009
- Last visit: Jan 12, 2010
- Posts: 43
This might be a stupid question, but is there an easy way to DOWNGRADE to 1.1.1, where WEB LINKS worked fine?
I really want to have weblinks on my site, and I only upgraded for the heck of it...
I see there is a file in the downloads that lists everything that was changed/added/deleted...
can I take that list and go through each file and replace the changed ones with the older versions?
Or, could you please tell me what I could put in for the permissions for the USERS and the Weblinks module?
I tried this:
Users Web_Links .* Add
I'm not really clear on the whole permissions thing either...what does :: mean? what does .* mean? I couldn't find a clear explaination of permissions on the site at all.
Thanks
Noel -
- Rank: Registered User
- Registered: Sep 18, 2009
- Last visit: Jan 12, 2010
- Posts: 43
well, even if I really don't understand most of this stuff, I guess I'm just determined enough to somehow figure out the solution.
This other forum post relating to this problem http://community.zikula.org/module-Forum-viewtopic-topic-56306.htm
told the poster to download the latest version of userapi.php from the SVN and replace it in the weblinks module folder.
I did that, and it didn't work.
So i decided to look at the source of userapi.php
found this line:
if (!SecurityUtil::checkPermission('Web_Links::', '::', ACCESS_READ)) {
So i then tried adding this permission
Users Web_Links:: :: Read
Still got the error message...but Mateo mentioned about the ADD permission, and so I put
Users Web_Links:: :: Add
and VOILA! Registered users can now add links.
yeah for me! -
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
Hehehehe, nice that now works
Well, permissions are a little geek focusedQuote
I'm not really clear on the whole permissions thing either...what does :: mean? what does .* mean? I couldn't find a clear explaination of permissions on the site at all.
the power behind them is unknown, you'll get it if you know how to use patterns, but a simple explanation:
If I'm not wrong, :: does part of the left:center:right "component theory"... it's a flexible way to control contexts and specific instances. And that's why "Web_links" didn't work, the permission system evaluates the three components. You can find how the module uses it checking the pnversion.php permission schema, or just click on the Component/Instance titles of your permissions list, to open a popup with the registered schemas.
In the other hand, .* is equivalent to ::, that means "All"
Greetings Noel
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 299
I was the original poster of http://communiwayty.zikula.org/module-Forum-viewtopic-topic-56306.htm Is there any way for you to send me your userapi.php that was modified? I would be interested in having the weblinks module work with registered users. I was hoping the new Zikula version would have had this fix. Where would I also put the userapi.php file?
I make extensive use of the weblinks module on my site. You can see it here: http://www.EarlyMusicNews.org
I'm just about to upgrade to Zikula 1.1.2.
Thanks for the help.
Marc
edited by: marc@marcpare.com, datetimebrief -
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 299
Just to add a little more clarity to the fix:
1. Login to your site as Admin
2. Go to the permissions module
3. Add a permission with the following and filling in the boxes from left to right:
Users Web_Links:: :: Add
4. Save the permission
4. Test the results with a user account.
*** Note that the placement of this permission may make a difference in how your user accounts work. Place this new permission above or below another "User" permission that may already show in your permissions list. ***
Marc.
- Moderated by:
- Support
