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?

    NEVER MIND It works. I made the template in the wrong style. For anyone searching this in the future, the answer is to use <xf:include template="marksTemplate" />
  4. 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...
  5. M

    XF 2.1 Correct way to edit templates in XF2 ?

    Well I'm an idiot, for other idiots out there, this is what you need: $config['development']['enabled'] = true; Thanks :)
  6. M

    XF 2.1 Correct way to edit templates in XF2 ?

    Thank you man, I got started and successfull made my add-on Now i'm trying to make the Template Modification but having problems I went to "Appearance" -> "Template modifications" and am under the "Public" tab. But I don't see any option to "Add template modification" as per the...
  7. 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...
  8. M

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

    Found the answer here: https://xenforo.com/community/threads/css-calc-function-not-working-properly.168854/ have to do ~""
  9. 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?
  10. 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...
  11. M

    XF 2.1 Reactions SQL tables

    Can you give a clue as to how to rebuild the caches so the data shows in posts?
  12. M

    XF 2.1 Reactions SQL tables

    Did you ever figure this out? I made a script to transfer over my "likes" from a vb install as reactions in the XF database. I got the data successfully ported over into the XF reaction content table, but the reactions dont actually show up on the posts. I'm assuming something somewhere has...
  13. 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...
  14. 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...
  15. M

    XF 2.1 New install database mostly MYISAM?

    It was exactly that. Innodb was off in my.cnf Thx
  16. 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