The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]()
Hey,
I'm hoping someone could help me obtain a little bit less noobishness in the more NOT out of the box stuff for vB. First of all, I'm trying to create a new RSS feed post. The URL for the rss ishere: http://afterworld.ru/rss.xml That works fine in the browser and an XML validator also couldn't find anything wrong with it, but apparently vB decided there's a mismatched tag on line 5. I googled, but did not really find anything helpful, so I figured I'd give it a shot here. Then I also have a problem with a scheduled task I tried setting up. I followed instructions I found somewhere, and created my php file in notepad, added a simple SQL UPDATE query as the only task to perform, and dumped it in the /includes/cron folder. The code for the page is really simple: Code:
<?php /*======================================================================*\ || #################################################################### || || # Update signature posts for users who added their signatures later || || #################################################################### || \*======================================================================*/ // --------------------------------------------------- // Start Set PHP Environment // --------------------------------------------------- error_reporting(E_ALL & ~E_NOTICE); if (!is_object($vbulletin->db)) { exit; } // --------------------------------------------------- // Start Cronjob // --------------------------------------------------- global $vbulletin; $vbulletin->db->query("UPDATE post SET showsignature = 1"); // --------------------------------------------------- // Log action // --------------------------------------------------- log_cron_action('Signature posts have been updated', $nextitem); // --------------------------------------------------- // End Cronjob // --------------------------------------------------- ?> Thanks in advance for any pointers. Regards, Peter |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|