Joo!BB - Making Community
Joo!BB - Joomla! Bulletin Board
Board Index
>
Support Forum
Report post sending inaccurate link
Welcome, Guest

Message
You have no permission to reply to this topic.
4 Replies

by Troneas on 07/15/2010 16:40
Post Report post sending inaccurate link

hello!

when reporting a post, the link i receive on the e-mail omits the topic number, like so:

http://www.mmofringe.com/index.php?option=com_joobb&view=topic&topic=&Itemid=55

when it should really be sending this:

http://www.mmofringe.com/index.php?option=com_joobb&view=topic&topic=848&Itemid=55

note the topic=848 on the second link.

as a result i get a "your request cannot be performed" message on my forums when re-directing from the link on the e-mail.

thanks for your help in advance!


Troneas | Joined Board: 07/15/2010 16:33 | Last Visit: 12/25/2010 04:17
Joo!BB - Newie
Registered
Posts: 9
Offline Member is Offline
View all users posts


by Troneas on 07/16/2010 20:13
Post Re: Report post sending inaccurate link

i think ive located the proper file responsible for this: view.html.php under reportpost.

this is what it contains:

class JoobbViewReportPost extends JView
{

function display($tpl = null) {
global $mainframe;

// initialize variables
$postId = JRequest::getVar('post', 0, '', 'int');

// load form validation behavior
JHTML::_('behavior.formvalidation');

// handle page title
$this->document->setTitle(JText::_('BB_REPORTPOST'));

// handle bread crumb
$this->breadCrumbs->addBreadCrumb(JText::_('BB_REPORTPOST'), '');

$this->assignRef('postId', $postId);


// get buttons
$joobbButtonSet =& JoobbButtonSet::getInstance();
$this->assignRef('buttonSubmit', $joobbButtonSet->buttonByFunction['buttonSubmit']);
$this->assignRef('buttonCancel', $joobbButtonSet->buttonByFunction['buttonCancel']);

parent::display($tpl);
}
}
?>


i've highlighted where i think the problem might be.

anyone with any ideas?


Troneas | Joined Board: 07/15/2010 16:33 | Last Visit: 12/25/2010 04:17
Joo!BB - Newie
Registered
Posts: 9
Offline Member is Offline
View all users posts

Last Edit on 07/16/2010 20:14


by Troneas on 07/24/2010 20:41
Post Re: Report post sending inaccurate link

are the joomla developers still around offering support?


Troneas | Joined Board: 07/15/2010 16:33 | Last Visit: 12/25/2010 04:17
Joo!BB - Newie
Registered
Posts: 9
Offline Member is Offline
View all users posts


by mn82 on 07/26/2010 06:49
Post Re: Report post sending inaccurate link

Hi Troneas,

in \com_joobb\system\joobbmail.php (line 91) replace $row->topicId as shown below:

$topicLink = JRoute::_($this->siteURL.'index.php?option=com_joobb&view=topic&topic='.$row->id_topic.'&Itemid='.$Itemid);

@Robbie: You might want to change this in your SVN repository?

Kind regards,
Rainer


mn82 | Joined Board: 10/27/2008 12:13 | Last Visit: 04/16/2012 12:51
Joo!BB - Master
Registered
Posts: 1183
Offline Member is Offline
View all users posts


by Troneas on 07/26/2010 15:30
Post Re: Report post sending inaccurate link

Quote by mn82:Hi Troneas,

in \com_joobb\system\joobbmail.php (line 91) replace $row->topicId as shown below:

$topicLink = JRoute::_($this->siteURL.'index.php?option=com_joobb&view=topic&topic='.$row->id_topic.'&Itemid='.$Itemid);

@Robbie: You might want to change this in your SVN repository?

Kind regards,
Rainer



you're the man!

thanks a bunch!


Troneas | Joined Board: 07/15/2010 16:33 | Last Visit: 12/25/2010 04:17
Joo!BB - Newie
Registered
Posts: 9
Offline Member is Offline
View all users posts


4 Replies

Joo!BB - Joomla! Bulletin Board

Copyright © 2007 - 2012 Joo!BB Project - All rights reserved.