vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - [DBTech] User Spotlight v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=254532)

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

Quote:

Originally Posted by DragonByte Tech (Post 2133299)
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

Quote:

Originally Posted by Merjawy (Post 2133017)
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

Quote:

Originally Posted by betts02 (Post 2128770)
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

Quote:

Originally Posted by lycheepassion (Post 2133399)
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

Quote:

Originally Posted by PSimmo (Post 2133406)
installed and works great..
Any chance this might be able to be added as a side block at some stage?

Great Job!

Quote:

Originally Posted by rammieone (Post 2133718)
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"

Code:

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

Quote:

Originally Posted by robbiefritz (Post 2136328)
May want to correct the heading shown below, both say the same thing 'Height"

Code:

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

1 Attachment(s)
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

Quote:

Originally Posted by DragonByte Tech (Post 2134129)
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

Quote:

Originally Posted by InTeNsE-HuMoR (Post 2136762)
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.


Quote:

Originally Posted by Gemma (Post 2137007)
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.


Quote:

Originally Posted by Merjawy (Post 2137009)
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

Quote:

Originally Posted by DragonByte Tech (Post 2137069)
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

Quote:

Originally Posted by InTeNsE-HuMoR (Post 2137950)
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

Quote:

Originally Posted by DragonByte Tech (Post 2136709)
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

Quote:

Originally Posted by cdoyle (Post 2138733)
Are there any plans to modify this to work with VBadvanced?

not currently, no.

Iain

customcolor 12-30-2010 02:34 AM

Quote:

Originally Posted by InTeNsE-HuMoR (Post 2136762)
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

Quote:

Originally Posted by DragonByte Tech (Post 2141517)
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

Quote:

Originally Posted by tattooz (Post 2141641)
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

Quote:

Originally Posted by tattooz (Post 2141644)
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

Quote:

Originally Posted by tattooz (Post 2141651)
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

1 Attachment(s)
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?

Attachment 125083

DragonByte Tech 01-01-2011 08:55 AM

Quote:

Originally Posted by Taurus1 (Post 2142208)
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?

Attachment 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

Quote:

Originally Posted by Blackhat (Post 2142259)
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

Quote:

Originally Posted by tattooz (Post 2142471)
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

Quote:

Originally Posted by kesandal (Post 2142669)
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

Quote:

Originally Posted by DragonByte Tech (Post 2142495)
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


All times are GMT. The time now is 04:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01570 seconds
  • Memory Usage 1,837KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete