Search results

  1. M

    XF 2.1 Can a template parse URL parameters?

    In my template I want to create sidebar navigation and the user can navigate to different pieces of content depending on which navigation button is selected. I want to basically use the URL to decide which navigation tab the user is on. so for example forums/index.php?mypage&tab=1...
  2. M

    XF 2.1 Templates made on the filesystem do not show up in ACP

    I'm following the "Let's build an add-on" in the dev docs and ran into an issue. I'm in the "Create the portal page" section Specifically I'm creating the .html template which ive placed in "src/addons/Demo/Portal/_output/templates/public/demo_portal_view.html" Now what is happening is that...
  3. M

    XF 2.1 Is it possible to insert the contents of a custom template via a template modification?

    So I am successfully regex matching a section of the PAGE_CONTAINER template and I want to replace the matched text with the contents of another custom template I made called 'marksTemplate' Is this possible? Is there a simple xf call to pull in the contents of a template? I've so far tried...
  4. M

    XF 2.1 Correct way to edit templates in XF2 ?

    I've been basicly directly editing my PAGE_CONTAINER template to add custom header graphics with my own divs. Over time i've been adding more and more custom html elements to that template, and i realized that this might be a mistake. For example, with every XF upgrade I hve to revert the...
  5. M

    XF 2.1 How do you use CSS calc in extra.less?

    I put this very basic CSS line into extra.less left: calc(5% + 33px); But xenforo outputs it as left:38% Is there anyway to tell xenoforo to output my CSS and let the browser do the calculation?
  6. M

    XF 2.1 Getting an error right off the bat with the Demo to learn how to make an Add-on

    I'm following the Add-on Demo: https://xenforo.com/xf2-docs/dev/lets-build-an-add-on/ When I try to run php cmd.php xf-addon:install-step Demo/Portal 1 I get the following error: PHP Fatal error: Class Demo\Portal\Setup contains 3 abstract methods and must therefore be declared abstract or...
  7. M

    XF 2.1 Importing a big board from vb 3.8 to XF 2.1 problem: MySQL query error [1206]: The total number of locks exceeds the lock table size

    After 6 days of running the importer (yes 6 days lol) I got to the point of finalizing the import I thought the last step would be fast so I used the web interface but then as it was rebuilding users it threw this error: MySQL query error [1206]: The total number of locks exceeds the lock table...
  8. M

    XF 2.1 Is there any good tutorial for a vB plugin writer to learn the add-on system?

    I'm pretty good with the whole vB Product/Plugin system. I feel I can make the forum do anything I want, have all the hooks, vars and datamanagers to memory by now, etc.. Now starting the long hard road to learning a new system, in this case XF I've been reading through the docs for the...
  9. M

    XF 2.1 New install database mostly MYISAM?

    I thought reading that xenForo uses alot of InnoDB? Im not exactly sure, but with a fresh install almost everything is MYISAM with a few MEMORY tables. Is this correct? Or did I misconfigure something? I will be importing a very large BB so I dont want to run into table locking issues...
Top