1
mateox
I found a bug in newbb2
  • 2005/4/24 23:58

  • mateox

  • Just popping in

  • Posts: 2

  • Since: 2005/4/8 2


Sorry for my poor english.. but i am spanish

When i do an "advanced search" in my forum, newwbb2 shows me the results.
But when i press "next" it shows me the first 20 again

In this forum the same

Example
I press: advanced serach on the forum
https://xoops.org/modules/newbb/search.php

I search.. XOOPS ( it will show me a lot of results)https://xoops.org/modules/newbb/search.php?term=xoops&andor=any&searchin=both&uname=&%3D%22sortby%22=p.post_time+desc&since=100&submit=Search


And i press next, and the page is the same

https://xoops.org/modules/newbb/search.php?since=100&andor=any&term=xoops&searchin=both&start=20

If i press "next" again, is the same page

On the url always.. "....oth&start=20"

It must show "oth&start=40........60....80"


What have we must change in the templates??
Thanks

2
javier
Re: I found a bug in newbb2
  • 2005/5/3 14:47

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


In english:

Hi Mateox,
I have the same problem, i think all the newBB2 users have the same problem.
BUT I think its not a template problem,

The default search url is for example
https://xoops.org/modules/newbb/search.php?since=100&andor=any&term=xoops&searchin=both&start=20

try to replace the last number for 40, 60, 80, etc and you will get the same result, no matter what number you put, always get the same results.

This problem must be something related with the search process, newBB2 has born reciently and exist alot of bugs to resolve.
if i get a little of free time i will check the code, im using XOOPS from the begining in the year 2002 in 3 websites, them after so many time using XOOPS i get any experience modifyin, fixing,etc the XOOPS code.

Anyways if somebody from the NewBB2 development team can give us a hand here would be great.

Best Regards
Javier

---------------------------

In spanish:

Hola Mateox,
Pienso que todos los usuarios de newBB2 tenemos el mismo problema, pero es algun bug del proceso de busqueda no de los templates, si el url default de resultados de busqueda es:

https://xoops.org/modules/newbb/search.php?since=100&andor=any&term=xoops&searchin=both&start=20

Si intentas reemplazar el ultimo numero por 40, 60, 80, etc siempre vas a obtener el mismo listado de resultados, asi que problema de template definitivamente no es.

NewBB2 es todavia muy nuevo y como tal posee un monton de codigo sin optimizar y bugs que resolver.

Si tengo tiempo libre despues me pego una ojeada al codigo, ya que soy usuario del XOOPS desde las primeras versiones en el año 2002 en 3 sitios web y ya tengo bastante experiencia modificandolo,etc.

De todos modos si alguien de los developers del Newbb2 podria darnos una mano aqui, seria agradecido.

saludos
Javier

3
javier
Re: I found a bug in newbb2
  • 2005/5/3 15:10

  • javier

  • Not too shy to talk

  • Posts: 184

  • Since: 2002/8/6 1


UPDATE, As i said before, its not a template problem, i found the bug after check the code a little.

In /newbb/search.php

in the line 177

replace with
$search_url_next = $search_url."&start=$next";

and in line 183

replace with
$search_url_prev = $search_url."&start=$prev";

grettings from Argentina and good luck with your site!
Javier


PD: Recien ahora relacione tu nickname y me di cuenta quien eres, yo soy Javier, el admin C.Motorola Argentina, como te comente antes uso el XOOPS desde el año 2002, si algun dia necesitas una mano con XOOPS ya sabes donde encontrarme, fue un placer haberte ayudado, saludos!

Login

Who's Online

246 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 246


more...

Donat-O-Meter

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

Latest GitHub Commits