• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

template

  1. CMTV

    XF 2.0 LESS "when" is not working

    I have created my custom style variable questionthreads_isStylingBestAnswerUserBg. It has Boolean value type. It is set to true. Now in my LESS template I have this code: .container when (@xf-questionthreads_isStylingBestAnswerUserBg = true) { background: #000; } The problem is that this...
  2. tmoflash

    Need Designer

    I was asking if there is a place on the forums hear to request a designer for my site. I am not on here all the time and I did look around very briefly and didn't see a place to post this request. Thanks, tmo
  3. CMTV

    XF 2.0 Extending <xf:avatar.../> template tag functionality

    Hi! I extended user entity structure and added custom column is_pixelated to it. Now I am trying to make every avatar of those users that have true in is_pixelated column to have image-rendering: pixelated CSS property in avatar img tag. xenForo uses <xf:avatar.../> template tag to display...
  4. CMTV

    XF 2.0 Switching thread option

    Hello! First of all, I have to say that it is really hard for my to get into all this xF core and addon structure, relations, models and etc. but I am trying my best to understand this. I used to create Wordpress plugins before and that process was fairly easy. So, let's get to the point. I am...
  5. L

    <select> inside a <xen:option>

    I'm trying to create a template modification that adds a new option to a radio unit in an admin template. This existing radio unit looks like so: <xen:radiounit label="..." name="..."> <xen:option value="...">...</xen:option> ... </xen:radiounit> I want my new option to contain a...
  6. whitesky

    Weird glitch with Style Property used in conditional statement?

    Searched through the forum and didn't see this specifically asked before. I've tested the following from Conditionals page to show content to the default four usergroups: <xen:if is="{xen:helper ismemberof, $visitor, 1,2,3,4"> content here... </xen:if> This works fine when testing in each...
  7. CyberAP

    PHP min() function alternative in templates?

    Is there any way to have something similar to min() function in PHP but in templates?
  8. C

    XF 1.5 Add a custom box to xenforo

    Hello all, I am using a pixelexit theme and wanted to know if there was a global way to add a boxes throughout the forum. Essentially, I would like to add a sidebox and a header box that is global throughout the forum for internal advertising. I have a couple of banners that I would like to use...
  9. LPH

    XF 1.5 Template Syntax

    What is the syntax for trying to get a particular category by title loaded then do a callback? In PHP it would look something like this: if ( $category.title == 'Business & Finance' ) { echo "Yay"; } What would it be for the template syntax? I tried this but fails to save. <xen:if...
  10. Vastyles

    XF 1.5 Display page_x_of_y in header

    Is there a way to display the pagenav bits within the header template? So if there is a pagination it would display the page x of x? <xen:if is="{$pageTotal} > 1"> {xen:phrase page_x_of_y, 'current={$currentPage}', 'total={$pageTotal}'} <xen:else />...
  11. VanillaNeko

    French translation for ACP Extended (ACPE) 1.7

    This Add-On features numerous enhancements for XenForo and especially the ACP, and which improve many security-related functions, the security of your XenForo. The following functions provides you the ACP Extended (please look at the images - more on xenmade.com): ACP -> Home: Displayed...
  12. R

    Not a bug Templates variables & require do not work when the dependence is too much

    So let's say I have a template template_base and a template_module1 and template_nice_input_box. template_base <xen:include template="threemagw_auto_trigger" var1="supi" /> template_module1 Something with {var1}. <xen:require js="js/MyAddon/ThisIsAnIsland.js" /> <!-- This is not embedded! -->...
  13. Jawaad

    XF 1.5 How to add new URL variable template for http and https

    I have running my forum with http protocol. After I change the url to https protocol, the problem is share facebook count, it doesn't count from http. The suggestion from facebook is using old url. So, how can I change the url share facebook from https to http? I want to edit template...
  14. T

    XF 1.5 How can i add my extra css in header.css template

    Hi, I want to add my extra css in these classes "#header .pageWidth .pageContent". I found it in header.css template but it is something like that {xen:helper clearfix, '#header .pageWidth .pageContent'} and on front-end its displaying how can i add my own custom css in the template which...
  15. au lait

    ACP Extended (ACPE) 1.9.1

    DEMO This Add-On features numerous enhancements for XenForo and especially the ACP, and which improve many security-related functions, the security of your XenForo. The following functions provides you the ACP Extended (please look at the images - more on xenmade.com): ACP -> Home: Displayed...
  16. P

    XF 1.5 Need help with Header/Banner Redirect Link

    I'm trying to optimize the header banner on our Forums so that when clicked it redirects to the Forum homepage but can't figure out how. Please help me. :D I have a problem with the Logo It's showing up as a CSS background image, but I don't know where the attributes for it are, therefore, I...
  17. lsxforo

    How to getting template name?

    Dear, I have a question too. Is there way to get an own template name(unique) that inside certain template? :rolleyes:
  18. Torrey Leonard

    XF 1.4 Incorporate WordPress Header with XenForo

    Hey XenForo, For the past few days, I've been searching endlessly for a way to integrate my forum with WordPress. I've reached the conclusion that, well- it's difficult. At this point, I've extracted the contents of my header to raw HTML and CSS. However, placing the static HTML in my header is...
  19. R

    Prevent template modifications?

    I can select this options in the templates for the addons I created: There are no more details. So I wonder what effects are when I enable this. In what cases should/may you enable this option?
  20. M

    XF 1.4 sidebar_online_users "Staff online"

    Hey guys, my problem is the sidebar (sidebar_online_users) "staff online" isn't working correctly for me, I'm new to XenForo and it's templates.... Have a look: I hope anyone can help me :/. Yours, Montimedici