|
|
twoclones |
| December 30, 2005, 12:56pm |
|
|
Posts: 152
Gender:  Male
Posts Per Day: 0.09
Reputation: 100.00%
Reputation Score: +2 / -0
Time Online: 22 hours 19 minutes
Location: The Honest Washington.
|
In prior versions of eblah, the small Next Month and Last Month calendars to the right of the current month display have included links to those months. See the 8.3 version at http://www.greatgoats.com/cgi-bin/Blah/Blah.pl?,v=cal for a working example. Click on the name of a month to move to that months calendar... When I upgraded boards to 9.6 this link stopped working. |
| Life is a, Butch {if you're lucky} |
|
|
|
|
|
Justin |
| December 30, 2005, 2:56pm |
|
|
Posts: 15,000
Gender:  Male
Posts Per Day: 6.79
Reputation: 93.38%
Reputation Score: +296 / -21
Time Online: 36 days 16 hours 47 minutes
Location: Tallassee, AL
Age: 21
|
|
|
|
|
|
Martin |
| December 30, 2005, 3:31pm |
|
|
Posts: 4,491
Gender:  Male
Posts Per Day: 3.33
Reputation: 98.57%
Reputation Score: +207 / -3
Time Online: 35 days 9 hours 55 minutes
Location: UK
Age: 49
|
Quoted from admin
Yep. These were removed because it puts bots (ie: Google bot) into a frenzy. 
But I do have a mod to put it back but it's down to the individual, no come back. |
| Martin's Reputation: Increase |
|
|
|
|
|
twoclones |
| December 30, 2005, 5:01pm |
|
|
Posts: 152
Gender:  Male
Posts Per Day: 0.09
Reputation: 100.00%
Reputation Score: +2 / -0
Time Online: 22 hours 19 minutes
Location: The Honest Washington.
|
Quoted Text
it puts bots (ie: Google bot) into a frenzy
I am interested to know why the bots have trouble with this... Is it simply a matter of how deeply nested the links can appear when linking through the years one month at a time? |
| Life is a, Butch {if you're lucky} |
|
|
|
|
|
JonN |
|
E-Blah Member 
Posts: 7
Posts Per Day: 0.01
Time Online: 4 hours 6 minutes
|
Quoted from Warlock
But I do have a mod to put it back but it's down to the individual, no come back.
Okay Martin, so what is the mod to put it back in please? I for one would love to have this feature back again. I can see that the next month / last month links could cause problems for the bots. I haven't figured out exactly how as yet, but there should be a way of preventing the bots from traversing the calendar. My knowledge of Robots.txt is limited, but is there a way of preventing indexing of particular files, rather than directories?? Many thanks |
|
|
|
|
|
Martin |
|
|
Posts: 4,491
Gender:  Male
Posts Per Day: 3.33
Reputation: 98.57%
Reputation Score: +207 / -3
Time Online: 35 days 9 hours 55 minutes
Location: UK
Age: 49
|
I've emailed it to you. |
| Martin's Reputation: Increase |
|
|
|
|
|
JonN |
|
E-Blah Member 
Posts: 7
Posts Per Day: 0.01
Time Online: 4 hours 6 minutes
|
Ok Martin, I've figured what to change in calendar.pl so as to put back in the links. Probably more than necessary, but in the sub routine SimpleCalendar, I've changed the following,
|
Code
Replace: <tr> <td colspan="8" class="titlebg"><table cellpadding="0" cellspacing="0" width="100%"><tr><td class="titlebgtext"><b>$months[$tempmonth] $thisyear</b></td><td align="right" class="titlebgtext"><span class="smalltext">$toptitle</span></td></tr></table></td> </tr><tr> <td class="catbg" width="13"> </td>
with: <tr> <td colspan="8" class="titlebg"><table cellpadding="0" cellspacing="0" width="100%"><tr><td class="titlebgtext"><b><a href="$scripturl,v=cal,month=$tempmonth2,year=$thisyear">$months[$tempmonth] $thisyear</a></b></td><td align="right" class="titlebgtext"><span class="smalltext">$toptitle</span></td></tr></table></td> </tr><tr> <td class="catbg" width="13"> </td>
|
|
This puts the links back in again. Many thanks. |
|
|
|
|
|
Martin |
|
|
Posts: 4,491
Gender:  Male
Posts Per Day: 3.33
Reputation: 98.57%
Reputation Score: +207 / -3
Time Online: 35 days 9 hours 55 minutes
Location: UK
Age: 49
|
|
Code
<a href="$scripturl,v=cal,month=$tempmonth2,year=$thisyear"> |
|
This is pre 9.6 format so if you are on 9.6 then don't use it as you may get problems, use this instead:
|
Code
<a href="$surl\lv-cal,month-$tempmonth2,year-$thisyear"> |
|
|
| Martin's Reputation: Increase |
|
|
|
|
|
JonN |
|
E-Blah Member 
Posts: 7
Posts Per Day: 0.01
Time Online: 4 hours 6 minutes
|
Hi Martin. Thanks for that - it doesn't seem to cause any problem though. I have replaced my mod with yours and that works too.
On a different note, I've just noticed that the red highlight for the current day appears in all months. IE today is the 2nd and the 2nd is highlighted not only in January, but also every other month. The eblah forum calendar exhibits the same behaviour. A small bug?? (Actually probably better to start a new thread with this one.)
Thanks again |
|
|
|
|
|
Martin |
|
|
Posts: 4,491
Gender:  Male
Posts Per Day: 3.33
Reputation: 98.57%
Reputation Score: +207 / -3
Time Online: 35 days 9 hours 55 minutes
Location: UK
Age: 49
|
I don't see that, the only day highlighted when I view is today on the main calendar.
I see what you mean now, whether this is a small bug or not, I would say no as no matter what month you are looking at it will still be the 2nd day of the month. |
| Martin's Reputation: Increase |
|
|
|
|
|
JonN |
|
E-Blah Member 
Posts: 7
Posts Per Day: 0.01
Time Online: 4 hours 6 minutes
|
Yes, only on the main calendar, but I'm getting the current day highlight appearing on every month I view. With some more testing I see that I'm only getting the highlight for all months in 2006. 2005 doesn't exhibit the same behaviour, ie the red highlight is missing (as it should be). Try looking at http://forum.mathtech.co.uk/cgi-bin/forum/Blah.pl?v-cal/ and selecting any month in 2006, the 2nd of the month is always highlighted |
|
|
|
|
|
Martin |
|
|
Posts: 4,491
Gender:  Male
Posts Per Day: 3.33
Reputation: 98.57%
Reputation Score: +207 / -3
Time Online: 35 days 9 hours 55 minutes
Location: UK
Age: 49
|
I'll take a look if Justin doesn't beat me to it. |
| Martin's Reputation: Increase |
|
|
|
|
|
JonN |
|
E-Blah Member 
Posts: 7
Posts Per Day: 0.01
Time Online: 4 hours 6 minutes
|
Thanks for that Martin I've started a new thread for the highlight problem. I also have a fix which I'll email to you direct. Can you check please and let me know whether I've really fixed the problem and am not causing more problems. http://www.eblah.com/forum/m-1136208623/ |
|
|
|
|
|
Martin |
|
|
Posts: 4,491
Gender:  Male
Posts Per Day: 3.33
Reputation: 98.57%
Reputation Score: +207 / -3
Time Online: 35 days 9 hours 55 minutes
Location: UK
Age: 49
|
|
|
|
|
|
Ablefish |
|
|
Posts: 38
Gender:  Male
Posts Per Day: 0.03
Time Online: 17 hours 26 minutes
Location: Vancouver, BC
Age: 36
|
Is this Bot Frenzy the same reason we can't click on a date and have that go to add an event for that day? This is something that's always made the calendar feel less friendly. And if this could be implemented somehow, it'd be great if you could click on the cell/div that holds the date, instead of the number.  |
| This is my signature. |
|
|
|
|
|
|