![]() |
restricting addons and mods
when adding any mod it attaches itself to all styles - is there any way to stop that and just have them on nominated styles
i would like to keep default just as it came from vb with nothing added or modified |
create a plugin using the style_fetch hook location. Something like:
PHP Code:
|
thanks Lynne - will try - i am sure i will be back for more help - but will as you suggest 'play with it'
|
hmmmm - have tried all i know - which is not much so a question or two
looking at your code - do i put the plugin name where you have the red text i have been testing it with a plugin called 'Members who have Posted' - have tried it with that and with - Members_who_have_Posted the mod has the product ID 'paulm_wpt_38' - have also tried that non of those worked the style ID is 2 - so i entered that - i am assuming the 'zero' at the end turns the named plugin off but i am just guessing in the dark really |
As I said in my post, you need to get the setting name from the settings page. Sometimes you may hover over it and see the name ($vbulletin->options ['whatever']), but sometimes you need to look in the page source and find the form name/value. It's not the product id. This is the line you would look at as an example in the page source:
HTML Code:
<tr valign="top"> |
thanks lynne - i understand that now - you have to allow for me knowing nothing about programming - i can add things and work things out but thats all
so if its not 100% clear then i am lost |
I was exactly where you were four years ago. The best thing I did was set up my test site and play with stuff there.
|
got a couple to work - sort of followed your advice and wandered off at a tangent but it worked - but from there on one that adds smileys to quick reply i am stuck - cannot find the name that i need
still am pleased i am getting somewhere - its all interesting |
All times are GMT. The time now is 06:23 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|