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.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
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.png
    demo2.png
    26 KB · Views: 219
  • demo3.png
    demo3.png
    13.6 KB · Views: 222
  • demo4.png
    demo4.png
    13.1 KB · Views: 221
  • demo5.png
    demo5.png
    23.5 KB · Views: 217
  • demo6.png
    demo6.png
    22.6 KB · Views: 213
  • demo7.png
    demo7.png
    17.7 KB · Views: 212
Author
cclaerhout
Downloads
37
Views
574
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from cclaerhout

Back
Top Bottom