You are not logged in. Please login or register.
Active topics Unanswered topics
Search options (Page 5 of 5)
101 Topic by Programming-Designs 2005-11-26 00:01
##
##
## Mod title: BotDetect
##
## Mod version: 1.0
## Works on PunBB: 1.2.*
## Release date: 2005-11-25
## Author: Daniel Moxon (services@programming-designs.com)
## Website: http://programming-designs.com
##
## Description: This Mod allows you to detect when a bot is online.
##
## Affected files: index.php
##
##
## Affects DB: No
##
##
## Notes: May write this mod to create a table in the DB and be
## modified as a plugin, but at the moment this should
## suffice. Next version of this mod should focus on that.
##
## DISCLAIMER: Please note that "mods" are not officially supported by
## PunBB. Installation of this modification is done at your
## own risk. Backup your forum database and any and all
## applicable files before proceeding.
##
##
##
Download the file here.
Testing this mod: Visit this page and type in the URL to your forums and press submit. This will "spoof" the googlebot user agent and should be visible on your forums.
102 Reply by Programming-Designs 2005-11-25 02:58
^ Will do, busy at the moment, but will probably write one tomorrow. Then if anybody is interested they can choose to re-write it if they'd like using the PunBB sql database.
103 Reply by Programming-Designs 2005-11-24 17:21
^ I can't notice a slow down really, but until I learn more about PunBB and creating tables/modifying them this will have to do xD
104 Reply by Programming-Designs 2005-11-24 16:24
Connorhd, I actually found a simple solution to this. Instead of using ANY database connectivity I keep a file that stores information about the Bot's Display Name, the Bot's Identity (HTTP_USER_AGENT), and the timestamp for the bot's last visit. Has delimiters and such for multiple bots. I just have it so that it displays the bot's name if it has visited in the last 5 minutes.
So all I had to do was include the php file i wrote that does all that, and determine what I want to do if it returns data when I call the function.
EDIT:
If you're interested in seeing in action, first go here: http://www.smart-it-consulting.com/inte … /index.htm (a bot spoofer)
Enter the url http://programming-designs.com/forums/index.php and choose either Google, MSN, Yahoo, Alexa-1, or the Yahoo-Slurp bot.
After you spoofed the visit, go to my forums and look at users online: http://programming-designs.com/forums
105 Reply by Programming-Designs 2005-11-24 01:35
Rickard, nice to hear that you're well recognized, I hope that one day I'll have the same recognition
106 Reply by Programming-Designs 2005-11-24 01:17
Connorhd, do you know how I would go about getting this to work? I'd be interesting in writing the mod myself if somebody could point me to the right tables/information to access/modify for it to work.
Thanks.
107 Reply by Programming-Designs 2005-11-23 04:55
af3, are you sure that will work? I thought that would only show googlebot on for google bot wouldn't it? Because it's seeing if the user agent is googlebot, so if it isn't google bot nobody else will see google bot listed as online would they?
I'm pretty sure there is more to it than that.
108 Reply by Programming-Designs 2005-11-23 02:49
I have a problem with this addon. I get the error below:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\location\forums\include\email.php on line 107
Any one know why? Please help!
109 Reply by Programming-Designs 2005-11-23 00:44
It works in both IE & FireFox!
110 Topic by Programming-Designs 2005-11-22 22:10
I saw another forum that would show whenever GoogleBot was visiting their forum, so I was wondering if anybody could write a lil mod that would show "GoogleBot" in the user's online list whenever it comes around.
I know there isn't really any point of this, but I think it'd be a cool little feature to add
I found out how to detect googlebot, with this code snippet:
if(strstr(strtolower($HTTP_USER_AGENT), "googlebot")){
do_work_here;
}
How would I include him into the "online users" list?
111 Reply by Programming-Designs 2005-11-22 05:40
Wow so many views but no replies? Come on people!
112 Reply by Programming-Designs 2005-11-21 02:30
Hello, I have just updated my forums -- it is the cellfuse style, but modified. I think it looks pretty good now. It uses 100% span rather than what he used normally and a change of fonts and sizes. Tell me what you think!
113 Topic by Programming-Designs 2005-11-11 21:41
I am running punBB and since this place is to show off the usage of it I guess I will
The URL to my punBB is http://programming-designs.com/forums
I'll be keeping tabs on this site as I am really interested in seeing what new features arrive and what forum styles are developed. I may decide to make my own sometime soon as well
I have recently updated my forums style which in my opinion looks pretty darn nice now. Tell me what you think
I added features to my forums such as the Private Messaging System, my own key guide for the forum style I'm using (explain what icons indicate such as new post has been made, etc..), and last topic title in forum.
Posts found: 101 to 113 of 113