A little old post I know, but everything I search for including a PHP file in xenforo is outdated, if that matters or not.
Anyways, I've followed the instructions here and after some trial and error I finally got the page showing without errors (mostly due to file paths that I overlooked), but, it's not showing the contents of the php file it's pointing to. Which is located at /donate/donate.php.
The main content PHP file is a donation script that requires other PHP files for mysql connection and config.
The include file path is the absolute path to the donate.php so I know it's pointing to it.
Callback is XenForo_Pages_Test :: includeFile
All that's showing is the title "Donations" then the footer.
I'm tired and probably overlooking something, but thought I'd post and see if someone can help me somehow by tomorrow.
include() [function.include]: http:// wrapper is disabled in the server configuration by allow_url_include=0
I don't think I have access to the configuration to change it, my hosting is at Godaddy.
I tried what you suggested, and got this error:
This is the confusing part: Enter your markup (HTML/CSS code) in the Template HTML field – see the notes below. Where does this exist?You need to use the baseHtml class: https://xenforo.com/community/resources/how-to-create-a-page-node.354/
Then just use regular list HTML.
That's not possible - page nodes are within XF, like so: https://xenforo.com/community/pages/example-page/I am trying to add an external site setup as a subdomain...
You cannot use slashes in the URL portion.View attachment 248559
i have entered the correct url and also typed titled in title box as you can see. but still got same message......
We use essential cookies to make this site work, and optional cookies to enhance your experience.