11
amok200
Re: Problem with search results
  • 2004/4/23 8:19

  • amok200

  • Just popping in

  • Posts: 68

  • Since: 2004/2/23


Yes, but as I said,,then when I click the "next" link I get 21-40 and they are the same as 1-20 even if there are more than 20 total search results.

No one else has this problem ? Its driving me nuts.

amok



12
amok200
Re: Problem with search results
  • 2004/4/18 10:07

  • amok200

  • Just popping in

  • Posts: 68

  • Since: 2004/2/23


*bump*

Sorry about that .. can anyone help with this annoying bug ?

Thanks very much,

Amok



13
amok200
Re: Problem with search results
  • 2004/4/6 14:05

  • amok200

  • Just popping in

  • Posts: 68

  • Since: 2004/2/23


No one else have this problem ? I've never changed my search.php so Im guessing Im not the the only one. So far I've noticed this problem only with search results in the Articles section (using wfsections) but then thats all I have in my site so far, and search.php is common to all modules from what I understand.

thanks, hope someone can help fix this !

amok



14
amok200
Problem with search results
  • 2004/4/5 21:11

  • amok200

  • Just popping in

  • Posts: 68

  • Since: 2004/2/23


Hi Xooper Troopers !

I have a a rather strange problem with a XOOPS 2.0.6 site. When I search for a term and the search results are returned, the following happens:

Lets say there are 20 results. I click 'Show all results' and get a list of results 1-20. So far so good. However I also get a link saying 'Next' at the bottom. This takes me to results 21-40 which are identical to 1-20. Then there is another 'Next' link as well as a 'Previous' link. Pressing Next again goes to 41-60, and so on ad infinitum.

If there are 8 search results, then pressing 'Next' gives the same 8 again, this time numbered 21-28. Also, if there are more than 20 results, I get only 20, and then pressing 'Next' repeats the same 20.

How can I fix this rather annoying glitch ?

Thanks folks,

amok



15
amok200
Re: Yabbse!
  • 2004/3/18 3:18

  • amok200

  • Just popping in

  • Posts: 68

  • Since: 2004/2/23


For me, the ability to pre-moderate posts (ie: check them before they are posted) is an absolute requirement. I could live with some of newbb's limitations, but not this one, so I went with the IPBM. IPB also looks much better.

That said, I will watch the newbb release with great interest.

Thanks,

Amok



16
amok200
Re: Yabbse!
  • 2004/3/18 0:07

  • amok200

  • Just popping in

  • Posts: 68

  • Since: 2004/2/23


I hope the Invision Power Board Module (IPBM) by Koudanshi (here)will become integrated into the core. It fits the bill perfectly, at least for my needs - a highly configurable and feature-rich forum.



17
amok200
Re: My Quiz and Xoops 2.06
  • 2004/3/17 14:30

  • amok200

  • Just popping in

  • Posts: 68

  • Since: 2004/2/23


Hi,

Blueangel (or others in this thread) could you please put the working quiz module as a download for others on this site ? I've been looking for a good quiz module for a while, I'm sure many people are !

Thanks guys,

Amok



18
amok200
Re: wfsection - changing select box to order by weight not alphabetically ?
  • 2004/3/15 19:03

  • amok200

  • Just popping in

  • Posts: 68

  • Since: 2004/2/23


Hi JackJ,

It's good to hear from you - you've been very helpful in the past and I hope you can help again !

Thanks so much for the response, however it does not unfortunately address the problem, sorry. Articles are sorted by weight with no difficulty, but what I am trying to do is sort subcategories by weight WITHIN a select box.

For example, if you create the following in section management and assign weights in weight management

cat1
cat1sub1 (weight=1)
cat1sub2 (weight=2)

The sub category weights take effect on the index page, but not when you go into cat1 and choose the select box. In that case they are still sorted alphabetically, and the weight settings are ignored.

So what I'm trying to do is figure out how to edit index.php (or whatever I need to edit) so that the select box code can sort entries by weight.

Thanks !

amok



19
amok200
Re: wfsection - changing select box to order by weight not alphabetically ?
  • 2004/3/15 17:49

  • amok200

  • Just popping in

  • Posts: 68

  • Since: 2004/2/23


OK after more digging around I've found the select box code in index.php - could someone help me with the php to make these options orderby weight ?

The code section is:

// -- Skalpack2 [start]
$jump = XOOPS_URL."/modules/wfsection/index.php?";
$tree = new wfsTree($xt->table, "id", "pid");
switch ($wfsConfig['aidxpathtype']) {
case 1: // Local selectbox
$tree->makeMyRootedSelBox('title', 'title', $xt->id, true, $xt->id, true, "", "location.href='{$jump}category='+this.options[this.selectedIndex].value");
break;
case 2: // Linked path
echo preg_replace('/&id=/', '&category=', $tree->getNicePathFromId($xt->id, "title", $jump));
break;
case 3: // Path and local select box
echo preg_replace('/&id=/', '&category=', $tree->getNicePathFromId($xt->pid, "title", $jump));
$tree->makeMyRootedSelBox('title', 'title', $xt->id, true, $xt->id, true, "", "location.href='{$jump}category='+this.options[this.selectedIndex].value");
break;
case 4: // None
break;
case 0: // Full selectbox
default:
$xt->makeSelBox(1, $xt->id, "pid", "location.href='{$jump}category='+this.options[this.selectedIndex].value")."";
break;
}
// -- Skalpack2 [/end] echo "</td></td>";

Thanks,

amok



20
amok200
Re: wfsection - changing select box to order by weight not alphabetically ?
  • 2004/3/15 15:16

  • amok200

  • Just popping in

  • Posts: 68

  • Since: 2004/2/23


Sorry to bump my own post up to the top .. but I've looked through the wfsection code and still cant find this. I guess it's just putting an ORDER BY weight statement on the end of a SQL statement, but I can't find it.

Would really appreciate some help from a mod developer or someone knowledgable about wfsections.

Thanks much,

amok




TopTop
« 1 (2) 3 4 5 ... 7 »



Login

Who's Online

189 user(s) are online (92 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

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

Latest GitHub Commits