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)
-   -   V3Arcade - Game Rating addon (https://vborg.vbsupport.ru/showthread.php?t=71460)

kamu 12-01-2004 02:17 PM

Quote:

Originally Posted by ChuanSE
strange strange strange

the code is there, but the rating area doesn't appear in the arcade_play bit, or nowhere else on that page?

any suggestions :)

I have the same problem.. Any ideas?

Lionel 12-01-2004 02:59 PM

$phrasegroups = array('arcade','showthread');

remove 'arcade',

kamu 12-01-2004 03:08 PM

Works :)

sirstone 12-18-2004 10:57 AM

I´ve installed this mod, but when i click the rating i don´t see the reults.. Why? Under the Games.gif

dtsrules 12-21-2004 05:28 PM

same problem as others, I can't get the rating to appear. :(

rjordan 12-29-2004 04:09 AM

I am also unable to see anything regarding ratings after installing this. What I have played around with was the addition in arcade_play:

Code:

<div class="vbmenu_popup" id="gamerating_menu" style="display:none">
If I remove the style="display:none", I can see the rating hack in the game screen, but it does not display anything beside the radio buttons other than terrible.

I have gone back and rechecked and rechecked again what I have done with no success. Any ideas?

rjordan 12-29-2004 01:43 PM

I found one of my issues... it seems that there are two cases of the following in admin_play:

Quote:

<table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="thead" colspan="2"><span class="smallfont">$thisGame[title]</span></td>
</tr>
You want the second instance. The first is in the challenge system and the second in regular play. Now to try to find some phrases as I am missing some of those...

Soto 01-01-2005 08:44 PM

Hey, just wanted to let you know that I've installed this hack on my boards at www.swanseasucks.com/vforum/arcade.php and it's really great.

I did have some trouble installing it because I am a complete novice at this sort of thing, but from a few of the posts I've read here other people had the same problem I did with sql errors after editing arcade.php - this was for two reasons.

1 - as already pointed out, removing 'arcade' from the line
Code:

$phrasegroups = array('arcade','showthread');
when changing arcade.php

2 - the code for creating a table assumes that there is no prefix on the database and so creates a table called 'game_rate' - however, if your vbulletin database is prefixed then you need to change the following code to reflect that:
Code:

CREATE TABLE `game_rate` (
  `gamerateid` int(11) NOT NULL auto_increment,
  `gameid` int(11) NOT NULL default '0',
  `userid` int(10) NOT NULL default '0',
  `vote` smallint(5) default NULL,
  `ipaddress` char(15) NOT NULL default '',
  PRIMARY KEY  (`gamerateid`)
) TYPE=MyISAM AUTO_INCREMENT=8 ;

example: should your database be prefixed vbx_ then the first line of that code should read

Code:

CREATE TABLE `vbx_game_rate` (
Obviously you need to replace 'vbx_' with whatever your database prefix is (you can find that through phpmyadmin or whatever.

I hope that helps someone as I nearly had a heart attack when it all went pear shaped :)

*_*_*_*_*_*_*_*_*_*_*_*_*_*_*

Now, can some one explain to me what files to change so that it says "rate game" rather than "rate thread"?

Thanks all, and thanks for a great hack.

bubba1977 01-06-2005 01:51 AM

Quote:

Originally Posted by ChuanSE
strange strange strange

the code is there, but the rating area doesn't appear in the arcade_play bit, or nowhere else on that page?

any suggestions :)

I have been through this thread and the install file three times and done all the suggested fixes and double and triple checked everything and I have the same issue.

it simply shows nothing at all as tho hack was never even installed.

it also states in the code "if ratings are enabled" where do we enbable them as there do not appear to be any admin panel changes to turn ratings on or off

Slapp3r 01-09-2005 04:48 PM

I have installed this hack but i can still see nothing in the arcade any ideas


All times are GMT. The time now is 02:08 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.03316 seconds
  • Memory Usage 1,740KB
  • 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
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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