101
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/1 1:53

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Quote:

Koreus wrote:

Go there : http://test.koreus.com/xoopsfaq-index-cat_id-2.html#q5

And goes to the 2nd line of the page, you should see this :
»» Le Site
Intead of this :
Principale »» Le Site


This is not an error or bug, this is they way Within-page links work
For example, go to
https://xoops.org/modules/newbb/viewtopic.php?topic_id=16663&forum=14&post_id=72629#forumpost72629

You will see that insted of the page opening and staying on top, it will inmediately scroll to post #72629

Quote:
This one IS a bug I'll take a look at it. It seems I broke something while trying to fix compatibility problems with myAds


102
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/1 3:25

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Hey!

Last fix is posted at
http://www.wtmmail.com/XoopsShortUrls/xoops_shorturls.txt5

I addressed latest bugs and it seems to be working fine, test it in yours and let me know how it goes

103
Mikhail
Re: FAQ problem (strange URL)
  • 2004/3/1 3:34

  • Mikhail

  • Just can't stay away

  • Posts: 412

  • Since: 2003/1/19


hum... there some problems with pmlite.php and readmsg.php (without ".XOOPS_URL."/ or something)

104
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/1 3:45

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Quote:

Mikhail Miguel wrote:
hum... there some problems with pmlite.php and readmsg.php (without ".XOOPS_URL."/ or something)


Checking....

105
Mikhail
Re: FAQ problem (strange URL)
  • 2004/3/1 3:48

  • Mikhail

  • Just can't stay away

  • Posts: 412

  • Since: 2003/1/19


Quote:

reynaldo wrote:
Quote:

Mikhail Miguel wrote:
hum... there some problems with pmlite.php and readmsg.php (without ".XOOPS_URL."/ or something)


Checking....


as result:
http://viewpmsg.php/viewpmsg.php-readpmsg-start-0-total_messages-1.html


106
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/1 4:09

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Hey:

Found a fix for this bug. But i'm a little tired and I would like to confirm I am not breaking anything else

I'll take a look again in the morning and post the revised solution. Night!

107
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/1 10:18

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Quote:

Mikhail Miguel wrote:
hum... there some problems with pmlite.php and readmsg.php (without ".XOOPS_URL."/ or something)


Hey,
I found a quickfix for this error, but I don't like quickfixes. When I started coding ShortUrls, I didn't know Urls like
http://www.domain.com/readpmsg.php?start=0&total_messages=1&PHPSESSID=4500f8ec8e0e17a704b4533aab2cb5e3
could exists. What I mean is, urls with scripts running from the Xoop root dir and with more than 2 parameters.

I think the best way to go is to once more slightly modify the way ShortUrls works in the following way:
1) URLs like:
/modules/newbb/viewtopic.php?topic_id=1&forum=1&post_id=1#forumpost1
Will become:
m-newbb-viewtopic+topic_id-1-forum-1-post_id-1.html#forumpost1
(note the '+' (plus) sign separating files from parameters, and that modules folder is now referred as 'm')

2) URLs in the root, as
/readpmsg.php?start=0&total_messages=1&PHPSESSID=4500f8ec8e0e17a704b4533aab2cb5e3
will become:
/readpmsg+start-0-total_messages-1-PHPSESSID-4500f8ec8e0e17a704b4533aab2cb5e3.html

I would like to know the opinion of each one of you who have been testing ShortURLs and helping me debug it. I think this change is necessary to allow ShortURLs have greater compatibility with current version of XOOPS and with a newer version whenever it is released.

108
reynaldo
Re: FAQ problem (strange URL)
  • 2004/3/1 14:52

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


For those who would like to test, here is the new (maybe) UNSTABLE ver0.4 for ShortURLs.

I'm still working in it and I don't recomend to use it in a production site.

Test it and do whatever comes to your mind to break it, LOL, and of course, report it here :)

This version STILL does not support running XOOPS from within a dir.

Download here:
http://www.wtmmail.com/XoopsShortUrls/ShortURLs_0.4_for_Xoops.zip

109
aubrey
Re: FAQ problem (strange URL)
  • 2004/3/1 16:36

  • aubrey

  • Just popping in

  • Posts: 31

  • Since: 2004/2/1 2


The latest version gives problems with the Arms module on my site. When you are viewing an article and you click to go to the second page, the variable in the address bar changes to page2 but it shows you the first page again. Otherwise this module works perfectly on my site.

see my problem Here

-Aubrey

110
aubrey
Re: FAQ problem (strange URL)
  • 2004/3/1 19:19

  • aubrey

  • Just popping in

  • Posts: 31

  • Since: 2004/2/1 2


I found another bug that I think is from the latest version of this module. When I try to install / uninstall a module from the module admin page I get a blank screen and, when phpDebug is on, the following message:
Notice [PHP]: Undefined index: module in file modules/system/admin/modulesadmin/main.php line 46

-Aubrey

Login

Who's Online

155 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 155


more...

Donat-O-Meter

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

Latest GitHub Commits