Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
vBaCMPS Featured/Random Geek Articles Details »»
vBaCMPS Featured/Random Geek Articles
Version: 1.2, by The Geek The Geek is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Version: 3.0.5 Rating:
Released: 01-04-2005 Last Update: 02-01-2005 Installs: 38
 
No support by the author.

Hack: vBadvanced CMPS Featured/Random Geek Articles
Version: 1.2
Author: Me

Instructions:
upload modules/featuredgeekarticles.php into modules folder
upload admincp/featuredgeekarticles_install.php into admincp folder
run above fileFollow the file modification in the README

File modifications: 1
Template modifications: 0
Installer: Yup. A very cool one.
Phrased: Yup

In a nutshell, this module is based upon the vBa news module, but is instead set up to pull a pre specified 'Featured Article' or even a 'Random Article'. This is really designed for those using The Geek Article System. If you don't have The Geek Article System, you are most likely very lonely anyway.

version 1.2 uploaded 02/02/05
Updated Readme to work with latest vBaCMPS

version 1.2 uploaded 07/01/05
Fixed 'Excluded Forums' bug that appeared to have been bitten by Zombie.
It came back to haunt one user so I had to take drastic action and update it.
It now WORKS with your 'excluded forums' setting. That is to say, you can exclude your acticle forums from 'Latest topics' but they will still happily appear as a featured article.
Please note that this means there is now a file edit. Please read the README.

Check out the Readme that comes in the package.

note:if you dig this module, you may be interested in the Latest articles one too.

PS: Your template will be a tad different from my screen shot as this is for my style.

nJoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 01-07-2005, 08:42 PM
tormodg tormodg is offline
 
Join Date: Oct 2004
Location: Oslo, Norway
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #13  
Old 01-16-2005, 03:32 PM
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #14  
Old 01-16-2005, 07:29 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 01-16-2005, 07:35 PM
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #16  
Old 01-16-2005, 07:51 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #17  
Old 01-16-2005, 08:03 PM
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

h
Reply With Quote
  #18  
Old 01-16-2005, 10:45 PM
memobug memobug is offline
 
Join Date: Jun 2002
Posts: 418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #19  
Old 01-17-2005, 06:25 PM
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

h
Reply With Quote
  #20  
Old 01-17-2005, 08:44 PM
The Geek's Avatar
The Geek The Geek is offline
 
Join Date: Sep 2003
Location: Behind you
Posts: 2,779
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #21  
Old 01-17-2005, 08:57 PM
hockyfan hockyfan is offline
 
Join Date: Mar 2003
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:05 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.04472 seconds
  • Memory Usage 2,302KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete