View Full Version : Does Most Commented work on browse?
09-19-2005, 05:33 AM
I uploaded the addon, no matter where I put the Most Commented tag in browse template, it will display not only the most popular 5 images, it also displays all the thumbnails! If I put in about or link template, it is ok. Why!?!?
09-19-2005, 02:36 PM
you probably still have the thumbnails tag included in browse?
09-19-2005, 05:04 PM
yeah I have the thumbnail tag there. So it ends up with 2 list of thumbnails?! One is the one I put, the other one is due to the most commented tag.
09-19-2005, 05:30 PM
well yeah. the thumbnails and most commented images are entirely different scripts.
so basically they just ignore eachother - thumbnails won' be affected by most commented images. if you don't want the normal thumbnails then you need to remove the tag.
09-19-2005, 06:17 PM
I do not quite understand. Does the most commented tag includes displaying thumbnails too!? I would like to keep my thumbnail tag because I customize it. But I would like to have the 5 most commented pictures info, but NOT displaying thumbnails again. When I put most commented tag in about page, it only displayings the 5 most commented pics, not the thumbnails.
09-19-2005, 06:43 PM
i have no idea what you're talking about now. this is lost on me.
maybe a link to the problem would help!
09-19-2005, 07:27 PM
the browse page wont take the tag? i think that's what we're talking about?
09-19-2005, 08:21 PM
The browser page takes the MOST COMMENT tag, but it not only displays the 5 most popular photos, it ALSO display all the thumbnails as well, is that supposed to happen?
09-19-2005, 09:09 PM
do you mean the thumbnails for your 5 most popular posts or ALL your thumbs?
09-19-2005, 09:46 PM
All the thumbs.
Did you mix both tags?? One for thumbs and one for comments??
09-20-2005, 12:04 AM
I already have the thumbnails tag in the browse template. Then I add most commented tag. Now the page displays all the thumbnails twice.
09-20-2005, 06:34 AM
still, a link would be very useful for understanding the problem!
09-20-2005, 10:40 PM
I have a hard time to create the situation to show you, because if I add my most commented tag now into browse_template.html, it will mess up the page, but if I copy it to another file eg browse2_template.html, it has no problem! Wierd.
See this : http://todayistoday.com/index.php?x=browse2, it looks ok. If I move this file back to browse_template.html, it will have all the thumbnails above the 5 most commented pictures.
09-21-2005, 02:28 PM
the reason you cant' see the thumbnails in browse2 is because the thumbnails tag only works under 'browse'.
looking at your 'browse' page it looks absolutely fine! it has the most commented list and your thumbs. looks good.
09-21-2005, 04:18 PM
I did not put most_commented tag in my browse page.
09-21-2005, 04:27 PM
oh yes. sorry - looking at 'recent' comments.
i still don't understand what the problem is though when you include the tag in your browse template! you seem to be complaining that you do not want all thumbnails on your browse page when you include the most commented thumbs - like i said ... most commented thumbs are not part of the same script. they are different scripts and will therefore both continue to work independently of eachother.
if you only want to show the most commented thumbs then just remove the standard thumbnails tag from your browse template.
09-21-2005, 10:54 PM
ok this is what I get when I get most commented tag in the browse page. Check the bottom :
It NOT only displays 5 most commented pics, it also displays all thumbnail (AGAIN).
09-22-2005, 06:40 AM
ahah! now i understand. it shows teh other thumbs twice! got it.
ok. now we've identified the problem! lol ... i'll look at the script once i'm home. see if i can figure this.
09-30-2005, 09:43 PM
I had the same problem when using the tag <MOST_COMMENTED> in the browse page.
In order to avoid that all the thumbnails are displayed before most commented pictures, in the file "most_commented.php" you have to remove the "." at line 52 :
$thumb_output .= "<table class=\"thumbnails\" cellpadding=\"0\" cellspacing=\"0\" width=\"$table_width\">";
so the line code will become :
$thumb_output = "<table class=\"thumbnails\" cellpadding=\"0\" cellspacing=\"0\" width=\"$table_width\">";
You can see the result here :
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.