![]() |
Anything in the error logs?
|
It's not the mod you helped with, it's a fresh mod I'm making stylevars for.
|
If you pm me the XML file on my site, I can look at it later today.
|
Quote:
Code:
if ($vbulletin->options['url_active']) { Code:
text-decoration: $decoration; |
How do I go about adding a setting from a mod into a plugin?
I want to add an input box into my mod which an admin can enter a URL or name etc, then have the setting output the value via a plugin. --------------- Added [DATE]1413282284[/DATE] at [TIME]1413282284[/TIME] --------------- I know I can add this to a template: Code:
{vb:raw vboptions.this_settings} I suppose I would be better off creating a template, putting my code inside it, then running a plugin to call the template to insert it inside the showthread template? |
Kinda hard to say without 1, seeing your code, 2, knowing what it is you are trying to do and 3, knowing what the expected end result is desired.
|
Sorry, I was in the middle of making it work. I got it in the end. I am looking for your help ozzy, I will PM you my question.
--------------- Added [DATE]1413304843[/DATE] at [TIME]1413304843[/TIME] --------------- Looking for a way to show all available forums so I can make my mod work on only chosen forums. Any tutorial about how to achieve this? |
Is there a way to remove a chunk of code from a template using plugins? I know about the str_replace function but what about removing 20 lines from a template?
SHOWTHREAD template for example, how would I remove this: Code:
<vb:if condition="$show['threadrating']"> |
Why remove or hide the code, just set the $show['threadrating'] to false.
|
Because I want use the etiket template mod to put the options above the thread.
|
All times are GMT. The time now is 10:03 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:
|