Revox Project By RevolutionTeam

09/01/2021 12:44 ilyaslord36#76
Quote:
Originally Posted by harmbasi View Post
I was looking for something similar but didn't get anywhere. I found my own solution. I ended up adding a scroll bar instead of page numbers.

To do this, you need to modify the index.tpl file in the viewer folder for the screen you are trying to edit.

Find this code in the index.tpl, it's close to the top.

Code:
    <aside id="left">
        <article>
            <ul id="left_menu">
                <li><a href="<?= URL ?>?go=supplies&type=general_supplies"><img src="img/bullet.png">General Supplies</a><p></p></li>
                <li><a href="<?= URL ?>?go=supplies&type=general_summon"><img src="img/bullet.png">Summon Supplies</a><p></p></li>
            </ul>
        </article>                   
    </aside>
    <div id="bodyOrignal">
        <div class="row">
Change "<div id="bodyOriginal"> to:

Code:
    <aside id="left">
        <article>
            <ul id="left_menu">
                <li><a href="<?= URL ?>?go=supplies&type=general_supplies"><img src="img/bullet.png">General Supplies</a><p></p></li>
                <li><a href="<?= URL ?>?go=supplies&type=general_summon"><img src="img/bullet.png">Summon Supplies</a><p></p></li>
            </ul>
        </article>                   
    </aside>
    <div id="bodyOrignal" style="width: 530px;height: 420px; overflow: scroll;>
        <div class="row">
This is the result in game:

[Only registered and activated users can see links. Click Here To Register...]
No not about style:{overflow : scroll ;} in style
I means link the index.tpl to [ paginnations of pages ]
1 next page > 2.3.4.5.6.>> last page
09/29/2021 02:06 FrostFire2016#77
Hi! Sorry for bumping such old thread, but I have some issue with this shop. I've installed it and configured, Admin tool opens fine, but I can't access shop in-game. When I open it, I see empty screen and category tabs: [Only registered and activated users can see links. Click Here To Register...]

But when I click on any of displayed tabs, I get `Please Open inside Clinet !` message: [Only registered and activated users can see links. Click Here To Register...]

For referrence: I'm using XAMPP for hosting shop,
php version: 7.2.34
MS SQL Server: 2019
MySQL Version: 10.4.14-MariaDB
Server Files from this thread: [Only registered and activated users can see links. Click Here To Register...]

There is `Notice` from PHP in logs, no other error messages or smth:
10/02/2021 21:16 harmbasi#78
Quote:
Originally Posted by FrostFire2016 View Post
Hi! Sorry for bumping such old thread, but I have some issue with this shop. I've installed it and configured, Admin tool opens fine, but I can't access shop in-game. When I open it, I see empty screen and category tabs: [Only registered and activated users can see links. Click Here To Register...]

But when I click on any of displayed tabs, I get `Please Open inside Clinet !` message: [Only registered and activated users can see links. Click Here To Register...]

For referrence: I'm using XAMPP for hosting shop,
php version: 7.2.34
MS SQL Server: 2019
MySQL Version: 10.4.14-MariaDB
Server Files from this thread: [Only registered and activated users can see links. Click Here To Register...]

There is `Notice` from PHP in logs, no other error messages or smth:
It's empty by default. You have to add the items in. Use the admin site to add the items to the menus.
10/02/2021 21:24 ilyaslord36#79
can you help me to link the store with pagination of pages
Page > page next > 1.2.3.4.5 >> last page not scroll:overflow; in style
Plz help me
10/03/2021 00:02 FrostFire2016#80
Quote:
Originally Posted by harmbasi View Post
It's empty by default. You have to add the items in. Use the admin site to add the items to the menus.
Hi! Thank you for your answer, but that's not my issue, my issues is: After any redirect attempt (Change tab, tap on `View Details` if item is in Offer tab and is displayed after store opening), I receive "Please Open inside Clinet !` error, although I'm already accesing via client.
02/12/2022 20:48 harmbasi#81
I have a new weird issue. Everything has been working fine. I can still add/ edit items. But now on the Admin site, it won't search for items:
ie. I type in "Stam" no selection items appear for me to select the item

I can only enter item ID's. It was so easy with the search function. I even tried copying over a fresh Admin folder and only copied over my config file. Still same issue.
02/17/2022 01:12 Ghost Informatics#82
Quote:
Originally Posted by harmbasi View Post
I have a new weird issue. Everything has been working fine. I can still add/ edit items. But now on the Admin site, it won't search for items:
ie. I type in "Stam" no selection items appear for me to select the item

I can only enter item ID's. It was so easy with the search function. I even tried copying over a fresh Admin folder and only copied over my config file. Still same issue.
Did you change anything in the databases?

You can find the search Query/File in [Only registered and activated users can see links. Click Here To Register...]

So make sure you did not change anything in your Itemresource nor your StringResource, if your StringResource in English, then you search in English.. and so on.
02/17/2022 18:30 harmbasi#83
Quote:
Originally Posted by Ghost Informatics View Post
Did you change anything in the databases?

You can find the search Query/File in [Only registered and activated users can see links. Click Here To Register...]

So make sure you did not change anything in your Itemresource nor your StringResource, if your StringResource in English, then you search in English.. and so on.

Figured it out. For some reason when I used an external IP the admin functions worked correctly for a bit. Now I changed the admin site to localhost and now it works again. Thanks.
11/10/2022 18:12 ilyaslord36#84
plz can any one help me to add pagination pages like this > page next > 1.2.3.4.5 >> last page of all items inside tags (General Supplies, General summon, ...etc)

i found this functions SelectW and SelectWhere but I do not know what to do


function SelectW($table, $array, $limit = 9) {
try{
$parts = array();
foreach ($array as $key => $value) {
$parts[] = "`" . $key . "` = '" . $value . "'";
}
$sth = $this->dbMySql->prepare("SELECT * FROM `$table` WHERE $where" . implode(" AND ", $parts). "LIMIT $limit");
$sth->setFetchMode(PDO::FETCH_ASSOC);
$sth->execute();
$data = $sth->fetchAll();
return $data;
} catch (Exception $ex) {
if(DEV_MODE === true){
echo "The Error : " . $ex->getMessage() . "<br />";
echo "The Error in : " . $ex->getFile() . "<br />";
echo "Line : " . $ex->getLine() . "<br />";
} else {
echo "[1002]The System has some error, Please contact with Administrator!";
}
die;
}

}

function SelectWhere($table, $where, $limit = 3) {
try {
$sth = $this->dbMySql->prepare("SELECT * FROM $table WHERE $where LIMIT $limit");
$sth->setFetchMode(PDO::FETCH_ASSOC);
$sth->execute();
$data = $sth->fetchAll();
return $data;
} catch (Exception $ex) {
if(DEV_MODE === true){
echo "The Error : " . $ex->getMessage() . "<br />";
echo "The Error in : " . $ex->getFile() . "<br />";
echo "Line : " . $ex->getLine() . "<br />";
} else {
echo "[1003]The System has some error, Please contact with Administrator!";
}
die;
}
}

plzz any help ?