In implementing ArrowChat into my own site engine (NewsTime), I found the need to have more than 3 "misc" fields. So I went into the code and added support for these myself. It pretty much just involved searching through
- Code: Select all
receive_core.php
- Code: Select all
getMarkup($author_id, $author_name, $type, $message_time, $misc1, $misc2, $misc3, $misc4, $misc5);
So might it be possible to include more "misc" fields? One possible way to do this could be by rewriting these functions to input an array instead of individual values:
- Code: Select all
$misc = array();
array_push($misc, "however", "many", "values", "you", "need");
getMarkup($author_id, $author_name, $type, $message_time, $misc);
One could put the array_push into a loop and and run it for however many values you need.
Could this be implemented for future versions of ArrowChat?
Thanks,
Jacob