miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
How To miniBB Support Forums / How To /  
 

enabling URLs / active hypelinks in messages

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

Thank you

Author Paul
Lead Developer 
#2 | Posted: 25 Jun 2007 03:47 
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.

Author Martin Bork
Guest
#3 | Posted: 25 Jun 2007 08:47 
It din not work. Now the URL appears like this: [url=www.motionslob.dk][/url]

What is wrong?

Author Paul
Lead Developer 
#4 | Posted: 25 Jun 2007 09:34 
Wrong is the format.

Either post

www.motionslob.dk

or

http://www.motionslob.dk

or [ url=http://www.motionslob.dk]Click here[/url ]

Author Martin Bork
Guest
#5 | Posted: 25 Jun 2007 10:36 
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?

Author Paul
Lead Developer 
#6 | Posted: 25 Jun 2007 14:54 
What miniBB version do you have?

This will work for the newest release only.

If you have older release, refer to this thread.

Author Martin Bork
Guest
#7 | Posted: 26 Jun 2007 03:30 
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?

Author Martin Bork
Guest
#8 | Posted: 26 Jun 2007 03:33 
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?

Author Paul
Lead Developer 
#9 | Posted: 26 Jun 2007 03:49 
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.

Author Anonymous
Guest
#10 | Posted: 11 Dec 2007 09:44 
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.

Author Paul
Lead Developer 
#11 | Posted: 11 Dec 2007 09:52 
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...)

How To miniBB Support Forums / How To /
 enabling URLs / active hypelinks in messages
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑