Hi again :)
So I was able to pull data from MySQL through to a page. Now I'd like to format the resulting table using jquery. "DataTables" claims to have a very easy approach - simply include the js/css and then initialize the table's ID after the document loads. I've put the below into the...
Happpppppppppy day!! Did some searching and found it on the forums. I can now retrieve data! I haaave the pooooowweeeerrr!!
Thanks all for your help!!
$result = $mysqliGS->query("SELECT PlayerName FROM rp_PlayerInfo");
$reply->setParams(['testQuery' => $result])...
Ok I've found my way going back to the basics with mysqli. I'm down to an error on my last line of code so I'm almost done!! It won't let me output my data into the $reply variable because its protected... how do I unprotect it o_O
error:
An exception occurred: [Error] Cannot access protected...
Hrrrm...
If I need advanced configs in the adapter, do I run standard mysqli php commands to set those options? I checked the XF Adapter file and it has no room for advanced options / security settings. Going to try mysqli commands.
Wow... you have fast-forwarded my troubleshooting !! I now need to work out some MySQL connecting problems on the remote side, but it's actually connecting now. Thank you so much!!
Change of plans... that went nowhere quickly and it looks like the XF folks provide Composer to help with this. I found this how-to article and am following it.
https://xenforo.com/community/resources/using-composer-packages-in-xenforo-2-addons-tutorial.6588/
Ok I found the zend framework in the vendors folder of addons... and noted that zend-db was missing. Found it here https://github.com/zendframework/zend-db/ ... so I've added it to my structure. Stay tuned...
Unfortunately the samples in the doc cover areas like setup (not needed here), entities (not needed here), uninstallation (not needed here).
Where would I go to look at the XF/App namespace? I've tried searching the documentation and the folders/files, I do not see it.
Do you have any...
Hiya -
Creating my first addon so I can display data from a remote MySQL DB. I've pieced together the details so far from various threads. I assume I'm missing an include (or a "use" in XF-land)... but for the life of me I cannot find where that documentation is. Can anyone help?
An exception...
I'm going nuts trying to find how to use my basic colors / style within a page's HTML. I'm doing what the documentation says, but the doc also seems really incomplete. Can anyone please help? Why does the code below not result in colored headers?
<head>
<style>
h1 {...
Yeah I think so. Ideally if the player has a linked account via Continuity, then clicking their icon would bring up the profile modal pop-up, or just link to their profile page. The more interconnected-ness, the better!
Anyway! I want a widget for the sidebar on my homepage that would connect to a Bungee plugin and display a section for each server and then list any players on each server, using their faces or bodies from their MC skins. Would that be feasible? :)
I want to request a feature but your helpdesk looped me in too many times and now it blocked me for too many requests. :(
This page isn’t working
helpdesk.samjakob.com redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS