if ($a) {
require_once('./includes/functions_bbcodeparse.php');
$b = parse_bbcode($b);
}
$c = parse_bbcode($c);
?>
Take the above as an example, if $a is false then you'll get a fatal error on line 8, because the file hasn't been required, where as if $a is true you won't get an error.
The alot of the functions files arn't required unless they are needed at a certain point to improve speed.
Ok, but don't you have to close the file request out after the code or will it only work the first time is it requested?
HTML Code:
// <!-- MEMBER'S SIGNATURE AND AVATAR IN USER CP -->
require_once('./includes/functions_bbcodeparse.php');
$userinfo['signature'] = parse_bbcode($bbuserinfo['signature'], 0, 1);
$userinfo['avatarurl'] = fetch_avatar_url($bbuserinfo['userid']);
// <!-- END MEMBER'S SIGNATURE AND AVATAR IN USER CP -->
There's no closing tag (or whatever you call it) here. Won't that affect everything after this code, too?
And what's really strange is that on my site it worked fine without ever having to call that file.
Ok, but don't you have to close the file request out after the code or will it only work the first time is it requested?
Not really sure what you mean by that. Either way you probably have different options set then Socrate does, and going only by the few posts I've read in the thread its probably because you have the reputation display on in the User CP while Socrate probably has it turned off.
on the other hand, which is the difference with the hack of Assassingod really?
Quote:
Originally Posted by NTLDR
Not really sure what you mean by that. Either way you probably have different options set then Socrate does, and going only by the few posts I've read in the thread its probably because you have the reputation display on in the User CP while Socrate probably has it turned off.
yes, I did not authorize the posting of the reputation indeed
I made this a while back and the template is done like it is supposed to fit in the user cp. Plus my code allows for users who don't have a signature or a avatar and the box not showing up if that is the case. Install his template code and then install mine and you tell me the difference.
I posted the code here for him to add to his if he wanted to, by the way.
I made this a while back and the template is done like it is supposed to fit in the user cp. Plus my code allows for users who don't have a signature or a avatar and the box not showing up if that is the case. Install his template code and then install mine and you tell me the difference.
I posted the code here for him to add to his if he wanted to, by the way.
yes, thank you Boofo, I did not have to note his difference, I think that that could indeed be to add to the hack of Assasingod