Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-21-2008, 12:14 PM
Ben E Lou Ben E Lou is offline
 
Join Date: Dec 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Help a total newbie. Is this custom modification doable?

Hello everyone. Thanks in advance for indulging a semi-clueless dolt in some questions.

I'm the commish of a sim football league and we use vbulletin for our forums. On each gameday (three days a week), I create four threads that are of identical structure, copying and pasting from several web locations, and that process takes me quite some time (30-45 minutes). I'd love to automate a good bit of it, and I suspect it's doable, but I'm not certain. I've created a bit of a functional specification for what I'm looking for. There are some details left out, I know.


PRE-CONDITIONS
(The commish will have completed the following actions prior to the process running.)

1. Woof_export.zip is uploaded.
2. DBUpdater has been run.
3. FOF's Standard HTML has been generated and uploaded.
4. Extractor and Extender HTML files have been uploaded to same folder as GindinHTML.

TRIGGER(S)
"Post Gameday Items" button is pressed.

POST-CONDITIONS
1. No-spoiler thread is posted.
2. Gameday thread is posted.
3. Players Of The Week thread is posted.
4. Pregame Discussion thread for next week is posted.


DETAILED REQUIREMENTS
TRIGGER REQUIREMENTS
  • Add a button titled "Post Gameday Items" to our vbulletin skin that can only be seen by members of a new user group called "commish."
  • When button is pressed by commish user, the process begins.
NO-SPOILER THREAD
  • Posted in General Discussion Forum (Forum ID=8).
  • Title is "YYYY Week WW No-Spoiler Thread," where YYYY=current game year and WW=current game week.
  • Line one contains link to woof_export.zip for current week.
  • Lines 2 and 3 are blank.
  • Beginning at line four, contents of http://www.gstelmack.com/woof_test/P...NoSpoiler.aspx populate the remainder of post.
GAMEDAY THREAD
  • Posted in Web Site Talk And Testing Forum (Forum ID=23.)
  • Title is "YYYY Week WW Completed."
  • Lines one through six are blank. (Commish will manually insert headlines.)
  • Line seven contains link to woof_export.zip for current week.
  • Lines eight and nine are blank.
  • Beginning at line ten, insert contents of http://www.gstelmack.com/woof_test/P...thSpoiler.aspx
  • After manually inserting headlines, commish will manually move thread to Announcements forum.
PLAYERS OF THE WEEK THREAD
PREGAME DISCUSSION THREAD FOR NEXT WEEK
I'm not a developer at all, but I'm not a total nitwit, either. I've installed maybe 20ish mods from these forums, so I'm not uncomfortable messing around in the innards of vbulletin. I guess really I have five specific knowledge items:

1. How to go about adding a button to vbulletin that is only seen by one user group.
2. How to auto-generate posts in a particular forum when that button is pressed.
3. How to auto-pull web page content into a post.
4. How to to pull the game week and year from our database. (They're in a data table called fof_gameinfo in fields called CurYear and Week.)
5. How to create a dynamic link. The woof_export.zip file mentioned above is in a different folder every gameday week. It is always of the format /2010/xxx/woof.export. 2010 is the current season, and xxx (at least for this season, I envision just changing this formula once a season...seasons are roughly 2 1/2 months log, so that's not really a big deal) is equal to 168+(Week*2).

Thoughts? Am I way over my head trying to do this myself? Should I get a web developer who is in my league to do this? (I'd rather have him working on our custom stats pages...) Is this in the realm of something someone here would do for free, or in the realm of something that I should expect to pay someone to do? It *seems* like if I had those five issues above identified, I could take it and run with it, but it may well be that those five are all too complicated for a total noob.

Thanks for reading all of this!

--Ben
Reply With Quote
Reply


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 10:25 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.03026 seconds
  • Memory Usage 2,216KB
  • Queries Executed 11 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.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_threaded
  • showthread_threaded_construct_link
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete