The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Have you tried the above code yet?
|
#12
|
|||
|
|||
Not yet! sorry
|
#13
|
|||
|
|||
I got this error
Parse error: parse error in /www/greenarcher.net/html/forums/admin/functions.php on line 128 Fatal error: Call to undefined function: getuserinfo() in /www/greenarcher.net/html/forums/admin/sessions.php on line 112 |
#14
|
||||
|
||||
Not perfect, but will work.
Open newthread.php, find: PHP Code:
PHP Code:
Code:
You cannot use the [img] code with a new thread! |
#15
|
|||
|
|||
Shouldnt it be newthread instead of newreply???
|
#16
|
||||
|
||||
Oops... yes, it's the same instructions, same code.
|
#17
|
||||
|
||||
Quote:
if($newthread) { $text = preg_replace("/IMG/i", "", $text); $text = preg_replace("/img/i", "", $text); } |
#18
|
|||
|
|||
Im getting a parse error
|
#19
|
||||
|
||||
The instructions I gave you are so basic they are error-free.
Redo the hack again from scratch. Post the parse error, and the 10 lines before and after of the code that the parse error specifies. If you still get errors, then there something wrong with the way you are doing it - make sure you use Notepad, not Wordpad, and you're not mucking up the formatting. @ Boofo - not sure what's wrong with your code, looks fine to me. |
#20
|
|||
|
|||
Here's the error:
Parse error: parse error in /www/greenarcher.net/html/forums/newthread.php on line 198 Here is part of the code // check max images if ($maximages!=0) { $parsedmessage=bbcodeparse($message,$foruminfo[forumid],$allowsmilie); if (countchar($parsedmessage,"<img")>$maximages) { eval("standarderror(\"".gettemplate("error_toomany images")."\");"); exit; } } if($message,'[img]')) { eval("standarderror(\"".gettemplate("error_noimage snewreply")."\");"); exit; } if($message,'[IMG]')) { eval("standarderror(\"".gettemplate("error_noimage snewreply")."\");"); exit; } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|