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)

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

1 Attachment(s)
On IE the text overlaps in the forum block. See screenshot. Is it possible to rectify that somehow please?

Attachment 125664

Thanks.

DragonByte Tech 01-15-2011 08:35 PM

Quote:

Originally Posted by Taurus1 (Post 2149342)
On IE the text overlaps in the forum block. See screenshot. Is it possible to rectify that somehow please?

Attachment 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

Quote:

Originally Posted by Taurus1 (Post 2149342)
On IE the text overlaps in the forum block. See screenshot. Is it possible to rectify that somehow please?

Attachment 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

Quote:

Originally Posted by Sephentos (Post 2150898)
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

Quote:

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

Quote:

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

Quote:

Originally Posted by Sephentos (Post 2151281)
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

Quote:

Originally Posted by Kingdombuilder (Post 2157680)
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 -->
HTML Code:

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:

Code:

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

Quote:

Originally Posted by Kingdombuilder (Post 2157940)
After installing this I got this as a fault and now my site is not accessable:

Code:

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

Quote:

Originally Posted by OldSchoolDSL (Post 2164067)
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

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 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

Quote:

Originally Posted by Kingdombuilder (Post 2169693)
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.

chjp 03-09-2011 04:14 PM

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

Quote:

Originally Posted by yayacannes (Post 2172631)
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

Quote:

Originally Posted by maximutt (Post 2184991)
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.

Quote:

Originally Posted by Ole_Chilli (Post 2185255)
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

Quote:

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

Quote:

Originally Posted by Dozer826 (Post 2191552)
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

Quote:

Originally Posted by Dozer826 (Post 2191578)
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/imageh...13869a601d.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/showthrea...ht=heavy+metal

Dylanblitz 05-05-2011 01:52 AM

Quote:

Originally Posted by Dozer826 (Post 2191824)
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)


All times are GMT. The time now is 12:50 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.01573 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
  • (1)bbcode_html_printable
  • (18)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