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 |