Recent content by hutch2323

  1. hutch2323

    XF 2.0 Passing values from a textbox to .php function

    Just bumping this up again. Hopefully someone can help!
  2. hutch2323

    XF 2.0 Passing values from a textbox to .php function

    Would it make use of the {$visitor.customFields.fieldId} feature? or is that something different?
  3. hutch2323

    XF 2.0 Passing values from a textbox to .php function

    Anyone have any idea how to do this? I'm still stuck :(
  4. hutch2323

    XF 2.0 Passing values from a textbox to .php function

    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...
  5. hutch2323

    XF 2.0 Passing an array from .php to a node

    @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...
  6. hutch2323

    XF 2.0 Passing an array from .php to a node

    @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>
  7. hutch2323

    XF 2.0 Passing an array from .php to a node

    @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...
  8. hutch2323

    XF 2.0 Passing an array from .php to a node

    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...
  9. hutch2323

    XF 2.0 Simple "Hello World" Xenforo 2.0 Problem

    @Bryan You are 100% correct. Thanks a bunch!
  10. hutch2323

    XF 2.0 Simple "Hello World" Xenforo 2.0 Problem

    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...
  11. hutch2323

    XF 2.0 Simple query and display results on node

    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...
Top Bottom