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 |
News & Announcements miniBB Community Forum / News & Announcements /

miniBB version 2.0.3 released

 Page:  ««  1  2 
mintie
Forums Member
#16 | Posted: 30 Mar 2007 01:44
Reply 
I think someone should write how disable the 5post spam thing up in the how to or FAQ. I've been trying to search the solution but couldn't find it until now.
Paul
CEO
#17 | Posted: 30 Mar 2007 02:42 | Edited by: Paul
Reply 
I think someone should write how disable the 5post spam thing up in the how to or FAQ. I've been trying to search the solution but couldn't find it until now.

Sorry I didn't understand the question.
2ramil
Forums Member
#18 | Posted: 30 Mar 2007 06:05
Reply 
mintie
I think someone should write how disable the 5post spam thing up in the how to or FAQ. I've been trying to search the solution but couldn't find it until now.
i think you only need to remove the
if($userUrlsAllowed)
in the bb_codes.php at nearly 25 line, at encodebb() function. and
$userUrlsAllowed=($GLOBALS['user_id']>0 and isset($GLOBALS['user_num_posts']) and $GLOBALS['user_num_posts']>5);
optionally
DaveB
Forums Member
#19 | Posted: 11 Oct 2007 09:47
Reply 
Hello all,

I am hoping someone can assist a little more with enabeling URL post for users. My version is $version='2.0.3a';

I have been looking at the above for a couple hours now and cannot figure it out. Sorry, yes I'm a newbie ;)
Below is from my bb_codes:

$pattern[]="/\[url=((f|ht)tp[s]?:\/\/[^<> \n\r\[\]]+?)\](.*?)\[\/url\]/i";
if($userUrlsAllowed) $replacement[]="<a href=\"\\1\" target=\"_blank\" rel=\"nofollow\">\\3</a>";
else $replacement[]="\\1";

Should I delete the entire line or just a part of it?

Also, you say:

at encodebb() function. and
$userUrlsAllowed=($GLOBALS['user_id']>0 and isset($GLOBALS['user_num_posts']) and $GLOBALS['user_num_posts']>5);

What is encodebb() function? I cannot find that? Is this in bb_functions? If so any isea about what line? I have been looking through this so many times and still cannot find this.

Any help with this would be greatly appreciated!!

Thank-You
DaveB
Forums Member
#20 | Posted: 11 Oct 2007 09:56
Reply 
OMG...I just found it! :) It was right at the top and if was a snake, it would have bit me! All working now...

Thanks anyway! ;)
Paul
CEO
#21 | Posted: 11 Oct 2007 09:56
Reply 
Sorry Dave, we're supporting only latest release, which is now 2.1.

$userUrlsAllowed is defined within bb_codes.php. For enabling URLs for everybody, just paste after it's declaration

$userUrlsAllowed=TRUE;

and it will work in all cases.
 Page:  ««  1  2 
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 - 25
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®