The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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? |
#2
|
||||
|
||||
![]()
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.
|
#3
|
|||
|
|||
![]()
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? |
#4
|
||||
|
||||
![]()
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']"> <h3 class="blockhead">{vb:rawphrase additional_options}</h3> a whole bunch of stuff.... </vb:if> |
#5
|
|||
|
|||
![]()
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 |
#6
|
||||
|
||||
![]()
All you need to do in the plugin is literally set it to false:
PHP Code:
|
#7
|
|||
|
|||
![]()
thanks! it worked!...
and to disable Posting Permissions information when you create or reply a thread? |
#8
|
||||
|
||||
![]()
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.
|
#9
|
|||
|
|||
![]()
the only related thing i could find in showthread for example, is
Code:
<div id="posting_rules" class="thread_info_block"> {vb:raw forumrules} </div> Code:
{vb:raw forumrules}=false |
#10
|
||||
|
||||
![]()
I said it was in the template called forumrules. There is a condition at the top of it. You can add to that condition.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|