PDA

View Full Version : "groups" Changing to "usergroup" Automatically?


Digital Jedi
12-28-2013, 02:22 AM
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, 02:26 PM
I just added the word group to one of my arcade games description..
It didnt change..

Digital Jedi
12-28-2013, 09: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, 02: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

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

Try using "group`s"

Digital Jedi
12-29-2013, 06: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 g<a>r</a>oups. Random, but it works.