View Full Version : using built-in friednly URL function in mods

24 Nov 2009, 13:03

I'm working on a mod and I was wondering if I can use the existing Friendly URL function to rewrite my links, just like how we can use the vbseo friendly URL function

I traced the friendly URL codes to /includes/functions.php [fetch_seo_url();] and /includes/class_friednly_url.php files but at the moment I have no idea on how to use them

Any info appreciated

24 Nov 2009, 13:08
I'm using the following code in a modifiction of me and it's working fine

<a class="title" href="{vb:link thread, {vb:raw thread}, {vb:raw pageinfo}, 'threadid', 'threadtitle'}" id="thread_title_{vb:raw thread.realthreadid}">{vb:raw thread.threadtitle}</a>

24 Nov 2009, 22:11
If I'm not wrong you are creating a link similar to default forum links probably using showthread.php?etc.. type of link in the templates

I need to create links in my custom.php files