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)

Lionel 11-08-2004 01:40 AM

ALTER TABLE `games` ADD `votetotal ` smallint(5) UNSIGNED DEFAULT '0' NOT NULL ;

ALTER TABLE `games` ADD `votenum `

votetotal ' should be votetotal'

same for votenum

GenSec 11-08-2004 07:25 AM

Quote:

Originally Posted by Lionel
Where are the phrases?

Thanks for "spaces" :)

The phrases are using by standart redirects in gamerate.php ( it's based on threadrate.php ;) )
like
Code:

 
                eval(print_standard_redirect('redirect_threadrate_add'))

It uses
$vbphrase[threadrate_add] ="Your vote on this thread has been added."

You can change it to something like

eval(print_standard_redirect('redirect_game_add'))


and add the new phrase

$vbphrase[game_add] ="Your vote on this game has been added."

BUT you also can edit the original phrase to

$vbphrase[threadrate_add] ="Your vote has been added." :) :) :)

Up to you.

I desabled redirects at all.

Lionel 11-08-2004 07:33 AM

I removed the arcade phrases and used the showthread. Arcade was giving a myaql error since they were non existant.

HarryBO 11-10-2004 12:35 PM

Hi!

Thats a very nice Hack, but it seems I have a problem!

See my Screenshot!

How can I format the stars correctly?

Lionel 11-10-2004 01:14 PM

align="left"

dina 11-10-2004 01:19 PM

Great mod, however I had a problem with the phrases.

It gave this error;
mysql error: Unknown column 'language.phrasegroup_arcade' in 'field list'

So I changed the arcade.php to this $phrasegroups = array('showthread');
Removed the arcade bit

HarryBO 11-10-2004 04:22 PM

Where must I put this Code?

Lionel 11-10-2004 04:33 PM

Quote:

Originally Posted by HarryBO
Where must I put this Code?

In the <td where you have the stars :squareeyed:

HarryBO 11-10-2004 05:36 PM

Sorry can you post the complete piece of Code? I´am an absolutely php-Noob!

Lionel 11-10-2004 05:56 PM

This is basic html in your template


All times are GMT. The time now is 08:43 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.01069 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_code_printable
  • (2)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