MyBB Community Forums

Full Version: question:whow to detit http
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
salam evrey one
i have simple question it's the delit the http in the link if i put the subject
the problems is i put files with password lake (www.awtil.com)
put if i post traid i have password (http:www.awtil.com)
and any one telme that the password is rong
plz can the link in mybb will be with just www. not with http

i hopp my problems is clear

10x
Please post more clearly. You can use Babelfish ( http://babelfish.altavista.com ) to help you with your English.
ok the question is very simple
i want that the link in any subject will not be with http
i want that be www..awtil..com not http//www.awtil.com
i hopp is now clear Smile
Huh? You mean you want to remove the "http://" ? O.o I don't think it's possible!
http:// is a standard prefix. www is depreciated sot there is no need to use it. If you don't type in either your browser will usually automatically append it for you.

Either way, if that is what your asking, it doesn't really fit into the realm of MyBB support
ok thank you i have find one way to my problems
10x you alot but in vb i can have link with ni http protocole just www.
this posibelety is write if the link is with www.
nope, all internet softwares etc usually work on the HTTP. to access any forum, you can do: community.somesite.com (some browsers will complain due to the lack of http://) or http://community.somesite.com (preferred)
Try this, in inc/class_parser.php, find:
$link = "<a href=\"$fullurl\" target=\"_blank\">$name</a>";
Above that line, add:
if(strpos($name, 'http://') === 0)
{
   $name = substr($name, 7);
}
Untested code, try at your own risk.