• About Us
  • Search
  • Compatibility
  • Forums
  • Archive
  • Channels
  • Home
  • Search
  • Member List
  • Calendar
  • Help

Current time: 07-09-2008, 12:59 PM Hello There, Guest! (Login — Register)


Warp2Search - Your Daily Tech News Service / Warp2Search Internal / Feedback / enhancement to the mainpage - comments section

Post Reply  Post Thread 
Threaded Mode | Linear Mode
enhancement to the mainpage - comments section
Author Message
Mertsch
Super Moderator
******


Posts: 2,999
Group: Super Moderators
Joined: Aug 2002
Status: Offline
Reputation: 1
Post: #1
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 ... 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

Code:
<!-- 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="modules.php?name=Your_Account&amp;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&amp;file=comments" method="post"><input type="hidden" name="pid" value=""><input type="hidden" name="sid" value="18397"><input type="hidden" name="op" value="Reply">&nbsp;&nbsp;<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


Code:
<a name="comments"></a>



Code:
<!-- 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="modules.php?name=Your_Account&amp;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&amp;file=comments" method="post"><input type="hidden" name="pid" value=""><input type="hidden" name="sid" value="18397"><input type="hidden" name="op" value="Reply">&nbsp;&nbsp;<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

Code:
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

Code:
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 Big Grin



Avatar and signature by Eckpert @ Kackebeus.de
06-10-2004 08:20 PM
Find all posts by this user Quote this message in a reply
El_Coyote
Senior Member
****


Posts: 555
Group: Registered
Joined: Dec 2002
Status: Offline
Reputation: 0
Post: #2
 

yeh the comments link worked once i recall... but not anymore.. not that i'ts much of a hassle to scroll down anyways Tongue


http://www.warp2search.net: News Editor
Never miss a good chance to shut up!
07-07-2004 09:46 PM
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

Contact Us | Warp2Search.Net | Return to Top | Return to Content | RSS Syndication

Powered By MyBB
Copyright © 2002-2008 MyBB Group