Job Board - Unsolicited page

9 years 1 month ago - 9 years 1 month ago #2093 by HonzaP
Job Board - Unsolicited page was created by HonzaP
Hello,
first of all thank you for the lovely plugin.

I have a question about Unsolicited page in JobBoard 1.5.1 free version.

I little bit modified the file easycalccheckplus.php (see attached) and figured out how to work for Unsolicited page. What I can't find out is, if the calculating result is wrong then the page should reload on unsolicited page with error message, however, at this moment the page reloads on the apply page.

I think the code below is the one that causes the problem, just I don't know how to change :(
// Job Board - 1.5-13
		if ($this->params->get('jobboard'))
		{
			if ($option == 'com_jobboard' AND $task == 'share')
			{
				$job_id = JRequest::getCmd('job_id');
				$catid = JRequest::getCmd('catid');
				$lyt = JRequest::getCmd('lyt');
				$Itemid = JRequest::getCmd('Itemid');

				if (!$this->performChecks())
				{
					$returnURI = JURI::current().'?option=com_jobboard&view=share&job_id='.$job_id.'&catid='.$catid.'&lyt='.$lyt.'&Itemid='.$Itemid.'&essp_err=check_failed';
					$this->redirect($returnURI);
				}
			}
			elseif ($option == 'com_jobboard' AND $view == 'upload')
			{
				$job_id = JRequest::getCmd('job_id');
				$catid = JRequest::getCmd('catid');
				$lyt = JRequest::getCmd('lyt');
				$Itemid = JRequest::getCmd('Itemid');

				if (!$this->performChecks())
				{
					$returnURI = JURI::current().'?option=com_jobboard&view=apply&job_id='.$job_id.'&catid='.$catid.'&lyt='.$lyt.'&Itemid='.$Itemid.'&essp_err=check_failed';
					$this->redirect($returnURI);
				}
			}

Thank you for your help


This attachment is hidden for guests.
Please log in or register to see it.

This message has an attachment file.
Please log in or register to see it.

Please Log in to join the conversation.

9 years 1 month ago #2095 by Vitja
Replied by Vitja on topic Aw: Job Board - Unsolicited page
Please login to view the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997

Please Log in to join the conversation.

9 years 1 month ago #2099 by HonzaP
Replied by HonzaP on topic Re: Job Board - Unsolicited page
Please login to view the response. Attention: You need a valid subscription to activate an account.

Please Log in to join the conversation.

9 years 1 month ago #2100 by Vitja
Replied by Vitja on topic Aw: Re: Job Board - Unsolicited page
Please login to view the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions

Please support my work with a review in the Joomla! Extensions Directory: extensions.joomla.org/profile/profile/details/61997

Please Log in to join the conversation.

Time to create page: 0.172 seconds