| Author |
Message |
jamedkirk
Private


Joined: Mar 21, 2003
Posts: 41
Location: World Citizen
|
Posted:
Mon Oct 20, 2003 1:00 am |
  |
I really have done the time looking for this. I know that I have seen a post about it, but no searches here or even at Google have reaquainted me with the answer.
The Allnews.html link (at the bottom of the NC pages), and subsequent page of links: where the heck is the info for making that happen? A point in the right direction would be super appreciated. Thanks. |
_________________ James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com
...just something else www.BoldlyGoing.com |
|
    |
 |
Daniel-cmw
Site Admin


Joined: Mar 02, 2003
Posts: 1662
Location: The UK!
|
Posted:
Mon Oct 20, 2003 1:46 am |
  |
Download This file from the CVS and upload it to modules/News
Then point your browser to modules.php?name=News&file=allindex |
_________________ Read Me |
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Mon Oct 20, 2003 5:26 am |
  |
That's it. The I just use .htaccess modrewrite to point allnews.html to the allindex file. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
jamedkirk
Private


Joined: Mar 21, 2003
Posts: 41
Location: World Citizen
|
Posted:
Mon Oct 20, 2003 11:30 am |
  |
Thanks guys. Was I crazy about having seen a post for this a long while back? How long has NC (et al) been using this particular technique? Just curious as to the depth of my (in)sanity!
Thanks again. Will test it out during this evenings after work work. |
_________________ James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com
...just something else www.BoldlyGoing.com |
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Tue Oct 21, 2003 6:11 am |
  |
I've created that several months back, before I started Google Tap. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
jamedkirk
Private


Joined: Mar 21, 2003
Posts: 41
Location: World Citizen
|
Posted:
Tue Oct 21, 2003 10:56 am |
  |
Yeah, I thought as much. You know how it is when you kind of go in and out of the Nuke forums; sometimes you forget timelines, places where you might have found something, exactly what that something might have been. Then again, if you live in these forums I suppose you might tend to blur things a bit as well, given the sheer numbers of posts and answers. Not sure how you folks do it, but darned glad you do.
Thanks again. |
_________________ James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com
...just something else www.BoldlyGoing.com |
|
    |
 |
checksum
Sergeant


Joined: Apr 30, 2003
Posts: 122
|
Posted:
Tue Oct 21, 2003 12:12 pm |
  |
I get a a page with no news at all when I try to access the link to All News.
This is the code I put inside my old article block to access it:
| Code: |
| $boxstuff .= "<img src=\"images/arrow.gif\" height=\"9\" width=\"9\"><a href=\"modules.php?name=News&file=allindex\"><b> "._ALLNEWS."</b></a>\n"; |
and I have the mod rewrite in .htaccess
and when I point my mouse over the link, i get modules.php?name=News&file=allindex and not allnews.html
---------------------------------------------
Oh, another thing:
There is a link 'Show All Stories' in the story archive module, that is broken, when you click on it , it just refreshes the page. |
Last edited by checksum on Wed Oct 22, 2003 7:17 am; edited 1 time in total |
|
   |
 |
jamedkirk
Private


Joined: Mar 21, 2003
Posts: 41
Location: World Citizen
|
Posted:
Tue Oct 21, 2003 2:17 pm |
  |
Hey, checksum. Just curious, but where is that link you say is not getting mod_rewrote? Maybe I am just not seeing where it might be on your site.
Oh, a couple of (off topic?) questions about your great looking site:
- Have you done any modifications to the GT files you are using? Spefically, the .htaccess. I ask because of the granularity of the way it writes your links in the "Stories Archive" page (e.g., April: /archive-2003-04-April.html; whereas at one of my sites April is: /archive2003-04.html.)
- Your top horizontal navigation bar (Home, Register, Login, Members, et. al.) with their Javascript drop downs (I assume they are Javascript). Is that a mod you downloaded and installed? Or is is something you created? Would love to learn more about how to create something like that. Possibility of sharing
(Tis cool, if you put the hard work in and would rather not. In either case, kudos!)
Oh, and I just checked that same link you were talking about on your site for the "Show ALL Stories" link, here at NukeCops.com. It behaves exactly the way you described (and I checked) your link: just refreshes the "Stories Archive" page. Hmmmmmm.....
Thanks for listening. |
_________________ James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com
...just something else www.BoldlyGoing.com |
|
    |
 |
checksum
Sergeant


Joined: Apr 30, 2003
Posts: 122
|
Posted:
Tue Oct 21, 2003 2:52 pm |
  |
I was refering to Zhen post:
| Quote: |
| That's it. The I just use .htaccess modrewrite to point allnews.html to the allindex file. |
I was just telling him that I do have the mod_rewrite he is refering to in .htaccess file:
| Quote: |
| RewriteRule ^allnews.html modules.php?name=News&file=allindex |
No, I haven't done any modification to the GT files beside adding MyeGallery mod rewrite, everything else is the same as in here NukeCops. Here is the mod rewrite for the stories archive that I have in my .htaccess:
| Quote: |
#Stories Archive
RewriteRule ^archive.html archive.html
RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* archive.html&sa=show_month&year=$1&month=$2&month_l=$3
|
It is something that I downloaded from http://www.milonic.co.uk/menu , they have all kinds of javascripts menu
But this is the way it works, very easy to set up :
menu_array.js goes in your root directory
mmenu.js goes in your root directory
Edited : You can download the files with the link provided!
That's it!
You control the position of the menu with the parameters in menu_array.js |
Last edited by checksum on Tue Oct 21, 2003 3:53 pm; edited 1 time in total |
|
   |
 |
jamedkirk
Private


Joined: Mar 21, 2003
Posts: 41
Location: World Citizen
|
Posted:
Tue Oct 21, 2003 3:42 pm |
  |
| checksum wrote: |
I was refering to
| Zhen wrote: |
| That's it. Then I just use .htaccess modrewrite to point allnews.html to the allindex file. |
I was just telling him that I do have the mod_rewrite he is refering to in .htaccess file:
| Code: |
| RewriteRule ^allnews.html modules.php?name=News&file=allindex |
|
Awww. Gotcha. Makes all the sense now.
| checksum wrote: |
No, I haven't done any modification to the GT files beside adding MyeGallery mod rewrite, everything else is the same as in here NukeCops. Here is the mod rewrite for the stories archive that I have in my .htaccess:
| Code: |
#Stories Archive
RewriteRule ^archive.html archive.html
RewriteRule ^archive-([0-9]*)-([0-9]*)-([a-zA-Z]*).* archive.html&sa=show_month&year=$1&month=$2&month_l=$3
|
|
Yup, I actually figured that out after posting the last one
| checksum wrote: |
It is something that I downloaded from http://www.milonic.co.uk/menu , they have all kinds of javascripts menu
But this is the way it works, very easy to set up :
|
Nice, thanks for the referral. Will definitely head over to that site and check them out. I just wasn't sure if you had hard coded the actual links into the menu system, or if you had used php to dynamically populate the arrays. Looks like they are hardcoded (which is cool).
Thanks for the tips and tricks. |
_________________ James D Kirk
It's not email, I'ts BGEmail!
www.BGEmail.com
...just something else www.BoldlyGoing.com |
|
    |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Wed Oct 22, 2003 5:21 am |
  |
Actually the link here onsite goes to a special PHP file I wrote. It shows all the news articles ever on one page. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
checksum
Sergeant


Joined: Apr 30, 2003
Posts: 122
|
Posted:
Wed Oct 22, 2003 6:53 am |
  |
I am talking about the [ Show All Stories ] link in the stories archive module, this is the link it directs you to http://nukecops.com/archive.html&sa=show_all and when you click on it, it just refreshed the page.
Looks like a GT problem, it would be great if you can fix it, as I prefer that All Stories link than the one you wrote. |
|
|
   |
 |
Zhen-Xjell
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939
|
Posted:
Wed Oct 22, 2003 7:24 am |
  |
Ohhh... Yes GT issue. |
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki] |
|
     |
 |
|
|