View Full Version : how to remove "promote to article" on post
CarpCharacin
12-26-2014, 02:34 AM
i disabled the cms in the plugin manager. It is still showing up "promote to article" on the posts and when i click on my username in the posts it pops up a little menu and n that menu it has an option to view the articles have made.
Fields
12-26-2014, 08:06 AM
Open up your style manager and choose "Edit Templates", now open up your postbit_legacy template and search for:
<vb:if condition="$promote_sectionid AND $promote_sectionid != -1">
<a href="{vb:raw promote_url}" class="promotecms">{vb:rawphrase promote_to_article}</a>
<span class="seperator"> </span>
</vb:if>
Delete those lines and you're done.
ozzy47
12-26-2014, 09:43 AM
That should not be showing. How is it exactly that you disabled it?
HM666
12-26-2014, 09:54 AM
That should not be showing. How is it exactly that you disabled it?
Yeah I was thinking the same thing...so I'm not crazy lol. I went and looked it up on google and could not find an answer. I could have sworn that it automatically stopped showing when you actually disabled it.
It could be though the option is still enabled for admins but others do not see that link, maybe that is what is happening.
ozzy47
12-26-2014, 09:58 AM
No, it should not even be available to admins. If the OP disabled it correctly, the only way those links would show up is if their is a missing conditional in the templates, or there is a mod over riding the condition.
HM666
12-26-2014, 09:59 AM
Ah ok that is what I thought. Well I'm glad that I'm not losing my mind lol.
ozzy47
12-26-2014, 10:41 AM
I would check the following.
Have you tried on a unmodified default style?
Have you tried with all mods disabled?
What vB version and PHP version are you running?
To temporarily disable all mods, edit includes/config.php file and add this line right under <?php add the following.
define('DISABLE_HOOKS', true);
So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.2
Use notepad++ (http://notepad-plus-plus.org/download/v6.6.8.html) to edit any files.
CarpCharacin
12-26-2014, 10:15 PM
i disabled it using the plugin manager. I unchecked all of the cms plugins.
Zachery
12-26-2014, 10:53 PM
You need to disable the CMS product, not disable its hooks/plugins.
ozzy47
12-26-2014, 11:04 PM
Zachary is correct, you should disable it that way. :)
CarpCharacin
12-26-2014, 11:09 PM
how do i do that? I went into the product manager and clicked disable but it just took me to where i could edit it.
UPDATE: I figured it out
ozzy47
12-26-2014, 11:12 PM
ACP --> Plugins & Products --> Manage Products then on the right choose Disable in the dropdown and then click on Go.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.