vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   "groups" Changing to "usergroup" Automatically? (https://vborg.vbsupport.ru/showthread.php?t=306356)

Digital Jedi 12-28-2013 01:22 AM

"groups" Changing to "usergroup" Automatically?
 
I try to keep my game descriptions pretty helpful and customize each one. Anyone else running into the issues of every instance of the word "groups" auto changing to "usergroup" anywhere in the arcade? I don't have any replacement variables that would cause this and it doesn't happen anywhere else outside the arcade. Replacement text being triggered somewhere?

stangger5 12-28-2013 01:26 PM

I just added the word group to one of my arcade games description..
It didnt change..

Digital Jedi 12-28-2013 08:25 PM

Sorry, I should have typed "groups". It changes the plural form for some reason. Though I would be surprised if any one else was having the same issue. I just can't imagine what would cause it.

stangger5 12-29-2013 01:43 PM

Now that does change..

Have a look at arcade/functions/dbclass.php

//Change the tables from the IPB names to the vBulletin names - ibProArcade modification

PHP Code:

$the_query str_replace("groups""usergroup"$the_query); 

Try using "group`s"

Digital Jedi 12-29-2013 05:30 PM

Really? I can't believe I just ran into that after all these years running the thing. If wonder if there's a better way to change the table names.

I ended up just putting an empty anchor on the "r" in [minicode]g<a>r</a>oups[/minicode]. Random, but it works.


All times are GMT. The time now is 04:55 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.01614 seconds
  • Memory Usage 1,714KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete