Limited Support
Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.
We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!
Merry Christmas and Happy Holidays! 🎄
i want to use that custom alert box that appears at the top right hand corner of the forum page in my own functions.php page. IF I CAN, can you tell me how i could call a function to do that in my Js or php? just and overall steps of how i can do it. i have look at the plugin pages and database and so far i understand that i have to add the word i want as a phrase first to my database before use. I am comfortable editing the .php pages if directed correctly. Thanks for help in advance
Hi @collinso,
Thank you for using wpForo and for contacting us.
If you're going to use the message box in wpForo pages, it'll be possible, the codes are provided below:
Spoilerin php codeWPF()->notice->add('YOUR NOTICE TEXT', 'success');
WPF()->notice->add('YOUR NOTICE TEXT', 'error');
WPF()->notice->add('YOUR NOTICE TEXT', 'neutral');Spoilerin js codewpforo_notice_show('YOUR NOTICE TEXT', 'success');
wpforo_notice_show('YOUR NOTICE TEXT', 'error');
wpforo_notice_show('YOUR NOTICE TEXT', 'neutral');
If those pages are not wpForo pages I'm sorry, but there is no way to display the messages box.Â