Hey all,
Its time for google tapped forums. This will transform your forum into a fully .html tapped forum.
To view the current forum tap, you can visit here: http://test.audioslaved.com
Updated Oct 4th, 2003, changed and consolidated a few entries, added default forums.html for modules.php?name=Forums and pruning options for forums.
That's it, your forums should be fully compliant now. Hope this helps some of you out. I will tweak the statements as anyone finds anything that is not getting rewritten or does not work properly.
NOTE: Some URL's get rewritten by generic/catch-many statements, so not all URL's are listed in the header and .htaccess, the best way to check if something is working is on your website, or on the test site listed above.
Hope this tap helps some of you out.
Last edited by Audioslaved on Sun Oct 05, 2003 12:46 am; edited 1 time in total
VinDSL Site Admin
Joined: Jul 08, 2003
Posts: 1193
Location: Arizona (USA) Site Admin: Lenon.com Admin: Disipal Designs
Posted:
Sun Aug 10, 2003 2:51 am
Good work, bro, but it still needs a little tweaking, as you said. I went to your test site. The first thing I clicked in the forums gave me a gigantic session id. I click on those little icons next to the last user's comments, you know? Try that and you'll see what I mean --- the little icon next to the user's name on the extreme right side of the message listings. There's a little black arrow pointing at it...
VinDSL,
Try it now,
I deleted the cookie domain from my configuration (Thx CanuckKev for the pointer) and now the session ID shows up much like this site. I was really worried about that, it made those shorter URL's look absolutely horrid. Here is the post from CanuckKev.
Bill,
I tried your forum tap, and it created some weird links from the forum main page directly to unrelated, individual forum posts rather than than to the sub-forums. Unfortunaly, I didn't have time to look deeper into it, just went back to the original version. Just thought I'd let you know.
http://Europhilia.org - the online European community
<i>Debate about the European Union</i>
Audioslaved Elite Nuker
Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
Posted:
Sun Aug 10, 2003 2:45 pm
Can you post a link to your site,
I really dont understand why this would be causing problems on yours. I would like to see what you are talking about, if you look at my test site http://test.audioslaved.com you will see it working correctly. Also, what nuke version are you running? I am running 6.5 with the PHPBBtonuke 2.0.5 not sure if you are different from that or not.
I'm running Nuke 6.5 with the original 2.0.4 forums. I removed the forum tap from my site immediately, since I didn't really have the time to debug it properly, so I'm afraid you can't see it in action. Maybe I just did something wrong, I wouldn't rule that out completely if it works for everyone else
Audoslaved....I upgraded to my forums module to 2.0.6 some time ago.
I really want a full forum Goolgetap for one of my sites (Or even 2) !!!!!
I have download the 3 files ZX mentions on the sticky.
Now what?
.htaccess.gt to .htaccess
What does header.gt and footer.gt become and copied to where?
I can't wait to get my forums fully google tapped!!!
Monnet Nuke Soldier
Joined: Jul 17, 2003
Posts: 20
Location: London, UK
Posted:
Fri Aug 15, 2003 10:42 am
You just rename them header.php and footer.php. They go in the main nuke directory (presumably the root). ZX added his server load script to the footer.php, so if you don't want to use that, you'll have to delete or comment out a couple of lines (it should be clear from the comments in the code). Otherwise you need the serverload.php in your /includes directory.
http://Europhilia.org - the online European community
<i>Debate about the European Union</i>
defendtherealm Premium
Joined: Jun 01, 2003
Posts: 144
Location: Eastbourne, United Kingdom
Posted:
Fri Aug 15, 2003 12:18 pm
Thanks Monnet - that looks like an interesting site you have there - even if it's a little new. I will join up because European integration is an important issue which must be discussed.
Monnet Nuke Soldier
Joined: Jul 17, 2003
Posts: 20
Location: London, UK
Posted:
Fri Aug 15, 2003 1:28 pm
Thanks a lot. As you can see, we are just getting started. I'll start working seriously on the project in september.
http://Europhilia.org - the online European community
<i>Debate about the European Union</i>
frozendirt Nuke Cadet
Joined: Aug 16, 2003
Posts: 6
Posted:
Sat Aug 16, 2003 10:36 am
Ok, I have applied the code, made the fixes, reversed the orders etc etc... I am still going nuts..
http://support.wedohosting.com/index.php take a look at the forums link on the menu.. I get the old php addie then when you click thru, all the links are in html (so that's great).
How the heck do I fix the stupid module=PHP reference. I tried adding a line in the header add this (because I noticed that FAQ etc that did work had a single line like "'(?<!/)modules.php\?name=Topics'", so I created "'(?<!/)modules.php\?name=Forums'", but it didn't work, I just got a url that had postX in it and it didn't click thru.. any thoughts?
Robert..
Audioslaved Elite Nuker
Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
Posted:
Sun Aug 17, 2003 2:47 pm
To make the regular PHP addie work you need to add another entry at the bottom of all your forum statements in the .htaccess and the header.php. Do the following, though I cannot guarantee it works with the rest of the forum tap I did.
That should do it, the reason you want to put it at the bottom is because tap converts the URL's in order from top to bottom from what I have seen, so if you have it at the top and say, have the following address
Code:
modules.php?name=Forums&file=viewforum
It will be converted prematurely into
Code:
forums.html&file=viewforum
Having it at the bottom ensures all other rewrites take place first, this should work with no drawbacks, but if you have any problems let me know. Hope that helps you out.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum