View Full Version : Mini Mods - [DBTech] User Spotlight v1 (vB4)
DragonByte Tech
11-30-2010, 10:00 PM
DragonByte Technologies are proud to present User Spotlight v1: A mini mod to show a random member on your forumhome page.
Why User Spotlight?
DBTech's User Spotlight mod lets you display a random member on your forum home page as a way to increase member commmunication.
-------------------------------------------------------------------------------------------
If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->
Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->
What does 'Marking As Installed' do ?
* It helps you to stay on top of updates - members who have installed modifications will be notified by us whenever new updates are available.
* For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.
* Marking a modification as installed also helps us know how many people are using our work, giving us extra incentive to provide more features and new modifications.
We appreciate the support!
-------------------------------------------------------------------------------------------
Priority support for this version is handled at the Developers Website.
-------------------------------------------------------------------------------------------
Major Features
ForumHome Integration: Members' details will show in the infobar on the forumhome.
-------------------------------------------------------------------------------------------
Feature List
Random user selected every night
Admin override of selected user
Admin variables to limit selected users by number of posts, reputation and days active
-------------------------------------------------------------------------------------------
This mod displays a copyright notification in the footer of the forum home page which includes:
1 Link to DragonByte Technologies homepage
1 Link to Product Description page of this modification
ozzy47
12-01-2010, 10:03 PM
Installed Looks Great!!
CrosseyedGamer
12-01-2010, 11:30 PM
works good.... Thanks.
Merjawy
12-02-2010, 12:38 AM
Good idea.. Thanks
Nephalim
12-02-2010, 01:52 AM
Sweet!
Dr.osamA
12-02-2010, 05:20 AM
installed
5 stars
can i translate it and add it her plzz ??
DragonByte Tech
12-02-2010, 05:30 AM
installed
5 stars
can i translate it and add it her plzz ??
Sorry, I forgot to check the Translation box. Yes, you can translate the phrases.
Dr.osamA
12-02-2010, 05:37 AM
thank you sir
translated phrases to Arabic
plzz be nice ana add the translation to original post
bada_bing
12-02-2010, 04:58 PM
Can we have a vbadvanced mod for this please?
COL NIL SATIS
12-02-2010, 06:40 PM
tagged...looks a good one this !!
ProFifaLeagues
12-02-2010, 09:51 PM
Cheers Db another Superb mod
Taurus1
12-03-2010, 12:01 AM
Thanks. Avatar is not displaying though.
ProFifaLeagues
12-03-2010, 05:26 AM
Thanks. Avatar is not displaying though.
We had the same issue but once i had changed the avatar it showed up fine!
DragonByte Tech
12-03-2010, 07:00 AM
Thanks. Avatar is not displaying though.
Taurus, what kind of avatar is it? Custom or stock? Stored in filesystem or database? The code cycles through and checks different scenarios so knowing the type of avatar will help troubleshoot the problem.
Taurus1
12-03-2010, 07:51 AM
It is a custom avatar, and stored in the filesystem. Thanks.
betts02
12-03-2010, 10:44 AM
Ok i have my avatars stored at /forums/images/avatars/
This is looking for them at images/avatars/
How can i change it ? Without having to move all the avatars to the path for this
Can i change the code where its asking for these ?
if so where, cheers
betts02
12-03-2010, 10:53 AM
Requests :
Make it so you can select it by usergroups so you can show just your members
Add reputation stats
Thread stats
Not to include any forums with permissions - Mainly due to i have certain sections in my forums only for admins, this shows i am most active in there, i dont want people knowing this
Just abit more info on each member really
S3Ponline
12-03-2010, 04:15 PM
Nice mod, however the avatar goes outside of the boundaries. It’s not neatly between the lines.
www.personalitynation.com/forum.php
COL NIL SATIS
12-03-2010, 07:23 PM
looks great on our site,top work DragonByte Tech ...rates 5 clicks installed
DragonByte Tech
12-03-2010, 08:00 PM
Just uploaded 1.1.0
Adds reputation
Adds Threads with link to search for user threads
Adds ACP option to disable reputation
Adds ACP option to set max width and height of Avatar
Adds ACP option to display below navbar or below Active Users
Will only display most active forum if user has permissions to view, will hide field if user can't view any of the forums
This should also fix the problem of looking for the avatar in the wrong directory, let me know if it doesn't.
ProFifaLeagues
12-03-2010, 08:22 PM
Just updated and looks great under the Nav bar but when we place it below the forums its missing the sides of the box it shows in!
Otherwise great and works well thanks again!
betts02
12-03-2010, 10:44 PM
Uploaded the new files an XML
The avatar is still not working
The path and the size are not showing correctly
DragonByte Tech
12-03-2010, 11:07 PM
betts, try the 1.1.1 file I just uploaded. I mistyped a variable.
You can get away with only uploading the files since the xml didn't change.
DragonByte Tech
12-03-2010, 11:08 PM
Just updated and looks great under the Nav bar but when we place it below the forums its missing the sides of the box it shows in!
Otherwise great and works well thanks again!
What kind of style are you running? I tried it on a few styles and I didn't run into that problem
ozzy47
12-04-2010, 04:33 AM
I have it enabled below navbar and added two images to the dbtech_spotlight_userinfo template to show there.
I need to know how to code the following so it shows to the right and center of spotlight user info. Demo here: http://www.myfriendsspace.com/forum.php
<a href="http://forumtoplist.gotop100.com/in.php?ref=147" target="_blank"><img src="images/vote_a.png" alt="Enter Top 100 and Vote for this Site !!!" border=0 align="top">
<a href="http://forumz.top-site-list.com/vote599.html" target="_blank"><img src="images/vote_c2.png?u=ozzy47" alt="Top 100 Forums" border="0" />
DragonByte Tech
12-04-2010, 06:06 AM
I have it enabled below navbar and added two images to the dbtech_spotlight_userinfo template to show there.
I need to know how to code the following so it shows to the right and center of spotlight user info. Demo here: http://www.myfriendsspace.com/forum.php
<a href="http://forumtoplist.gotop100.com/in.php?ref=147" target="_blank"><img src="images/vote_a.png" alt="Enter Top 100 and Vote for this Site !!!" border=0 align="top">
<a href="http://forumz.top-site-list.com/vote599.html" target="_blank"><img src="images/vote_c2.png?u=ozzy47" alt="Top 100 Forums" border="0" />
Are you talking about having the images on the same level as the user, one in the middle and the other on the far right?
betts02
12-04-2010, 06:57 AM
Works better but it just goes outside the line above as you can see here -
http://img163.imageshack.us/img163/683/fix0.png (http://img163.imageshack.us/i/fix0.png/)
betts02
12-04-2010, 07:14 AM
And if you have plans and can make it work, Select the users to show via usergroup
My site is an xbox 360 clan community and we have members and community members, I would only want this to show our members
ozzy47
12-04-2010, 11:58 AM
Are you talking about having the images on the same level as the user, one in the middle and the other on the far right?
No kinda have Images right of the spotlight info, center of block and the images horizontial not in a vertical line.
Bacically I am trying to fill the block up so their is not so much blank space.
SwollenCranium
12-04-2010, 12:54 PM
What kind of style are you running? I tried it on a few styles and I didn't run into that problem
Similar to this issue. Custom style.
http://swollencranium.com/forums/attachment.php?attachmentid=2191&d=1291474375
I made a donation as fuel for a fix !! :D
PreciseDemise
12-04-2010, 03:40 PM
Another great idea brought to the masses by DB-Tech, legendary guys, thank you =)
steve1966
12-04-2010, 08:10 PM
thanks i will give it a try
DragonByte Tech
12-05-2010, 03:18 AM
Similar to this issue. Custom style.
I made a donation as fuel for a fix !! :D
Thanks for the donation and for letting me use your site to test.
I figured out that vB doesn't like me using a couple floating div's there for some reason so I had to resort to tables. I got it working and looking good on your site. I rolled it back though so you wouldn't have to deal with reverting the template and all if I release another one and you need to update.
Let me know if anything is still off.
betts, I'll work on getting the display groups in there and release that soon.
SwollenCranium
12-05-2010, 11:51 AM
Thanks for the donation and for letting me use your site to test.
Donations are a MUST to ensure that Mod authors have a reason to keep putting in the HOURS it takes to get these mods to run.
I donate to show my appreciation as well as hoping to ensure future updates to mods, that make the Vb experience a more robust one, are still available during subsequent core software updates..
Shame on those that download and use a mod and never even so much as say "thanks" for the hard work. And a POX on those that download and then +++++ and moan about a mod that they are unwilling to support financially.
Time IS Money.
Also... works great now, Thanks !
Dr.osamA
12-06-2010, 12:40 AM
thank you for update
SwollenCranium
12-07-2010, 08:22 PM
betts, I'll work on getting the display groups in there and release that soon.
I'm not seeing the mod auto update. The same user has been displayed for over 24 hours, and only changes to the next user if I hit save in the mod cp settings.
How often does this update?
DragonByte Tech
12-08-2010, 03:26 AM
I'm not seeing the mod auto update. The same user has been displayed for over 24 hours, and only changes to the next user if I hit save in the mod cp settings.
How often does this update?
There is a scheduled task setup to run at midnight every night. Trying running the schedule task from the ACP and see if it changes.
Merjawy
12-12-2010, 08:35 PM
Lovely mod..
Permission are not working right.. users can see the Most Active In (forum) and as an Admin I might be active in private forums.. I know they can't get there when clicking it.. but not nice to even see the private forum.
Merjawy
12-12-2010, 09:00 PM
Also I just found out when I disabled it from Options.. It didn't get disabled .. I had to disable it from Products settings page
DragonByte Tech
12-13-2010, 03:12 PM
Lovely mod..
Permission are not working right.. users can see the Most Active In (forum) and as an Admin I might be active in private forums.. I know they can't get there when clicking it.. but not nice to even see the private forum.
Were you logged in as a test user or yourself when you looked at it? It shows the user who is viewing whatever forums they are allowed to view.
I'll check the disable function.
lycheepassion
12-13-2010, 06:27 PM
Doesn't work for me on 4.1 pl2 User Spotlight
Posts:
Threads: 0
Last Activity: 12-31-1969 07:00 PM
PSimmo
12-13-2010, 06:35 PM
installed and works great..
Any chance this might be able to be added as a side block at some stage?
Great Job!
Merjawy
12-14-2010, 09:22 AM
Were you logged in as a test user or yourself when you looked at it? It shows the user who is viewing whatever forums they are allowed to view.
I'll check the disable function.
Yeah I logged in as a user and I could see my Admin account in spotlight with private forum listed.. of course I couldn't go to it, but it is listed and that forum is not supposed to be known it exists by anyone other than few SMODs
ProFifaLeagues
12-14-2010, 12:18 PM
Be good to see this as a forum block if that's at all possible....
DragonByte Tech
12-15-2010, 05:45 AM
Also I just found out when I disabled it from Options.. It didn't get disabled .. I had to disable it from Products settings page
I fixed this on the version I just released.
Can you check the forum permissions on this one as well? I tested it and it works fine on my dev board. I created a user and new group, set the group to not be able to see my spotlight users main forum and it didn't show it in the section. Not sure why it wouldn't do it for you.
DragonByte Tech
12-15-2010, 05:46 AM
Requests :
Make it so you can select it by usergroups so you can show just your members
I put this in the 1.2.0 version
DragonByte Tech
12-15-2010, 05:48 AM
Doesn't work for me on 4.1 pl2 User Spotlight
Posts:
Threads: 0
Last Activity: 12-31-1969 07:00 PM
I just installed 4.1.0 pl2 and it worked fine. Can you manually set it to a user you know has good info? It looks like it's not picking anyone and the field is empty?
DragonByte Tech
12-15-2010, 05:49 AM
installed and works great..
Any chance this might be able to be added as a side block at some stage?
Great Job!
Be good to see this as a forum block if that's at all possible....
I'll try and get this in the next one. Plan on doing the side bar option and different run time options for selecting a new user. Hourly/Daily/Weekly
ProFifaLeagues
12-15-2010, 06:38 AM
Superb work as always thanks for the update!
robbiefritz
12-19-2010, 11:50 AM
May want to correct the heading shown below, both say the same thing 'Height"
Avatar Maximum Height
The maximum height of the displayed avatar.
Avatar Maximum Height
The maximum width of the displayed avatar.
DragonByte Tech
12-20-2010, 05:33 AM
May want to correct the heading shown below, both say the same thing 'Height"
Avatar Maximum Height
The maximum height of the displayed avatar.
Avatar Maximum Height
The maximum width of the displayed avatar.
Thanks for that :)
I just posted a new release, fixed the text before I posted it heh.
I also added the ability to specify if it refreshes the user hourly, daily or weekly. Fixed a problem with the scheduled task when run on vB3 and added the option to put it in the sidebar.
It's my first addition of a sidebar so please test it out before you put it on a production system. It worked fine on the 2 dev systems I tried it on but you never know :)
InTeNsE-HuMoR
12-20-2010, 09:57 AM
How can I get this mod to display where the X is in the attached screenshot?
Gemma
12-20-2010, 09:24 PM
Thanks for the update.
Only thing I noticed is that the template 'dbtech_spotlight_userinfo_sideblock' is uncached but fixed that myself.
Nice work :)
Merjawy
12-20-2010, 09:32 PM
I fixed this on the version I just released.
Can you check the forum permissions on this one as well? I tested it and it works fine on my dev board. I created a user and new group, set the group to not be able to see my spotlight users main forum and it didn't show it in the section. Not sure why it wouldn't do it for you.
Working great now.. Even as side block.. Thanks
Love the group permission too
Thanks again
DragonByte Tech
12-21-2010, 01:33 AM
How can I get this mod to display where the X is in the attached screenshot?
I'll look and see if I can find a hook in there to attach to.
Thanks for the update.
Only thing I noticed is that the template 'dbtech_spotlight_userinfo_sideblock' is uncached but fixed that myself.
Nice work :)
Thanks Gemma, forgot about adding that to the cache :) I uploaded 1.3.1 with that fix for those that don't know how to do it.
Working great now.. Even as side block.. Thanks
Love the group permission too
Thanks again
Glad to hear it's fixed for you now :)
customcolor
12-21-2010, 03:56 AM
works great!!!
i learned to follow the directions in order!!
InTeNsE-HuMoR
12-23-2010, 05:45 AM
I'll look and see if I can find a hook in there to attach to.
Any luck with that?
DragonByte Tech
12-24-2010, 04:40 AM
Any luck with that?
Yes and no. There is a template hook down there but any data you attach to that hook will just show below on the left side. I don't think I could find a way to display it on the right side without messing around with the FORUMHOME template.
cdoyle
12-24-2010, 07:34 PM
Are there any plans to modify this to work with VBadvanced?
ProFifaLeagues
12-24-2010, 07:55 PM
Thanks for that :)
I just posted a new release, fixed the text before I posted it heh.
I also added the ability to specify if it refreshes the user hourly, daily or weekly. Fixed a problem with the scheduled task when run on vB3 and added the option to put it in the sidebar.
It's my first addition of a sidebar so please test it out before you put it on a production system. It worked fine on the 2 dev systems I tried it on but you never know :)
Thanks for the update DragonByte
:up:
DragonByte Tech
12-28-2010, 07:26 PM
Are there any plans to modify this to work with VBadvanced?
not currently, no.
Iain
customcolor
12-30-2010, 02:34 AM
How can I get this mod to display where the X is in the attached screenshot?
I dont know about doing it down there to the right...but it looks good in the side bar!!
https://vborg.vbsupport.ru/external/2010/12/5.jpg
DragonByte Tech
12-30-2010, 09:04 PM
New version has ability to select to display:
Signature
Occupation
Location
Reputation
You can also display any number of custom profile fields
ProFifaLeagues
12-30-2010, 09:08 PM
New version has ability to select to display:
Signature
Occupation
Location
Reputation
You can also display any number of custom profile fields
Another fine update thank you DragonByte
:up:
tattooz
12-31-2010, 02:08 AM
Where can I find the code to add a sideblock? I just installed the mod but do not see any options
tattooz
12-31-2010, 02:22 AM
Where can I find the code to add a sideblock? I just installed the mod but do not see any options
I accidentally installed 1.1.1 version. Updated it and now I see the side block but can't get it to work :erm:
DragonByte Tech
12-31-2010, 02:38 AM
I accidentally installed 1.1.1 version. Updated it and now I see the side block but can't get it to work :erm:
Can you post a screenshot? Maybe try uninstalling and reinstalling it?
I'm not sure what you see, an empty block, messed up text, no block at all?
tattooz
12-31-2010, 02:40 AM
I apologize but I got it to work. I did not know I needed to set it to sideblock in the options.
Thanks for an awesome mod and your quick help
DragonByte Tech
12-31-2010, 04:15 AM
I apologize but I got it to work. I did not know I needed to set it to sideblock in the options.
Thanks for an awesome mod and your quick help
No problem, glad it's working for you now.
DragonByte Tech
01-01-2011, 07:43 AM
Some new additions in 1.5.0
ACP option to modify username with CSS
ACP option so you can specify what usergroups the user can be pulled from
Fixed sigpic parsing in signature
Added option to specify if avatar or profile picture is used, which gets selected first and if one or the other is required
Taurus1
01-01-2011, 08:13 AM
It looks really good in the sideblock. Thank you.
Just one small thing. If you look at the screenshot I attach, there is a double point I circled. How can I get rid of that please?
125083
DragonByte Tech
01-01-2011, 08:55 AM
It looks really good in the sideblock. Thank you.
Just one small thing. If you look at the screenshot I attach, there is a double point I circled. How can I get rid of that please?
125083
I just fixed it, the script was thinking there were custom fields set when there weren't.
You will most likely have to refresh the sideblock after the code change since it's cached.
ACP->Forums & Moderators->Forum Blocks Manager
Click Edit next to Spotlight User and then click Save
That should fix it.
Taurus1
01-01-2011, 11:19 AM
Thank you! That did it.
Blackhat
01-01-2011, 12:56 PM
I get the wrong URL to the avatars, probably because my forum is in a folder called forums. So the path to the avatars gets "forums/" twice
Where can I fix this ?
tattooz
01-01-2011, 09:21 PM
Thanks for the update, just what I was looking for.
I get this error:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/dbtech/spotlight/core/class_fetchuser.php on line 57
DragonByte Tech
01-01-2011, 10:41 PM
I get the wrong URL to the avatars, probably because my forum is in a folder called forums. So the path to the avatars gets "forums/" twice
Where can I fix this ?
What do you have set for your forum url and url to avatars?
It builds the path off those two, you might have a situation with those that maybe I didn't account for.
DragonByte Tech
01-01-2011, 10:42 PM
Thanks for the update, just what I was looking for.
I get this error:
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/dbtech/spotlight/core/class_fetchuser.php on line 57
What do you have set for your Alternate Additions in the ACP? I can't seem to replicate that error on my system. Line 57 is dealing with that field.
kesandal
01-02-2011, 08:20 AM
Hi,
I'm getting the same error :(
I've nothing selected under "alternate additions".
VB-Version: 4.1.0 PL2
DragonByte Tech
01-02-2011, 08:50 PM
Hi,
I'm getting the same error :(
I've nothing selected under "alternate additions".
VB-Version: 4.1.0 PL2
Try the 1.5.2 I just uploaded. I couldn't replicate the error but I switched the function around so it shouldn't give the error if you don't have anything selected.
Blackhat
01-02-2011, 09:17 PM
What do you have set for your forum url and url to avatars?
It builds the path off those two, you might have a situation with those that maybe I didn't account for.
avatars: /hsphere/local/home/username/mysite.com/forums/customavatars
forum url : http://www.mysite.com/forums
DragonByte Tech
01-02-2011, 09:48 PM
avatars: /hsphere/local/home/username/mysite.com/forums/customavatars
forum url : http://www.mysite.com/forums
What url are you ending up with?
And are the avatars stored in the database or filesystem?
Sephentos
01-03-2011, 02:00 AM
And again, a nice mod.
I love your mods, Thanks for sharing all of your great work!
Blackhat
01-03-2011, 06:02 PM
This is the url I end up with
..ww.mysite.com/forums/forums/customavatars/avatar56363_1.gifThey are stored in the filesystem
tattooz
01-04-2011, 12:27 AM
I can not seem to get it to update. I have it set at daily and even tried to run the cron manually. When I check the logs it says "Not time to update spotlight userid yet"
Any ideas?
Dylanblitz
01-04-2011, 07:38 AM
I can not seem to get it to update. I have it set at daily and even tried to run the cron manually. When I check the logs it says "Not time to update spotlight userid yet"
Any ideas?
Did you have it set to weekly before? It might of put a future time in the field. Just go to the settings
ACP->Settings->Options->Spotlight General Options
At the bottom is the Spotlight Next Cron Run,just set that to 1 and run the scheduled task.
Dylanblitz
01-04-2011, 07:51 AM
nevermind
DragonByte Tech
01-04-2011, 08:23 AM
This is the url I end up with
They are stored in the filesystem
I think I have it figured out. I was linking the images from the bb url and the images are served from the home url. I'm going to fix it and release a new package, should work after that.
tattooz
01-04-2011, 12:54 PM
Did you have it set to weekly before? It might of put a future time in the field. Just go to the settings
ACP->Settings->Options->Spotlight General Options
At the bottom is the Spotlight Next Cron Run,just set that to 1 and run the scheduled task.
That worked. I set it to hourly before I ran the cron manually and this is what the log says " Updated settings to spotlight userid 532, set next runtime to 1294156297"
Will it run hourly?
DragonByte Tech
01-04-2011, 03:29 PM
That worked. I set it to hourly before I ran the cron manually and this is what the log says " Updated settings to spotlight userid 532, set next runtime to 1294156297"
Will it run hourly?
That time is 3:51pm GMT today, so if that was an hour from when you ran it then yes :)
The scheduled task will run every hour and log an entry, so you can check back in a couple hours and read the log to see if it keeps running.
DragonByte Tech
01-06-2011, 01:18 AM
Few small changes with 1.6.0
Added last post date to the selection criteria and fixed problem with avatar url
gamerzhut
01-06-2011, 06:32 AM
Works perfect. marked as installed :D
Check my forum for demo.
:)
Athena1984
01-06-2011, 08:54 AM
After installing the updated version, the user's avatar isn't showing. Also, I know this has nothing to do with your mod but, I'm using this for Member of the Month and I would like to be able to add a clickable link in the profile field. Do you know how I can do this? My site is, http://www.simming-glimmerstyle.com/forum/forum.php
Taurus1
01-06-2011, 09:35 AM
After installing the updated version, the user's avatar isn't showing. Also, I know this has nothing to do with your mod but, I'm using this for Member of the Month and I would like to be able to add a clickable link in the profile field. Do you know how I can do this? My site is, http://www.simming-glimmerstyle.com/forum/forum.php
Same here.
DragonByte Tech
01-06-2011, 05:08 PM
After installing the updated version, the user's avatar isn't showing. Also, I know this has nothing to do with your mod but, I'm using this for Member of the Month and I would like to be able to add a clickable link in the profile field. Do you know how I can do this? My site is, http://www.simming-glimmerstyle.com/forum/forum.php
Are you talking about how to add a custom field to vB or how to add a custom field that you have in vB to the mod?
Same here.
Try with the 1.6.1. I was fixing the filesystem custom avatar and I messed up the other types. It should work now.
Taurus1
01-06-2011, 09:58 PM
Thanks. It still shows without the avatar though. Is there something I need to do to refresh it or so?
Dylanblitz
01-07-2011, 04:03 AM
Thanks. It still shows without the avatar though. Is there something I need to do to refresh it or so?
Is it the site in your sig link? I see the avatar on the user that's listed in the MOTM box.
Taurus1
01-07-2011, 04:12 AM
Is it the site in your sig link? I see the avatar on the user that's listed in the MOTM box.
That is a different mod. Look in my sidebar for this one.
Konsolenheld
01-07-2011, 09:10 AM
There is no Profile / Avatar Image
https://vborg.vbsupport.ru/external/2011/01/28.png
My Settings:
vb 4.0.6 // DBTech - User Spotlight v1.6.1
Avatar Path: ./customavatars
URL Path: customavatars
Can you help me?
My Forum: http://konsolenhelden.net/forum.php
Britmovie
01-07-2011, 11:25 AM
I wish this was a modular thing at the side as the site is getting a bit long lol
tattooz
01-07-2011, 12:50 PM
I am having a problem getting the cron to update daily. I have it set to daily in the options and my scheduled task is set to 00 0 * * * Which should be "every day of every month at 0 hour and 0 minutes" But for some reason, it does not update......
Any ideas?
DragonByte Tech
01-07-2011, 03:49 PM
I am having a problem getting the cron to update daily. I have it set to daily in the options and my scheduled task is set to 00 0 * * * Which should be "every day of every month at 0 hour and 0 minutes" But for some reason, it does not update......
Any ideas?
Did you modify the scheduled task?
In the settings what do you have set for the field
Spotlight Next Cron Run
Also, if you look at the scheduled tasks log, you should see entries in there for the spotlight script
tattooz
01-07-2011, 04:37 PM
Did you modify the scheduled task?
In the settings what do you have set for the field
Spotlight Next Cron Run
Also, if you look at the scheduled tasks log, you should see entries in there for the spotlight script
This is what is there, 1294498267
Taurus1
01-07-2011, 04:38 PM
The avatars are still not showing.
DragonByte Tech
01-07-2011, 05:14 PM
The avatars are still not showing.
If you open dbtech/spotlight/core/class_fetchuser.php
on line 162 replace
$spot_avatar_file = $this->registry->options['homeurl'] . "/" . $this->registry->options['avatarurl'] . "/avatar" . $this->registry->options['dbtech_spotlight_rnd_userid'] . "_" . $rand_user_data['avatarrevision'] . ".gif";
with
$spot_avatar_file = $this->registry->options['avatarurl'] . "/avatar" . $this->registry->options['dbtech_spotlight_rnd_userid'] . "_" . $rand_user_data['avatarrevision'] . ".gif";
does that fix it?
I was checking out what the vB code does for avatars and I think I'm doing some overkill which is screwing it up for different types of setups.
DragonByte Tech
01-07-2011, 06:22 PM
This is what is there, 1294498267
That's set for 2:51 tomorrow afternoon (GMT).
Are there any log entries for spotlight in the scheduled task log?
OMAN_LOVER
01-07-2011, 09:13 PM
good one but it increased the load of my server
I tried to stop the product but it seems no option to do that only I have to uninstall it please check
I'm using vb410
also even if I disabled it from products still it not stop
Minimum Days since Last Post & Minimum Days dosn't work please also have a look on it
Thank you
Smak Runner 2K
01-08-2011, 12:16 AM
If you open dbtech/spotlight/core/class_fetchuser.php
on line 162 replace
$spot_avatar_file = $this->registry->options['homeurl'] . "/" . $this->registry->options['avatarurl'] . "/avatar" . $this->registry->options['dbtech_spotlight_rnd_userid'] . "_" . $rand_user_data['avatarrevision'] . ".gif";
with
$spot_avatar_file = $this->registry->options['avatarurl'] . "/avatar" . $this->registry->options['dbtech_spotlight_rnd_userid'] . "_" . $rand_user_data['avatarrevision'] . ".gif";
does that fix it?
I was checking out what the vB code does for avatars and I think I'm doing some overkill which is screwing it up for different types of setups.
My avatar URL in the sidebar is pointing to forumhome
http://www.clevelandsportsforums.com/forums/forum.php. I made the change you mention in the quoted post, but it didn't help. Avatars are stored in the file system, and I downloaded the latest version.
Help? I'm at a loss...
Taurus1
01-08-2011, 12:46 AM
If you open dbtech/spotlight/core/class_fetchuser.php
on line 162 replace
$spot_avatar_file = $this->registry->options['homeurl'] . "/" . $this->registry->options['avatarurl'] . "/avatar" . $this->registry->options['dbtech_spotlight_rnd_userid'] . "_" . $rand_user_data['avatarrevision'] . ".gif";with
$spot_avatar_file = $this->registry->options['avatarurl'] . "/avatar" . $this->registry->options['dbtech_spotlight_rnd_userid'] . "_" . $rand_user_data['avatarrevision'] . ".gif";does that fix it?
I was checking out what the vB code does for avatars and I think I'm doing some overkill which is screwing it up for different types of setups.
Thank you very much! That fixed it!! And thanks for your great support. :up:
DragonByte Tech
01-08-2011, 12:55 AM
My avatar URL in the sidebar is pointing to forumhome
http://www.clevelandsportsforums.com/forums/forum.php. I made the change you mention in the quoted post, but it didn't help. Avatars are stored in the file system, and I downloaded the latest version.
Help? I'm at a loss...
The avatar url for the webmaster is
http://www.clevelandsportsforums.com/forums/images/misc/unknown.gif
It looks like you have something that sets that as the default if the user doesn't have an avatar? I saw several users that showed that image for the avatar and profile image.
The one user I saw that had an avatar looks like it's stored in the db.
http://www.clevelandsportsforums.com/forums/image.php?u=18&dateline=1289751647&type=thumb
DragonByte Tech
01-08-2011, 12:56 AM
Thank you very much! That fixed it!! And thanks for your great support. :up:
Glad we got it worked out.
I'll make sure the changes are in the next release so it matches the vB type path and we shouldn't run into this problem again :)
tattooz
01-08-2011, 12:14 PM
Did you modify the scheduled task?
In the settings what do you have set for the field
Spotlight Next Cron Run
Also, if you look at the scheduled tasks log, you should see entries in there for the spotlight script
That's set for 2:51 tomorrow afternoon (GMT).
Are there any log entries for spotlight in the scheduled task log?
How can I set it to update at 12:00 am every day??
Dylanblitz
01-08-2011, 05:37 PM
How can I set it to update at 12:00 am every day??
http://www.4webhelp.net/us/timestamp.php
Go to that page and put in the time for tonight at 11:55pm for your servers timezone. It will give you a timestamp. Just put that into the next cron run field. The script will check hourly, but it will not change anything until midnight.
tattooz
01-08-2011, 11:17 PM
http://www.4webhelp.net/us/timestamp.php
Go to that page and put in the time for tonight at 11:55pm for your servers timezone. It will give you a timestamp. Just put that into the next cron run field. The script will check hourly, but it will not change anything until midnight.
Thanks but what it gave me was this
Sunday, January 9th 2011, 23:55:00 (GMT -5) translates to 1294635300
Does that mean that it will only run on Sunday at 11:55PM?
Taurus1
01-09-2011, 02:34 AM
OK, now it is not updating. I have the same member up there for 2 days now. Please advise.
Thanks.
DragonByte Tech
01-09-2011, 07:24 PM
OK, now it is not updating. I have the same member up there for 2 days now. Please advise.
Thanks.
Does the scheduled task log show anything?
DragonByte Tech
01-09-2011, 07:27 PM
Thanks but what it gave me was this
Sunday, January 9th 2011, 23:55:00 (GMT -5) translates to 1294635300
Does that mean that it will only run on Sunday at 11:55PM?
You can set it to whatever time you want? If you enter the date in the bottom part, you can create a timestamp for any time.
Konsolenheld
01-10-2011, 10:15 AM
It doenst work, there?s no change. 3 Days = same User.
https://vborg.vbsupport.ru/external/2011/01/21.png
https://vborg.vbsupport.ru/external/2011/01/22.png
In Log: No user met the criteria, user not updated, set next runtime to 1294664338
gamerzhut
01-10-2011, 04:44 PM
It works fine at my end.
No bug in the system
DragonByte Tech
01-10-2011, 06:44 PM
It doenst work, there?s no change. 3 Days = same User.
In Log: No user met the criteria, user not updated, set next runtime to 1294664338
Sounds like no user is matching the criteria you have setup. What do you have for the fields above?
DragonByte Tech
01-10-2011, 06:47 PM
I made an update with 1.6.2
Hopefully fixed the avatar issues with the different installation layouts
Fixed bbcode not parsing on custom fields
Switched code to use existing data so was able to eliminate all but 2 custom db queries, should be better on performance now.
Merjawy
01-10-2011, 09:19 PM
signature should be controled as far fonts and such.. otherwise I seen some sigs all over the box. for now I had to disable the display of sigs.
Great mod thogh
Thanks
Athena1984
01-11-2011, 01:17 AM
This really is a great modification and I just want to thank you again because it's obvious you care about support and that's what's most important. Thank you for your hard work!
Taurus1
01-15-2011, 06:25 AM
On IE the text overlaps in the forum block. See screenshot. Is it possible to rectify that somehow please?
125664
Thanks.
DragonByte Tech
01-15-2011, 08:35 PM
On IE the text overlaps in the forum block. See screenshot. Is it possible to rectify that somehow please?
125664
Thanks.
I'll take a look at the code. I'll probably end up cutting the text short at a certain character length if it's longer. The only other option is forcing it not to wrap, which I don't want to do on a sideblock since that'll squeeze out your forums.
Sephentos
01-18-2011, 11:53 AM
Is there a way to include this addon on a custom template?
DragonByte Tech
01-18-2011, 07:13 PM
On IE the text overlaps in the forum block. See screenshot. Is it possible to rectify that somehow please?
125664
Thanks.
I made a modification that should fix this. If you are using the sideblock it will check if the forum name is over 25 characters long, if it is it will crop it down to fit. I also fixed an error in the cron script that picks a user.
DragonByte Tech
01-18-2011, 07:17 PM
Is there a way to include this addon on a custom template?
Not sure what you mean by adding it to a custom template?
Taurus1
01-18-2011, 10:29 PM
I made a modification that should fix this. If you are using the sideblock it will check if the forum name is over 25 characters long, if it is it will crop it down to fit. I also fixed an error in the cron script that picks a user.
Thank you very very much!! That did it! :up: :)
drsmash
01-18-2011, 10:39 PM
Nice Mood :D Thanks
Sephentos
01-19-2011, 02:39 AM
Not sure what you mean by adding it to a custom template?
I do not want to use the addon on wgo (specially on default it is included on template_hook.forumhome_wgo_pos2). There should be a option, where i can define a custom template where to insert something like {vb:raw user_spotlight}.
You surely understand me now.
DragonByte Tech
01-19-2011, 04:57 AM
I do not want to use the addon on wgo (specially on default it is included on template_hook.forumhome_wgo_pos2). There should be a option, where i can define a custom template where to insert something like {vb:raw user_spotlight}.
You surely understand me now.
I understand now. I didn't really design it to work that way and it would be a formatting nightmare to support considering the number of places you could put it and the style changes that would need to be tweaked for different locations.
You could just create your own template hook in your template, replace mine in the file and achieve the same result.
betts02
01-22-2011, 12:19 PM
After updating its now showing members who i have not selected to show via admin
Cheers
Kingdombuilder
02-02-2011, 04:54 AM
I love the mod... I'm using it in a side block. I would like to change the name of the side block from User Spotlight to my own custom heading. Does anyone know how to change it?
Mr_Running
02-02-2011, 02:46 PM
I love the mod... I'm using it in a side block. I would like to change the name of the side block from User Spotlight to my own custom heading. Does anyone know how to change it?
vB Admin --> Languages & Phrases --> Search in Phrases --> user spotlight --> dbtech_spotlight --> Edit --> Translation --> Save
:)
Kingdombuilder
02-02-2011, 08:46 PM
After installing this I got this as a fault and now my site is not accessable:
Warning: require_once([path]/dbtech/spotlight/hooks/cache_templates.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(1309) : eval()'d code on line 165
Fatal error: require_once() [function.require]: Failed opening required '/home/mobiletr/public_html/forum/dbtech/spotlight/hooks/cache_templates.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mobiletr/public_html/forum/includes/class_bootstrap.php(1309) : eval()'d code on line 165
this fault shows up in my admin panel when i try to go to my products and when the forum is trying to be accessed.
Please help my site is down!!!
DragonByte Tech
02-02-2011, 09:01 PM
After installing this I got this as a fault and now my site is not accessable:
Warning: require_once([path]/dbtech/spotlight/hooks/cache_templates.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(1309) : eval()'d code on line 165
Fatal error: require_once() [function.require]: Failed opening required '/home/mobiletr/public_html/forum/dbtech/spotlight/hooks/cache_templates.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mobiletr/public_html/forum/includes/class_bootstrap.php(1309) : eval()'d code on line 165
this fault shows up in my admin panel when i try to go to my products and when the forum is trying to be accessed.
Please help my site is down!!!
It sounds like you didn't upload the files correctly. You should have a file at /public_html/forum/dbtech/spotlight/hooks/cache_templates.php
Kingdombuilder
02-02-2011, 09:06 PM
I will redownload and the files and try to upload them again..
Kingdombuilder
02-02-2011, 09:46 PM
Ok the problem was I have upgraded my site to VPS account and the shared account was suspended and the files to this mod were on the shared account. You helped me bigtime with that bro thank you. I had installed this mod after the upgrade began and with the dns finally were pointing properly the mods I installed while in transition were carried over. So i went in and installed it again but like i said before the files that were in the upload folder went to the shared account and not the VPS upgraded one.
It was my issue and not yours bro... Thank you for the response because that is what led me to find the problem.
OldSchoolDSL
02-18-2011, 07:20 PM
Installed and working ( I think )
4.1.1
Spotlight Member ID & Spotlight Next Cron Run
All seem to equal 1. I tried removing that value, but it seems to return. I'm just hoping it does not automatically keep user ID #1 (which would be me).
DragonByte Tech
02-18-2011, 08:05 PM
Installed and working ( I think )
4.1.1
Spotlight Member ID & Spotlight Next Cron Run
All seem to equal 1. I tried removing that value, but it seems to return. I'm just hoping it does not automatically keep user ID #1 (which would be me).
You could try to manually run the scheduled task. It's called Dragonbyte-Tech: Spotlight - Pick Random User
It will also create a scheduled task log entry every time it runs with a message of what it did.
stl7997
02-21-2011, 06:54 AM
You guys never fail! Great mod!
Kingdombuilder
03-05-2011, 01:38 AM
Doesn't work for me on 4.1 pl2 User Spotlight
Posts:
Threads: 0
Last Activity: 12-31-1969 07:00 PM
i have this problem only on my CMS page. My sidebar works great on my forum. I tried top make a CMS widget with teh same code and i get the above in the widget box. Can anyone tell me what I'm doing wrong?
8thos
03-07-2011, 08:11 PM
Sounds interesting! Will install it later.
DragonByte Tech
03-07-2011, 10:07 PM
i have this problem only on my CMS page. My sidebar works great on my forum. I tried top make a CMS widget with teh same code and i get the above in the widget box. Can anyone tell me what I'm doing wrong?
The CMS uses different hooks then the forumhome, so most likely the code isn't running to select the user. I'll look at add the option to have it on a CMS widget for the next release.
Mark to Install . Thanks to DragonByte Tech
http://xacchet.com
yayacannes
03-12-2011, 05:46 PM
Very good but the cron seems not to work, it's always the same member, is there something to do or to check to fix it please ? Thanks
DragonByte Tech
03-12-2011, 07:31 PM
Very good but the cron seems not to work, it's always the same member, is there something to do or to check to fix it please ? Thanks
Check the scheduled task log. It should be logging an entry every time it runs.
maximutt
04-15-2011, 04:12 PM
Would love to see this mod be able to publish user spotlight to a CMS article on the front page.
Ole_Chilli
04-16-2011, 12:32 PM
does this work with 4.1.2 ..
I get nothing at all
DragonByte Tech
04-18-2011, 05:10 AM
Would love to see this mod be able to publish user spotlight to a CMS article on the front page.
I've gotten a couple requests for that. As soon as I have a few free hours I'll work on getting it as a CMS widget.
does this work with 4.1.2 ..
I get nothing at all
I have it running on 4.1.3. Which location are you trying to display it at? under navbar, wgo or sidebar?
Dylan
Ole_Chilli
04-18-2011, 12:14 PM
I've gotten a couple requests for that. As soon as I have a few free hours I'll work on getting it as a CMS widget.
I have it running on 4.1.3. Which location are you trying to display it at? under navbar, wgo or sidebar?
Dylan
tried it in every location still nothing .
Ole_Chilli
04-18-2011, 12:23 PM
ha I am an idiot .
I did not select any "usergroups allowed" to see it
Dozer826
05-04-2011, 02:33 AM
Great Mod! Marked as Installed!
1 question, I was able to go in and edit it to take out the Last Activity and Most Visited. I'd like to add some other custom fields I've created, 3 to be infact. What would I need to edit and what code would I need to enter to achieve this?
Thanks in advance
ozzy47
05-04-2011, 03:02 AM
Great Mod! Marked as Installed!
1 question, I was able to go in and edit it to take out the Last Activity and Most Visited. I'd like to add some other custom fields I've created, 3 to be infact. What would I need to edit and what code would I need to enter to achieve this?
Thanks in advance
What custom fields, in user profile?
Dozer826
05-04-2011, 06:06 AM
field10, field11, field13
They are profile fields admins manually fill in so we know everyone who will be showing up in the spotlight will have one.
ozzy47
05-04-2011, 10:30 AM
field10, field11, field13
They are profile fields admins manually fill in so we know everyone who will be showing up in the spotlight will have one.
Ok in ACP, Settings/Dragonbyte-Tech: Spotlight - General Options look for Custom Profile Fields and ass them there.
Add the custom profile field id's that would like to be displayed. For multiple fields, separate them with a commaFor example, if you want to display the data from custom profile field43 and field68, enter 43,68
http://www.myfriendsspace.com/imagehosting/14dc13869a601d.png
Dozer826
05-04-2011, 06:51 PM
Hey Ozzy thanks for your response bud. At first that’s what I was doing but it was only showing 3 out of the 5 profile fields I had entered for some reason. That’s when I went in and deleted 2 of the default fields (Most Visited and Last Activity) and tried to manually add the 2 custom fields that weren’t showing up. Upon opening the site today all fields were visible so it must have just needed a little time to kick in I guess.
Thanks again for the response, and where did u get that admincp style? Love the black and red. I used to have that on an old site of mine and haven’t been able to find one for 4.1.2.
ozzy47
05-04-2011, 08:52 PM
@Dozer826 here it is https://vborg.vbsupport.ru/showthread.php?t=257637&highlight=heavy+metal
Dylanblitz
05-05-2011, 01:52 AM
Hey Ozzy thanks for your response bud. At first that?s what I was doing but it was only showing 3 out of the 5 profile fields I had entered for some reason. That?s when I went in and deleted 2 of the default fields (Most Visited and Last Activity) and tried to manually add the 2 custom fields that weren?t showing up. Upon opening the site today all fields were visible so it must have just needed a little time to kick in I guess.
Thanks again for the response, and where did u get that admincp style? Love the black and red. I used to have that on an old site of mine and haven?t been able to find one for 4.1.2.
Are you using it as a forum sidebar? If you do, any changes you make aren't seen until it's recached
ozzy47
05-05-2011, 02:26 AM
Dylanblitz is correct, and I believe [DBTech] has that set at 5min as default for the cache, you can change it in Forum Blocks Manager/Edit block: Spotlight User/Cache Time (in minutes)
dustoff99
10-11-2011, 09:34 PM
vB version 4.1.6
User will not rotate, read all of the threads before this and tried some of the suggestions, decided to let it run 3 days to see if anything will change.
Settings / General Options:
https://vborg.vbsupport.ru/external/2011/10/47.png
https://vborg.vbsupport.ru/external/2011/10/48.png
Forum blocks Manager:
https://vborg.vbsupport.ru/external/2011/10/49.png
Log File:
https://vborg.vbsupport.ru/external/2011/10/50.png
DragonByte Tech
10-13-2011, 04:06 AM
vB version 4.1.6
User will not rotate, read all of the threads before this and tried some of the suggestions, decided to let it run 3 days to see if anything will change.
How many users are in the selected groups? It looks like it's running but not finding someone other then user 16 that fits the criteria. Strange though considering you have it set so low.
If you want to manually run it a few times, change the Spotlight Next Cron Run field to 1, save it and then go to scheduled tasks and run the spotlight task. Set the Cron Run field to 1 each time you want to run it.
I looked at the code and it should be running fine.
Dylan
rpe78
10-13-2011, 08:32 AM
I have this
http://screensnapr.com/v/dNrmRU.png
Help ?
dustoff99
10-13-2011, 09:48 AM
How many users are in the selected groups? It looks like it's running but not finding someone other then user 16 that fits the criteria. Strange though considering you have it set so low.
If you want to manually run it a few times, change the Spotlight Next Cron Run field to 1, save it and then go to scheduled tasks and run the spotlight task. Set the Cron Run field to 1 each time you want to run it.
I looked at the code and it should be running fine.
Dylan
I have a lot of users in the groups I listed.
Odd, after posting, its worked for the last 3 days. Thank you for the reply....
kfyonur
10-13-2011, 12:07 PM
What should i write there ?
Spotlight Member ID
it shows same people.
DragonByte Tech
10-15-2011, 08:23 PM
What should i write there ?
Spotlight Member ID
it shows same people.
As the description says, it's automatically set by a cron job. Only change that field if you want to manually set the spotlight user.
Dylan
DragonByte Tech
10-15-2011, 08:32 PM
I have this
http://screensnapr.com/v/dNrmRU.png
Help ?
It looks like the translation has wrapped the text in the field. Since it's in the forum sidebar it's hard to adjust the field size. I'd say either put it in another location or modify the translation to say something different that's shorter.
Dylan
CoZmicShReddeR
10-16-2011, 01:49 AM
I would rather use this as a widget for the front page of the CMS!
Mr Morningstarr
03-04-2012, 04:01 PM
Is there anyway of putting this in a widget? Would be great in a widget.
DragonByte Tech
03-04-2012, 06:14 PM
I'll look at adding it to the CMS next update.
Dylan
jack-d
03-08-2012, 11:17 PM
In the Select Groups settings I have Admins unchecked but it continues to show them, why is that.
Regards
Do you think it would be possible to make the 'user spotlight' text editable? I would like to make it 'Artist/Member of the week' or something along the lines and manually modify it weekly. :)
Prawn Star
01-30-2013, 09:48 AM
Idk what just happened. I installed this product and our forums went down. ACP is still working fine besides the plugin & products part. :/
Help please?
DragonByte Tech
02-14-2013, 02:15 AM
Do you think it would be possible to make the 'user spotlight' text editable? I would like to make it 'Artist/Member of the week' or something along the lines and manually modify it weekly. :)
The text is a phrase, you could edit it as you need.
ACP->Languages & Phrases->Search In Phrases
Search text: dbtech_spotlightSelect "Phrase Text and Phrase Variable Name" and Exact Match Yes
Dylan
DragonByte Tech
02-14-2013, 02:20 AM
Idk what just happened. I installed this product and our forums went down. ACP is still working fine besides the plugin & products part. :/
Help please?
I'm sorry about the problem. Were you able to work it out? If you got an error message please let me know what it is so I can figure it out.
Dylan
rgreene1971
03-12-2013, 02:51 AM
Anyway to make it a monthly random selection?
Would setting the selection to daily and then changing the cron to run monthly work for what I am looking to do?
DragonByte Tech
03-14-2013, 03:59 PM
Anyway to make it a monthly random selection?
Would setting the selection to daily and then changing the cron to run monthly work for what I am looking to do?
Yes, if you changed it so it would run daily in the settings but modify the scheduled task to run on the first of the month then it should work. Good idea :)
Dylan
DragonByte Tech
04-02-2013, 09:15 AM
Updated to v1.6.6
Feature: Can now specify userid's not selectable
Fix: Phrased all cron and vbsetting text
4ngeluxpunk
02-25-2014, 03:19 AM
Hi, I would like to know how I can configure the product to the user of my day or more active user out, so now I have and would also like to know how I can adapt it to a module in vBadvanced CMPS. I would appreciate your support.
https://vborg.vbsupport.ru/external/2014/02/7.png
https://vborg.vbsupport.ru/external/2014/02/8.png
Hello DBTech
As you know following a request for improvement on your forum, I would like to highlight two users.
Since my notions are limited to coding css and html, I can only change the program.
Nevertheless I think I found a solution (not practical but manageable) to provide a second user display.
In the template: dbtech_spotlight_userinfo
I duplicated information in a table:
<table style="width:100%" border="0">
<tr><td>
<vb:if condition="$use_full_block">
<div>
<h2 class="blockhead" align="center">{vb:rawphrase dbtech_spotlight}</h2>
<div class="blockbody formcontrols settings_form_border" id="dbtech_spotlight">
<div class="blockrow">
<vb:else />
<div id="wgo_spotlight" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase dbtech_spotlight}" />Membre de la semaine</h3>
<div>
</vb:if>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="15">
</td>
<vb:if condition="$spot_userdata['user_has_pic']">
<td width="{vb:raw vboptions.dbtech_spotlight_max_width}">
<img src="{vb:raw spot_userdata['pic']}" alt="User Image" border="0" style="max-height: {vb:raw vboptions.dbtech_spotlight_max_height}px; max-width: {vb:raw vboptions.dbtech_spotlight_max_width}px;">
</td>
<td width="15">
</td>
</vb:if>
<td width="*">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2">
<a href="{vb:raw spot_userdata['userlink']}">{vb:raw spot_userdata['musername']}</a>
</td>
</tr>
<tr>
<td>
{vb:rawphrase posts}:
</td>
<td width="15">
</td>
<td>
<a href="search.php?do=finduser&userid={vb:raw spot_userdata['userid']}&contenttype=vBForum_Post&showposts=1">{vb:raw spot_userdata['posts']}</a>
</td>
</tr>
<tr>
<td>
{vb:rawphrase threads}:
</td>
<td width="15">
</td>
<td>
<a href="search.php?do=finduser&userid={vb:raw spot_userdata['userid']}&starteronly=1&contenttype=vBForum_Thread">{vb:raw spot_userdata['threads']}</a>
</td>
</tr>
<vb:if condition="$spot_userdata['spot_location']">
<tr>
<td>
{vb:rawphrase field2_title}:
</td>
<td width="15">
</td>
<td>
{vb:raw spot_userdata['spot_location']}
</td>
</tr>
</vb:if>
<vb:if condition="$spot_userdata['spot_occupation']">
<tr>
<td>
{vb:rawphrase field4_title}:
</td>
<td width="15">
</td>
<td>
{vb:raw spot_userdata['spot_occupation']}
</td>
</tr>
</vb:if>
<vb:if condition="$spot_userdata['show_reputation']">
<tr>
<td>
{vb:rawphrase reputation}:
</td>
<td width="15">
</td>
<td>
{vb:raw spot_userdata['reputation']}
</td>
</tr>
</vb:if>
<vb:if condition="$spot_userdata['cust_block_data']">
{vb:raw spot_userdata['cust_block_data']}
</vb:if>
<vb:if condition="$spot_userdata['can_view_forum']">
<tr>
<td>
{vb:rawphrase dbtech_spot_most_active}:
</td>
<td width="15">
</td>
<td>
<a href="forumdisplay.php?f={vb:raw spot_userdata['most_active_id']}">{vb:raw spot_userdata['most_active']}</a>
</td>
</tr>
</vb:if>
<tr>
<td>
{vb:rawphrase last_activity}:
</td>
<td width="15">
</td>
<td>
{vb:raw spot_userdata['user_lastdate']}
</td>
</tr>
<vb:if condition="$spot_userdata['spot_signature']">
<tr>
<td colspan="3">
{vb:rawphrase signature}:<br />
{vb:raw spot_userdata['spot_signature']}
</td>
</tr>
</vb:if>
</table>
</td>
</tr>
</table>
<vb:if condition="$use_full_block">
</div>
</div>
</div>
<vb:else />
</div>
</div>
</vb:if>
</td><td>
<vb:if condition="$use_full_block">
<div>
<h2 class="blockhead" align="center">{vb:rawphrase dbtech_spotlight}</h2>
<div class="blockbody formcontrols settings_form_border" id="dbtech_spotlight">
<div class="blockrow">
<vb:else />
<div id="wgo_spotlight" class="wgo_subblock section">
<h3 class="blocksubhead"><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase dbtech_spotlight}" />Membre du Mois</h3>
<div>
</vb:if>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="15">
</td>
<vb:if condition="$spot_userdata['user_has_pic']">
<td width="{vb:raw vboptions.dbtech_spotlight_max_width}">
<img src="{vb:raw spot_userdata['pic']}" alt="User Image" border="0" style="max-height: {vb:raw vboptions.dbtech_spotlight_max_height}px; max-width: {vb:raw vboptions.dbtech_spotlight_max_width}px;">
</td>
<td width="15">
</td>
</vb:if>
<td width="*">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2">
<a href="{vb:raw spot_userdata['userlink']}">{vb:raw spot_userdata['musername']}</a>
</td>
</tr>
<tr>
<td>
{vb:rawphrase posts}:
</td>
<td width="15">
</td>
<td>
<a href="search.php?do=finduser&userid={vb:raw spot_userdata['userid']}&contenttype=vBForum_Post&showposts=1">{vb:raw spot_userdata['posts']}</a>
</td>
</tr>
<tr>
<td>
{vb:rawphrase threads}:
</td>
<td width="15">
</td>
<td>
<a href="search.php?do=finduser&userid={vb:raw spot_userdata['userid']}&starteronly=1&contenttype=vBForum_Thread">{vb:raw spot_userdata['threads']}</a>
</td>
</tr>
<vb:if condition="$spot_userdata['spot_location']">
<tr>
<td>
{vb:rawphrase field2_title}:
</td>
<td width="15">
</td>
<td>
{vb:raw spot_userdata['spot_location']}
</td>
</tr>
</vb:if>
<vb:if condition="$spot_userdata['spot_occupation']">
<tr>
<td>
{vb:rawphrase field4_title}:
</td>
<td width="15">
</td>
<td>
{vb:raw spot_userdata['spot_occupation']}
</td>
</tr>
</vb:if>
<vb:if condition="$spot_userdata['show_reputation']">
<tr>
<td>
{vb:rawphrase reputation}:
</td>
<td width="15">
</td>
<td>
{vb:raw spot_userdata['reputation']}
</td>
</tr>
</vb:if>
<vb:if condition="$spot_userdata['cust_block_data']">
{vb:raw spot_userdata['cust_block_data']}
</vb:if>
<vb:if condition="$spot_userdata['can_view_forum']">
<tr>
<td>
{vb:rawphrase dbtech_spot_most_active}:
</td>
<td width="15">
</td>
<td>
<a href="forumdisplay.php?f={vb:raw spot_userdata['most_active_id']}">{vb:raw spot_userdata['most_active']}</a>
</td>
</tr>
</vb:if>
<tr>
<td>
{vb:rawphrase last_activity}:
</td>
<td width="15">
</td>
<td>
{vb:raw spot_userdata['user_lastdate']}
</td>
</tr>
<vb:if condition="$spot_userdata['spot_signature']">
<tr>
<td colspan="3">
{vb:rawphrase signature}:<br />
{vb:raw spot_userdata['spot_signature']}
</td>
</tr>
</vb:if>
</table>
</td>
</tr>
</table>
<vb:if condition="$use_full_block">
</div>
</div>
</div>
<vb:else />
</div>
</div>
</vb:if>
</tr></table>
to arrive:
https://vborg.vbsupport.ru/external/2014/07/7.png
I need variable with an id to finalize the display and you can modify the information as desired.
Pouriez you help me and tell me what I pourai variable use in order to display the information of a desired member
That is the idea, so that I can manually change the id and display the desired user
username_ID_2
userthread _ID_2
userpost_ID_2
usermostactive_ID_2
userlastvisit_ID_2
Thank you for your help
Ravallojr
11-08-2014, 11:00 AM
doesn't work with my 4.2.2 :(
RichieBoy67
12-11-2014, 11:30 AM
Does this have all the links in the footer?
ozzy47
12-11-2014, 11:42 AM
Yes it does, on forum home. :)
RichieBoy67
12-11-2014, 11:47 AM
I have it working under activity but cannot get it working in the sidebar.
ozzy47
12-11-2014, 11:52 AM
Did you add the block to the Forum Blocks Manager?
RichieBoy67
12-11-2014, 12:08 PM
Did you add the block to the Forum Blocks Manager?
yes, I tried a few different things as well but still will not display in the side block.
john7911
12-11-2014, 12:16 PM
Thank you I'll try it this week end ;)
ozzy47
12-11-2014, 12:17 PM
yes, I tried a few different things as well but still will not display in the side block.
What about running the cron, I think it needs to be run for it to show.
RichieBoy67
12-11-2014, 12:18 PM
What about running the cron, I think it needs to be run for it to show.Yep, did that too. It shows but not when I set it to the side block.
DragonByte Tech
12-12-2014, 11:36 AM
Have you also tried using the Clear System Cache link under vBulletin's Maintenance group, in case your forum block was cached?
Fillip
RichieBoy67
12-12-2014, 02:47 PM
Have you also tried using the Clear System Cache link under vBulletin's Maintenance group, in case your forum block was cached?
Fillip
That is usually the first thing I do. :)
Thanks
Gadget_Guy
01-03-2015, 12:19 AM
Could anyone suggest a way to load this mod twice or perhaps a way to adjust the forum sidebar to do what I want?
Here's what I want.
Forum Side Bar Block #1 - User Spotlight - This rotates through all the members and spotlights only members from specific usergroups.
Forum Side Bar Block #2 - Vendor Spotlight - This rotates through all the vendors in my vendor usergroup only and spotlights only people in this usergroup.
I'd like to have forum block #1 rotate every couple hours and forum block #2 daily.
FWIW... I have this mod working perfectly on my site right now. Just looking for a way to have it do the double function that I am looking for.
Is there a way to do this?
D.
ozzy47
01-03-2015, 10:48 AM
It's not something that could be easily done unfortunately. :(
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.