The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.



Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sun May 04, 2008 1:38 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun May 04, 2008 1:29 am
Posts: 2
Hi,

New at Joomla, but have done OK with setup until now....

I am trying to add a "Submit a Web Link" menu item. In the menu setup I have it configured to be available to registered users. When I test it, a registered user can see the link in the menu, but when they click on the link, it displays a "403 - You are not authorised to view this resource".

I have look at configurations for the menu at the parameter level and menu item level and I think I have it set up to be used by a registered user, but it just keeps setting an error code when I try. I have also tried clearing caches.

This menu item will work when I log in as admin.

Thanks in advance for any ideas on what I need to try!


Top
 Profile  
 
PostPosted: Tue Jun 03, 2008 8:39 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Aug 16, 2007 5:40 pm
Posts: 6
Location: SoCal
I also have this same problem on 3 of my websites. All running Joomla 1.5.3

I have tried setting the Access Level to Public or Registered and it makes no difference, the 403 page comes up. Login as an Admin and no problems.


Top
 Profile  
 
PostPosted: Sun Jun 08, 2008 8:27 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Feb 06, 2006 8:13 pm
Posts: 1
I have the same problem too :(
It has to be a new bug.


Top
 Profile  
 
PostPosted: Sat Jun 21, 2008 3:59 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jun 19, 2008 5:50 pm
Posts: 1
Hi,

I'm using Joomla 1.5.3 as well and having the same problem. Has anyone figured this out?

Thanks!


Top
 Profile  
 
PostPosted: Mon Jun 23, 2008 10:58 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Jun 23, 2008 10:56 am
Posts: 4
I'm having the same problem. First with 1.5.2 then 1.5.3
Any update on this?


Top
 Profile  
 
PostPosted: Tue Jun 24, 2008 3:24 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Jun 23, 2008 10:56 am
Posts: 4
This looks like it's a problem with Community builder.

I think this is the wrong section for this topic as I don't think it has anything to do with a template. Would a Mod be able to move this to a more appropriate section so maybe someone who knows what they are talking about could answer? Thanks.


Top
 Profile  
 
PostPosted: Tue Jun 24, 2008 3:35 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Aug 16, 2007 5:40 pm
Posts: 6
Location: SoCal
I'm not using CB, but do agree that it does not belong in the template specific area.


Top
 Profile  
 
PostPosted: Fri Jun 27, 2008 3:48 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Jun 23, 2008 10:56 am
Posts: 4
I tested on a clean install and it seems to be a problem with J1.5...

Here is a solution:

Set default registration as Author. Then go here viewtopic.php?f=236&t=300457&p=1335069 and http://docs.joomla.org/Require_Approval_For_Web_Link and do what this guy says.


Top
 Profile  
 
PostPosted: Thu Mar 05, 2009 6:59 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Mar 02, 2009 11:10 pm
Posts: 1
Is there a fix for this that works for 1.5.9?

Thanks.


Top
 Profile  
 
PostPosted: Fri Mar 06, 2009 2:22 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Aug 16, 2007 5:40 pm
Posts: 6
Location: SoCal
I'm amazed that this is still a problem. I gave up on Joomla a long time ago, too many bugs and a DB whore (too slow).


Top
 Profile  
 
PostPosted: Wed Jun 03, 2009 1:37 pm 
Joomla! Intern
Joomla! Intern

Joined: Sun May 21, 2006 7:41 pm
Posts: 92
this is still a problem, only author and higher users can submit web links :(

_________________
Please read forum rules regarding signatures: viewtopic.php?t=65


Top
 Profile  
 
PostPosted: Wed Nov 11, 2009 10:24 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Mar 29, 2009 3:26 pm
Posts: 2
I have this problem too, but I find the way ;)
You just change the code in /components/com_weblinks/views/weblink/view.html.php on line 63 to if ($user->get('gid') < 18) from if ($user->get('gid') < 19) 8)


Top
 Profile  
 
PostPosted: Wed Feb 10, 2010 2:19 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jan 04, 2009 5:00 pm
Posts: 12
tomazas007 > Awsome its works ! Thanks man !

_________________
Joomla 1.5.22 - Yootheme Explorer, GavickPro, Rockettheme Fan,ZOO, Kunena and Jomsocial Rocks!
php 5.2.6-1+lenny3


Top
 Profile  
 
PostPosted: Tue Mar 30, 2010 1:19 am 
Joomla! Intern
Joomla! Intern

Joined: Sun Oct 30, 2005 11:57 pm
Posts: 70
Location: Northampton, MA
finally a solution, thank you folks! :)

_________________
florenceit.net - A Community I.T. Shop for the Western MA, USA area. Now offering Performance, security and environmentally focused Joomla web and email hosting: florenceit.biz


Top
 Profile  
 
PostPosted: Sun Jun 20, 2010 5:38 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Mon Jan 07, 2008 4:46 am
Posts: 937
Location: Oklahoma
The problem with the above solution is that it gives registered users the option of not only submitting the link, but publishing it also. And it still prevents link submissions from the public.

If you want to allow the public to be able to submit links, merely comment out the lines between the "if" and "endif" in the section referenced above.

To prevent users below a certain level from being able to publish their link submissions, set a global variable to the level you wish to authorize (because the object with "getid" won't exist in the template code where you need to do this) in the section referenced above, then set an "if - endif" php section to prevent the field legend area with "publish", etc. from displaying in the component template. Note that many Joomla templates will have their own component templates where you will need to do this in the component html section within the template folder.

_________________
- Hank Castello
http://www.CompuSolver.com
PHP / Joomla Development / SEO
Joomla Hosting with real support


Top
 Profile  
 
PostPosted: Thu Aug 05, 2010 9:26 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 06, 2009 4:36 am
Posts: 45
compusolver wrote:
The problem with the above solution is that it gives registered users the option of not only submitting the link, but publishing it also. And it still prevents link submissions from the public.

If you want to allow the public to be able to submit links, merely comment out the lines between the "if" and "endif" in the section referenced above.

To prevent users below a certain level from being able to publish their link submissions, set a global variable to the level you wish to authorize (because the object with "getid" won't exist in the template code where you need to do this) in the section referenced above, then set an "if - endif" php section to prevent the field legend area with "publish", etc. from displaying in the component template. Note that many Joomla templates will have their own component templates where you will need to do this in the component html section within the template folder.


This is exactly what I need to do, but I'm having some troubles following this. Can you provide more details please? I'd like anybody to be able to submit links, and only the Super Admin to be able to publish them. Thank you!


Top
 Profile  
 
PostPosted: Fri Aug 13, 2010 6:40 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 06, 2009 4:36 am
Posts: 45
Any help?


Top
 Profile  
 
PostPosted: Mon Aug 30, 2010 3:24 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Oct 16, 2006 10:17 am
Posts: 48
Location: France
Try simply removing the following stuff related to publishing in the above mentioned directory (/components/com_weblinks/views/weblink/view.html.php) and, of course, make the ID change from 19 to 18 as described previously above.

REMOVE

// Radio Buttons: Should the article be published
$lists['published'] = JHTML::_('select.booleanlist', 'jform[published]', 'class="inputbox"', $weblink->published );


I still see the word "Published" but without any radio buttons and it is indeed not published until I (Super Admin) makes it so from the backend.

See: http://www.globalprintmonitor.com/en/submit-a-weblink Only if you self register, of course ;)


Top
 Profile  
 
PostPosted: Mon Sep 20, 2010 8:08 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Sep 08, 2010 9:25 am
Posts: 3
I've successfully made changes to Joomla 1.5.17 along the lines discussed above. In case it's useful, or anyone would like to comment on my changes, I've attached a zip file containing the changed files.
With these changes, registered users (not guests) can submit web links. The published radio buttons on the submit form don't show, except for managers, admin and super-admin. For all others the link must be approved before publishing.

Good advice here - thanks!

Julian


You do not have the required permissions to view the files attached to this post.


Top
 Profile  
 
PostPosted: Mon Nov 29, 2010 3:39 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jun 17, 2010 1:49 pm
Posts: 44
Excellent thread. Thanks to all for sharing solutions. If anyone knows how to get rid of that residual "Published", please drop it to this thread someday when you have a moment.


Top
 Profile  
 
PostPosted: Fri Jan 21, 2011 5:07 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Jan 21, 2011 2:21 am
Posts: 2
I've made the suggested changes so that a guest to the site may submit a web link, and they can view the component now, but they are unable to actually save and submit the link. The page just sits... forever... it never progresses and I never receive a notification of a submission. Ideas?


Top
 Profile  
 
PostPosted: Thu Feb 17, 2011 2:45 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Feb 17, 2011 1:58 am
Posts: 1
djacouma, I found that I had to go into my template to comment out the Published options. I went to my template, and into html/com_weblinks/weblink/form.php and commented out the table row relating to jformpublished.
Thanks to this thread I can now get weblinks submitted, and approve them as an admin.

Peter


Top
 Profile  
 
PostPosted: Thu Aug 11, 2011 1:11 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sun Jul 24, 2011 12:40 am
Posts: 1
I am a newbie and have the same problem as this with submitting an article. however I was only able to get over the difficulty of changing the files by replacing my files with the zipped files in this thread. this worked despite my joomla verison being 1.5.23. I am now in the position where i have solved the weblink issue but am stuck with the article submission one. do I need to start a new thread?


Top
 Profile  
 
PostPosted: Mon Mar 05, 2012 3:04 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Oct 22, 2010 11:57 pm
Posts: 12
This same exact problem exists in Joomla 1.7 but of course the only thread addressing it is this one, with changes specific only to 1.5 ... When I open up /components/com_weblinks/views/weblink/view.html.php there are no such lines as described above.

Is there a similar workaround for 1.7? The specific requirements are that anybody (public) can submit links, but then an administrator has to actually go in and publish it before it shows up on the page.

Thanks.


Top
 Profile  
 
PostPosted: Thu Mar 15, 2012 4:56 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Wed Oct 19, 2005 6:21 am
Posts: 128
jbalyo wrote:
This same exact problem exists in Joomla 1.7 but of course the only thread addressing it is this one, with changes specific only to 1.5 ... When I open up /components/com_weblinks/views/weblink/view.html.php there are no such lines as described above.

Is there a similar workaround for 1.7? The specific requirements are that anybody (public) can submit links, but then an administrator has to actually go in and publish it before it shows up on the page.

Thanks.


I may be mistaken but this problem, if I understand it correctly should be solved with Joomla 2.5.

A website I am working on requires a user to be "registered" before they can see anything past the "Welcome" page. There are three levels of users (public, registered and super). Registered users are able to submit a weblink. I modified this in Options under Weblinks. For categories they should not be able to add links to, I modified the permissions on the category level.

Again, if I understood this problem correctly, I believe the most current version of Joomla will solve this problem. It would be great if you would chime back to say if it helped you or not. As of this post I tried it on Joomla 2.5.2.

_________________
"Hesitating to act because the whole vision might not be achieved, or because others do not yet share it, is an attitude that only hinders progress." -Gandhiji


Top
 Profile  
 
PostPosted: Wed Mar 21, 2012 3:50 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Mar 21, 2010 5:43 am
Posts: 20
Location: Denver, CO
I have a few sites running 2.5.3

I've got registered users all set up and they can submit web links.

The only problem I am having is submissions are not published by default and the administrators are not getting any type of notice of the new submission. Unless you view the links section in the back-end no one will know they are there.

Any way to have the administrator be notified of a new submission? Maybe an E-mail?

Thanks


Top
 Profile  
 
PostPosted: Wed Apr 11, 2012 8:53 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sat May 22, 2010 10:29 pm
Posts: 700
Yes a notification to admin of a submitted weblink would be great. Is there a way now that I overlooked?

Thanks


Top
 Profile  
 
PostPosted: Wed Sep 26, 2012 12:33 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon May 31, 2010 4:11 pm
Posts: 31
ask again 2.5.7


Top
 Profile  
 
PostPosted: Fri Sep 28, 2012 4:03 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon May 07, 2007 4:18 pm
Posts: 86
I am sure these answers are fine for 1.5/1.7 but do not work with 2.5. There the ID is 21 and there are only 43 lines. but error 403 persits. Perhaps it works fine for registered users but is not working on public.
A solution for 2.5.7 greatly appreciated

Thanks


Top
 Profile  
 
PostPosted: Fri Nov 02, 2012 9:02 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Nov 02, 2012 8:49 am
Posts: 2
Hi,

Got it working for Joomla 1.5 or 1.7 version, looks like a conflict in relational operators.... Hope it works for you too ;D

Follow this path:
Components>com_weblinks>views>form>view.html.php

if ($authorised !== true) {
JError::raiseError(403, JText::_('JERROR_ALERTNOAUTHOR'));
return false;
}

change it to:

if ($authorised === true) {
JError::raiseError(403, JText::_('JERROR_ALERTNOAUTHOR'));
return false;
}

Regards,
Isabel Brien
http://learninternetmarketingsystems.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 33 posts ]  Go to page 1, 2  Next



Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group