I use tables a lot to post lists of members attending events. Unfortunately, TapaTalk does not display tables and they have informed me that it is a low priority to address the issue. I have tried a few other methods like doing the table in HTML instead of BBC and also converting the table into an image, but TapaTalk apparently only likes plan text. So it got me thinking if there were a set of tags that could define areas of a post to display/not display to TapaTalk, it would solve the problem.
VersionI'm currently using SMF 2.0.7.
DescriptionI'm thinking something like the following:
[tapatalkoff][center][size=16pt][b]Attendee List[/b][/size][table][tr][td] [/td][td][center][b]Member[/b][/center][/td][td] [/td][td][/td][td][center][b]Site #[/b][/center][/td][td] [/td][td][center][b]Adults[/b][/center][/td][td] [/td][td][center][b]Kids[/b][/center][/td][td] [/td][td][center][b]Pets[/b][/center][/td][td] [/td][td][center][b]Arriving[/b][/center][/td][td] [/td][td][center][b]Departing[/b][/center][/td][td] [/td][td][center][b]Status[/b][/center][/td][td] [/td][/tr][tr][td][center][img]http://www.popupportal.com/Smileys/popup/MD.jpg[/img][/center][/td][td][center]John Smith[/center][/td][td][/td][td][/td][td][center]301[/center][/td][td][/td][td][center]2[/center][/td][td][/td][td][center]1[/center][/td][td][/td][td][center][/center][/td][td][/td][td][center]Fri[/center][/td][td][/td][td][center]Sun[/center][/td][td][/td][td][center]Confirmed[/center][/td][td][/td][/tr][tr][td][center][img]http://www.popupportal.com/Smileys/popup/VA.jpg[/img][/center][/td][td][center]Sam Stevens[/center][/td][td][/td][td][img]http://www.popupportal.com/Smileys/popup/potluck.gif[/img][/td][td][center]302[/center][/td][td][/td][td][center]2[/center][/td][td][/td][td][center]1[/center][/td][td][/td][td][center][/center][/td][td][/td][td][center]Thrus[/center][/td][td][/td][td][center]Sun[/center][/td][td][/td][td][center]Confirmed[/center][/td][td][/td][/tr][tr][td][center][img]http://www.popupportal.com/Smileys/popup/VA.jpg[/img][/center][/td][td][center]Amy Sheatz[/center][/td][td][/td][td][/td][td][center]303[/center][/td][td][/td][td][center]1[/center][/td][td][/td][td][center] [/center][/td][td][/td][td][center][/center][/td][td][/td][td][center]Fri[/center][/td][td][/td][td][center]Sun[/center][/td][td][/td][td][center]Confirmed[/center][/td][td][/td][/tr][/table][/center]
[/tapatalkoff][tapatalkon][b]Attendee List[/b]
Member: [b]John Smith[/b] / From: [b]MD[/b] / Site: [b]301[/b] / Status: [b]Confirmed[/b]
Member: [b]Sam Stevens[/b] / From: [b]VA[/b] / Site: [b]302[/b] / Status: [b]Confirmed[/b]
Member: [b]Amy Sheatz[/b] / From: [b]VA[/b] / Site: [b]303[/b] / Status: [b]Confirmed[/b]
[/tapatalkon]So using this to determine the viewing status (TapaTalk or Browser):
Quote from: Shambles on March 19, 2014, 04:14:16 AM
In Who.template.php you can find the 'trap'...
strpos($member['query']['USER_AGENT'], 'Tapatalk') !== false
"Thanks Shambles"In a browser you would see this:
Attendee List | | | | | | | | | | | | | | | | | |
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.popupportal.com%2FSmileys%2Fpopup%2FMD.jpg&hash=565145745f5c17b5f4a05371e98ada89ed55964f) | | | | | | | | | | | | | | | | | |
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.popupportal.com%2FSmileys%2Fpopup%2FVA.jpg&hash=3f50717bc6898a06a32c921bd4c551d44c4ef21f) | | | (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.popupportal.com%2FSmileys%2Fpopup%2Fpotluck.gif&hash=72474e26baf3ff19a14637d419e625042b6e549b) | | | | | | | | | | | | | | |
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.popupportal.com%2FSmileys%2Fpopup%2FVA.jpg&hash=3f50717bc6898a06a32c921bd4c551d44c4ef21f) | | | | | | | | | | | | | | | | | |
And in TapaTalk you would see this:
Attendee ListMember:
John Smith / From:
MD / Site:
301 / Status:
ConfirmedMember:
Sam Stevens / From:
VA / Site:
302 / Status:
ConfirmedMember:
Amy Sheatz / From:
VA / Site:
303 / Status:
Confirmed
PermissionsAs far as Permissions go, I would think only admins and mods would have access to these tags.
Feature SetCan't really think of anything that isn't already covered above, but I'm open to suggestions.
If you are curious, I have a script which generates the attendee tables and for the image links I'm using in the example, I do use smiley tags on my site.
That sounds good. I will PM you for the details. Thanks