Register Members List Search Today's Posts Mark Forums Read

Mod Options
Stylevar Search Details »
Stylevar Search
Mod Version: .6, by Dead Eddie (Coder) Dead Eddie is offline
Developer Last Online: Feb 2023 I like it Show Printable Version Email this Page

vB Version: 4.0.4 Rating: (5 votes - 4.80 average) Installs: 51
Released: 06 Jul 2010 Last Update: 08 Aug 2010 Downloads: 204
Not Supported Uses Plugins Additional Files Re-usable Code Translations Is in Beta Stage  

Frustrated using the Stylevar interface, I wrote a quick interface that allows admins to do the following:
  • View updated stylevars for the style (including stylevars updated in parent styles)
  • Search for stylevar by type (background, border, color, etc.)
  • Search for stylevar by value (see the note about this below)
  • Select multiple stylevars for editing
  • Revert multiple stylevars at a time
My idea was to create a stopgap until VBulletin 4.1 is released to still allow me to quickly and efficiently modify the style for my site.

Search by value was one of the key things I wanted to do. Unfortunately, the raw stylevar definitions are not stored, instead it's stored in the database as a serialized PHP array. As I didn't want to unpackage all the stylevars to do a simple search, I cheated. This means that searching for an integer will likely fail (searching for colors, images and strings should work).

Installation is simple. Import the xml file product-asp_de_stylevarsearch.xml, then copy the files up in their packaged directories. Likewise, to uninstall the product, uninstall it, and remove the files:


Hope you find it useful.

.01 - Initial Version
.02 - Updated to fix implode error when variable was null
.03 - Updated search to search for both the lower and upper case version of the value search.
.5 - Updated search to search both hexidecimal and RGB values. Additionally, I'm taking into account the shortcut hexidecimal notation. For example, searches for #FFF will also search #FFFFFF and (255,255,255), along with the lower case versions of these values.
.6 - Fixed "headers already sent" bug

Download Now

Only licensed members can download files, Click Here for more information.


Click image for larger version

Name:	Menu.png
Views:	205
Size:	21.1 KB
ID:	119343   Click image for larger version

Name:	Search by Type:Value.png
Views:	319
Size:	28.5 KB
ID:	119344   Click image for larger version

Name:	Stylevar Listing.png
Views:	436
Size:	50.3 KB
ID:	119345  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Old 04 Sep 2010, 23:15
Merjawy's Avatar
Merjawy Merjawy is offline
Join Date: Sep 2002
Location: USA
very nice indeed

makes life a bit well,, lets just say fun

Reply With Quote
Old 30 Jan 2011, 18:44
punchbowl punchbowl is offline
Join Date: Nov 2006
I don't think we can search stylevars by value in 4.1? We have
Show Only Customized StyleVars
now though.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

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

Layout Options | Width: Wide Color: