TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,911
  • Total Topics: 21,307
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 454
  • Total: 454

wowhead-tooltips.com problem with Tinyportal frontpage

Started by mOOwalker, October 04, 2010, 01:10:49 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bloc

If you simply add the parsing at the end of "parse_bbc()" function - which is what SMF posts and TP BBC articles call - it should work fine everywhere. Theres no need to mod separately where the articles/posts are rendered or fetched.

mOOwalker

#11
Quote from: Bloc on November 05, 2010, 09:25:18 AM
If you simply add the parsing at the end of "parse_bbc()" function - which is what SMF posts and TP BBC articles call - it should work fine everywhere. Theres no need to mod separately where the articles/posts are rendered or fetched.

Hi.

Thanks for you answer. You can you help me out in which file I should edit?

EDIT: Ok. I fixed it. You have to go at Sources/Subs.php file and I added around line 927 the following.
                    if (!function_exists('whp_parse'))
                        require_once(dirname(__FILE__) . '/../wowhead/parse.php');
                    $message = whp_parse($message);


For me, I had to change
require_once(dirname(__FILE__) . '/../wowhead/parse.php');
to
require_once('/home/******/domains/infinite-guild.eu/public_html/wowhead/parse.php')

Thank you for your help.

mOOwalker

This website is proudly hosted on Crocweb Cloud Website Hosting.