The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
![]()
Can you paste the code around 799 in class_postbit.php?
Nm, parse_bbcode() has a typo. PHP Code:
|
#22
|
|||
|
|||
![]()
Nope:
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /home/httpd/vhosts/jeepforum.com/httpdocs/forum/includes/class_postbit.php on line 812 Fatal error: Cannot instantiate non-existent class: vb_bbcodeparser in /home/httpd/vhosts/jeepforum.com/httpdocs/forum/showthread.php on line 982 I am replacing the first parse_bbcode: function parse_bbcode() { $this->post['message'] = $this->bbcode_parser->parse($this->post['pagetext'], $this->forum['forumid'], $this->post['allowsmilie']); } .... There is also .... function parse_bbcode() { $this->bbcode_parser->attachments =& $this->post['attachments']; $this->bbcode_parser->unsetattach = true; $this->post['message'] = $this->bbcode_parser->parse( $this->post['pagetext'], $this->forum['forumid'], $this->post['allowsmilie'], false, $this->post['pagetext_html'], $this->post['hasimages'], $this->cachable ); $this->post_cache =& $this->bbcode_parser->cached; } |
#23
|
||||
|
||||
![]() Quote:
|
#24
|
|||
|
|||
![]()
Did you replace it with the code i pasted with the fixed typo?
|
#25
|
|||
|
|||
![]()
Yes I did ...
|
#26
|
|||
|
|||
![]()
Interesting, you were replacing the entire function as well?
The second function belongs to a seperate class, so dont worry about that one. Can you paste what you've done with 3 or 4 lines either side? |
#27
|
|||
|
|||
![]()
Yes I copied and pasted your function over parse_bbcode() the orginal. That error comes out when viewing a thread.
Have you tested the code? |
#28
|
|||
|
|||
![]()
No, but the error you are getting indicates a typo/error in pasting :\
You're running PHP5? |
#29
|
|||
|
|||
![]()
PHP 4.3
I am guessing that code just doesn't work for some reason if you haven't tested it. Are you sure if(is_member_of($this->post, X)) works in a PHP file? That variable works in plugins but in PHP files? |
#30
|
|||
|
|||
![]()
Its available everywhere. Ill look into it furthur after the xmas stuff is over
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|