vBulletin Mods

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

Twikitero 22 Jul 2014 16: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 16: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 17: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 18: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 18:12

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

Twikitero 22 Jul 2014 18:14

Quote:

Originally Posted by Mark.B (Post 2507830)
Looks perfect now...glad you got it sorted.

Ok I appreciate much your help, thanks.
It seems incredible that a simple option was burning me so much lol
Thanks

Twikitero 24 Jul 2014 20:17

Someone know any way to add the latest forum topics and replies?
Would be great if this was implanted in a Light version
Thanks!!!!

dartho 01 Aug 2014 06:29

Not sure how compatible this stuff is, but this may work:

edit your CSS file and add:


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

alternatively you could edit the editor_ckeditor template and add the following to the top


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


then edit the pm_newpm template and replace


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

with


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

and that might do it

Alan_SP 01 Aug 2014 22:14

Excellent, at last I can quote PMs in your skin. :up:

It works, at least for me.

broncoshq 15 Aug 2014 10:43

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

I appreciate your reply, while coming across quite hostile, I understand where you are coming from.

I thought DB Tech was quite well known, so didn't think I would need a link sorry. The addon my users request the most is DB Tech Advanced Likes/Thanks (http://www.dragonbyte-tech.com/produ...t-thanks-like/)

I appreciate the advice in regard to adding the hooks, and things of that nature. Unfortunately that is outside of my skill set. Hence I asked the question. I'm sorry if it bothered you in some way.

Azum 14 Sep 2014 23:07

Great style, anyone added tabs to the member.php (view profile) yet?

Azum 14 Sep 2014 23:41

Question, if you allow style choices, will this override the choice with the default style every time the user logs in on a non-mobile device?

Quote:

Originally Posted by dartho (Post 2412492)
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 17 Sep 2014 14:53

i think it will give them whatever they have chosen

Azum 17 Sep 2014 15:12

I found that just using the below by itself along with built in VB mobile detection works fine. There was no need for the plugin.

Quote:

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


Azum 17 Sep 2014 23:00

Small contribution for deleting PMs. The code provided almost works, but need to change it to:


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

Quote:

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



All times are GMT. The time now is 05:08.

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.