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

Reply
 
Thread Tools
Show total amount of arcade games on Forum Home Details »»
Show total amount of arcade games on Forum Home
Version: 1.00, by DWard DWard is offline
Developer Last Online: Mar 2018 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 08-29-2004 Last Update: Never Installs: 18
 
No support by the author.

Show amount of arcade games on Forum Home
Requirements: v3 Arcade

It's easy enough, but for those who are not too familiar with php, follow these instructions. It puts the game total at the end of your forum statistics. Remember, please click install if you use the mod

Example: Threads: 527, Posts: 13,478, Members: 197, Games: 288

Open index.php from your forum root directory and find:
Code:
// ### BOARD STATISTICS #################################################
Below this, add:
Code:
	// Game Count
        	$result_allgames = $DB_site->query("
 		SELECT * FROM " . TABLE_PREFIX . "games $searchclause ORDER BY gameid DESC
        	");
        	
        	$gamecount = $DB_site->num_rows($result_allgames);
OK, now open your FORUMHOME template and find:
Code:
$totalposts, $vbphrase[members]: $numbermembers
In line after, add:
Code:
, Games: $gamecount
If you have any troubles, just reply to this thread.

Show Your Support

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

Comments
  #2  
Old 08-30-2004, 11:24 AM
sphinx sphinx is offline
 
Join Date: Dec 2001
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm installed very easy to do but for some strange reason it doesn't give me a games count just the games: in the stats any ideas ?
Reply With Quote
  #3  
Old 08-30-2004, 04:20 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's worked fine for everybody over www.v3arcade.com
Reply With Quote
  #4  
Old 08-30-2004, 06:09 PM
sphinx sphinx is offline
 
Join Date: Dec 2001
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am simply telling you what you requested with your "If you have any troubles, just reply to this thread" post ending and I took that that was meant literally perhaps I was wrong,as for installed at v3 arcade it isn't showing over there just looked I am over there quite a bit.
Reply With Quote
  #5  
Old 08-30-2004, 06:40 PM
DWard's Avatar
DWard DWard is offline
 
Join Date: Mar 2004
Location: Peterborough, UK
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's fine, as for v3arcade.com, you probably didn't look too well

http://www.v3arcade.com/play/showthread.php?t=1382
Reply With Quote
  #6  
Old 08-30-2004, 07:11 PM
Polo's Avatar
Polo Polo is offline
 
Join Date: Jun 2004
Posts: 893
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I knew i had seen it somewhere...
Reply With Quote
  #7  
Old 08-31-2004, 07:48 AM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, thanks
Reply With Quote
  #8  
Old 08-31-2004, 03:38 PM
sphinx sphinx is offline
 
Join Date: Dec 2001
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but that still doesn't answer the problem anyway forget it there is no point asking people to let you know if you have no intention of sticking to it.
Reply With Quote
  #9  
Old 09-01-2004, 02:16 PM
Mombos Mombos is offline
 
Join Date: Oct 2003
Location: Leicester, England
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice little addition this is thanks alot - *clicks install*
Reply With Quote
  #10  
Old 01-28-2005, 02:13 AM
Vizionz Vizionz is offline
 
Join Date: Jul 2003
Location: Chicago
Posts: 524
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the addon worked fine with 3.06
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 12:54 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08193 seconds
  • Memory Usage 2,284KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_code
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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