Jump to content

Community

Recommended Posts

Thank you!  Yes, let me post it:
 

Error: ErrorException: template_store_missing in /home/tarotforum/public_html/system/Theme/Theme.php:825
Stack trace:
#0 /home/tarotforum/public_html/system/Theme/Theme.php(847) : eval()'d code(6993): IPS\_Theme->getTemplate('profile', 'core')
#1 /home/tarotforum/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_raffles_front_view->winnerRow(Object(IPS\raffles\Raffle), Object(IPS\Member), Array, 1)
#2 /home/tarotforum/public_html/system/Theme/Theme.php(847) : eval()'d code(2787): IPS\Theme\_SandboxedTemplate->__call('winnerRow', Array)
#3 /home/tarotforum/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_raffles_front_view->raffleWinners(2, Array)
#4 /home/tarotforum/public_html/system/Theme/Theme.php(847) : eval()'d code(840): IPS\Theme\_SandboxedTemplate->__call('raffleWinners', Array)
#5 /home/tarotforum/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_raffles_front_submit->updateTopicWithWinners(2, 'giveaway', Array)
#6 /home/tarotforum/public_html/applications/raffles/modules/admin/raffles/raffles.php(834): IPS\Theme\_SandboxedTemplate->__call('updateTopicWith...', Array)
#7 /home/tarotforum/public_html/applications/raffles/modules/admin/raffles/raffles.php(817): IPS\raffles\modules\admin\raffles\_raffles->updateTopicWithResult(Object(IPS\raffles\Raffle), Array)
#8 /home/tarotforum/public_html/system/Dispatcher/Controller.php(85): IPS\raffles\modules\admin\raffles\_raffles->pickWinner()
#9 /home/tarotforum/public_html/applications/raffles/modules/admin/raffles/raffles.php(26): IPS\Dispatcher\_Controller->execute()
#10 /home/tarotforum/public_html/system/Dispatcher/Dispatcher.php(152): IPS\raffles\modules\admin\raffles\_raffles->execute()
#11 /home/tarotforum/public_html/admin/index.php(14): IPS\_Dispatcher->run()
#12 {main} in /home/tarotforum/public_html/system/Theme/SandboxedTemplate.php:65
Stack trace:
#0 /home/tarotforum/public_html/system/Theme/Theme.php(847) : eval()'d code(2787): IPS\Theme\_SandboxedTemplate->__call('winnerRow', Array)
#1 /home/tarotforum/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_raffles_front_view->raffleWinners(2, Array)
#2 /home/tarotforum/public_html/system/Theme/Theme.php(847) : eval()'d code(840): IPS\Theme\_SandboxedTemplate->__call('raffleWinners', Array)
#3 /home/tarotforum/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_raffles_front_submit->updateTopicWithWinners(2, 'giveaway', Array)
#4 /home/tarotforum/public_html/applications/raffles/modules/admin/raffles/raffles.php(834): IPS\Theme\_SandboxedTemplate->__call('updateTopicWith...', Array)
#5 /home/tarotforum/public_html/applications/raffles/modules/admin/raffles/raffles.php(817): IPS\raffles\modules\admin\raffles\_raffles->updateTopicWithResult(Object(IPS\raffles\Raffle), Array)
#6 /home/tarotforum/public_html/system/Dispatcher/Controller.php(85): IPS\raffles\modules\admin\raffles\_raffles->pickWinner()
#7 /home/tarotforum/public_html/applications/raffles/modules/admin/raffles/raffles.php(26): IPS\Dispatcher\_Controller->execute()
#8 /home/tarotforum/public_html/system/Dispatcher/Dispatcher.php(152): IPS\raffles\modules\admin\raffles\_raffles->execute()
#9 /home/tarotforum/public_html/admin/index.php(14): IPS\_Dispatcher->run()
#10 {main}
#0 /home/tarotforum/public_html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error')
#1 /home/tarotforum/public_html/system/Theme/Theme.php(847) : eval()'d code(2787): IPS\Theme\_SandboxedTemplate->__call('winnerRow', Array)
#2 /home/tarotforum/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_raffles_front_view->raffleWinners(2, Array)
#3 /home/tarotforum/public_html/system/Theme/Theme.php(847) : eval()'d code(840): IPS\Theme\_SandboxedTemplate->__call('raffleWinners', Array)
#4 /home/tarotforum/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_raffles_front_submit->updateTopicWithWinners(2, 'giveaway', Array)
#5 /home/tarotforum/public_html/applications/raffles/modules/admin/raffles/raffles.php(834): IPS\Theme\_SandboxedTemplate->__call('updateTopicWith...', Array)
#6 /home/tarotforum/public_html/applications/raffles/modules/admin/raffles/raffles.php(817): IPS\raffles\modules\admin\raffles\_raffles->updateTopicWithResult(Object(IPS\raffles\Raffle), Array)
#7 /home/tarotforum/public_html/system/Dispatcher/Controller.php(85): IPS\raffles\modules\admin\raffles\_raffles->pickWinner()
#8 /home/tarotforum/public_html/applications/raffles/modules/admin/raffles/raffles.php(26): IPS\Dispatcher\_Controller->execute()
#9 /home/tarotforum/public_html/system/Dispatcher/Dispatcher.php(152): IPS\raffles\modules\admin\raffles\_raffles->execute()
#10 /home/tarotforum/public_html/admin/index.php(14): IPS\_Dispatcher->run()
#11 {main}

 

Share this post


Link to post
Share on other sites
53 minutes ago, LittleFang said:

I got this error though: [[Template raffles/front/view/winnerRow is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

You got this in the topic, right? It'ok on the raffle view. Can you confirm it?

pyfqNJS.png

 

xeIP1jx.png

Share this post


Link to post
Share on other sites
57 minutes ago, LittleFang said:

Yes that is correct!

Was it just a test? It's fixed but as it is a post content, once is done, there's no way to redo.

AbK29J3.png

If it was just a test, I'll release a new version now. Otherwise, will have to waste some time to make a routine to rebuild the post.

Share this post


Link to post
Share on other sites

Is there a way to remove the medal images off of the prizes?  Also, is there a setting I'm missing to  have only one winner who can pick between the prizes?  I have 5 listed, is it going to choose 5 winners and screw me over?  Heh

Share this post


Link to post
Share on other sites
3 hours ago, LittleFang said:

Is there a way to remove the medal images off of the prizes?

You will have to edit a template. 

3 hours ago, LittleFang said:

Also, is there a setting I'm missing to  have only one winner who can pick between the prizes?  I have 5 listed, is it going to choose 5 winners and screw me over?  Heh

Not sure I follow so I’ll reply in two ways:

1: If you have 5 prizes then 5 different winners will be obviously chosen.

2: If you have 5 prizes then wants to pick only 1 and leave 4 there, NO. It isn’t an option and it won’t be. The raffle has a expire date and all winners are picked in that date; not before, not after.

Edited by Adriano Faria

Share this post


Link to post
Share on other sites

Hi, i add custom fields on some raffles and i want use specific field in template i find this code in template

                    {{foreach $cfields as $k => $v}}
                        <li class="ipsDataItem">
                            <span class="ipsDataItem_generic ipsDataItem_size3"><strong>{lang="raffles_{$k}"}</strong></span>
                            <span class="ipsDataItem_generic">{$v|raw}</span>
                        </li>
                    {{endforeach}}

but i want only show one specific

a try {$cfields[1]['value']|raw} , {$cfields[1]['value']} but not work...

please help

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...