• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
URL Tag with Title field (OUTDATED)

Unmaintained URL Tag with Title field (OUTDATED) 1.0

No permission to download
Compatible XF 1.x versions
1.1
License
Creative Commons BY 3.0 license
Visible branding
No
URL Tag with Title field
by Cédric CLAERHOUT

Addon Presentation
This addon will extend the default XenForo url Bb Code with a title field. This addon is coming from a request which was done by web09 in that thread. It is supposed to improve SEO. Don't ask me more, I will personally not use it.

demo1.png

Installation
  1. You must have installed first TMS (template modifications system)
  2. You must manually edit 1 XenForo php file (see below)
  3. Then use Chris Auto Installer or upload the files on your forum directory and Import xml file


This release can be installed and upgraded using the Add-On Installer by Chris Deeming


Configuration

The new field will be displayed for all usergroups by default. If you prefer to use XenForo User Group Permissions, go first to this addon option and check "Activate permissions?", then configure permissions (if you don't understand, watch the screenshots)


PHP Manual Edit
SOURCE: {yourforum}/library/XenForo/Html/Renderer/BbCode.php

# Search:
PHP:
                return "[$type='$target']{$text}[/$type]";

#Replace:
PHP:
                $title = $tag->attribute('title');

                if($title)
                {
                    return "[$type='$target', '$title']{$text}[/$type]";               
                }
                else
                {
                    return "[$type='$target']{$text}[/$type]";
                }

Author
cclaerhout
Downloads
35
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from cclaerhout