visitor

  1. ENXF NET

    xF2 Add-on [MMO] Visitor 2.0.3

    Plugin adds tag Works in topics, correspondence, signatures.
  2. ENXF NET

    xF2 Add-on AndyB Sort visitor menu 1.1

    Sorts visitor menu links. (Example before add-on is run) (Example after add-on is run) Installation: Download Andy-SortVisitorMenu-1.0.zip and unzip it. Copy the src/addons/Andy/SortVisitorMenu directory to your server. From the Admin Control Panel Install the add-on. How to use: Add...
  3. ENXF NET

    XF 1 Tip Hide email adress from guests

    his tutorial will show you how to hide email adress from guests. Go on your ftp > library/XenForo/BbCode/Formatter/Base.php and search : $email = XenForo_Helper_String::censorString($email); and add below to hide to guests : $visitor = XenForo_Visitor::getInstance(); if...
  4. ENXF NET

    XF 1 Tip Responsive AdSense

    One of the biggest concerns with 1.2 has been how to activate the responsive design while still using AdSense. Obviously as the various page widths are now totally dynamic, simply adding a Google ad slot in the normal manner won't work. Once the browser width reduces below the width of the...
  5. ENXF NET

    XF 1 Tip Tutorial Understanding Conditional Statements

    Conditional Statements The following conditional statements will only work in templates which support the arguments and parameters. Statements can be expanded using AND, OR, xen:else and xen:elseif. Replacing == with != in the following examples will change the condition from true to false...
  6. ENXF NET

    XF 1 Tip Hide Posts From Guests

    This is a simple template modification which will hide the post contents from guests and show them a message instead. Which you can alter to fit your needs. At the message template replace all the code in there with the following code: <xen:require css="message.css" /> <xen:require...
  7. ENXF NET

    XF 1 Tip Add a sidebar without the visitor panel

    This resource is not affiliated with XenForo Ltd. This functionality allows you to add a sidebar to a template, page, etc. without the visitor panel at the top. So for example, this is how a standard sidebar is added to a page: <xen:sidebar> <div class="messageText ugc baseHtml">...
  8. ENXF NET

    XF 2 Tip Get user_id of visitor

    In XenForo 1, getting the user_id involved the getInstance and getUserId methods. $user_id =XenForo_Visitor::getInstance()->getUserId(); In XenForo 2, it's a matter of using visitor(). $visitor = \XF::visitor(); $user_id = $visitor['user_id']; Once the user_id is known then the $user...
Top