vBulletin ModsThe Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=249277 |
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://www.vbulletin.org/forum/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:
Edit the lightweight.css.php file, search for:
and add immediately above:
That should do it. The following superceded by above, but kept here for reference 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:
If you have Lightweioght Style Options installed, you could add the code to the "Enter code here to disable addons" section of that rather than create a new plugin. There is probably another way, and I'll look into it - but for those that want a fix now, tis is it. |
Quote:
|
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:
replace 'n' with teh styleid of your lightweight style. 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)
|
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 before teh ?> at the end of the file
@inphoenix - the ad_footer_start and global_above_footer ad hooks are already there. Perhaps your ad provider or ad script is only alklowing a single ad at a time? Try disabling other locations to see if they show up |
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 |
You can read post #2 for fixes also.
Re: the private messages issue - could it be that you have other unread message types? Maybe a visitor message or something ... |
thanks for the quick reply...
no nothing shows in the normal style.. I checked it all made a new use with no messages and same... * I found the Arrays PM fix.. but will check out post #2 to make sure I got it all.. thanks again |
that would of made my life easy if I see post #2 first.
anyway search is your friend.. I did notice this no longer works.. http://www.vbulletin.org/forum/showt...31#post2264831 even if WGO is set to members only it will not show even anyone not even guests .. |
Thank You !
|
Quote:
|
I noticed on the verizon browser there is either one of these I can't remember now
גהדב before each name.. in current active users any idea? I think it was this one if it makes a difference ג or maybe even this one I can't see it good lol..ב also noticed the refresh this page link when viewing who's online.. takes you back to the forum index.. instead on what it intended to do. the refresh issue can be viewed when you are on this style using your desktop using IE9 or ff thanks for your quick support with this style.. Regards |
Quote:
any idea? I don't care much if it don't show on the light style / Mobile but if posted from your phone and the viewing it on your rig with the normal style it's not showing thanks |
Any chance of a 4.1.8 update? Pretty please!
|
Quote:
|
New version released which should have all fixes to the issues as listed in this thread over recent months.
remember - backup backup backup! |
brilliant work
|
Is it just me or is ads in the update? I don't mind donating to a coder but having ads forced down my throat without my knowledge is not cool.
|
Ah CRAP!! That was me testing google ads (read one page back and you can see the posts with a member here on how to put in ads) - I'll delete and update now.
Really - that was an honest mistake! Sorry for the hassle :o |
New zip file uploaded with the errant code removed - that google ads code only appeared in the postpit_legacy template - just delete this bit from that template
or import new XML in the zip I just uploaded (1.0.3a) |
Thanks Dartho!
|
1 Attachment(s)
thanks for the update dartho
I have a questions for ya How do I go about adding Next to the page nav.. |
Just uploaded the latest version when I upgraded to 4.1.9, and noticed that this step:
"replace the contents of the editor_ckeditor template with that of the editor_toolbar_off template" doesn't seem to be in there, which lead to a bit of weirdness. Apart from that, very nice! :) |
Quote:
|
Quote:
Just an update on this one. It seems a lot of users are finding themselves unable to "switch off the mobile style and use the regular forum default on their mobile devices" once upgraded to 4.1.8; https://www.vbulletin.com/forum/show...08#post2244908 https://www.vbulletin.com/forum/show...obile-template https://www.vbulletin.com/forum/show...owser-(vB4-1-9) I realise it's likely to be a vBulletin issue, rather than your mod - but thought I'd advise here incase anyone else is having the same problem. |
2 Attachment(s)
:up: I have it installed on 4.1.3 And the only question I have if it looks right. I works great from a phone. Loads up a ton faster than any other style. Still loads pictures in a post, that is a plus. Here are two screen shots from my site.
|
Quote:
|
Quote:
edit: I looked at the vb detection code - it hasn't changed between 4.1.7 and 4.1.9. |
1 Attachment(s)
Quote:
|
Can you please link up all the modifications I can do to this theme so that I don't have to overwrite my XML file with the update? Thanks!
|
Dartho, does the latest version no longer show 'Currently Active Users'? Or is the issue at my end? Installed on 4.1.9.
|
Quote:
|
if you dont use that option addon remove this code
http://www.vbulletin.org/forum/showp...&postcount=566 |
@ dartho - the mobile styles Logo is not appearing, I tried changing it on the stylevars titleimage. didn't work. using the latest version on vb 418.
|
You need to edit the css file - this style doesn't user the stylevars system. alternatively, you can edit the header template (or it could be navbar) and edit it direct
|
i see. :o which css file is that? having a hard time finding it in the header and navbar templates. :confused:
Also how do you disable the cms sidebar for the mobile style? I tried adding the below code to the Lightweight Style Options but didn't work
|
Quote:
|
Thank you Dartho for the Lightweight Mobile Style.
Installed and currently checking it out. :) I have the default vB google ads and I would like to remove the header and footer ads and keep the post ad. How do I remove the header and footer Ads from the Lightweight Mobile Style? |
Quote:
|
Dartho, you didn't answer my question :)
Also I was trying to improve the cms's look by removing the sidebars and any widget boxes, Can you tell me how? and after logging in the Copyright appears on top of the CMS.. also, i noticed, for some reason the vbulletin mobile detection script doesn't work properly for opera mini and a few other smart phone / iphone like devices? I set this skin as the mobile ski but its not changing. visiting my site using opera mini I get the default style, instead of the mobile style. heres the opera mini simulator: http://www.opera.com/developer/tools/mini/ thanks |
1 Attachment(s)
Sorry - didn;t see this post:
Quote:
the lightweight.css.php file which you would have uploaded to your forum root. Does the following path resolve on your site? /images/misc/mobilelogo.png - that's where the logo lives As for the sidebar - I can't get a sidebar to show? However, gice the following code a try: $show['sidebar']=0; - might work, might not ... The CMS isn't that straight forward to work out, otherwise it would be in this style. It really depends on your layouts I think. I have a very basic CMS setup working on my test site. I'll attach the style here and you can test and get back to me. Same rules apply - backup/test etc. before going live or overwriting you existing lightweight style. Best bet is to add it as a child style of light weight for testing, then if you're happy you can re-import it and merge into existing. Let me know how it goes |
@Rocketeer - As for the mobile device detection - dunno. You could edit the init.php file and manually modify the detection code to pickup those devices, but I think you probably need to lodge a support ticket with vBulletin.com
|
Thank you Dartho, Yes that solves the logo problem. I also figured out that having the Text Option enabled in the Liteweight styles options causes the image to be replaced by text. (missed that setting before haha) :)
Now about the sidebar, I am actually referring to the CMS Sidebar, Grids or Widgets as you call it, you know the ones that appear in your CMS such as Menu, Polls, recent Forum posts etc?? I am trying to disable that or any widgets to appear in the CMS home page. That would make it look clean and pretty much complete. I tried the CMSONLY style you gave me. Installed it as a Child Style of light weight, didn't notice any difference until when I went to my CMS / Homepage, I noticed that it doesn't show any articles. The header, nav and footer is there but the content is not present, and only shows this $column[1] .. I went inside the vbcms_grid_1 and vbcms_grid_2 and noticed it had a lot less code, only this actually..
so maybe you have a few lines of code gone missing there ? And thanks I will probably open up a support ticket with vBulletin about their Mobile Detection Script not working with Opera Mini and this or any other style. Happy Holidays :) |
Can't really offer much more - I don't know much about CMS or sidebars at all - I don't actually use it (CMS), or vBuylletin 4 for that matter. That CMS Style works on the simple CMS setup I have on my test site (http://vbdev.org)
|
Thanks Dartho. I am working on the CMS part, trying to see if it can be improved.
But I think you might have given me the wrong vbulletin-style-lightweight-1.0.3a-CMSONLY.xml version. lol. I fixed it a bit but I think its missing some codes on the vbcms_grid templates. Mine Looks like this style on your test site: http://vbdev.org/?styleid=16 I think it should look like this one instead? - http://vbdev.org/?styleid=7 - notice on your test site how on styleid=16 there's no articles showing and it just shows $column[1], but on styleid=7 it shows the articles properly? Thats what I am talking about, styleid=16 must be the one you gave me, thats missing some edits. :) |
Actually - I think it is something to do with vBulletin's template system as opposed me exporting incorrectly.
If I export styleid 7 on my test site, i do not get CMS customisations to that style (although viewing it, you can see they are there). If during the export process I select CMS as the product, we end up with that blank page with column[1] on it... Here's what I had to do to make it work. Import the Lightweight Style to a new style Import the CMSONLY style and merge with lightweight style imported above Import lightweight style again and merge with lightweight style above See how that goes ... |
No Dartho, That merging technique didn't work out very well :(
But I have made a list of minor changes and code edits to make it work and look like styleid 7. I will see how that goes and if I can post them here, so others like me can improve the look of their CMS. Maybe you can include them in the next update of this style. I really wish the merging thing worked though. Let me know if you find any code edits worth mentioning or other ways to do this. |
Quote:
have a look in that CMSONLY XML file to see the templates and code I used on vbdev - add these in manually and I';m sure it will work out. The issue seems to be a vbulletin bug perhaps? I've posted asking for assistance with it |
Updated to 4.1.9 then went to install this from the latest version and got this:
This file was created using a different version of vBulletin from the one you are running. Your version: 4.1.9 File version: 4.1.8 |
Quote:
|
duh... missed that... thanks~!
|
Quote:
|
Mmm.. try allowing <pre> tags at a guess...
|
iphone and a few other phones you are not able to use the attachments
it work under pc /desktop |
Spectacular development, and much thanks. Just a couple of questions that I'm sure will be an easy answer for you.
1.) Upon entering a thread on the mobile version and trying to scroll, I am continuously returned to the bottom of the screen unless I keep my finger on the touchscreen mobile device. It automatically returns me to the bottom. Setting? Installed improperly? Just curious. 2.) Will a feature where you're able to view the thread starter be coming any time soon? Tons of requests on that. Also possibly a last poster or thread starter on the main forum page? Again, curious. Thanks for your hard work, it is appreciated. |
Quote:
Quote:
Quote:
|
Quote:
|
Every so often I like to pop into this thread for the benefit of any vB n00bs, to say that this mobile style is "light years" ahead of the THING that vBulletin offer by default.
Use this coupled with Dartho's mobile detection addon if you want your site to present a professional, easily customisable style for mobile users. See HERE for what I did with it. |
Quote:
Merry Christmas to you. Have a great New Year |
Quote:
|
How to resize the picture in post fit to screen?
|
hi dartho,
bit of an issue? installed ok, looks and runs fine. when i try to reply to a post, using over ten characters, it says, "sorry! this forum is not accepting posts" but it should be? any ideas. |
I'm not sure what would be causing this,and am unable to reproduce the error
|
Quote:
click a link? and you get this, Invalid Forum specified. If you followed a valid link maybe its an issue on the latest vb...... any ideas! |
dartho
i see numerous sites were this style will revert back to the forum default style when you click any link if your using 4.1.9, this includes yanrefs site. Just checked it on my droidx, doing it on my test site as well. |
@yanref - still not sure what is causing your issue and no reports of anyone else with the same. Have you tried disabling all add-ons and plugins and testing? (do this in AdminCP->Settings->Options->Plugin/Hook System->Enable Plugin/Hook System = No)
@snakes - whilst yanref has other issues, it stays on the lightweight style for me when visiting his site from my PC and phone. my test site at vbdev.org doesn't have issues either. At any rate, I guess it would be a vBulletin problem if it couldn't maintain a style across pages ... |
All times are GMT. The time now is 22:12. |
Powered by vBulletin® Version 3.8.14
Copyright © 2023, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.