PDA

View Full Version : Feature Request: Add Latest vbTube Videos


usacarry
02-04-2009, 06:28 AM
This would be a nice feature to add to my newsletters. Pretty much just like you have for vBPicGallery.

Greg
02-04-2009, 09:34 AM
You can link to them, but you cannot embed in the email that I am aware of.

Greg
02-04-2009, 11:58 AM
Link me to the code and I'll have a look.

usacarry
02-04-2009, 12:32 PM
I was thinking the same thing I have above my forums here would be cool:

http://www.usacarry.com/forums/

I'm currently using:
// --------------------------------------------------------------

// Random Media on TOP

$fontsize=1;
$titlecount=20;
$ltop_count = &$vbulletin->options['vbtube_topbit_count'];
$vbtube_table = &$vbulletin->options['vbtube_table'];
$tubes_top_get = $vbulletin->db->query_read("
SELECT tubeid, title, link,link1img, tube, reviewid
FROM " . TABLE_PREFIX . "vbtube_tubes
WHERE active=1 AND tube='' ORDER BY rand() LIMIT $ltop_count");

while ($tubes_top = $vbulletin->db->fetch_array($tubes_top_get)){
if($tubes_top[reviewid]) {
$tubes_top[link] .= "&t=" . $tubes_top[reviewid];
}
$tubes_alt_title = $tubes_top[title];

$howmany = strlen($tubes_top[title]);
if($howmany>"$titlecount")
{
$tubes_top[title]=substr($tubes_top[title], 0, $titlecount);
$tubes_top[title].="...";
}
eval('$latest_top_result .= "' . fetch_template('vbtube_latest_top_result') . '";');
}
eval('$latest_topbit .= "' . fetch_template('vbtube_latest_top_bit') . '";');

// --------------------------------------------------------------

// --------------------------------------------------------------

But I'm waiting for a working vbseo version.

http://www.vbtube.com/forum/miscellaneous/678-recent-random-media-without-vba-forumhome.html

Greg
02-04-2009, 12:45 PM
That can be done. It will require additional templates and functions however. I can't promise a timeframe to do it right now though. I have one project to finish today and then I am going to do the new pure custom html add on for EZ NewsLetter and hopefully have that out next week.

Then I have to get the scrollshow for vBPicGallery integrated and published. It's a balancing act.

usacarry
02-04-2009, 12:53 PM
What are you talking about? Sounds like you have nothing to do! Just joking, whenever you can get to it is fine. I just thought it would be pretty cool. I'm using the random videos on the forum but the latest videos code might be better for the newsletters.

Greg
02-04-2009, 01:07 PM
Glad to help. I think it's a benefit to include code for the add on packages that are popular. That one is popular I'm sure.

usacarry
02-04-2009, 01:18 PM
I'm sure the more accommodating you make this product the better it will sell. It has already paid for itself within the first could of hours of sending my first newsletter.

Greg
02-04-2009, 01:40 PM
I knew it was too cheap! :p

That's great news. Thanks for sharing that. I hope the word gets out.