Jump to content
DevFuse Forums

ShaneV

Members
  • Posts

    47
  • Joined

  • Last visited

Everything posted by ShaneV

  1. Are there some tuts about using the foreach in ipb3 templates? Like this i simple query what i do wrong? Example select 50 emails from ipb_members $data = $this->DB->buildAndFetch( array( 'select' => '*', 'from' => 'members','limit' => '50' ) ); $this->output .= $this->registry->output->getTemplate('top50')->showTop50( $data ); $this->registry->output->addContent( $this->output ); $this->registry->output->sendOutput(); Template: => template variable: $data=array() <foreach loop="$data as $k"> {$k['email']}<br /> </foreach> But i get an output like this 1 B 4 m 1 8 3 B ...
  2. Hi thanks, I need a little help here :) I want to work with the template i added in ACP but how does the foreach function work in IPB3, this is what i have so far. The page: http://www.codedump.be/code/346/ Template: http://www.codedump.be/code/347/ Template Variables: $t50 Inspired on an invite mod for IPB3, but its not working. Thanks
  3. Thanks that you want to help me, but i upgraded to 3.0.3 and the problem was fixed :) Thanks anyway ;)
  4. Hi, I recently upgraded my 2.3.5 to 3.0.3 :) Now for 2.3xx i made my own little script called 'Topic Top 50' It shows 50 topics with most reply's that where post in the last 30 days.. With a simple code: http://codedump.mastercode.nl/645/ Placed the file in /sources/components_public/ and access it by index.php?autocom=top50 Now i see that in IPB3 almost everything with the code is changed, how can i do something like this for IPB3? Thanks allot! Greetz
  5. Hi i have the same problem, i checked all settings as for i know and i can't send a private message. When i go to my messenger i get: [#10227] You are not allowed to use the private messaging system. @MPFF or someone else, how can i fix this? ps. board has been upgraded from ipb2.3.5
  6. Jup ook belgs xD kante van Antwerpen :)

  7. google ;) looking for mods :)
  8. Europe => Belgium => Antwerp ^_^
×
×
  • Create New...