This is version of the game "Rock Paper Scissors" of children.
Users could choose to play with computer or challenge other users. You could play to get credit or against others. The administrator could set the rate of win-lose through the panel board. The rules of this game are very simple...
I solved the problem by copy and editing the message.js file
// ################################## QUICK REPLY HANDLER ###########################################
XF.QuickReply = XF.Element.newHandler({
options: {
messageContainer: '',
ascending: false...
I change the order in which posts are displayed in a thread by extending the class:
<?php
use XF\Mvc\Entity\Finder;
use XF\Mvc\Entity\Repository;
namespace HT\ForumImplement\Repository;
class Thread extends XFCP_Thread
{
public function getDefaultPostListSortOptionsRd(): array
{...
I develop an addon. Please tell me how I can pass a variable in my controller to the thread_new_posts template.
My Controller:
<?php
namespace HT\BnsForumImplement\Pub\Controller;
use XF\Mvc\ParameterBag;
use XF\Pub\Controller\Thread;
class Thaoluanrd extends Thread
{
public...
Thanks for reply.
Because I want to embed the thread to Drupal in the form of an iframe. (Drupal and Forum in the same domain). So if I edit thread_new_posts, it affects the Forum. I just want to use thread_new_posts_new for Drupal.
I rewrite thread_new_posts by creating a thread_new_posts_new and re-editing it as I wish.
However how do I use thread_new_posts_new when post in thread?
Thanks for support!
I want to set up email preferences for password reset only. So, how to set up an email option only for writing password reset. I use the GMAIL Email transport method.
Thanks for help!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.