171
karuna
Re: ShortURLs hack
  • 2004/3/27 10:09

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


Quote:

karuna wrote:
Hi

I tried a earlier version of xoops_shorturls.php and loadpage.php(i don't down which version now i use maybe v4 or v5) the problem in the forum seems had been sloved

Best regards


Hmm there is another problem now

The copyright bar wen to go a wrong position.

http://ppfans.com/Snap1.jpg
or here
http://ppfans.com/html/myalbum-viewcat-cid-1.html

172
ullone
Re: ShortURLs hack
  • 2004/3/27 10:18

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


kenogui . Pardon my language (i'm italian).
I have tested your hack in my site. It work good but it has a problem with WebLog module.
Archive of WebLog module 1.2 give me an error.
I'm a newbie (i do not understand nothing in php) but i have correct ("BAD, I'M NOT AN EXPERT") it with this system :


.HTACCESS file :


#weblog eulisse Aggiunto 22 marzo 2004
RewriteRule ^modules/weblog/archive-([0-9]+)-([0-9]+)-([0-9]+).html$ modules/weblog/archive.php?year=$1&month=$2&user_id=$3 [L]



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


MODREGEXP.PHP file :



"'(? "'(? "'(? "'(?

.......
.......
.......
.......
.......


"modules/news/archive.html\"",
"archive-\\1-\\2-\\3.html",
"archive-\\1-\\2.html",
"dossiers.html\"",


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

I have insert "'(?"archive-\\1-\\2-\\3.html", because otherwise the script redirect bad to the other script.

173
ullone
Re: ShortURLs hack
  • 2004/3/27 10:29

  • ullone

  • Friend of XOOPS

  • Posts: 49

  • Since: 2003/4/24


For the moment i not insert any short module for my future sites. I wait the future versions.

For the rest. ...
Please kenogui and reynaldo collaborate. ... ...

I can not help you because i'm a newbie (and i'm also a "stupid man". ...). ...

But. ...
The script of kenogui work very good (i use Invision Board module) but the script of reynaldo, that is more powerfull, in Root, give me many strange error in my site. ...
I think that if you collaborate for some modification the result will be a great mod_rewrite short url module for all. ...

174
karuna
Re: ShortURLs hack
  • 2004/3/27 14:45

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


here is the debug info.






































here should be


175
reynaldo
Re: ShortURLs hack
  • 2004/4/3 19:44

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Quote:

kenogui wrote:

the parameter #4 " [4] => 539st" is wrong, it should be "539" only.
and we should have a 5th parameters called "st=10".

I think it's a start point for you, I'm currently trying to debug it, but you will be faster than me ....

thanks !


Kenogui:

Thanks a lot for your feedback. If I'm not confused, I think that problem was solved in last version. Try overwriting files with fix #6:
xoops_shorturls.txt6
loadpage.txt6

Let me know if after installing/overwriting with those you still have the same problem and I'll be glad to take a look at it.

About the SID thing, I'll take a look at it, but sometimes the easier way is to fix things right at the source. I have the same problem with my PHP installation adding a PHPSESSID to everything and I recompiled PHP without it and voila!

176
reynaldo
Re: ShortURLs hack
  • 2004/4/3 19:49

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Ullone: (and/or for those who already don't know it)

My hack doesn't work correctly (yet!) with a XOOPS installation inside a dir. As soon as I have time to write the next version, I'll fix/add this feature but for now I can't do anything about it

Sorry about it pal, but right now I'm short of time and can't work on a major version, just minor fixes.

177
reynaldo
Re: ShortURLs hack
  • 2004/4/3 20:55

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Karuna:

are you using the last version of the hack? (fix #6)

I can't reproduce this error at my sites

178
karuna
Re: ShortURLs hack
  • 2004/4/3 21:19

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


thanks

Yes i use v6

does your site's forum have more one page?It's works wrong when one forum have more than one page.

179
reynaldo
Re: ShortURLs hack
  • 2004/4/3 22:32

  • reynaldo

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/2/13


Karuna:

I'm glad to say I found and fixed the problem :)

Unlike some of the fixes I had posted lately, this one was related to an error inside the hack and not to a bad coded module/template.

Try downloading this version:

http://www.wtmmail.com/XoopsShortUrls/loadpage.txt7

Remember to edit line 20 of the script if your default module is other than News.

Thanks for your help Karuna.

180
script_fu
Re: ShortURLs hack

Is there an updated zip file with all the needed files in it? Im not sure what to install where. The file above that you point to says its v4?

Can you clarify?

Login

Who's Online

145 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 145


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