![]() |
make a plugin to disable subscription and delete some style parts
hello!
every time i update my vbulletin, i get angry because i want to delete subscription, attachment and other options when i create a thread.. so..i have to delete those parts of my skin....but every time i update vbulletin, the vbulletin admin panel ask me to rebuild some parts of my skin i hated it! i want to definitivily delete those options and dont be asked again by the adminpanel to rebuild what do i need to do? make a plugin to delete all time those parts of my skin? |
Do you mean get rid of all additional options? You can just set $show['additional_options'] to false in newthread_form_complete. I don't know how well that would work - what it would do as far as the options you were supposed to pick. But, you can try it on your test site.
|
which is the syntaxis?
so i can write at the top of newthread something like ['attachment_options'] = false ['subscription_options'] = false ['PostingPermissions_options'] = false is that? |
No.
If you look at the newthread template, there is a condition around all the additional options: HTML Code:
<vb:if condition="$show['additional_options']"> |
thanks lynne...i now understand what are you saying,
but i have not idea which is the correct parameter i have to write in the plugin to set additional options to false i mean, im a noob programming, and i dont know the basic structure, also in vbulletin help there is no help about basic structure to set off a variable |
All you need to do in the plugin is literally set it to false:
PHP Code:
|
thanks! it worked!...
and to disable Posting Permissions information when you create or reply a thread? |
That has it's own template, forumrules. If you look at the top there, there is a condition. Just add in the condition to not include it for the newthread or newreply page.
|
the only related thing i could find in showthread for example, is
Code:
<div id="posting_rules" class="thread_info_block"> Code:
{vb:raw forumrules}=false |
I said it was in the template called forumrules. There is a condition at the top of it. You can add to that condition.
|
All times are GMT. The time now is 02:39 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:
|