![]() |
It's not updating, Joe. something is wrong, it also displays nothing if i change the category id from 4 to 2. at category id 4 it shows only 7 articles, but doesn't show anything newly added to that category. i cleared the cache, set the times to 5 min, 20 min, 1 hr. nothing worked :confused:
here's my code Code:
$mostpopularweek_get = vB::$db->query_read(" |
You should NOT be using the category ID...
You need to view the database and use the parentnode number- They aren't the same number as the categoryid but on my forum they seemed to follow (be unique) with the categoryid. That is to say the categoryid might be 3 and the parentnode might be 5... categoryid 4 might have a parentnode of 7. Make sure you are checking the parennode from the database. If you want/need to pull from multiple parentnode numbers then change the line to: Code:
WHERE |
That might be it, thanks but how do you get the parent node number off the database?
|
You need to view the table cms_node table in something like phpmyadmin.
|
Hi,
For this Widget, the PHP code for VBulletin CMS 4.1.12 on my portal is : Code:
ob_start(); http://soudeurs.com/piece-jointe/dis...s_plus_lus.jpg Thanks Best regards |
Not working for me on v4.2 is there an update?
|
Sorry but it is working correctly on V4.2
Using this code. PHP Code:
|
Quote:
cms_widget_post_bit widget_post_bit and you'll get the lines you want |
This thread is two years old. :confused:
|
Quote:
Hehe, bumping an old mod with info is better than replying, "never mind - I fixed it" and then not explaining how. ;-) |
All times are GMT. The time now is 09:45 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:
|