| Articles / Plug ins from How to install a style and changes to the templates for our free styles to add them into plug ins. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
|
April 6th, 2007, 09:04 AM
use it here - user cp -> edit options -- along with the post bit choice, legacy or modern . not my idea, just how its' done here. was originally discovered on vB.org - this is how we did/ do it and are using it : sorry no plug in : Add a new profile field : remember the field number : is the id : or from the User profile fields can get it : you will need only the number itself : ours is 14 . Admin-CP : User Profile Fields : Add New User Profile Field : Single-Selection Radio Buttons Title : Default Style Width Description : we use - can have html in it :
Guests are not allowed to view code. To enable the viewing of code, please click 'here' to register. 0 Options : Enter the options that the user can choose from. Separate each option with a new-line (carriage return). 770px 970px 80% 90% 95% 100% this can be in any order : the fist option is the default setting! 770px here . if you dont' wish them all, then dont' put them here - the plug in should be edited also, but is not necessary . Set Default : Will set the first non blank option as the default. : Yes Display Order : your choice Field Required: No : as it will use what is the first line or the default set in the plug in code or options . ( we also have it enable to show at registration ) Field Editable by User : Yes Private Field : your choice Field Searchable on Members List : your choice Show on Members List : your choice Optional Input : Allow user to input their own value for this option : No Max length of allowed user input : n/a Field Length : n/a Regular Expression :You may require the input field to match a regular expression (PCRE). n/a Display Page : your choice ( options other is where we have it ) ------------------------------------------------------------------------- Add a New Plugin : Admin-CP : Plugins & Products : Add New Plugin : Product : vBulletin Hook Location : This specifies the location within the vBulletin code of the hook that will fire this plugin function. golbal_start Title : Enter a title that describes this plugin. Style width Execution Order : Use this field to enter the order in which code at the same hook will be executed. would leave at what its' at unless you know what your doing . Plugin PHP Code : Use this field to enter the PHP code that you would like to be run.
Guests are not allowed to view code. To enable the viewing of code, please click 'here' to register. On ( or can turn it on later, wont' work unless its on ) change the field number 14 here to what yours is for the User profile Field . change the 100% to the default width you wish . do not edit any more than this unless you understand or know what you are doing . the ' must be there, where they are along with everything else ! formatting is very important. trouble reading or copying the code : thread options - Print may be easier to read/ copy the code. for our upDated styles, and those from April 06 2007 on. (members area will be finished no later than monday) in the header find :
Guests are not allowed to view code. To enable the viewing of code, please click 'here' to register.
Guests are not allowed to view code. To enable the viewing of code, please click 'here' to register. we use 480 for fixed and 600 for fluid if you have an older style ask, will need the style name and a link to see it. Kenj ![]() insanity leaves you no restrictions ! // support is available via the forums, post the apparent discrepancy or help needed . \\ |
|
June 2nd, 2007, 08:47 AM
is this showing up in the user cp ? if it is - check the plug in and make sure it is turned on / vBulletins default is off . Kenj ![]() insanity leaves you no restrictions ! // support is available via the forums, post the apparent discrepancy or help needed . \\ |
|
July 12th, 2007, 04:49 AM
is it enabled now for the styles width . is at 95% . was not a setting - if not could you add
Guests are not allowed to view code. To enable the viewing of code, please click 'here' to register. need to see if its doing the replacement ( looking at the source ) thinking the field number or if widths were changed maby 2 are not coiensiding properly . Kenj ![]() insanity leaves you no restrictions ! // support is available via the forums, post the apparent discrepancy or help needed . \\ |
August 11th, 2008, 02:09 PM
How about a shorter Code with just 5 lines... ![]()
Guests are not allowed to view code. To enable the viewing of code, please click 'here' to register. Acura/Honda Legend Forum Cologne's Honda Legend Enthusiasts Forum |
|
August 11th, 2008, 03:15 PM
nice -- should have thought of it but ![]() been a while since i figured out this way and this one is even better --thanks much .. . Quote:
Kenj ![]() insanity leaves you no restrictions ! // support is available via the forums, post the apparent discrepancy or help needed . \\ |
|
October 31st, 2008, 04:02 AM
the template is in the : admin cp -> expand : Styles & Templates -> click on : Style Manager. right side : expand the templates for the style : drop down menu or the button . the templates are in alphabetical order, or in groups - header is in the list. Kenj ![]() insanity leaves you no restrictions ! // support is available via the forums, post the apparent discrepancy or help needed . \\ |
![]() |
![]() | Bookmarks | ![]() |
![]() | Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | ![]() |
| Thread Tools | |
| Display Modes | |
| |
![]() |
Similar Threads | ![]() |
| Thread | Thread Starter | Forum | Replies | Last Post |
| Styles - Adjustable width - available here .. . | Santai | Announcements / news and updates | 0 | May 24th, 2007 05:34 PM |
| Adjustable width available for Fluid styles . | Santai | Announcements / news and updates | 1 | February 14th, 2007 03:57 PM |
| Cyb-advanced-stat width broke style | daman | Styles Support : free : | 2 | February 9th, 2007 04:36 PM |