View Full Version : How to force all pages
kernel
04-28-2006, 06:18 PM
I'm wondering if it's possible to force all pages to use the same plugins like the homepage for the left and right column? And after this if it's needed to change anything but for any page/column....
Its very important! Will safe me like 2 days for my site with over 200 pages!
Just put a link to the plugin directly in your skin
<?php include('plugins/p2_news/news.php'); ?>
kernel
04-29-2006, 04:28 PM
<div class='quotetop'>QUOTE(spib @ Apr 29 2006, 02:21 PM) 5460</div>
Just put a link to the plugin directly in your skin
<?php include('plugins/p2_news/news.php'); ?>
[/b]
I found a better way:
UPDATE sd_pagesort SET pluginid=10 WHERE displayorder=11;
pluginid is pluginid , and displayorder is the number where the plugin should be placed on all pages... ;)
abcohen
04-29-2006, 07:24 PM
thats totally the way i was going to tell you to run it would have been a SQL statement
kernel
04-29-2006, 09:46 PM
Do you have an idea how to find the ID of custom made plugins?! Or anyone .. ?
abcohen
04-29-2006, 10:55 PM
try to place the custom plugin and then look at the table dump but I believe its as simple as c1 or something along those lines
kernel
04-30-2006, 01:23 AM
Yep, I though that this would be the solution. But what query to use? Also how to use it only for any page, assuming its home page for example ?
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.