181
karuna
Re: ShortURLs hack
  • 2004/4/8 12:23

  • karuna

  • Not too shy to talk

  • Posts: 171

  • Since: 2002/5/29


Hi

thanks for your great works

should i use both loadpage.txt7 and xoops_shorturls.txt7?

182
Dutchies
Re: ShortURLs hack
  • 2004/4/9 9:22

  • Dutchies

  • Just popping in

  • Posts: 5

  • Since: 2004/4/1 1


I was wondering.

This hack is great !!. But what i like is other names for the short url's

so if you have :

http://www.site.com/m-news+index+.html

i'd like to have :

http://www.site.com/dv-nieuws+index+.html

or

http://www.site.com/m-xoopspartners+index+.html

into

http://www.site.com/dv-collega+index+.html

So it's translated without modify every module to my language.

is this possible ??

183
BelaS
Re: FAQ problem (strange URL)
  • 2004/4/15 15:16

  • BelaS

  • Just popping in

  • Posts: 62

  • Since: 2003/5/26


Quote:

reynaldo wrote:
Bela:

This problem is caused by the hack. I'll take a deeper look at it later and try to find a solution.


Hi reynaldo,

Any luck with this yet?

Thanks,

Béla

184
script_fu
Re: FAQ problem (strange URL)

Hi Bela... I was wondering what hack you used on aboutMJ that gives you the custom rewrite in the address bar?
Your url starts off with m... How can I customize my urls?
I have v0.3 of short urls installed on my site.
Can you post the code where you modified reynaldo's script?

Also you have a nice title bar hack in place. Which hack did you use and how did you go about setting it up?
Do you have

<{$xoops_sitename}> :: <{$xoops_pagetitle}>

set up like this?

<{$xoops_pagetitle}> :: <{$xoops_sitename}>

Thanks for any info...
Regards

185
carnuke
Re: ShortURLs hack- not converting news items !!!
  • 2004/5/2 15:40

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Hi Renaldo,

First a big thank-you for the shorturls hack. This is not only a really good hack, but easy to implement.

I have one small problem... The news urls ar not being converted. I still get http://houseofstrauss.co.uk/modules/news/article.php?storyid=1

There is also a similar problem with xcgal like this http://houseofstrauss.co.uk/modules/xcgal/index.php?cat=10001

I use version shortURLs_0.3_

The only mods I have done is in loadpage.php I do not have a specific sartpage so I have coded //Starpage ="";// where there used to be "news"

Thanks, Richard

186
tl
Re: ShortURLs hack- not converting news items !!!
  • 2004/5/2 15:51

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


Richard:

You may want to try version 7 to see if your problem has been fixed:

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


187
carnuke
Re: ShortURLs hack- not converting news items !!!
  • 2004/5/2 16:55

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Thanks t|

I had a feeling this would be the case, from reading the posts before.

Cheers, Richard

188
carnuke
Short URLs hack diverts back to home page (on XooperStore)
  • 2004/5/3 17:51

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Another little bug here ... I'm running a version of the very nice XooperStore module. Since installing Reynaldo's hack all Xooperstore module links return the same page. The correct URLs showin the status bar just before the divert. My site link is xooperstore

Thanks Richard

189
phppp
Re: Short URLs hack diverts back to home page (on XooperStore)
  • 2004/5/3 19:08

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Has anyone tested its impacts on speed?

only two sites listed above have this hack activated, both seem a little slow.
I am not sure if it is caused by the preg_replace used by this hack.
or just because cache not enabled for the two sites?

190
carnuke
Re: Short URLs hack diverts back to home page (on XooperStore)
  • 2004/5/3 21:04

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


Interesting comment phppp, My impression is that my pages load considerably faster for some reason !

Login

Who's Online

258 user(s) are online (161 user(s) are browsing Support Forums)


Members: 0


Guests: 258


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