![]() |
Hi:
I have installed it on a vb4.1.8 and when i write a message i don't see the smilies and the CKEditor, is there any possibility to get it? Thanks in advance. |
You could try reverting all the templates in teh editor group, but YOu'll have more tweaking to do also. I have deliberately removed it and there are likely javascript files which need to be included in the header as well, so to implement it won't be strainght forward
|
Quote:
But I am happy to give you any more details if you need them. :) |
I can't reproduce it - do you have a test site where it also happens I could get access to?
|
Quote:
|
Quote:
|
Firstly, awesome style. I've been utilising it for some time.
Since upgrading recently, my users have become "trapped" in the mobile skin, unable to revert back to PC Mode. The Default Style for Modern Mobile Browsers is unable to be changed, despite having Allow Users To Change Styles to YES. Any ideas? Also a tad confused as to what takes precedent with default styles settings between Style and Language Settings and Lightweight Style Options - both include choices to set as defaults? |
Lightweight STyle Options asks those for creating links to default style and so it knows what the style ID of teh lightweight style is when it comes to doing things like disabling add-ons etc - it doesn't use these for detection - these won;t affect vBulletins detection. Did you have any other detection scrips before upgrading?
|
Quote:
I only have a couple of basic add-ons (VSa - Advanced Permissions Based on Post Count, Word Links by BOP5 VB4, vBookie, vB Optimise Lite, Separate Sticky and Normal Threads, Notification for Reputation) - no detection scripts. If you have a moment, the website is www.grandoldteam.com/forum. If you visit via a mobile, you'll find your unable to escape the default mobile skin on any page other than forum home. Absolutely no idea where to look to fix, .htaccess? |
Quote:
|
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.
|
Quote:
|
I see this question was asked but not sure if it was answered. Can I add admob banners to this style? If yes, how? Thanks.
|
if you can add to standard style, you can ad to this I guess. I don't know what admob is
|
Quote:
1. First post. 2. Last post. Thanks for your prompt response. |
I don't do advertising inposts or threads etc, so have no idea. I'm pretty sure the ad hooks are in this style, so you would use them the same way you would with the default style. Find where someone else has done this with the default style and do the same as them.
|
Quote:
Do you know if the lighweight (mobile) style will support javascript? Has anyone else done this? |
I just had a look, and those template hooks aren;t there. Try editing the postbit and postbit legacy templates and adding the following code at the end of the template and see how that goes (try both to see how it looks)
Code:
<vb:if condition="$post['isfirstshown']"> |
Quote:
|
How do I add another banner at the end of thread? I tried adding it in ad_thread_last_post_content but it won't show up. Ideally something at the end of thread (after all posts) would be really nice. Thanks.
|
The only other ad hook location in threads is the first post sig. I think that if those ad hooks I asked you to add to the postbit template aren't doing it, your problem lays elsewhere. Alternatively there are header and footer hooks that can be added in.
|
Quote:
Please tell me how to add footer hook. |
Hello Dartho,
I'm having a problem with resizing images. I tried the suggested method in post #333, but unfortunately it did not resolve the problem. Is there another method I can try? I'd prefer the images to be resized rather than have them as a link. Thank you. |
@SEA - you could try editin the CSS file and adding the following [s]before teh ?>[/s] at the end of the file
Code:
img { |
Quote:
|
Quote:
|
sorry, edit the CSS file (the lightweight.css.php file you uploaded to your server), and add it right at the end - sorry, no ?> to search for at the end.
|
No joy unfortunately, mate.
Images are resizing when I switch to the lightweight style on desktop, but not on mobile device. |
Quote:
actually - try deleting your cache etc and see if that helps... |
Tut... Worked a treat. Cheers mate ;)
|
great style.. 2 thumbs up
been reading it all here to apply all the fixes posted .. thanks to everyone that posted a fix.. one thing tho I didn't find here is when you click on User CP it is always showing New Private Messages : (1) even with none ... or if you have 3 it shows 4 weird anyone with a fix for this would be greatly appreciated |
All times are GMT. The time now is 06:46 PM. |
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:
|