• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

How to Query Xenforo Database Tag(s) Result: Page Node

#1
Hello,

I am looking for a way to query the Xenforo database to get results based upon a tag or tags combined.

I would like to display the results to a new Page in the Node Tree.

I assume I have to use "PHP Callbacks"; I see this here on the page creation tab:
screenshot-soulfightersacademy.com 2017-04-28 11-36-03.png

Would someone be able to point me to a certain "Callback Arguments"?

Thank you!

Matt
 
#2
Hi matt,

You have to create your own new folder for this call back..... create a new folder in library e.g matt and create a file i.e tags.php

in tags.php create a new class like this

<?php
class matt_tags
{
public static function tags()
{
//whatever you want to do here
}
}


Use this callback matt_tags::tags