![]() |
Quote:
|
dartho,
how to fix this? https://vborg.vbsupport.ru/external/2011/12/53.jpg Quote:
*it doesn't work |
Quote:
thenamesgould worked out how to reproduce this - it only happens when the user uses full WYSIWIG editor (as set in UserCP). Found a template only way to resolve: Edit the editor_ckeditor temaplte and replace contenst with: HTML Code:
<div id="{vb:raw editorid}"> Code:
body Code:
.hidden {display:none;} The following superceded by above, but kept here for reference [s] A quick fix is to add a plugin as follows: Title: Lightweight Style - Set Editor Mode to Standard (bugfix) Hook: style_fetch (there could be a better place, but this works) Order: 5 Code: PHP Code:
There is probably another way, and I'll look into it - but for those that want a fix now, tis is it.[/s] |
Quote:
HTML Code:
<vb:if condition="$tag_list"> |
See 2 posts up for template only way to reolve errant <br />'s turning up when quoting - I just edited the post, no plugin required
|
Quote:
it's works on me |
Quote:
|
Thanks again, dartho. :)
|
Quote:
I haven;t forgotten you - it's just that I've been fixing style bugs - your request is not related to this style as such. Having said all that - I'll try and point you in the right direction - To strip all HTML tags from posts for a specific style ID, create a plugin as follows: Product:vBulletin Hook Location: Postbit Disaply Complete Name: Strip HTML from Mobile Style Posts Execution Order:5 Code: Code:
if (STYLEID=='n') { the bit in teh code with teh <br><a> is HTML tags you wish to allow, if you want images, add in <img>, if you want <stong> add it in etc. Google php strip_tags |
Just want to chime in and say thanks for this. All my users prefer this significantly over the built in mobile style.
|
All times are GMT. The time now is 03:20 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|