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)

DragonByte Tech 01-07-2011 03:49 PM

Quote:

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

Quote:

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

Quote:

Originally Posted by Taurus1 (Post 2145523)
The avatars are still not showing.

If you open dbtech/spotlight/core/class_fetchuser.php
on line 162 replace
Code:

$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

Code:

$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

Quote:

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

Quote:

Originally Posted by DragonByte Tech (Post 2145539)
If you open dbtech/spotlight/core/class_fetchuser.php
on line 162 replace
Code:

$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

Code:

$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

Quote:

Originally Posted by DragonByte Tech (Post 2145539)
If you open dbtech/spotlight/core/class_fetchuser.php
on line 162 replace
Code:

$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

Code:

$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

Quote:

Originally Posted by Smak Runner 2K (Post 2145707)
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...sc/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...647&type=thumb

DragonByte Tech 01-08-2011 12:56 AM

Quote:

Originally Posted by Taurus1 (Post 2145712)
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 :)


All times are GMT. The time now is 01:40 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.01376 seconds
  • Memory Usage 1,750KB
  • 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
  • (6)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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