vadimr
09-28-2003, 08:33 PM
The idea behind this hack/feature is to help with many webmasters to link their visitors to the right place right away.
The feature is as follows.. and it should be very easy to implement because the bad word feature is already there so therefore the text gets filted each time it is submitted.
Basically I want to be able to add keywords and the URL for them. Each time someone writes lets say the word google, I want my vbulletin to automatically link it to www.google.com with target window _blank (but that blank feature could always be added as the part of the url). I don't want a simple addition of www in the front of the word and .com in the end of the word, I want my specific url. So if i want to send everyone who types google to toolbar.google.com I can change that in the database/config file somewhere.
Replacement would do this fine, however as noted by Scott MacVicar it could break something if someone was to paste a URL. So It has to be a little smart, all url should stay un-touched.
Also if someone was to go and edit the post later and remove the link and just again put the word google in there, the hack should again link the word up, just like the bad work feature.
To make it even more smarter, make it up to two words searchable
so if someone was to type google it would go to www.google.com and if someone was to type Google Toolbar it would go to toolbar.google.com and so on..
This would be very benificial to many users, to help promote their sponsors and so on. Just think of it, if you site is sponsored by Bob International (making this up), and each click-through earns you more money, wouldn't you be happy if Bob Internation was posted on your site that everyone would go to bob international with your affiliate link?
I want to hear some feedback on this, thanks guys..
- Vadim
The feature is as follows.. and it should be very easy to implement because the bad word feature is already there so therefore the text gets filted each time it is submitted.
Basically I want to be able to add keywords and the URL for them. Each time someone writes lets say the word google, I want my vbulletin to automatically link it to www.google.com with target window _blank (but that blank feature could always be added as the part of the url). I don't want a simple addition of www in the front of the word and .com in the end of the word, I want my specific url. So if i want to send everyone who types google to toolbar.google.com I can change that in the database/config file somewhere.
Replacement would do this fine, however as noted by Scott MacVicar it could break something if someone was to paste a URL. So It has to be a little smart, all url should stay un-touched.
Also if someone was to go and edit the post later and remove the link and just again put the word google in there, the hack should again link the word up, just like the bad work feature.
To make it even more smarter, make it up to two words searchable
so if someone was to type google it would go to www.google.com and if someone was to type Google Toolbar it would go to toolbar.google.com and so on..
This would be very benificial to many users, to help promote their sponsors and so on. Just think of it, if you site is sponsored by Bob International (making this up), and each click-through earns you more money, wouldn't you be happy if Bob Internation was posted on your site that everyone would go to bob international with your affiliate link?
I want to hear some feedback on this, thanks guys..
- Vadim