View Full Version : Does any one know how to change ID OF STYLE?
Alexey?
11-19-2009, 11:35 AM
Does any one know how to change ID OF STYLE?
like my style id is now 213, and i want to change it to 2 or 1, is it possible?
Floris
11-19-2009, 12:44 PM
something like this?
untested:if($this == 'that') // change the condition if you need one
{
$styleid = 2; // change to the styleid you want
$styleid = intval($styleid); // Get the integer value
} hope that's what you were looking for
oh hook: style_fetch
Alexey?
11-19-2009, 03:51 PM
where i can find this hook?
and i didn't understand the condition?
Alexey?
11-20-2009, 06:17 PM
help?
Do you want to "rename" style 213 to be style 2 or 1, or do you want to show style 2 or 1 if someone selects style 213?
Alexey?
11-21-2009, 09:07 AM
each style has it ID. right?
lets say i have style that his id is 213 and his name is Main-Style,
i would like to change only the style id so it will be instead of 213 : 2
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.