ty I'll try it
2 moons - new universe
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
-
not sure were to place it.....anywhere i put it it dosent change the universe
-
<select name="uni" id="universe" class="changeAction">{html_options options=$universeSelect selected=$UNI}</select>
-
is this how it should look
<select name="uni" id="universe" class="changeAction">{html_options options=$universeSelect selected=$UNI}</select>"><option value="dummy"><font><font>Universe</font></font></option><option value="Uni1"><font><font>Shattered Empires</font></font></option><option value="Uni2"><font><font>New Beginnings</font></font></option><option value="uni3"><font><font>Empires</font></font></option></select> -
Hello
only this : <select name="uni" id="universe" class="changeAction">{html_options options=$universeSelect selected=$UNI}</select>">
The rest is not needed -
i tried to implement the code but i get this at the top
the original code will display but not change
i do appreciate your help thank you -
Yes because my main code of deprecated pack doesnt take in count multi universe code in php file,
you have to edit the php files aswell. -
ok thanks
-
ok i got it up correctly on the main page...or as the way i like....
in the ShowIndexPage.php
i found
$universeSelect = array();
$uniAllConfig = Config::getAll('universe');
foreach($uniAllConfig as $uniID => $uniConfig)
{
$universeSelect[$uniID] = $uniConfig['uni_name'].($uniConfig['game_disable'] == 0 ? t('uni_closed') : '');
}
$Code = HTTP::_GP('code', 0);
$loginCode = false;
if(isset($LNG['login_error_'.$Code]))
{
$loginCode = $LNG['login_error_'.$Code];
do i add the code here or edit something here for it to work? -
anyone please
-
-
Hey thanks......I did that but need to tell.the login page on how to switch between both
-
example link:
localhost/Xterium/uni1/index.php
and
localhost/Xterium/uni2/index.php
There is this way
But it's basic
<div class="blocks">
<select id="universe" class="sel_uni" name="forma" onchange="location = '../uni'+$(this).val();">
<option value="">Select Universe</option>
<option value="1/index.php" class="sel_uni">Universe 1</option>
<option value="2/index.php" class="sel_uni">Universe 2</option>
<!--Manually adding
<option value="3/index.php" class="sel_uni">Universe 3</option>
<option value="4/index.php" class="sel_uni">Universe 4</option>
<option value="5/index.php" class="sel_uni">Universe 5</option>
-->
</select>
</div>
I did not use a lot this one Xterium.
I hope to help. -
Thank you for the help
-
hi i want to ask a question influences yes, my database is called moons_config ???VERY SAD
-
it would be uni_config by default
your database name would be what ever you named it....look in your config.php in the includes folder and see your server info
-
Share
- Facebook 0
- Twitter 0
- Google Plus 0
- Reddit 0
-
Similar Threads