Topic: punBB short urls

download: link
This little hack rewrites links to forums and topics to look like .html ones like viewtopic.php?id=124 will become topic_124.html smile All info is in the readme. smile

My site [PHP, Python, Linux]

Re: punBB short urls

I have a feeling this isn't in the right area (this is for the admin/mod plugins that go in the plugin dir) tongue

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: punBB short urls

Interesting... I might have to try it. Could you give us a bit more info on how it works?

Looking for a certain modification for your forum? Please take a look here before posting.

Re: punBB short urls

ok, look at my forums: http://www.cms.rk.edu.pl/forum/ look on the forums and topics links smile

My site [PHP, Python, Linux]

Re: punBB short urls

Sorry, I wasn't clear enough - I meant how, behind the scenes it works. What files, database tables, etc does it modify?

Looking for a certain modification for your forum? Please take a look here before posting.

6

Re: punBB short urls

Riklaunim wrote:

download: link
This little hack rewrites links to forums and topics to look like .html ones like viewtopic.php?id=124 will become topic_124.html smile All info is in the readme. smile

Very good!

I used similar for phpbb forum (community.girlpower.it) . But it was better becouse also rewrite using title of forum or topic

so, the URL became  from viewtopic.php?id=124  to  title-of-topic-124.html

Do you think is possibile to modify you hack to have something similar ??

i can PAY for it !!!!!  smile

bye
lanas

7

Re: punBB short urls

The top would be http://www.url-of-the-site.com/forum/name-of-forum/ (without ID)
The top would be http://www.url-of-the-site.com/forum/na … -of-topic/ (without ID)

smile

Re: punBB short urls

Great but doesn't work with pagination hmm

Re: punBB short urls

PunBB 1.3 will have (already has in Subversion) support for "fancy URLs" through the use of mod_rewrite. Changing the rewrite schema is very simple. It's only a matter of editing/adding to url_rewrite.php.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

10

Re: punBB short urls

The top would be all pages rewrited wink

[img]http://vendetek.supernoova.info/img/pub/pub.gif[/img]

11 (edited by ZeFroG 2005-09-02 09:39)

Re: punBB short urls

When you are on viewforum, the link "New posts" doesn't work with the url rewriting sad

[img]http://vendetek.supernoova.info/img/pub/pub.gif[/img]

12 (edited by Riklaunim 2005-09-02 18:11)

Re: punBB short urls

Ok, redownload and overwrite rewrite.php and .htaccess (with htaccess.txt) it will now convert &p= (pagination) and "New posts". IF it won't work try to replace & in rewrite.php with &

My site [PHP, Python, Linux]

13

Re: punBB short urls

Thanks a lot smile

[img]http://vendetek.supernoova.info/img/pub/pub.gif[/img]

14

Re: punBB short urls

can someone maybe make this phpbb mod for punbb? http://webmedic.net/released-phpbb-goog … t2577.html
it makes keyword-uls-vt12.php instead of viewtopic.php?id=12

15

Re: punBB short urls

Riklaunim, I can't download short_punbb.zip. Please, can you show us the code or alternative file?

Thank you in advance

Re: punBB short urls

Rickard,

Can you post a way to get your url_rewrite.php functionality working in 1.2.10 ?

Thanks,

-J.

Re: punBB short urls

Riklaunim, your download link is dead, unfortunately. sad