Hello again!
I'm attempting to build a custom query page whereby a user (for admin use only) can enter a username into a textbox, click a search button, and retrieve the stored information connected to the username. Currently, I have blocks of code, but I'm not entirely sure how to combine it...
@Chris D Perfect! It worked! I do have one more question if you don't mind me asking.
I want to be able to send a specific user_id to the .php file from the node (HTML) and query that user only. I know how to set it up through the .php file, but I'd like to have the ability to do it from my...
@Chris D Thanks again. I thought that it may be the issue, as content is not a field in the table. I replaced it with user_id (see below), but it still gives me no results
<xf:foreach loop="$results" value="$result">
{$result.user_id|raw}
</xf:foreach>
@Chris D Thanks for the help. I tried updating the code to match what you had suggested, but I'm still not seeing any results displayed. Should I have any other HTML code besides those three lines? I checked the database as well to ensure that there were entries in the table and also tried...
Hello again,
I've encountered another problem with XF 2.0. I'm trying to query my database from a node and display the results on that page. I've done some research, but I think I'm getting some of the syntax from earlier versions of XF mixed in and its not working. Currently, I have a...
Hello,
I'm new to Xenforo 2.0 and clearly there are some changes. I'm simply trying to get a "Hello World" string to be written on my node page, from a .php file. Currently, I have a Test.php file located in the \src\addons\XFP directory. This is the code used in Test.php:
<?php
namespace...
Hello,
I know this is probably a very trivial question, but I am simply looking to create a node which asks a user to input a username, click a button, and it will return the email address of that user (see below). However, I am very new to xenforo and I have no idea how to go about doing so. I...