http://wiki.webos-internals.org/index.php?title=Patch_MCraig_Enabling_Personals_Category&feed=atom&action=history
Patch MCraig Enabling Personals Category - Revision history
2024-03-29T05:31:39Z
Revision history for this page on the wiki
MediaWiki 1.35.1
http://wiki.webos-internals.org/index.php?title=Patch_MCraig_Enabling_Personals_Category&diff=3502&oldid=prev
Hopspitfire at 23:16, 2 August 2009
2009-08-02T23:16:14Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 23:16, 2 August 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">{{template:patch}}</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>By default, the Personals category and some other adult-themed services are hidden from the mCraig app. We can enable them simply by uncommenting a few lines, and adding a few others. </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>By default, the Personals category and some other adult-themed services are hidden from the mCraig app. We can enable them simply by uncommenting a few lines, and adding a few others. </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Hopspitfire
http://wiki.webos-internals.org/index.php?title=Patch_MCraig_Enabling_Personals_Category&diff=3297&oldid=prev
Shane112358 at 17:04, 31 July 2009
2009-07-31T17:04:35Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 17:04, 31 July 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l57" >Line 57:</td>
<td colspan="2" class="diff-lineno">Line 57:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> { "dir":"rnr", "name":"rants and raves", }, </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> { "dir":"rnr", "name":"rants and raves", }, </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ], </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> ], </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div></nowiki></pre></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div></nowiki></pre><ins class="diffchange diffchange-inline">'''NOTE: Depending on version, the above lines may not be exactly the same as above, but they are very close. You'll know it when you see it.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>and replace with:</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>and replace with:</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l92" >Line 92:</td>
<td colspan="2" class="diff-lineno">Line 92:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Credit===</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Credit===</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>r3compile + BigMatza</div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>r3compile + BigMatza<ins class="diffchange diffchange-inline">, 1.1 confirmed by ShaneM</ins></div></td></tr>
</table>
Shane112358
http://wiki.webos-internals.org/index.php?title=Patch_MCraig_Enabling_Personals_Category&diff=3202&oldid=prev
Hopspitfire: Application:MCraig Enabling Personals Category moved to Patch MCraig Enabling Personals Category
2009-07-30T20:10:12Z
<p><a href="/index.php?title=Application:MCraig_Enabling_Personals_Category&action=edit&redlink=1" class="new" title="Application:MCraig Enabling Personals Category (page does not exist)">Application:MCraig Enabling Personals Category</a> moved to <a href="/wiki/Patch_MCraig_Enabling_Personals_Category" title="Patch MCraig Enabling Personals Category">Patch MCraig Enabling Personals Category</a></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 20:10, 30 July 2009</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>
Hopspitfire
http://wiki.webos-internals.org/index.php?title=Patch_MCraig_Enabling_Personals_Category&diff=2961&oldid=prev
Hopspitfire at 17:30, 29 July 2009
2009-07-29T17:30:13Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 17:30, 29 July 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l5" >Line 5:</td>
<td colspan="2" class="diff-lineno">Line 5:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Procedure===</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== Procedure===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">SSH </del>in <del class="diffchange diffchange-inline">to rooted Pre</del></div></td><td class='diff-marker'>+</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">[[Portal:Accessing_Linux|Access Linux]] on your Pre and ssh </ins>in<ins class="diffchange diffchange-inline">.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Mount filesystem as r/w, navigate to mCraig folder and create a backup of current database.js</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Mount filesystem as r/w, navigate to mCraig folder and create a backup of current database.js</div></td></tr>
</table>
Hopspitfire
http://wiki.webos-internals.org/index.php?title=Patch_MCraig_Enabling_Personals_Category&diff=2960&oldid=prev
Hopspitfire at 17:29, 29 July 2009
2009-07-29T17:29:42Z
<p></p>
<table class="diff diff-contentalign-left diff-editfont-monospace" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 17:29, 29 July 2009</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;">== Enabling the "Personals" category==</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>By default, the Personals category and some other adult-themed services are hidden from the mCraig app. We can enable them simply by uncommenting a few lines, and adding a few others. </div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>By default, the Personals category and some other adult-themed services are hidden from the mCraig app. We can enable them simply by uncommenting a few lines, and adding a few others. </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Hopspitfire
http://wiki.webos-internals.org/index.php?title=Patch_MCraig_Enabling_Personals_Category&diff=2959&oldid=prev
Hopspitfire: New page: == Enabling the "Personals" category== By default, the Personals category and some other adult-themed services are hidden from the mCraig app. We can enable them simply by uncommenting a...
2009-07-29T17:29:33Z
<p>New page: == Enabling the "Personals" category== By default, the Personals category and some other adult-themed services are hidden from the mCraig app. We can enable them simply by uncommenting a...</p>
<p><b>New page</b></p><div>== Enabling the "Personals" category==<br />
<br />
By default, the Personals category and some other adult-themed services are hidden from the mCraig app. We can enable them simply by uncommenting a few lines, and adding a few others. <br />
<br />
[[Image:Modify-stock-app3.jpg]]<br />
<br />
=== Procedure===<br />
<br />
SSH in to rooted Pre<br />
<br />
Mount filesystem as r/w, navigate to mCraig folder and create a backup of current database.js<br />
<br />
<pre><nowiki><br />
mount -o remount,rw /<br />
cd /var/usr/palm/applications/com.splashdata.app.mcraig<br />
cp database.js database.js.bak<br />
</nowiki></pre><br />
<br />
Edit database.js<br />
<br />
<pre><nowiki><br />
vi database.js<br />
</nowiki></pre><br />
<br />
line 12, find:<br />
<pre><nowiki><br />
{ "file":"subcatshousing", "name":"Housing", }, <br />
</nowiki></pre><br />
<br />
and add above:<br />
<br />
<pre><nowiki><br />
{ "file":"subcatspersonals", "name":"Personals", }, <br />
</nowiki></pre><br />
<br />
Uncomment line 21 (now 22):<br />
<br />
<pre><nowiki><br />
{ "name":"Personals", "file":"subcatspersonals"},<br />
</nowiki></pre><br />
<br />
Uncomment line 210 (now 211):<br />
<br />
<pre><nowiki><br />
{ "dir":"adg", "fullname":"gigs > adult", "name":"adult", "subcat":"True", }, <br />
</nowiki></pre><br />
<br />
line 262-271 (now 263-272) find:<br />
<br />
<pre><nowiki><br />
subcatspersonals: [ { "dir":"stp", "name":"strictly platonic", }, <br />
{ "dir":"w4w", "name":"women seek women", }, <br />
{ "dir":"w4m", "name":"women seeking men", }, <br />
{ "dir":"m4w", "name":"men seeking women", }, <br />
{ "dir":"m4m", "name":"men seeking men", }, <br />
{ "dir":"msr", "name":"misc romance", }, <br />
{ "dir":"cas", "name":"casual encounters", }, <br />
{ "dir":"mis", "name":"missed connections", }, <br />
{ "dir":"rnr", "name":"rants and raves", }, <br />
], <br />
</nowiki></pre><br />
<br />
and replace with:<br />
<br />
<pre><nowiki><br />
subcatspersonals: [ <br />
{ "dir":"ppp", "name":"all personals", }, <br />
{ "dir":"stp", "name":"strictly platonic", "subcat":"True", }, <br />
{ "dir":"w4w", "name":"women seek women", "subcat":"True", }, <br />
{ "dir":"w4m", "name":"women seeking men", "subcat":"True", }, <br />
{ "dir":"m4w", "name":"men seeking women", "subcat":"True", }, <br />
{ "dir":"m4m", "name":"men seeking men", "subcat":"True", }, <br />
{ "dir":"msr", "name":"misc romance", "subcat":"True", }, <br />
{ "dir":"cas", "name":"casual encounters", "subcat":"True", }, <br />
{ "dir":"mis", "name":"missed connections", "subcat":"True", }, <br />
{ "dir":"rnr", "name":"rants and raves", "subcat":"True", }, <br />
],<br />
</nowiki></pre><br />
<br />
Uncomment line 279 (now 280):<br />
<br />
<pre><nowiki><br />
{ "dir":"ers", "fullname":"services > erotic", "name":"erotic", "subcat":"True", }, <br />
</nowiki></pre><br />
<br />
Write changes & quit vi, mount filesystem as r/o<br />
<br />
<pre><nowiki><br />
:wq<br />
mount -o remount,ro /<br />
</nowiki></pre><br />
<br />
No need to reboot, simply restart the mCraig app and test out your new categories!<br />
<br />
=== Credit===<br />
r3compile + BigMatza</div>
Hopspitfire