Support Forums

How to block url link in ads

This is a discussion on How to block url link in ads within the Technical Support forums, part of the Technical Support Forums category; I'm trying to prevent the entry of links and e-mails in ads. But no result. I tried to setup in ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

This topic is resolved.

If you have a similar issue that this thread does not address, open a new related support topic.

 
Thread Tools Display Modes
Old 01-05-2009, 05:05 PM   #1
Senior Member
 
hel68c's Avatar
 
Join Date: Jun 2008
Location: Canada, Quebec
Posts: 283
Rep Power: 15
hel68c is just really nice hel68c is just really nice
Default How to block url link in ads

I'm trying to prevent the entry of links and e-mails in ads. But no result.

I tried to setup in Bad Word Settings (eg. "*. com" by "hobbyclassified.com") but it erases all the ad. I tried (eg. ".com" with "HobbyClassified.com") it replaces http://mywebsite.com by http://mywebsiteHobbyClassified.com

I would like to replaced the link with another word (eg. "http://yourwebsite.com" by "HobbyClassified.com" or "[email protected]" by "[email protected]")

Have you any idea how?

Thank and Happy New Year 2009!
__________________
Serge
HobbyClassified.com
V4.08 Developper, Module installed (CIV Scam Filter, Maffo Location System, Maffo News,Youtube, Seller Store)
hel68c is offline  
Old 01-05-2009, 05:07 PM   #2
Coder
 
Join Date: Mar 2006
Posts: 4,845
Rep Power: 118
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Which ad field are you referring to? URL field? Short description field? Long description field?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 01-05-2009, 05:23 PM   #3
Senior Member
 
hel68c's Avatar
 
Join Date: Jun 2008
Location: Canada, Quebec
Posts: 283
Rep Power: 15
hel68c is just really nice hel68c is just really nice
Default

It's for long description and title.
__________________
Serge
HobbyClassified.com
V4.08 Developper, Module installed (CIV Scam Filter, Maffo Location System, Maffo News,Youtube, Seller Store)
hel68c is offline  
Old 01-05-2009, 05:29 PM   #4
Coder
 
Join Date: Mar 2006
Posts: 4,845
Rep Power: 118
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

As per the "badword" instructions anything you place in the bad word field would be replaced with the replacement word so what you are experiencing is exactly what is expected.

Best you can do without modifying the code itself is to simply add bad words and a space for the text to replace it with.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Old 01-05-2009, 05:33 PM   #5
Senior Member
 
hel68c's Avatar
 
Join Date: Jun 2008
Location: Canada, Quebec
Posts: 283
Rep Power: 15
hel68c is just really nice hel68c is just really nice
Default

Do you know if it's possible to block url or email in ads?

I mean in description and title field.
__________________
Serge
HobbyClassified.com
V4.08 Developper, Module installed (CIV Scam Filter, Maffo Location System, Maffo News,Youtube, Seller Store)
hel68c is offline  
Old 01-05-2009, 06:49 PM   #6
Coder
 
Join Date: Mar 2006
Posts: 4,845
Rep Power: 118
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by hel68c
Do you know if it's possible to block url or email in ads?
Yes its possible. You would have to edit code and incorporate some regular expression on the input to check for an alter what gets placed in the database.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline  
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Home Page Welcome Block outlook Technical Support 1 06-11-2008 08:32 PM
URL link in AD Soleiltan v3.1 Questions & Support 4 02-10-2008 06:13 PM
block ip Jessej v3.1 Questions & Support 3 01-22-2008 09:37 AM
Where's the download link? jwylie v3.1 Questions & Support 3 07-05-2006 10:35 AM


All times are GMT -4. The time now is 03:59 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0