![]() |
this work great for vbulletin 4.1.1, thanks
Quote:
|
Works on 4.1.4 THANX!
|
1 Attachment(s)
Hey.
Why there are no separators ? Thanks. |
not working on my 4.1.5.... sql errors
|
It's not working on 4.1.6 .
This version of the code is working for me: https://vborg.vbsupport.ru/showpost....79&postcount=5 |
it is possible to add image's article?
|
I have this code:
ob_start(); // Current Week Most Viewed $mostpopularweekget = vB::$db->query_read(" select ".TABLE_PREFIX."cms_node.nodeid as nodeid, ".TABLE_PREFIX."cms_nodeinfo.title as title FROM ".TABLE_PREFIX."cms_node, ".TABLE_PREFIX."cms_nodeinfo where ".TABLE_PREFIX."cms_node.nodeid = ".TABLE_PREFIX."cms_nodeinfo.nodeid AND ".TABLE_PREFIX."cms_node.setpublish = 1 AND ".TABLE_PREFIX."cms_node.publishdate >'".$starttime."' ORDER BY ".TABLE_PREFIX."cms_nodeinfo.viewcount desc LIMIT 10; "); $outputbits = ''; while($article = vB::$db->fetch_array($mostpopularweekget)) { $outputbits .='<div class = "cms_widget_post_bit"><h4 class = "cms_widget_post_header"> <a rel="nofollow" href="content.php?r='.$article[nodeid].'">'.$article[title].'</a> </h4> </div>'; } $output = $outputbits; ob_end_clean(); Can we add a bullet at the begining of each article title ? Thay are not separated at all . |
Sooo... I think I'm noticing a discrepancy... the link has it go to the article plus nodeid, for instance, on my site it's:
http://www.homenetworkenabled.com/content.php?r=129 The actual article address is: http://www.homenetworkenabled.com/co...edia-appliance Which includes the "SEO URL Alias"... both get there, but it appears to be making the viewcount inconsistent... Any way to include the SEO URL Alias so it goes to the correct URL? |
I think I've done what I've mentioned in the post above, who knows if it's right though... you can see it http://www.homenetworkenabled.com
PHP Code:
|
Quote:
|
All times are GMT. The time now is 07: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:
|