| 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 |
August 20th, 2008, 05:35 AM
Ken, do you know whether it's kinda possible to overwrite the $stylevar and its value for Guests only? Guests have a different Forum view because my $stylevar value is currently at '0' (Picture 2) and for me the best view. But for Guests the view is kinda too wide (Picture 1). Best would be for Guests: $stylevar['spacersize']= '25px'; and for Members: $stylevar['spacersize']= '0px'; So I tried in creating a seperate Plugin as follows...
Guests are not allowed to view code. To enable the viewing of code, please click 'here' to register. Thank you in advance -Mike
Acura/Honda Legend Forum Cologne's Honda Legend Enthusiasts Forum |
|
August 20th, 2008, 05:52 AM
vb edits this when it process the php and no of no way to over wright it - not much of a php coder ![]() if i needed to do it would hard code it into the "spacer_open" template with a conditional. assuming that the spacer is set at "0" this should work: spacer_open
Guests are not allowed to view code. To enable the viewing of code, please click 'here' to register. Kenj ![]() insanity leaves you no restrictions ! // support is available via the forums, post the apparent discrepancy or help needed . \\ |
August 20th, 2008, 08:19 AM
Quote:
![]() Quote:
Thank you so much for your help, Ken Acura/Honda Legend Forum Cologne's Honda Legend Enthusiasts Forum |
|
August 20th, 2008, 08:27 AM
never a problem -- as i learn something every day. vB has a lot of options, and conditionals is some times easier ![]() just ask and will help out all i can, sharing what we know is good. Quote:
Kenj ![]() insanity leaves you no restrictions ! // support is available via the forums, post the apparent discrepancy or help needed . \\ |
August 20th, 2008, 08:33 AM
So I hope to get a chance to return the favor. Let's see... Acura/Honda Legend Forum Cologne's Honda Legend Enthusiasts Forum |