Helpful Information
 
 
Category: vB4 Programming Discussions
using built-in friednly URL function in mods

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

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>

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










privacy (GDPR)