Recent content by SmauG

  1. S

    s9e Media BBCodes pack

    Hey @JoshyPHP, Thanks for the add-on, really useful! Could you add support to more gaming stores / sites? Like GOG (game store (like Steam Store)). Example: https://www.gog.com/game/thimbleweed_park Metacritic (game ranking (something like Imdb, show, game, image, description, votes and...
  2. S

    Explode on template syntax

    Sorry, already figured out second part (converting the string on an array). What about the explode on the template?
  3. S

    Explode on template syntax

    First of all, sorry if this topic doesn't belong here. I'm having some troubles doing some custom content on my XF. I have a field ($var.field) which is a string ('3, 4, 5, 13') and i want to evaluate it on the foreach. <xen:foreach loop="$vars" value="$var"> </xen:foreach> So i want to know...
  4. S

    XF 1.5 Sidebar render order

    Thanks, but isn't exactly what i need. I'm trying to change render order to get sidebar (or widget framework widgets, as i've injected few on the sidebar) over main content on mobile version. By default my sidebar (with template blocks and some custom blocks done as widgets) appears on the...
  5. S

    XF 1.5 Sidebar render order

    Thanks Brogan, got it. What about widget framework widgets? If they're hooked to a template on the sidebar, lowering it executing order doesn't alter it order on the whole site (just on the widget list). Altering execution time of the WF hooks on the event listener doens't seem to work neither.
  6. S

    XF 1.5 Sidebar render order

    Hello, There's any way to change the render order of the whole sidebar? What about just it blocks? I'm fine with desktop view, but i've did some custom modules on the sidebar what i'd like to see on top on my mobile view. Instead of that, they're at the bottom cause it renders after main...
  7. S

    XF 1.5 Different navbar color based on actual page

    Anyone? Any solution would be appreciated, even setting a different primaryColor on each template would work. EDIT: Can be closed. Finally figured out a solution.
  8. S

    XF 1.5 Different navbar color based on actual page

    Hello, I'd like to know how to set a different color to the navbar based on the page i'm browsing. Actually this is for XenPorta but should be useful for custom pages too. As XenPorta layouts css aren't global, they just affect to it section, you can't just set the #userBar .navTabs inside it...
  9. S

    XF 1.5 Template Syntax inside a javascript

    Well, i just rewrote it and now it's working. Didn't really changed anything, actually using <xen:foreach> inside the <script>. So confused but ok, at least is working.
  10. S

    XF 1.5 Template Syntax inside a javascript

    It's everything on the template. When i said custom page, i meant XenForo custom page (template), sorry if wasn't clear. Basically, i need this working on the template: <script type="text/javascript"> data.addRows([ <xen:foreach loop="$loops" value="$loop" i="$i"> [{$i}, {$loop.a}, {$loop.b}...
  11. S

    XF 1.5 Template Syntax inside a javascript

    Hello, I'm trying to implement a dynamic chart on a custom page, but i don't really have so much clues about how to do it without the <xen:foreach>. Basically i have an array from my model which has some integers, and i need to parse them on this way: <xen:foreach loop="$loops" value="$loop"...
  12. S

    XF 1.2 Error after updating to PHP 5.6

    I'm running a 1.2 xenforo forum (if i remember correctly, 1.2.7) and 2 days ago my host updated the PHP version to 5.6. Since then, i'm having, at least, an error when registering: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated XenForo_Application::handlePhpError()...
  13. S

    XF 1.1 Can't log on ACP

    I've been editing the user model to add more data from more tables to $user, adding a left join on the request (by name, email, ...). I'll check it later to exactly know why it failed because i've just reverted it to be able to log in on the ACP, but will change it later to be able to pick my...
  14. S

    XF 1.1 Can't log on ACP

    Sorry, nevermind. You can delete the post as indeed i've made a small change yesterday. Reverted and working :)
Top Bottom