Question PHP-Code for Sideblock?

Status
Not open for further replies.
Website
http://www.bazamba.com
Forum version
vBulletin 4.1.x
#1
hello,

i have problems to show the spotlight in the sideblock. on vbulletin.org i found a screenshot with php-code in the block editing options

block.png

after my installation the field is empty and text is selected. have i missed something or installed it wrong?

or could you please post the code to insert here?

best regards
 

Ozzy47

Customer
Former Developer
#2
Code for the Content Field:

Code:
global $vbulletin, $vbphrase;

	if (($vbulletin->options['dbtech_spotlight_location'] == 3) && $vbulletin->options['dbtech_spotlight_enabled'])
	{
		require_once(DIR . '/dbtech/spotlight/core/class_fetchuser.php');

		$spot_user = new FetchUserInfo($vbulletin);

		$spot_userdata = $spot_user->return_spot_user_info();

		return $spot_userdata;
	}
Code for the Template to Use Field:

Code:
dbtech_spotlight_userinfo_sideblock
Let me know if it works then.
 
Status
Not open for further replies.

User Spotlight

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
0
Customer rating
0.00 star(s) 0 ratings
Top