View Single Post
08/26/15, 05:54 AM   #30
Fyrakin
 
Fyrakin's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 129
Originally Posted by domintheus View Post
Couldn't the reload action both be a POST then GET operation? Operating on initial game load, similar to how MasterMerchant updates on initial game load, then only POSTing/GETting when the content is submitted or fetched via the buttons that do the reloadui?

The PHP side, or .NET in your case, could be configured with variables, just as you see in this forum.

In example:

Code:
newreply.php?do=newreply&noquote=1&p=22879

$do = newreply;
$noquote = 1;
$p = 22879;
This will require some work depending on the forum software being used, but it is definitely possible. All of the info will need to be passed as variables to the PHP translation file, it will handle the login, comment posting, then fetching the few topics and comments to replace the existing ones in the saved variables.

Variables would be something like:

Code:
$email = '[email protected]';
$password = 'somepass';
$topics = array(); // storing the topics/threads
$comment = 'some content to post as a comment';
$commenttopic = 38948; // the topic to post the comment too
If anyone is willing to help with the idea, I'm willing to put a forum up to test with.
I would monitor the folder with an external app which would then parse and transmit the data to external database, if it has to update something, say some lua file in add-ons it could do that as well, but it would require /re on client side to fetch the new data.
  Reply With Quote