vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=249277

Hippy 20 Mar 2013 23:50

Quote:

Originally Posted by Marco Aurelio (Post 2411136)
Sorry, but this:



doesn't work after upgrade to vBulletin 4.2, because I don't see {vb:raw post.post_thanks_bit}. I write that code in template, but it doesn't appear on forum, so I don't know who thanked.

still works for me ..
check your work over

Filgga 25 Mar 2013 08:23

Quote:

Originally Posted by dartho (Post 2411059)

There's no direct fix for this? I've some customizations made and re-installing the same to fix this minor bug seems to be painful

:confused:

BTW, have you managed to get vBSEO Like system compatible with it?

dartho 25 Mar 2013 23:46

Sorry but I I don't have vbseo so can not look at this. But if it is just a matter of some hooks needing to be added to templates it would be trivial to do if you could find out which hooks are used by the vbseo hack.

You could export the style from your site, including your customisations, and re-install that as per the suggested 'fix' ?

Filgga 26 Mar 2013 09:23

Quote:

Originally Posted by dartho (Post 2412290)
Sorry but I I don't have vbseo so can not look at this. But if it is just a matter of some hooks needing to be added to templates it would be trivial to do if you could find out which hooks are used by the vbseo hack.

Yeah, loud n clear ;)

Quote:

You could export the style from your site, including your customisations, and re-install that as per the suggested 'fix' ?
Yep, this fixes the problem but another problem rises:
1. If installed as a Standard skin, then the error is fixed!
2. If installed as a mobile skin, the same error comes

Problem: Using vB's default style assignment the theme doesn't appear to be selective under Settings > Options > Style & Language Settings (for mobile themes)

I bet, this' not your fault. vB team was supposed to allow any skin from standard to mobile can be selected to be assigned for mobile users. I see no point of forcing someone to categorize them (IMHO)

What's your suggestion?

dartho 27 Mar 2013 04:25

vBulletin messed things up for this style when the seperated mobile and standard styles.

If you want to use VB detection and simply apply one style to advanced mobile devices, one style to basic mobile devices and a default style to everyone and allow people to select their own style (assuming they are already allowed to do this on your site) and still allow admin to pick any style they want, the following should do it.

Create a plugin on style_fetch with the following code being sure to enter in teh styleids you want for mobile, advanced mobile and default styles:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


dartho 27 Mar 2013 04:47

If you wanted to make this simpler, and don;t mind going into debug mode on your site, you could edit the Option Code for Mobile Style boxes in AdminCP so that all styles (both mobile and standard) show up and then you could replace the styleid numbers in the plugin above with $vbulletin->options['mobilestyleid_basic'], $vbulletin->options['mobilestyleid_advanced'] and $vbulletin->options['styleid'] then if you changed styles down the track you wouldn;t need to edit the plugin by hand. You would still need the above plugin to make it work.

To do this change the Option Code to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Filgga 27 Mar 2013 04:59

Quote:

Originally Posted by dartho (Post 2412496)
To do this change the Option Code to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Superb! I know, many will benefit from this... Do I add the code onto the above code and look like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

?

Thanks for your prompt response

dartho 27 Mar 2013 05:10

No - you would need to put your site into debug mode, then go into your vbulletin options in AdminCP where you choose the style settings and click on the edit link next to where you select the mobile styles and change the Option Code in there

Filgga 27 Mar 2013 05:25

Quote:

Originally Posted by dartho (Post 2412498)
No - you would need to put your site into debug mode, then go into your vbulletin options in AdminCP where you choose the style settings and click on the edit link next to where you select the mobile styles and change the Option Code in there

Gotcha!

Will revert to you once successful. Obrigado!

----Edit----

I worked. Thanks much!

Shaybloom 29 Mar 2013 11:28

How do i change the blue colour thats all over including the footer to black??
I tried changing footer colour and border almost everything in footer IN Style Variable Editor
to black and saved it it even shows red colour indicating it is edited but strangely enough NOTHING has changed on the theme on the forum,its still BLUE
please help!

tareqbd 29 Mar 2013 13:43

Quote:

Originally Posted by dartho (Post 2409603)
edit the SHOWTHREAD template,
search for (near the bottom of the template)

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and add the following immediately above it


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

OK, I have tried already but no luck. Still the charged content not loading on click.
Any other suggestion please.

dartho 29 Mar 2013 14:03

Quote:

Originally Posted by Shaybloom (Post 2412903)
How do i change the blue colour thats all over including the footer to black??
I tried changing footer colour and border almost everything in footer IN Style Variable Editor
to black and saved it it even shows red colour indicating it is edited but strangely enough NOTHING has changed on the theme on the forum,its still BLUE
please help!

see the 5th dot point of the install instructions

dartho 29 Mar 2013 14:04

Quote:

Originally Posted by tareqbd (Post 2412913)
OK, I have tried already but no luck. Still the charged content not loading on click.
Any other suggestion please.

I don;t use that add-on. Have you asked them what requirements are?

tareqbd 29 Mar 2013 20:09

Quote:

Originally Posted by dartho (Post 2412917)
I don;t use that add-on. Have you asked them what requirements are?

Yes, I did. Their reply was as below:
Quote:

Quote Originally Posted by Belazor View Post
showthread_below_posts is needed for the JS code that powers charged content.

dartho 30 Mar 2013 04:17

So they told you the same thing again? Did you let them know that adding that hook didn't appear to work for you? If not, you may want to do so.

Shaybloom 30 Mar 2013 11:48

SORRY i'm a newb but where is lightweight.css.php ?

tareqbd 30 Mar 2013 16:59

Quote:

Originally Posted by dartho (Post 2413071)
So they told you the same thing again? Did you let them know that adding that hook didn't appear to work for you? If not, you may want to do so.

They cannot tell further about it. Only the coder of the style can work.

Shaybloom 04 Apr 2013 06:23

SORRY i'm a newb but where is lightweight.css.php ?

dartho 04 Apr 2013 13:53

Check the dot points on either side of the 5th point I referred you to previously.

tareqbd 12 Apr 2013 15:08

Quote:

Originally Posted by dartho (Post 2414206)
Check the dot points on either side of the 5th point I referred you to previously.

Dartho I have tried to send you PM but your message quota was full. So, I have sent PM to you VbdeV inbox. I am sure that you can help me on that.
Thank you.

broncoshq 15 Apr 2013 13:54

It's a real shame this can't work with addons. I would love to be able to use dragonbyte's Thanks/Likes addon, and a few others.

Anyway to make them work easily?

dartho 17 Apr 2013 12:22

ain't nothing I can do if I don't know what you are talking about. links to the hacks you are asking about would go a long way ...


Quote:

Originally Posted by broncoshq (Post 2416467)
It's a real shame this can't work with addons. I would love to be able to use dragonbyte's Thanks/Likes addon, and a few others.

Anyway to make them work easily?

No it's not, it's a real benefit for me. Means hacks in the full style don;t get in the way on mobile devices. Just put the hooks and code that you need for hacks in the appropriate templates.

Quote:

Originally Posted by tareqbd (Post 2413136)
They cannot tell further about it. Only the coder of the style can work.

tareqbd - re your PM, I'm not sure without manually looking through the templates which I'm sure you are capable of doing

Filgga 19 Apr 2013 05:23

Quote:

Originally Posted by dartho (Post 2219504)
That's not using the new_reply template that comes with this style, or you have an add-on doing stuff. The new_reply template should be:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

check differences and/or overwrite yours with that and see how you go

Reply with QUOTE removes all formatting (paragraphs). Tried all fixes proposed on this thread in vain.

Edited newreply template with same codes as above but couldn't work!

Pls advise

tareqbd 19 Apr 2013 05:31

Quote:

Originally Posted by dartho (Post 2416897)
ain't nothing I can do if I don't know what you are talking about. links to the hacks you are asking about would go a long way ...




No it's not, it's a real benefit for me. Means hacks in the full style don;t get in the way on mobile devices. Just put the hooks and code that you need for hacks in the appropriate templates.



tareqbd - re your PM, I'm not sure without manually looking through the templates which I'm sure you are capable of doing

OK. Can you help me by saying which major templates I have to go thru in order to save the time.

dartho 20 Apr 2013 00:59

@tareqbd - the templates whose name appear in bold would be 'major' templates

@filgga - I can not reproduce this and looking at your site, the only quoted posts I see do have paragraphs ... Are you sure about this issue?

tareqbd 20 Apr 2013 04:58

Quote:

Originally Posted by dartho (Post 2417412)
@tareqbd - the templates whose name appear in bold would be 'major' templates

Sorry! I did not get you. Where can I find the bold names for 'major' templates.

dartho 20 Apr 2013 05:37

In the style manager in admincp...

Sorry, that was meant to be CAPS not bold

letipro 20 Apr 2013 05:48

please update to 4.2.1 :D
thank

Bounce 21 Apr 2013 19:19

Dartho, any way of adding a reputation/like link to the style?

thenamesgould 24 Apr 2013 12:45

I'm using this style for my mobile site, and I've just enabled Blogs on my site. When you go to a blog on the phone, it stays in the mobile site and is totally unreadable. I do have it set to use the normal style for Blogs in the admin settings.

Does anyone know what's going on ... or is there a way to overwrite the mobile blog style with the regular style?

Filgga 25 Apr 2013 17:33

Quote:

Originally Posted by dartho (Post 2417412)
@filgga - I can not reproduce this and looking at your site, the only quoted posts I see do have paragraphs ... Are you sure about this issue?

@dartho,

I'm trying to reproduce the theme to get it work with vB 4.2.1 and the navigation thing (which is fine in the new skin).

Generally, the new theme works with no errors except the <br /> issue which is a big pain to me.

Followed the details here but it did not solve my issue!
Quote:

Q. I see <br /> instead of line breaks when quoting, full reply
A. See post: http://www.vbulletin.org/forum/showp...&postcount=617

dartho 26 Apr 2013 00:19

Did you also Try the plugin referred to in that post?

rughis 28 Apr 2013 21:56

Hi Dartho, I've a problem with "Who's on line" after 4.2.1 migration :(

dartho 29 Apr 2013 00:03

What's the problem?

tOtherBlack 30 Apr 2013 23:55

Hello,

Writing a message board does not seem active. How can I fix this problem?

I'm bad speak english

dartho 01 May 2013 05:47

Quote:

Originally Posted by tOtherBlack (Post 2419333)
I'm bad speak english

Yes!

please post a picture of problem. or a link to webpage with problem.

rughis 01 May 2013 21:57

Quote:

Originally Posted by rughis (Post 2418985)
Hi Dartho, I've a problem with "Who's on line" after 4.2.1 migration :(

Quote:

Originally Posted by dartho (Post 2419004)
What's the problem?

It doesn't work

Clicking on number of online user link:

https://www.vbulletin.org/forum/external/2013/05/50.png

appears the page:

https://www.vbulletin.org/forum/external/2013/05/51.png

dartho 02 May 2013 10:31

That looks like a vBulletin message which makes me think you have installed this style as a mobile style which has known issues. Can you view that same page in the vBulletin Mobile Style?

rughis 02 May 2013 23:03

Quote:

Originally Posted by dartho (Post 2419577)
That looks like a vBulletin message which makes me think you have installed this style as a mobile style which has known issues. Can you view that same page in the vBulletin Mobile Style?

Yes Dartho, you're right!!! I view the same message in vB Mobile Style :o
I think that I did something wrong with template reverting after 4.2.1 update:(

dartho 03 May 2013 01:41

No, it's vBulletin. For some reason they treat mobile and desktop styles differently and have different functions/features available. I think many are installing mobile styles under the desktop section so they still have access to all vbulletin functions, and then using 3rd party mobile detection scripts

rughis 04 May 2013 18:02

Quote:

Originally Posted by dartho (Post 2419693)
No, it's vBulletin. For some reason they treat mobile and desktop styles differently and have different functions/features available. I think many are installing mobile styles under the desktop section so they still have access to all vbulletin functions, and then using 3rd party mobile detection scripts

Can I do something to fix?
I don't use vB Mobile Style. Uninstalling it can fix the problem or I have to do something else?

Thank you for your help

Gripi 14 May 2013 09:12

Hello...

Looks like after upgrade to 4.2.1, the Show Private Message dont have reply menu anymore.

Bounce 17 May 2013 20:52

i'm finding theres a whitespace in between 1st and 2nd posts :confused:

vB4 Lightweight Style by Dartho
by Guest200721
21 May 2013 04:42

We used Lightweight mobile style by Dartho for vBulletin 3.8.

We upgraded to vBulletin 4.2. Lightweight Style is listed as Incompatible.

The Default Mobile style looks horrible. We have icons in the board descriptions and they show up in vB4 mobile default style.

What should we do?

Download the Style again?

Try the vB3 to vB4 conversion tool?

Try to update the templates (not that I know how to do that)

Thanks!

dartho 24 May 2013 09:15

just install this one as a new desktop style

Guest200721 24 May 2013 09:35

Thanks!

Bounce 30 May 2013 00:15

installing vbsuper pm's does not allow pm's to be sent... thought this style was hard coded and no products should effect it? :cool:

Bounce 31 May 2013 15:35

Also in 4.2.1 there is 'array' showing on users online link

dartho 01 Jun 2013 01:49

Some hooks are in place, others aren't. If you search the templates for "hook" you'll find which ones are and can remove them if you need. In regards to the blank line bewteen 1st/2nd post, I couldn;t see that on your site or mine?

Shaybloom 01 Jun 2013 12:49

How do i make this the default mobile theme?
Right now its the default vbulletin mobile theme that comes default for mobile

Bounce 01 Jun 2013 19:10

2 Attachment(s)
Quote:

Originally Posted by dartho (Post 2425159)
Some hooks are in place, others aren't. If you search the templates for "hook" you'll find which ones are and can remove them if you need. In regards to the blank line bewteen 1st/2nd post, I couldn;t see that on your site or mine?

cheers will take a look, the space was from an advert mate, all sorted on that issue :up:

Edit: had a look and theres only 4 templates that have hook in it and none of them are for private message section.. Done a couple screenies...

With vbsuper pm's on it does not show a pm list!

Bounce 01 Jun 2013 19:17

Quote:

Originally Posted by Shaybloom (Post 2425214)
How do i make this the default mobile theme?
Right now its the default vbulletin mobile theme that comes default for mobile

I had some troubles with this too, I think I overwrote the default mobile style or try and add as a style to the mobile and make sure in the settings 'Style & Language Settings' its set to your mobile style you want.

4nawadir.com 04 Jun 2013 20:58

Good Job ;)
Continue ...

edytwinky 08 Jun 2013 21:32

Quote:

Originally Posted by Bounce (Post 2425091)
Also in 4.2.1 there is 'array' showing on users online link

I get the 'array' when trying to view the poll voters

dartho 09 Jun 2013 09:43

Quote:

Originally Posted by Bounce (Post 2425245)
cheers will take a look, the space was from an advert mate, all sorted on that issue :up:

Edit: had a look and theres only 4 templates that have hook in it and none of them are for private message section.. Done a couple screenies...

With vbsuper pm's on it does not show a pm list!

I would guess that vbsuper uses its own alternate templates for displaying private messages and that those templates don't exist in this style, even if they did exist through inheritance, they'd likely not be mobile suitable?

edytwinky 13 Jun 2013 16:54

Quote:

Originally Posted by dartho (Post 2426799)
I would guess that vbsuper uses its own alternate templates for displaying private messages and that those templates don't exist in this style, even if they did exist through inheritance, they'd likely not be mobile suitable?

dartho any suggestion on why the word array comes up when looking at poll voter history?

Bounce 15 Jun 2013 22:48

Quote:

Originally Posted by Filgga (Post 2412497)
Superb! I know, many will benefit from this... Do I add the code onto the above code and look like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

?

Thanks for your prompt response

none of this worked for me... running 4.2.1

I added the plugin but as soon as i clicked back onto forum link it brought up the default style :eek: when choosing 'mobile' in the style chooser it wouldnt change it back

Bounce 15 Jun 2013 23:06

Quote:

Originally Posted by dartho (Post 2426799)
I would guess that vbsuper uses its own alternate templates for displaying private messages and that those templates don't exist in this style, even if they did exist through inheritance, they'd likely not be mobile suitable?

Never had time to look as complaints flooded in that PM's were not working, i would say 40% of users on my site use this style:cool:

dartho 16 Jun 2013 04:23

Quote:

Originally Posted by Bounce (Post 2428365)
none of this worked for me... running 4.2.1

I added the plugin but as soon as i clicked back onto forum link it brought up the default style :eek: when choosing 'mobile' in the style chooser it wouldnt change it back

I just successfully tested this on a 4.2.1 site. Try logging out and testing as a guest or standard user.

dartho 16 Jun 2013 04:30

Quote:

Originally Posted by edytwinky (Post 2427896)
dartho any suggestion on why the word array comes up when looking at poll voter history?

Edit the pollresult template and replace the contents with this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


dartho 16 Jun 2013 05:46

Quote:

Originally Posted by Bounce (Post 2425091)
Also in 4.2.1 there is 'array' showing on users online link

ediy WHOSONLINE template and replace
<span>{vb:raw onlinebits}</span>

with


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


edytwinky 20 Jun 2013 16:11

Quote:

Originally Posted by dartho (Post 2428407)
Edit the pollresult template and replace the contents with this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Fixed. Thanks!

mobile logo
by Guest200721
12 Jul 2013 06:32

We downloaded the new Lightweight for vb4.2.1 as you said a few weeks ago.

I can't get our logo to show at the top . Is there a size limit? I'm pretty sure I have the right directory and titlename path. Does the logo have to have a certain name?

Thanks!

dartho 14 Jul 2013 01:59

edit the lightweight.css.php file and search for $Logo="images/misc/mobilelogo.png"; and modify accordingly, or edit/overwrite the images/misc/mobilelogo.png file itself

Guest200721 14 Jul 2013 03:42

I overwrote the image but it didn't work. The little cell phone is gone but my logo isn't there.

UPDATE: the image was named mobile.png. I renamed my logo and all is well!

THANKS!

jramos1973 14 Jul 2013 15:05

Quote:

Originally Posted by The Rocketeer (Post 2323050)
Hi, I think we are finally ready to move on to the default vBulletin theme, But before that I wanted to share the vB CMS Article pages, I saved these two files, AFAIK this worked well with our CMS and should work with your too.

All the best and thanks for the Style and effort. :up:

Thanks you, very much.. installed in web page :) NewGenteBlackBerry

PD : Excuse me for Bad English.. I Don´t Speak English very well..

:D :up:

craigvm 30 Jul 2013 17:10

hi i was using this but decided to change colors and messed them up so i removed it but when i try to upload it again i get this server error


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Web Server at fordmodified.co.uk

any idea why

dartho 31 Jul 2013 00:20

Are you re-uploading the lightweight.css.php file also? Messing this file up could possibly cause server errors as as simple as it is, it is still PHP.

If you are uploading it - try deleting it and seeing if you then get errors - you should get a very simple bland style - and then upload a fresh copy again and see how it goes.

craigvm 31 Jul 2013 08:54

Quote:

Originally Posted by dartho (Post 2436186)
Are you re-uploading the lightweight.css.php file also? Messing this file up could possibly cause server errors as as simple as it is, it is still PHP.

If you are uploading it - try deleting it and seeing if you then get errors - you should get a very simple bland style - and then upload a fresh copy again and see how it goes.

just tried m8 and still the same

dartho 02 Aug 2013 04:44

Which did you try? Removing the lightweight.css.php or replacing it? If you get errors after removing it, your problem lies elsewhere...

craigvm 02 Aug 2013 12:32

Quote:

Originally Posted by dartho (Post 2436646)
Which did you try? Removing the lightweight.css.php or replacing it? If you get errors after removing it, your problem lies elsewhere...

yes i tried both and as said every other theme installs fine

Bob Meta 05 Aug 2013 20:49

I apologize if this has been asked earlier, but I could not find it while scanning through earlier posts. I have installed this style for our forums and it works perfectly and had no issues with the install. However, I can't find a "register" button anywhere on this style, so new users need to go to the Full Site in order to register. Am I missing something?

Thank you for the style!

Currently using vB 4.2.1

clayt101 06 Aug 2013 22:36

Quote:

Originally Posted by dartho (Post 2423865)
just install this one as a new desktop style

Pretty new with this, but I wanted to give it a shot...

I think I did everything correctly...I put the contents of the "upload" folder on their corresponding folders on my FTP site.

I tried making it both a desktop style and a mobile style; however, both times I got the error saying it was made for 4.1.8.

I went into the xml file and changed it to 4.2.1....will that mess anything up (saved as a mobile style)?

dartho 06 Aug 2013 23:00

That shouldn't mess things up - but you have an option to ignore version when importing, although there might be changes since 4.1.8 not compatible with 4.2.1

@Bob Meta - sorry, I never did the registration screens

Bob Meta 07 Aug 2013 18:27

Quote:

Originally Posted by dartho (Post 2437568)
@Bob Meta - sorry, I never did the registration screens

Thank you for the response! I did notice that first time users will see the "If this is your first visit, be sure to check out...etc" message, and that does include a registration link. The registration form appears to be functional, although formatting is a bit off.

Do you have plans to add a more permanent registration link/page in the future?

Edit: I would like to add that despite not having a registration link, I still far prefer this mobile style over vb default. It's faster and MUCH easier to navigate.

rughis 08 Aug 2013 09:46

Quote:

Originally Posted by rughis (Post 2419926)
Can I do something to fix?
I don't use vB Mobile Style. Uninstalling it can fix the problem or I have to do something else?

Thank you for your help

Hi Dartho, I've tried to further understand the problem, but without success :(

I deleted vB Mobile Style and I reinstalled the lightweight style from scratch, but now I receive the message "Array" on whoisonline.

Edit: SOLVED!!!

http://www.vbulletin.org/forum/showp...postcount=1061

heyzeus909 10 Aug 2013 03:14

Is there any way for an option to upload/attach pictures? A 'manage attachments' button, or a link - anything would be great.

dartho 10 Aug 2013 12:56

adding attachments is already an option...

heyzeus909 10 Aug 2013 23:15

I only see the option when submitting a new thread, not when replying.

Example

trigatch4 13 Aug 2013 21:39

Any chance you would update your vB 3.8.7 style to look more like this?

I've been scouring the web for days looking for a suitable 3.8.7 mobile style but pretty much everything is horrendous and our site is too large and customized to move to 4.X+

Would pay to have this done...

dartho 14 Aug 2013 05:19

Quote:

Originally Posted by trigatch4 (Post 2438715)
Any chance you would update your vB 3.8.7 style to look more like this?

I've been scouring the web for days looking for a suitable 3.8.7 mobile style but pretty much everything is horrendous and our site is too large and customized to move to 4.X+

Would pay to have this done...

Check it: http://www.vbulletin.org/forum/showthread.php?t=263822 :up:

tareqbd 17 Nov 2013 14:52

Anyway to make dbtech advance registration work with it?

dartho 18 Nov 2013 11:47

I don't know/use that mod - what doesn't work?

deprich 26 Nov 2013 16:41

I found the following error for me:

When i do a "New Posts" search, the links for "Last page" are broken. Usually it should be something like that:

http://www.example.com/f99/thread-name-9999/index999.html

But it is something like that:

http://www.example.com/f99/thread-name-9999/index999Array.html

Of course the "Array" is the mistake and i guess there is something wrong in a template for the search, but i couldn't find where, what and why. I use the Style with vB 4.2.0.

Any Fix for that problem would be very helpful.

asabet 31 May 2014 02:28

First, thanks for this awesome style. Donation sent. Second, is there a way to use CSS to resize images similar to how the Stylevar works for the default vB4 style?

The reason I ask is that this Lightweight style seems to load images full size briefly, and then they resize down to 200px. Sometimes this doesn't seem to happen smoothly, and on some phones, it results in wacky formating (horizontal scrolling, yuck).

The default style resizes to whatever you've set as image_max_size in the StyleVar prior to loading the image, which seems to work better. Any way to do something similar here?

Thanks again!

asabet 02 Jun 2014 00:58

Quote:

Originally Posted by dartho (Post 2277273)
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.

I solved my image resizing problem by adding this at the end of the aforementioned CSS file:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


asabet 08 Jun 2014 02:51

Quote:

Originally Posted by Mark.B (Post 2293179)
Those with the "<br />" issue.

I have just spent an hour or so sorting this out and I think I have a solution. I think this only works if you have the lightweight style options hack as well.

The issue: Reply to thread still uses CKEditor. If you switch the template back to a simple textarea, as it was before, the quote isn't passed.

To fix:

Copy the contents of template editor_toolbar_off to editor_ckeditor.

This gives you the quote, but gives you all sorts of <br /> tags and other HTML stuff.

This issue is caused when the user has the WYSIWYG set, so we need to turn that off in the mobile style.

Add the following plugin:

Product: Lightweight Style Options
Hook Location: editor_toolbar_switch
Execution order: 5
PHP Code:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Give it a whirl, seems to have worked for me.

Thanks, that worked great for me. I don't use the Lightweight Style Options product, so I altered it as follows:

Product: Vbulletin
Name: Disable WYSIWYG for mobile style
Hook Location: editor_toolbar_switch
Execution order: 5

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

where X is the # for my mobile style

asabet 08 Jun 2014 16:29

Another change I made was to put this for headinclude so the page doesn't autozoom during post edit or reply:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Bounce 12 Jul 2014 19:11

Anyone able to add code to delete a private message when in usercp?

What template is the private messages?

dartho 16 Jul 2014 10:41

Adding something like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to the bottom of the pm_showpm template should do it, I think ...

Twikitero 21 Jul 2014 20:38

Is it possible to replace the mobile style that comes with vbulletin default for this style?
Thanks

EDIT: SOLVED

Twikitero 21 Jul 2014 21:39

I have a problem, when I go to my site from a mobile forum automatically detects correctly but an annoying zooming, as could edit this to be displayed without having to zoom out completely manually.
Thank you
this is my site if you can visit it http://www.thisiphone.com/forum.php from a mobile so you can view

Mark.B 21 Jul 2014 22:26

Quote:

Originally Posted by Twikitero (Post 2507676)
I have a problem, when I go to my site from a mobile forum automatically detects correctly but an annoying zooming, as could edit this to be displayed without having to zoom out completely manually.
Thank you
this is my site if you can visit it http://www.thisiphone.com/forum.php from a mobile so you can view

A a guess, it's to do with your header....have you altered the header template at all?

Twikitero 22 Jul 2014 14:38

Quote:

Originally Posted by Mark.B (Post 2507686)
A a guess, it's to do with your header....have you altered the header template at all?

Thanks for your response, but I have not made any changes in this template style Lightweight.
¿You know how I can solve this error?
Thanks

Mark.B 22 Jul 2014 17:24

The code in red below causing your issue:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Twikitero 22 Jul 2014 17:43

Quote:

Originally Posted by Mark.B (Post 2507806)
The code in red below causing your issue:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I'm trying to find the code but can not find it in any template

Mark.B 22 Jul 2014 17:46

It might not be in a template, in fact I'd suggest it probably isn't, since it'd be pointless setting a min-width like that on a mobile style.

I'd start with your plugins, see if anything is adding it there. Also check the css file that comes with this style, make sure nothing has been altered in there.

My guess is that something is applying this min-width value with the intention of it applying to the normal desktop style, but it is also affecting the mobile style. Hence why a plugin could be the culprit.

Twikitero 22 Jul 2014 18:01

The problem I've seen is that when they enter the forum style can not completely load automaticaly, I pulse "Desktop version" and therefore selected the Lightweight style manually and load perfectly.
I am desperate to fix this, and not know what else to edit

Twikitero 22 Jul 2014 19:01

1 Attachment(s)
I think it is solved.
The problem was this option
http://i.gyazo.com/ea170c29140dc3d4962753cfe75803b1.png
I Was enabled this option, disable it and I think now if you load the Lightweight style perfectly

Does someone could come to my forum from mobile and check if it is working well the dimensions ? Mark.B Thanks for your help.

Mark.B 22 Jul 2014 19:12

Looks perfect now...glad you got it sorted.


All times are GMT. The time now is 09:42.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, 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.