I'm actually just getting around to adding this, but the forum settings are missing from post#5. I know the template prefix must be "ytvgal_", but is there anything else I need to tweak in the forum settings for that forum?
EDIT: NVM...see it now.
How can I add lastest 3 videos to my index page?
Emmm... I don't get it My forum ID is 68, so I changed the 10 to 68 and put {$xtmost_view_video_video} on my index.php template and it doesn't work. Do I need to do something else aswell?
(I should be able to make it work now.)
PS: 'ORDER BY t.views DESC' This should be changed to? :x
Changed it to: 'lastpost DESC', lastthread doesn't work :<
Any idea what should I change it to if I want last thread, not last post?
(11-07-2011 03:07 AM)Zenk Wrote: [ -> ]PS: 'ORDER BY t.views DESC' This should be changed to? :x
Changed it to: 'lastpost DESC', lastthread doesn't work :<
Should be t.dateline DESC
(11-07-2011 03:07 AM)Zenk Wrote: [ -> ]and put {$xtmost_view_video_video} on my index.php templat
Should be
{$xtmost_view_video} variable.
Or maybe you can try this (attached). I've put the forum id=68 there.
Put
{$xtlatest_videos} variable on your index template.
Edit: Forgot to change one function name. Please re download it.
Thanks. Your attachment works perfect <3
If you want to change the layout, you can edit the templates provided by the plugin (
xtlatest_videos for table, and
xtlatest_videos_video for each video thumbnail), because I use my own .tborder class there
.
Xtlatest_videos_video actually suits my forum perfectly, I just changed the border to a dotted one. The other one was nearly there, although that part is easy xD. Thanks vm. You've done the hard part for me. ^^
Do you want it to be displayed as ProPortal block or just like an usual plugin?