81
Northern
Re: Simplified URLs Hack
  • 2007/3/7 7:24

  • Northern

  • Just can't stay away

  • Posts: 420

  • Since: 2004/12/26


Ive tryed a few times.
SIMPLIFIED URLs FOR XOOPS 1.5
Xoops 2.0.16

All i get is a blank page.

the brouser shows in in the site, but i have no page content.

I had it working on the site prior to the update to 2.0.16.
any one else having this problem?

I can get Reynaldo's short url to work. but its not what im looking for.

82
BeeGirl033
Re: Simplified URLs Hack
  • 2007/4/6 10:42

  • BeeGirl033

  • Just popping in

  • Posts: 4

  • Since: 2007/4/6 1


IS there any other way?

Thanks guys.

83
MasterYoda
Re: Simplified URLs Hack
  • 2007/9/8 5:23

  • MasterYoda

  • Just popping in

  • Posts: 4

  • Since: 2004/12/5


Tested and working with 2.0.17

84
NavyCS
Re: Simplified URLs Hack
  • 2007/10/3 22:26

  • NavyCS

  • Just popping in

  • Posts: 12

  • Since: 2007/9/21


How hard would it be to draw out the $xoops_pagetitle to create the file name in the url?

Like /modules/newbb/freshwater(forum)/caught-big-fish-today(topic).html

85
1000ac
Re: Simplified URLs Hack
  • 2007/11/6 0:14

  • 1000ac

  • Just popping in

  • Posts: 74

  • Since: 2005/9/14


Quote:

NavyCS wrote:
How hard would it be to draw out the $xoops_pagetitle to create the file name in the url?

Like /modules/newbb/freshwater(forum)/caught-big-fish-today(topic).html


There is a hack for that... if you can get it to work
https://xoops.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=61568&forum=15

86
vimana
Re: Simplified URLs Hack with title in url
  • 2007/12/19 19:06

  • vimana

  • Just popping in

  • Posts: 20

  • Since: 2005/1/26


Sorry for my english

I noticed that with XOOPS if i change an url adding at the end &some_word, the link works anyway

for example
scrivere questo indirizzo:
writing:
http://www.beverfood.com/v2/modules/wordbook/entry.php?entryID=293

It's the same of

http://www.beverfood.com/v2/modules/wordbook/entry.php?entryID=293&ACQUA%20MINIMAMENTE%20MINERALIZZATA


or using semplified url

http://www.beverfood.com/v2/wordbook+entry.entryID+293.htm

It'
s the same of

http
://www.beverfood.com/v2/wordbook+entry.entryID+293+ACQUA+MINIMAMENTE+MINERALIZZATA.htm


So i changed some templates of some modules adding at the link of an entry &<{$link.title}> for have the title in url too

here some examples:
hack of xdirectory based on the module mylinks:
I have chenged link.html templates
from:
 <
a href="<{$xoops_url}>/modules/adirectory/singlelink.php?cid=<{$link.cid}>&lid=<{$link.id}>"/><{$link.title}>a>
to:
<
a href="<{$xoops_url}>/modules/adirectory/singlelink.php?cid=<{$link.cid}>&lid=<{$link.id}>&<{$link.title}>"/><{$link.title}>a>


I've just added &<{$link.title}> at the end of the link url:
you can see it here:
http://www.beverfood.com/v2/adirectory+viewcat.cid+177.htm
click over any link
example:
http://www.beverfood.com/v2/modules/adirectory/singlelink.php?cid=177&lid=13565&COBIT%20ITALIA


The same thing here:
http://www.beverfood.com/v2/wordbook+category.categoryID+5.htm

wordbook module (example http://www.beverfood.com/v2/modules/wordbook/entry.php?entryID=170&ACIDO%20CITRICO )

templates wb_category.html

from:
<
a href="<{$xoops_url}>/modules/<{$eachentry.dir}>/entry.php?entryID=<{$eachentry.id}> "><{$eachentry.term}>a>
to:

<
a href="<{$xoops_url}>/modules/<{$eachentry.dir}>/entry.php?entryID=<{$eachentry.id}>&<{$eachentry.term}>"><{$eachentry.term}>a>


I've just added &<{$eachentry.term}> (Term title) at the end of the entry's link

Now i have the title in the url but i'm using simplified url hack and it doesn't work:

for example i want to chenge:
http://www.beverfood.com/v2/modules/wordbook/entry.php?entryID=170&ACIDO%20CITRICO

to
http://www.beverfood.com/v2/wordbook+entry.entryID+170+ACIDO+CITRICO.htm

I'm not a php programmer so......
Are there any chances to change simplified_url.php for have + intead of %20?

Sorry for my english
Thanks in advice

87
roxanacaz
Re: Simplified URLs Hack
  • 2008/2/15 11:40

  • roxanacaz

  • Just popping in

  • Posts: 3

  • Since: 2008/2/15


Hi.
I've installed Simplified urls on XOOPS 2.0.16 and it doesn't work - it just doesn't show the new urls - everything looks ok, but with the usual old urls.
I've searched the forums, I've searched with Google and couldn't find an answer. I found that other XOOPS 2.0.16 sites are ok with simplified urls. What else coult it be?

I'm sure I followed the instructions corectly - the 2 files in root dir, correct settings in one of them, the code for htacces and the line in mainfile.

What am I missing? It doesn't work with any of the modules, no modules are excluded... What's wrong? Thank you!

Well, I checked again and saw that the line include "simplified_url.php"; for mainfile.php doesn't add. I added it for sure and it doesn't appear. I tried again and again and it doesn't want to stay there. :) Actaully I get this error when saving the file: [a fatal error or timeout occurred while processing this directive]

I guess if I solve this problem, simplified urls will work.

I'm editing again... I hope someone will find this useful.
It seems the mainfile.php didn't let me modify it due to the permissions. It was 444 so I modified it to 644, added the line and then put it back to 444. That's it and it's working!

88
Yurdal
Re: Simplified URLs Hack
  • 2008/2/15 15:23

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


@roxanacaz
what kind of hosting you have? it seems te be a windows hosting, teh instructions are for a linux/apache hosting, maybe this is the reason

89
carrierlp
Re: Simplified URLs Hack
  • 2008/3/3 6:18

  • carrierlp

  • Just popping in

  • Posts: 11

  • Since: 2007/5/14


Ive been using this module for the longest time, but after updating to a new version of xoops, and moving to a new server, it stopped working... can anyone assist me?

90
carrierlp
Re: Simplified URLs Hack
  • 2008/3/3 6:20

  • carrierlp

  • Just popping in

  • Posts: 11

  • Since: 2007/5/14


o, and im also running on linux hosting on a dedicated server

Login

Who's Online

373 user(s) are online (275 user(s) are browsing Support Forums)


Members: 0


Guests: 373


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