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.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.webp

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
autoinstall.png


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]";
                }


  • demo2.webp
    demo2.webp
    16.6 KB · Views: 229
  • demo3.webp
    demo3.webp
    11.5 KB · Views: 233
  • demo4.webp
    demo4.webp
    9.5 KB · Views: 231
  • demo5.webp
    demo5.webp
    22 KB · Views: 227
  • demo6.webp
    demo6.webp
    29 KB · Views: 223
  • demo7.webp
    demo7.webp
    43.7 KB · Views: 222
Author
cclaerhout
Downloads
37
Views
651
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from cclaerhout

Back
Top Bottom