![]() |
TECK's archive + who's online
I had a quick go at it earlier but wasn't really sure where to strart. The spiders on who's online are browsing showthread/t-1222.html etc but i want it to say "Browing a thread in the archive" instead of the unknown location stuff :)
Any ideas as i couldn't find an answer in the thread anywhere :0 - miSt |
Just a guess, haven't installed the archive hack...
When you installed the archive hack you probably added the location to the online.php file. Most likely some variable to say which thread it was browsing. Change that to "Browing a thread in the archive". Or I could be way off, worth a try though :p |
Nah that won't work :)
- miSt |
When using vb2 i did not have any success with this either. :( I used Chen's custom online locations, but for a large number of threads you will have a lot of work.
Craig |
We use Skuzzy's hack, but maybe this will help...
Looking at this on our forum we found that when a user is at the archives main page, online.php reports the user as being at the main index. It's at "/archives/forum" and "/archives/topic" that we get the "Unknown Location:" Anyway we added this code to the end of the switch statements "Default:" code... PHP Code:
|
The problem is that the locations are board/showthread/ and board/forumdisplay :(
- miSt |
Look at the functions_online.php for vB3, they use a smiliar format URL to TECKs. This should give you some idea to find out how to work out what page there on, I'm pretty sure vB3 shows what archive thread/forum a user is viewing.
Personaly I preffer Skuzzys URL layout and have hacked that into vB3 with full WOL Locations :D |
Quote:
$myfind='/\/board\/showthread/'; Am I missing another pitfall? |
Well i worked it out. After scouring through TECK's thread there was a solution - its all working now - thanks though :)
- miSt |
There is a fix for this in the vb.org archive thread.
|
All times are GMT. The time now is 06:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|