Ok, done as you told me: now the only link that functions is http://www.volleyclub.it/PNphpBB2.html
others seem to have a - too much:
http://www.volleyclub.it/PNphpBB2--viewtopic-t.html
http://www.volleyclub.it/PNphpBB2--privmsg-folder.html
and FAQ, search, members, groups lack of the last part:
http://www.volleyclub.it/PNphpBB2-.html
Should I add something to functions.php?
It looks like you need special PNphpBB2 urls for your site if you dont know how to do it and you want to have it, email me with your ftp data so I could help you:
I don't know why, but now it functions!
Thank you for your interest.
I'm trying to add short url support to postcalendar, but seems a lost battle.
The nearest solution gives this kind of urls:
postcalendar-04-2004-day-http://www.volleyclub.it/.html
or
postcalendar-04-2004-month-http://www.volleyclub.it/.html
and I don't know how to write the first part before .html...
The code is the same of shorturls2b
in .htaccess
RewriteRule ^PostCalendar-Search\.html$ index.php?module=PostCalendar&func=search [L,NC]
RewriteRule ^PostCalendar-AddEvent-([0-9]{2})-([0-9]{2})-([0-9]{4})\.html$
index.php?module=PostCalendar&func=submit&tplview=&Date=$3$2$1 [L,NC]
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})-event-([a-zA-Z_]+)\.html$
index.php?module=PostCalendar&func=view&Date=$3$2$1&tplview=&viewtype=details&eid=$4&print= [L]
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})-([a-zA-Z_]+)-([0-9a-zA-Z_]+)\.html$
index.php?module=PostCalendar&func=view&tplview=$5&viewtype=$4&Date=$3$2$1&pc_username=&pc_category=&pc_topic=&print= [L]
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})-([a-zA-Z_]+)\.html$
index.php?module=PostCalendar&func=view&tplview=&viewtype=$4&Date=$3$2$1&pc_username=&pc_category=&pc_topic=&print= [L]
RewriteRule ^PostCalendar-([0-9]{2})-([0-9]{2})-([0-9]{4})\.html$
index.php?module=PostCalendar&func=view&tplview=default&viewtype=month&Date=$3$2$1 [L]
Just find a new info
with Opera 7.11 links are so rewritten:
http://www.volleyclub.it/PostCalendar-04-2004-month-http://www.volleyclub.it/.html
with Mozilla 1.6 same beahavior as IE 6:
postcalendar-04-2004-month-http://www.volleyclub.it/.html
Strange, isn't it?
I also tried to fix the Postcalendar URL's because i got the same strange behavoir as teddy. My solution seems now to work for me... I hope it helps for the rest too ?!
.htaccess :
functions.php $in array :
functions.php $out array :
You must really take care if you want to copy paste from the forum because of the blank spaces for ex between
\.html$ and index.php?
it's good to see you guys appreciate the mod as it was something i have been looking for a long time.
hats off to cuervo for the option to turn it ON/OFF from the settings menu. that was what swayed me to assist. mtrad & mashdeco had the rewrite rules working but only on a theme by theme basis.
let us/me know if you have any probs.
once again i am using this mod WITHOUT replacing pnHTML.php OR setting the shorturls option in themes.
i have tweaked ny .htaccess and functions.php
Great to have this functional finally.
supa
http://www.ttgapers.com - the ultimate caribbean portal - with shorturls
You will see an url like this:
http://www.fundacioncomerbien.com/PostCalendar-print--day-27-04-2004----1.html
it looks a bit strange because of optional arguments of the url, but it works. Be careful when copy/paste from XForum, some blanks are introduced in urls.
there is some errors in v2.0b with Search module, it is already fixed. v2.0c will include:
- Fixed errors of Search urls
- PostCalendar working rules
- ....
Request:
Any *working* rule for My_eGallery ? I get some group of rules but I can't make it work
I'm thinking about posibility of users can select short urls extension: html, htm or pthml. What do you think about it ? can it be useful ?
Todos los logos y marcas registradas en este sitio son propiedad de sus respectivos dueños. Los comentarios son propiedad de sus autores, el resto es de este sitio Web (c) 2003,
que fue creado con PostNuke, un sistema portal Web escrito en PHP. PostNuke es Software Libre liberado bajo la licencia GNU/GPL.