SamirDarji |
02-28-2011 03:59 AM |
I have created a vba module that combines the information from this plugin and Paul's Members Who Have Visited Today plugin. The only problem is that I'm not a programmer and I couldn't find a way around just incorporating a chunk of Paul's code into the php file for the vba module. :(
If anyone knows how to pull out the $gueststoday variable by using code similar to this that was used in the vba php file for the Members Today module, I could revise my php to just pull the information vs regenerating it and release the vba module.
Code:
($hook = vBulletinHook::fetch_hook('forumhome_start')) ? eval($hook) : false;
$whotoday = str_replace( "member.php", $vbulletin->options['bburl'] . "/member.php", $whotoday);
eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_todaysOnline') . '";');
(This code is from this module created by Tom M
http://www.vbadvanced.com/forum/showthread.php?t=33815)
Paul if you have any suggestions, I'm open to that as well. :)
Thank you for your plugin! Now my users will see how many hundreds of guests are reading their posts.
|