41
mrphilong
Re: Songlist 1.14 - Weird bug
  • 2012/10/20 14:19

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Songlist uses its own search and that's I would like. However, comparing the url when submitting a search on the start page and the module it is different.



42
mrphilong
Songlist 1.14 - Weird bug
  • 2012/10/20 12:09

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


If I set the Songlist module as the start page(http://www.caraok.net) on default when searching it returns the correctly result

1.
http://www.caraok.net/index.php?op=search&fct=title&value=&cid=0&gid=0&vcid=0&submit=Submit


If browse to the module(http://www.caraok.net/modules/songlist/) and search it returns an incorretly result

2.
http://www.caraok.net/modules/songlist/index.php?op=search&fct=title&value=&cid=0&gid=0&vcid=0&start=0


This could be a simple fix but I don't even know where to start.



43
mrphilong
Re: class/pagenav.php X2.5.5
  • 2012/10/10 12:49

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Quote:

Anyway, you should know user can access to each item by using the direct link.
for example in newbb using the post_id


I'd like to restrict direct link as well. For example the module news, what file do you think I need to hack?



44
mrphilong
Re: class/pagenav.php X2.5.5
  • 2012/10/8 6:19

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Quote:

what do you exactly want to do?
1- show the pagenav only for admins?
2- show other pages than page=1 only for admins?
I think you mean (2).


for example pagenav has the following pages:

1,2,3,4.....1000

I only want guest/registred user to browse to from page 1 to 15, but able to see there are a total of 1000 pages.

However, if guest/registred search a keyword and the module returns 1,2,3,4....50, only page 1 to 15 are accessible but display there are a total of 50 pages on the search result.

I would like the pagenav hack on some modules, other modules just ignore the hack.




45
mrphilong
Re: class/pagenav.php X2.5.5
  • 2012/10/6 9:07

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


I'd put a change in the core, thanks.

Quote:


I hope see more options in pagenav



Is there a hack for pagenav not to display ALL pages for a module ABC unless you are an admin member?

The reason for this, I don't want data extraction software used on my site.



46
mrphilong
class/pagenav.php X2.5.5
  • 2012/10/6 1:51

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


http://validator.w3.org complaints about

id="xo-pagenav"


could someone please change id to class.

Anyone using http://validator.w3.org to check for XHTML compliance ?

Xoops.org has 26 Errors, 32 warning(s) using the validator.



47
mrphilong
Re: Newbb 4.3
  • 2012/9/29 1:27

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Quote:

irmtfan wrote:

mrphilong:

I dont understand what you said.
you mean you have this issue in a fresh install?
Then you repair tables and solve the issue and now after one day you have this issue again?
please let us know more:
your php, mysql xoops


No issue with fresh install. Something was wrong with the tables but it is ok now.



48
mrphilong
Re: Newbb 4.3
  • 2012/9/27 5:04

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Quote:

irmtfan wrote:
it is very strange to me that you need to repair the tables.
Is that an upgrade? from which version?


I was on newbb 4.3, one day out of the blue the error came.



49
mrphilong
Re: Newbb 4.3
  • 2012/9/26 10:09

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Did a "Tables maintenance" on newbb fixed the issue.
Quote:

ANALYZE TABLE analyzes and stores the key distribution for a table. During the analysis, the table is locked with a read lock.
CHECK TABLE checks a table or tables for errors.
OPTIMIZE TABLE to reclaim the unused space and to defragment the data file.
REPAIR TABLE repairs a possibly corrupted table.


I found other errors:

NoticeUndefined variablemenumode in file /modules/newbb/viewtopic.php line 565
Notice
Undefined variablemenumode_other in file /modules/newbb/viewtopic.php line 566



50
mrphilong
Re: Newbb 4.3
  • 2012/9/25 14:06

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


I am getting error "ERROR: Post not selected!" when clicked on a topic and "An Error Occurred" when clicked on subforum.

I am using Xoops 2.5.5
newbb 4.3 rev 10120 Alfred branch.




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



Login

Who's Online

48 user(s) are online (27 user(s) are browsing Support Forums)


Members: 0


Guests: 48


more...

Donat-O-Meter

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

Latest GitHub Commits