minibb®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
How To miniBB Community Forum / How To /

enabling URLs / active hypelinks in messages

 
Martin Bork
Guest
#1 | Posted: 25 Jun 2007 03:31
Reply 
How can I make an URL active in a message? As for now I can not click on it.

Thank you
Paul
CEO
#2 | Posted: 25 Jun 2007 03:47
Reply 
Edit setup_options.php and set parameter $allowHyperlinks. If you set

$allowHyperlinks=0;

this will enable active links posted by any member, incl. guests. Setting value greater than zero means number of postings user must have before his links will become active by default. For example

$allowHyperlinks=10;

like it is set on our board here, allows only members who has made not less than 10 postings to post active links.
Martin Bork
Guest
#3 | Posted: 25 Jun 2007 08:47
Reply 
It din not work. Now the URL appears like this: [url=www.motionslob.dk][/url]

What is wrong?
Paul
CEO
#4 | Posted: 25 Jun 2007 09:34 | Edited by: Paul
Reply 
Wrong is the format.

Either post

www.motionslob.dk

or

http://www.motionslob.dk

or [ url=http://www.motionslob.dk]Click here[/url ]
Martin Bork
Guest
#5 | Posted: 25 Jun 2007 10:36
Reply 
Sorry (I am a beginner). Now it appears correct, but the URL is not active. The lines in setup_options.php look like this:

...
$protectWholeForum=0;
$protectWholeForumPwd='pwd';
$postRange=60;
$dateFormat='j F Y H:i';
$allowHyperlinks=0;
$cookiedomain='';
$cookiename='miniBBsite';
$cookiepath='';
...

Did I place the new parameter in a wrong way and if so, where shall I place it in the setup file?
Paul
CEO
#6 | Posted: 25 Jun 2007 14:54
Reply 
What miniBB version do you have?

This will work for the newest release only.

If you have older release, refer to this thread.
Martin Bork
Guest
#7 | Posted: 26 Jun 2007 03:30
Reply 
It is only 3 months ago I downloaded it, so I think it must be the newest version, but were can I se the version number?
Martin Bork
Guest
#8 | Posted: 26 Jun 2007 03:33
Reply 
I can see now, that there is a version from 19. june 2007. I dont have that one. Do I have to download that to make it work?
Paul
CEO
#9 | Posted: 26 Jun 2007 03:49 | Edited by: Paul
Reply 
Study how to know version of miniBB.

Current version is 2.0.5a.

As I mentioned, the solution will work for the newest release only. So you will need to upgrade / re-install the newest release.
Anonymous
Guest
#10 | Posted: 11 Dec 2007 09:44
Reply 
If I change this option to a very large number, hyperlinks can be posted by all members just not be clickable, right?

$allowHyperlinks=1000000000000000000000;


I would like all links posted to not be clickable and this looks like my only option.
Paul
CEO
#11 | Posted: 11 Dec 2007 09:52
Reply 
A bit tricky implementation, but it should work (supposing you set the big number which means nobody will post such amount of messages never - I think it would be enough to set it to 1 million or so...)
 
Your reply
Bold Style  Italic Style  Image Link  URL Link 


» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, be sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
Online now: Guests - 73
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®