MyBB Hacks

Full Version: xthreads conflict plugin last posts 1.1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
xthreads conflict plugin last posts 1.1 Author: Hamed link mod last posts

if I activate this plugin, I see no more 'the template xthread, enclose screenshout to illustrate the problem

plug activated:
[Image: screenshot004rh.png]
plug deactivated:
[Image: screenshot005ab.png]

I apologize for translation with google, I hope you understand the problem thanks
I think it is because the plugin "re-cache" the templatelist.

PHP Code:
$templates->cache($db->escape_string($templatelist));

You think just delete this line from the plug?
If you remove the line, maybe it removes the conflicts, but the templates won't be cached.
You can cache the templates in the global_start, then run the plugin codes in the global_end.
you could post a guide to follow, to get what you suggested?
thanks
You can try the attachment, replace the repost.php file inside the inc/plugins/ folder. Put this code in your header template:

Code:
<!-- post -->

Please note that I don't change the plugin behavior (I think the plugin should uses MyBB's functions to get the various link).

I followed the suggestion, I reactivated the plugin, and placed in header
<! - post ->, the window you see now
Sorry, what I mean is:

Code:
<!-- repost -->

MyBB Internal Error

MyBB has experienced an internal error and cannot continue.

Error Type:
    Catchable Fatal Error (4096)
Error Message:
    Object of class MyLanguage could not be converted to string
Location:
    File: inc/plugins/repost.php(310) : eval()'d code
    Line: 12
Backtrace:
    File Line Function
    /inc/class_error.php 206 errorHandler->output_error
    /inc/plugins/repost.php(310) : eval()'d code 12 errorHandler->error
    /inc/plugins/repost.php 310 eval
    /inc/class_plugins.php 101 repostend
    /global.php 718 pluginSystem->run_hooks
    /index.php 18 require_once
you could see on the home, I just tried to edit the template, and this is the result
(08-17-2012 07:44 AM)mister_don Wrote: [ -> ]I just tried to edit the template, and this is the result
What template you try to edit? Post the template contents here.
Pages: 1 2
Reference URL's