2023-09-09, 02:28 PM
hi, im trying to display $guestcount on my main index page like www.page.com and not in www.page.com/forums
theres any way to include mybb files not from mybb directory? just the problem is the main index is html page and not php
i was thinking maybe to push that number inside some link and read that number with javascript on html but theres must a be better way
edit: i got it, theres a need to rename index.html to php and after that including mybb globals.php and using $query to get the $guestcount and all that inside <php> tag of course
theres any way to include mybb files not from mybb directory? just the problem is the main index is html page and not php
i was thinking maybe to push that number inside some link and read that number with javascript on html but theres must a be better way
edit: i got it, theres a need to rename index.html to php and after that including mybb globals.php and using $query to get the $guestcount and all that inside <php> tag of course