Having Trouble With "Submit a Web Link"
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun May 04, 2008 1:29 am
Having Trouble With "Submit a Web Link"
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!
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!
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Aug 16, 2007 5:40 pm
- Location: SoCal
- Contact:
Re: Having Trouble With "Submit a Web Link"
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.
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.
-
- Joomla! Apprentice
- Posts: 33
- Joined: Mon Feb 06, 2006 8:13 pm
Re: Having Trouble With "Submit a Web Link"
I have the same problem too
It has to be a new bug.
It has to be a new bug.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Jun 19, 2008 5:50 pm
Re: Having Trouble With "Submit a Web Link"
Hi,
I'm using Joomla 1.5.3 as well and having the same problem. Has anyone figured this out?
Thanks!
I'm using Joomla 1.5.3 as well and having the same problem. Has anyone figured this out?
Thanks!
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Jun 23, 2008 10:56 am
- Contact:
Re: Having Trouble With "Submit a Web Link"
I'm having the same problem. First with 1.5.2 then 1.5.3
Any update on this?
Any update on this?
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Jun 23, 2008 10:56 am
- Contact:
Re: Having Trouble With "Submit a Web Link"
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.
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.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Aug 16, 2007 5:40 pm
- Location: SoCal
- Contact:
Re: Having Trouble With "Submit a Web Link"
I'm not using CB, but do agree that it does not belong in the template specific area.
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Jun 23, 2008 10:56 am
- Contact:
Re: Having Trouble With "Submit a Web Link"
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 http://forum.joomla.org/viewtopic.php?f ... &p=1335069 and http://docs.joomla.org/Require_Approval_For_Web_Link and do what this guy says.
Here is a solution:
Set default registration as Author. Then go here http://forum.joomla.org/viewtopic.php?f ... &p=1335069 and http://docs.joomla.org/Require_Approval_For_Web_Link and do what this guy says.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Mon Mar 02, 2009 11:10 pm
Re: Having Trouble With "Submit a Web Link"
Is there a fix for this that works for 1.5.9?
Thanks.
Thanks.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Aug 16, 2007 5:40 pm
- Location: SoCal
- Contact:
Re: Having Trouble With "Submit a Web Link"
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).
-
- Joomla! Intern
- Posts: 91
- Joined: Sun May 21, 2006 7:41 pm
- Contact:
Re: Having Trouble With "Submit a Web Link"
this is still a problem, only author and higher users can submit web links
Please read forum rules regarding signatures: http://forum.joomla.org/viewtopic.php?t=65
-
- Joomla! Fledgling
- Posts: 2
- Joined: Sun Mar 29, 2009 3:26 pm
Re: Having Trouble With "Submit a Web Link"
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)
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)
-
- Joomla! Apprentice
- Posts: 12
- Joined: Sun Jan 04, 2009 5:00 pm
Re: Having Trouble With "Submit a Web Link"
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
php 5.2.6-1+lenny3
-
- Joomla! Intern
- Posts: 70
- Joined: Sun Oct 30, 2005 11:57 pm
- Location: Northampton, MA
- Contact:
Re: Having Trouble With "Submit a Web Link"
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
- compusolver
- Joomla! Guru
- Posts: 941
- Joined: Mon Jan 07, 2008 4:46 am
- Location: Florida
- Contact:
Re: Having Trouble With "Submit a Web Link"
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.
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.
-
- Joomla! Intern
- Posts: 51
- Joined: Tue Oct 06, 2009 4:36 am
Re: Having Trouble With "Submit a Web Link"
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!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.
-
- Joomla! Intern
- Posts: 51
- Joined: Tue Oct 06, 2009 4:36 am
- timtecsa
- Joomla! Apprentice
- Posts: 48
- Joined: Mon Oct 16, 2006 10:17 am
- Location: France
- Contact:
Re: Having Trouble With "Submit a Web Link"
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
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
-
- Joomla! Fledgling
- Posts: 3
- Joined: Wed Sep 08, 2010 9:25 am
Re: Having Trouble With "Submit a Web Link"
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
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.
-
- Joomla! Apprentice
- Posts: 44
- Joined: Thu Jun 17, 2010 1:49 pm
Re: Having Trouble With "Submit a Web Link"
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.
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Jan 21, 2011 2:21 am
Re: Having Trouble With "Submit a Web Link"
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?
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu Feb 17, 2011 1:58 am
Re: Having Trouble With "Submit a Web Link"
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
Thanks to this thread I can now get weblinks submitted, and approve them as an admin.
Peter
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun Jul 24, 2011 12:40 am
Re: Having Trouble With "Submit a Web Link"
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?
-
- Joomla! Apprentice
- Posts: 12
- Joined: Fri Oct 22, 2010 11:57 pm
Re: Having Trouble With "Submit a Web Link"
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.
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.
- Bink
- Joomla! Enthusiast
- Posts: 128
- Joined: Wed Oct 19, 2005 6:21 am
Re: Having Trouble With "Submit a Web Link"
I may be mistaken but this problem, if I understand it correctly should be solved with Joomla 2.5.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.
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
- DaleHutch
- Joomla! Apprentice
- Posts: 27
- Joined: Sun Mar 21, 2010 5:43 am
- Location: Denver, CO
Re: Having Trouble With "Submit a Web Link"
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
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
- DaveOzric
- Joomla! Ace
- Posts: 1591
- Joined: Sat May 22, 2010 10:29 pm
- Contact:
Re: Having Trouble With "Submit a Web Link"
Yes a notification to admin of a submitted weblink would be great. Is there a way now that I overlooked?
Thanks
Thanks
-
- Joomla! Apprentice
- Posts: 31
- Joined: Mon May 31, 2010 4:11 pm
Re: Having Trouble With "Submit a Web Link"
ask again 2.5.7
-
- Joomla! Intern
- Posts: 86
- Joined: Mon May 07, 2007 4:18 pm
Re: Having Trouble With "Submit a Web Link"
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
A solution for 2.5.7 greatly appreciated
Thanks
-
- Joomla! Fledgling
- Posts: 2
- Joined: Fri Nov 02, 2012 8:49 am
Re: Having Trouble With "Submit a Web Link"
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
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
Got it working for Joomla 1.5 or 1.7 version, looks like a conflict in relational operators.... Hope it works for you too
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