1
limecity
Soapbox bug report
  • 2004/10/7 12:31

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


i am using the latest soapbox found in the dev site.
i found out the pagebreak still doesn't work properly..

eventhough the pages are splited
all the pages are showed within the 1st page.

when will the final version be released?

2
limecity
Re:Soapbox bug report
  • 2004/10/7 17:06

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


<bump>
anyone using soapbox?

3
wizanda
Re:Soapbox bug report
  • 2004/10/7 17:13

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


yeh

hadnt noticed the page break as i dont use it tho

4
limecity
Re:Soapbox bug report
  • 2004/10/8 1:04

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


Hmm...
i wonder this module is still developing..
hardly anyone speaks of it anymore...

pagebreak problem
and also page navigation problem

"home >soapbox >article1"

Fix fix? anyone? help?

5
Tocpe
Re:Soapbox bug report
  • 2004/10/18 17:09

  • Tocpe

  • Not too shy to talk

  • Posts: 127

  • Since: 2004/1/28


Yeah I'm wondering about this one too. I was waiting for it to be a final release... man I hope it's not dead.

6
wcrwcr
Re:Soapbox bug report
  • 2004/10/18 17:25

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hey Guys

You should update the mod with the "article.php"(if i?m not wrong) file.

I?ve tried to access the dev.xoops site to find and point the correct file but look what I received :

"Sorry, this project is marked as private and you are not a member of this project"

Anyway after the update I can do the pagebreak with soapbox.

7
paulafalves
Re:Soapbox bug report
  • 2004/10/20 13:10

  • paulafalves

  • Just popping in

  • Posts: 4

  • Since: 2004/9/22


Please, i need some help with soapbox module...

Is it possible to include the soapbox sent articles in user's page (when a user send an article, can it goes to his profileś page???)

Thank you everybody!

Bye...

8
wcrwcr
Re:Soapbox bug report
  • 2004/10/20 15:44

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi paulinha!!

I think there is no an easy way.

However, if you did a seach (though your XOOPS search) by the name of the article?s author you?ll get the results you want.

Are you wanting to use this with Oliver?s short url to the user?s profile?

I think the code you trying to change is around here on the user.php file

Quote:

$module_handler =& xoops_gethandler('module');
$criteria = new CriteriaCompo(new Criteria('hassearch', 1));
$criteria->add(new Criteria('isactive', 1));
$mids =& array_keys($module_handler->getList($criteria));

// Hack by marcan : only return results of modules for which user has access permission
$groups = ( $xoopsUser ) ? $xoopsUser -> getGroups() : XOOPS_GROUP_ANONYMOUS;
$gperm_handler = & xoops_gethandler( 'groupperm' );
//End of hack by marcan

foreach ($mids as $mid) {
// Hack by marcan : only return results of modules for which user has access permission
if ( $gperm_handler -> checkRight('module_read', $mid, $groups)) {
$module =& $module_handler->get($mid);
$results =& $module->search('', '', 5, 0, $thisUser->getVar('uid'));
$count = count($results);
if (is_array($results) && $count > 0) {
for ($i = 0; $i < $count; $i++) {
if (isset($results[$i]['image']) && $results[$i]['image'] != '') {
$results[$i]['image'] = 'modules/'.$module->getVar('dirname').'/'.$results[$i]['image'];
} else {
$results[$i]['image'] = 'images/icons/posticon2.gif';
}
$results[$i]['link'] = 'modules/'.$module->getVar('dirname').'/'.$results[$i]['link'];
$results[$i]['title'] = $myts->makeTboxData4Show($results[$i]['title']);
$results[$i]['time'] = $results[$i]['time'] ? formatTimestamp($results[$i]['time']) : '';
}
if ($count == 5) {
$showall_link = '<a href="search.php?action=showallbyuser&mid='.$mid.'&uid='.$thisUser->getVar('uid').'">'._US_SHOWALL.'</a>';
} else {
$showall_link = '';
}
$xoopsTpl->append('modules', array('name' => $module->getVar('name'), 'results' => $results, 'showall_link' => $showall_link));
}
unset($module);
}
}
include XOOPS_ROOT_PATH.'/footer.php';
?>

9
carnuke
Re:Soapbox bug report
  • 2004/10/20 16:41

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


I also have another bug that persists: whenever an article is edited it loses all the ratings and read counts

10
Shine
Re:Soapbox bug report
  • 2004/10/21 7:44

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Cannot reach the files of this project anymore......

@wcrwcr
Where can I download the correct article.php file or perhaps you can point out what line(s) needs to be changed so the pagebreak will function properly?

Thanks in advance,
Grtz., Shine

Login

Who's Online

224 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 224


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits