vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBaCMPS Featured/Random Geek Articles (https://vborg.vbsupport.ru/showthread.php?t=73836)

tormodg 01-07-2005 08:42 PM

Quote:

Originally Posted by the nail geek
Hey guys... those of you having problems... can you post the first 2 settings of your...um, settings (i.e. Featured or Random Article? and Featured thread id) and I will get it sorted for you ;)

I use the geek article system. Ie, lots of gas, lots of friends!

Love it, geek.

hockyfan 01-16-2005 03:32 PM

For some reason, it seems to only be pulling certain articles over and over, while I listed about 4 forums with many articles each, I keep seeing the same ones being "randomly" featured. Is it possible I did something wrong? I have it set to random, and I have a list of the forums like this "1,2,3" - should there be spaces in the commas? Is there a setting I've overlooked?

Is there some kind of restriction on which articles it pulls? I know for certain I have many more articles than it has shown, even though I've refreshed my page many times and checked on multiple days, yet have only seen at most 5 different articles.


h

The Geek 01-16-2005 07:29 PM

Quote:

Originally Posted by hockyfan
For some reason, it seems to only be pulling certain articles over and over, while I listed about 4 forums with many articles each, I keep seeing the same ones being "randomly" featured. Is it possible I did something wrong? I have it set to random, and I have a list of the forums like this "1,2,3" - should there be spaces in the commas? Is there a setting I've overlooked?

Is there some kind of restriction on which articles it pulls? I know for certain I have many more articles than it has shown, even though I've refreshed my page many times and checked on multiple days, yet have only seen at most 5 different articles.


h

Have you made any adjustments? The reason I ask is because the title box says 'Featured Article' instead of 'Random Article'. That tells me that Featured or Random Article is set to yes.
Let me know if that is the case. otherwise Ill need the SQL statement.

hockyfan 01-16-2005 07:35 PM

Not sure what you mean by the "SQL Statement," but the only adjustment I made was I changed the phrase "Random Article" to say "Featured Lesson," just based on my personal preferance on wording, no other changes were made and I am, indeed, using the "Random Article" option.

h

The Geek 01-16-2005 07:51 PM

Yea, after I posted my response I started refreshing. out of about 12 refreshes, I came up with 2 or 3 duplicates... but I guess that depends on the amount of articles you have.
'standard notation according to tab' or whatever was the one that seemed to want to appear more than others, however I was still getting pretty random results (just went back on and the one I just mentioned popped up a couple times... but still not overly disportionate). Do you still feel like its not 'random' enough?

hockyfan 01-16-2005 08:03 PM

I feel like some of the forums' articles aren't being pulled, while other forums are constantly being pulled; not sure why.

h

memobug 01-16-2005 10:45 PM

It might be perception, might be based on the proportion of articles in each forum. Try omitting the "constant" forums and seeing if you actually get output from the "never" forums.

Regards,

Matt

hockyfan 01-17-2005 06:25 PM

Is there any way to make it so it doesn't rely on how many articles there are per forum?

h

The Geek 01-17-2005 08:44 PM

Quote:

Originally Posted by hockyfan
Is there any way to make it so it doesn't rely on how many articles there are per forum?


h

Hey H.

I am not sure what you are asking here. What mySQL does is select a random listing from one of the forums in your coma seperated field. It doesnt weigh the pull or anything. The randomness is occuring at mySQL level, not in the code.

Sorry if that doesnt help.

hockyfan 01-17-2005 08:57 PM

No, that's what I had thought, memobug's post led me to believe otherwise, but no worries. :)

So is there any reason though I keep getting one thread many times, while other ones I have yet to see at all?


h


All times are GMT. The time now is 01:45 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.01849 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)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
  • (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