Reproduce the test several time (after the images have been loaded in the browser cache) and if you see any difference feel free to optimize the code and release your modifications on Github. On my websites, I don't see any difference.In debug mod:
Forum Home
-Page generation time is ~0.6 sec without your plugin
-Page generation time is ~1 sec with enabled your plugin
Why ?
Yes.Is this working on 1.3?
Yes.Does this support bd widget system / widget page?
Callback Sedo_ToggleME_Listener::template_hook ist ungültig (Ungültige Klasse = invalid class).
Please implement this on the next version: @cclaerhoutIf anyone here is a fan of Fontawesome, I just replaced the standard ToggleMe sprite elements with Fontawesome icons.
Note that I only use Toggleme for the category and postbit. Anyone wanting to use it elsewhere will need to tweak the code.
Put this in your EXTRA.css:
Edit toggleme_manual.css and remove the background, width and height elements. E.g.Code:/* replace ToggleMe images with fontawesome */ .tglWchild.active:before, .tglPosbit.active:before { content: "\f147 "; font-family: fontawesome; font-size: 18px; line-height: 18px; opacity: 0.3; } .tglWchild.inactive:before, .tglPosbit.inactive:before { content: "\f196 "; font-family: fontawesome; font-size: 18px; line-height: 18px; opacity: 0.3; }
^^^ remove.Code:background-image: url('@imagePath/xenforo/widgets/toggle-sprite.png'); background-position: 0px -16px; width: 16px; height: 16px;
And you will almost certainly need to tweak the margins.
Anyhow, here it is working on AVForums and I hope this is useful.
Category: http://www.avforums.com/forums/
Postbit: http://www.avforums.com/threads/the-amazing-spider-man-2-2014.1689688/
This is a design flaw in the ToggleMe mod. If you want it to work correctly with VaultWiki sidebar blocks, it will need to be corrected from ToggleMe.
ToggleMe assumes that additional qualifying names in the class attribute for a sidebar block make that sidebar block's class name unique, and does a simple replace on divs with class attribute = X. This may be true and safe for many default-installed XenForo sidebar blocks, but it contradicts semantic usage of the class attribute, which is not meant to specify whether a div is unique. ToggleMe does a good job at handling this when class="section", so I don't know why the methodology was changed when class="section X Y etc". If you are using classes to generate ID attributes, you should always use an incremental counter, and if you are replacing based on non-unique attributes, you should either use offsets to specify the correct one, or you should use preg_replace(..., limit = 1) until all matches are resolved.
Everything is working fine for me with the RM. I haven't installed yet the Widget Framework on my test board to test with it.This version removes all toggle buttons from VW widgets and also from other addons like xenreviews, xf resource manager, xenmediagallery.
We use essential cookies to make this site work, and optional cookies to enhance your experience.