PDA

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


winstone
11-24-2009, 12:03 PM
Hi,

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

ragtek
11-24-2009, 12:08 PM
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>

winstone
11-24-2009, 09:11 PM
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