Recent content by Claiver

  1. Claiver

    Adding a Custom Alert

    Hey @King Kovifor, thanks for taking the time to conjure a reply and looking into this matter; helpful people like yourself make working upon this platform a whole lot easier. I'll see how far I can get by studying the Alert Handlers, at least now I've got a clue!
  2. Claiver

    Adding a Custom Alert

    Hey, thanks for reading up on my little challenge. If it's not too much of trouble, I'd appreciate it if you could point me in the right direction! For my main site, which runs on CakePHP and integrates XenForo (it also makes use of the xf_user table), I have created an Event system. I would...
  3. Claiver

    Template: Inline conditional to match a string

    Thank you for your reply, @Chris Deeming ! I'm using absolute URLs because the Games section is in my main application at mysite.com/games/ whereas the forums are at mysite.com/community/. I'm loading the XenForo in my custom (CakePHP) application as well, so that the header is the same on both...
  4. Claiver

    Template: Inline conditional to match a string

    In the navigation template I see the following line which adds a class based on if a variable is true or false: {xen:if $tabs.forums.selected, 'selected', 'Popup PopupControl PopupClosed'} I'd like to be able to check if a variable matches a string, such as: <!-- games --> <li class="navTab...
  5. Claiver

    Changing JS/html href URLs on External Load

    Ahh, so there isn't a global option I could set, before the linkbuilder does his job? For example during initialization: XenForo_LinkBuilder::path = '/community/'; // instead of '/' // all the link-building code here
  6. Claiver

    Changing JS/html href URLs on External Load

    Unfortunately my own application is reliant on relative pathing. I was hoping XenForo used some sort of LinkHelper to create links, this is not the case?
  7. Claiver

    Changing JS/html href URLs on External Load

    So I'm loading some parts of the XenForo header in my CakePHP application. The HTML is loaded fine, and I'm also including the xenforo.js for the base JS logic to ensure the visitor bar works (with messages and alerts). Currently when it generates the HTML for the loaded templates, all of the...
  8. Claiver

    Loading a Template Externally

    @xf_phantom or to whom may know: Currently when it generates the HTML for the loaded templates, all of the URLs are relative. Since my board is located at http://mysite.com/community/, and my main page at http://mysite.com/, I need to somehow make the renderer/parser append "/community/" to the...
  9. Claiver

    Loading a Template Externally

    Thanks a bunch @xf_phantom! This definitely got me started :) !
  10. Claiver

    Ahh right, no worries man. Thanks for getting back to me, I appreciate that!

    Ahh right, no worries man. Thanks for getting back to me, I appreciate that!
  11. Claiver

    trying to render template's to none xenforo page

    Did you ever succeed @Xencored ? :)
  12. Claiver

    Loading a Template Externally

    That's already a huge progression in my quest to solving this matter, @xf_phantom cheers! I realized I needed the "navigation_visitor_tab" template, seeing as how I want to display the notifications to my users on my CakePHP application. The HTML rendered through this method, however, does not...
  13. Claiver

    Loading a Template Externally

    Thanks for your reply phantom! This seems to be in the very right direction; since I don't need the CSS but the actual template, I've changed the createTemplateObject('header.css') to createTemplateObject('header'), assuming that'd be the right thing. But doing so will echo nothing on my page...
  14. Claiver

    Loading a Template Externally

    In my CakePHP application I would like to load the header template, with XenForo taking the current session into account. The template looks like this: <xen:hook name="header"> <div id="header"> <xen:include template="logo_block" /> <xen:include template="navigation" /> <xen:if...
  15. Claiver

    Integrate XenForo user-bar on different platform

    No words of advice on this matter guys? I'd be very thankful if you'd share your knowledge on this!
Back
Top Bottom