enhancement to the mainpage - comments section
OK what happens when you click on read more. . . - you get the full text. . . but what happens when you click comments? or 3 comments - THE SAME so why do we have 2 buttons here ? I find it very annoying because.
This topic was started by 24518f9903e3c3d5891f4cc2012e80afdb9f50e8,
OK what happens when you click on "read more..." - you get the full text ... but what happens when you click "comments?" or "3 comments" - THE SAME
so why do we have 2 buttons here ?
I find it very annoying because ... when I am surfing through the new - I first open all interesting things in Tabs, then going through all of them reading ...
just as anyone does with everything in normal life .. you never go for every single peace .. you take as much as you can or you want to be the most efficent way ...
now when I open news its fine ... but from time to time I am interested in the comments of articles ... so I open read more but it does not jump to the read more section, so in most cases I just close the tab without reading the comments because I do not remember that I opened this tab for reading comments not reading news ...
but also for normal browsing its quite annoying to scroll down any time ... even more because there is a button for this ...
now this is really easy to implement ...
1. check the source of the news viewer ... so modules.php
and voila we got a working comments button ... to satisfy at least the mertsch :D
so why do we have 2 buttons here ?
I find it very annoying because ... when I am surfing through the new - I first open all interesting things in Tabs, then going through all of them reading ...
just as anyone does with everything in normal life .. you never go for every single peace .. you take as much as you can or you want to be the most efficent way ...
now when I open news its fine ... but from time to time I am interested in the comments of articles ... so I open read more but it does not jump to the read more section, so in most cases I just close the tab without reading the comments because I do not remember that I opened this tab for reading comments not reading news ...
but also for normal browsing its quite annoying to scroll down any time ... even more because there is a button for this ...
now this is really easy to implement ...
1. check the source of the news viewer ... so modules.php
<!-- COMMENTS NAVIGATION BAR START -->
<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#B7B8DD"><tr><td>
<table width="100%" border="0" cellspacing="1" cellpadding="6" bgcolor="#eeeeee"><tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td bgcolor="#B7B8DD" align="center"><font class="content" color="#000000">"User's Login" | <a href="https://www.warp2search.net/modules.php?name=Your_Account&op=editcomm"><font color="#000000">Configure</font></a> | <B>0</B> comments</font></td></tr>
<tr><td bgcolor="#eeeeee" align="center" width="100%">
<table border="0"><tr><td><font class="content">
<form method="post" action="modules.php?name=News&file=article">
<font color="#000000">Threshold</font> <select name="thold">
<option value="-1" selected>-1</option>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select> <select name=mode><option value="nocomments">No Comments</option>
<option value="nested" selected>Nested</option>
<option value="flat">Flat</option>
<option value="thread">Thread</option>
</select> <select name="order"><option value="0" selected>Oldest First</option>
<option value="1">Newest First</option>
<option value="2">Highest Scores First</option>
</select>
<input type="hidden" name="sid" value="18397">
<input type="submit" value="Refresh"></form>
</font></td><td bgcolor="#eeeeee" valign="top"><font class="content"><form action="modules.php?name=News&file=comments" method="post"><input type="hidden" name="pid" value=""><input type="hidden" name="sid" value="18397"><input type="hidden" name="op" value="Reply"> <input type="submit" value="Post Comment"></font></form></td></tr></table></td></tr><tr><td bgcolor="#B7B8DD" align="center"><font class="tiny">The comments are owned by the poster. We aren't responsible for their content.</font></td></tr></table>
<!-- COMMENTS NAVIGATION BAR END -->
all that is needed to is to add one line
<a name="comments"></a>
<!-- COMMENTS NAVIGATION BAR START -->
<a name="comments"></a>
<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#B7B8DD"><tr><td>
<table width="100%" border="0" cellspacing="1" cellpadding="6" bgcolor="#eeeeee"><tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td bgcolor="#B7B8DD" align="center"><font class="content" color="#000000">"User's Login" | <a href="https://www.warp2search.net/modules.php?name=Your_Account&op=editcomm"><font color="#000000">Configure</font></a> | <B>0</B> comments</font></td></tr>
<tr><td bgcolor="#eeeeee" align="center" width="100%">
<table border="0"><tr><td><font class="content">
<form method="post" action="modules.php?name=News&file=article">
<font color="#000000">Threshold</font> <select name="thold">
<option value="-1" selected>-1</option>
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select> <select name=mode><option value="nocomments">No Comments</option>
<option value="nested" selected>Nested</option>
<option value="flat">Flat</option>
<option value="thread">Thread</option>
</select> <select name="order"><option value="0" selected>Oldest First</option>
<option value="1">Newest First</option>
<option value="2">Highest Scores First</option>
</select>
<input type="hidden" name="sid" value="18397">
<input type="submit" value="Refresh"></form>
</font></td><td bgcolor="#eeeeee" valign="top"><font class="content"><form action="modules.php?name=News&file=comments" method="post"><input type="hidden" name="pid" value=""><input type="hidden" name="sid" value="18397"><input type="hidden" name="op" value="Reply"> <input type="submit" value="Post Comment"></font></form></td></tr></table></td></tr><tr><td bgcolor="#B7B8DD" align="center"><font class="tiny">The comments are owned by the poster. We aren't responsible for their content.</font></td></tr></table>
<!-- COMMENTS NAVIGATION BAR END -->
now we are already half done ...
now us this link ...
instead of
http://www.warp2search.net/modules.php?name=News&file=article&sid=18398&mode=nested&order=0&thold=-1
for both links - the comments link got to get the little addon
http://www.warp2search.net/modules.php?name=News&file=article&sid=18398&mode=nested&order=0&thold=-1#comments
and voila we got a working comments button ... to satisfy at least the mertsch :D
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.