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)

Jaxx 05-15-2005 05:37 PM

I've got it installed. Had the same sql errors and removed the arcade from the phrasegroup.

But i'm not seeing the ratings selectin in the games nor am I seeing anything about ratings.

owner 05-20-2005 11:33 AM

There is some problem with this coding .... $phrasegroups = array('arcade','showthread');
I tried adding just the showthread and it works but the arcade dosent work for it..... Strange.. Also i didnt quite get this step ..
2. Upload gamerate.php to your forumroot directory.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
There are somу redirects phrases like "redirect_threadrate_add", "error_threadratevoted" etc.
You саn change them to similar with the word "game" instead of "thread".
I didn't. And it works fine on my board.
--
Change what to what ? huh !

Polo 05-20-2005 12:52 PM

Quote:

Originally Posted by owner
There are somу redirects phrases like "redirect_threadrate_add", "error_threadratevoted" etc.
You саn change them to similar with the word "game" instead of "thread".
I didn't. And it works fine on my board.
--
Change what to what ? huh !

I agree with you, this is confusing... I couldnt do it either cuz I didnt understand what he was trying to say.....

CampusCrawler 06-10-2005 05:35 AM

so how could i use this with calendar mod?

nymyth 08-17-2005 03:17 PM

So do we have answers on why its not showing up on the arcade, ive followed the instructions to the 't' and still cant get it to show. Has anyone that had this problem fixed it??

Peace

nymyth 08-17-2005 04:18 PM

OK I FINALLY FIGURED IT OUT: I'm running 3.0.6 and with tweaking, I have it looking perfect. (mind you im using the standard board style)

TEMPLATE: arcade_play (this is to get it to show correct)

RIGHT AFTER:
PHP Code:

<span class="smallfont"><a href="$vboptions[bburl]/arcade.php">Back to the Arcade</a><br><a href="$vboptions[bburl]/arcade.php?do=scores&name=$thisGame[shortname]">View High Scores</a></span></td></tr

PASTE THE FOLLOWING:
PHP Code:

<div class="vbmenu_popup" id="gamerating_menu" align="left" style="display:none">
<
form action="gamerate.php" method="post">
        <
tr>
        <
td class="thead"><span class="smallfont">Rate this game<a name="goto_gamerating"></a></span></td>
    </
tr>
    <
tr>
        <
td class="alt1" title="choose" align="left">
        <
div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]/><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
        <
div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]/><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
        <
div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]/><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
        <
div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]/><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
        <
div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]/><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
        </
td>
    </
tr>
    <
tr>
        <
td class="alt2" title="VOTE" align="center">
    <
input type="hidden" name="s" value="$session[dbsessionhash]/>
    <
input type="hidden" name="gameid" value="$gameid/>
    <
input type="submit" class="button" value="$vbphrase[vote_now]/>
        </
td>
    </
tr>
    
</
form>
</
div

TEMPLATE: arcade_main (this is to get the tables to look correct)

RIGHT IN BETWEEN: (overwrite anything in there)
PHP Code:

<!-- games  -->  & <!-- games  --> 

PASTE THE FOLLOWING:
PHP Code:

<!-- games  --> 
<
table cellpadding="$stylevar[outerborderwidth]cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]align="center"
  <
tr
    <
td> <table cellpadding="$stylevar[cellpadding]cellspacing="$stylevar[cellspacing]border="0" width="100%">
        <
tr align="center"
 <
td colspan="4"  class="thead">Total Games$gamecount </td
        </
tr
        
$gamebits
</table>
</
tr>
</
td>
</
table
<!-- /
games --> 

With these 2 fixes, I got the whole thing to align correctly, and work flawlessly.....

ENJOY

Peace

Gutspiller 08-18-2005 08:39 PM

How do I get it so that when you mouse over the rating it doesn't say: "Thread Rating"?

nymyth 08-18-2005 08:53 PM

PHP Code:

<td class="alt1" title="choose" align="left"

Where mines says choose, I belive yours read thread rating....I changed it to choose, you can replace it with whatever.

Was that what you were looking for?

Peace

Gutspiller 08-19-2005 08:46 PM

No I still want it to say the stats on the frontpage of the arcade when the rating image is rolled over.

Battle_Ring 08-26-2005 06:13 PM

does thsi work with 3.0.7


All times are GMT. The time now is 08:51 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.31751 seconds
  • Memory Usage 1,796KB
  • 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
  • (5)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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