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)
-   -   Show total amount of arcade games on Forum Home (https://vborg.vbsupport.ru/showthread.php?t=68868)

iSpanish 01-30-2005 12:45 PM

nice mod.

installed on vB 3.0.6

sim tech 02-25-2005 05:30 AM

Nice hack... took about 30 seconds to do.

I'm running on version 3.0.7 and v3arcade - all was smooth.

The stickler the one poster may have been in modding the template... make sure that you place the info RIGHT AFTER the line , and before the closing statement.

Acers 02-25-2005 06:49 AM

very nice <clicks install>

MustangLisa 06-12-2005 06:04 PM

Thanks ~ easy to install, no problems!

m0nde 06-16-2005 03:30 AM

Great little hack.
Is there a way to add the number of categories also if you're using the category hack?

I would like it to say "X Games in Y Categories"

- Sid

m0nde 06-16-2005 03:44 AM

Please disregard my request. I looked at your code and did it myself with the code below.

I added the following beneath your code in index.php

PHP Code:

// Game Category Count
            
$result_allgamecategories $DB_site->query("
         SELECT * FROM " 
TABLE_PREFIX "gamescat $searchclause ORDER BY categoryID DESC
            "
);
            
            
$gamecatcount $DB_site->num_rows($result_allgamecategories); 

and then used $gamecatcount by changing

PHP Code:

Games$gamecount 

in the FORUMHOME template

to

PHP Code:

$gamecount Games in $gamecatcount Categories 

Thanks for the initial code, I'm new to PHP.

Aeolian_X 06-17-2005 11:03 PM

Quote:

Originally Posted by sphinx
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 ?

Got the exact same problem. Anyone???

dsboyce8624 06-17-2005 11:25 PM

I would suggest simply checking your install.

Make sure eveything is in the right place.

My usual screwup is leaving out an > or something stupid.

hello 06-18-2005 07:02 PM

Woah, i didnt realise it was for v3arcade lol o well i got ibproarcade and it works perfect on it as well, except the total includeseven the deleted games, know how to stop that?

o0Hubba0o 08-05-2005 01:43 AM

Quote:

Originally Posted by hello
Woah, i didnt realise it was for v3arcade lol o well i got ibproarcade and it works perfect on it as well, except the total includeseven the deleted games, know how to stop that?

[high]* o0Hubba0o installs
[/high]

Nifty little bit of code, thank you for it.


All times are GMT. The time now is 01:10 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.01249 seconds
  • Memory Usage 1,738KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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