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)

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:59 AM.

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.01563 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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