Custom RevCMS Theme

Status
Not open for further replies.

Wouto

Posting Freak
FindRetros Moderator
May 31, 2011
750
305
No, the vault was just a placeholder until I got round to doing it.
 

Wouto

Posting Freak
FindRetros Moderator
May 31, 2011
750
305
Some pages doesn't work...

and for the diamonds i get: {bolts}
{bolts} is just vip_points (points, bolts, diamonds, stars) whatever you wanna call them. Include them in class.template
 

VaginaMuncher

Chilling with me bitch Fiona
Mar 17, 2013
447
58
$this->setParams('activitypoints', $users->getInfo($_SESSION['user']['id'], 'bolts'));
Then just run a sql for bolts in db, or edit vip_points table
 

Wouto

Posting Freak
FindRetros Moderator
May 31, 2011
750
305
What database do you have to use? Phoenix 3.1? :S Cause my layout is messed :L
yes. You need to change your index.php in Wwwroot/Htdocs to

Code:
[I][FONT=Consolas]<?php
define('IN_INDEX', 1);
 
require_once 'global.php';
$core->handleCall($engine->secure($_GET['url']));
$template->html->get($engine->secure($_GET['url']));
$template->outputTPL();
?>
 

Blasteh

big tits
Apr 3, 2013
1,156
521
yes. You need to change your index.php in Wwwroot/Htdocs to

Code:
[I][FONT=Consolas]<?php
define('IN_INDEX', 1);
 
require_once 'global.php';
$core->handleCall($engine->secure($_GET['url']));
$template->html->get($engine->secure($_GET['url']));
$template->outputTPL();
?>

Thanks :) New Problem :S Well I cant access ASE .. No way..

I Try: /ase , /ase/login , but of course with my link xD

Any fix..? It just Not Found.. But it is in there.
 

Wouto

Posting Freak
FindRetros Moderator
May 31, 2011
750
305
Thanks :) New Problem :S Well I cant access ASE .. No way..

I Try: /ase , /ase/login , but of course with my link xD

Any fix..? It just Not Found.. But it is in there.
Swap your web.config with this:

Code:
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Imported Rule 1">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 2">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
<rule name="Imported Rule zz">
                    <match url="^ase/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="/ase/index.php?url={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 3">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
                <rule name="Imported Rule 4">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 6" stopProcessing="true">
                    <match url="^home/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=home&amp;user={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 11" stopProcessing="true">
                    <match url="^news/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 7" stopProcessing="true">
                    <match url="^ref/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=register&amp;refer={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 8">
                    <match url="store/packages(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=packages" />
                </rule>
                <rule name="Imported Rule 9">
                    <match url="store/badge(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badge" />
                </rule>
                <rule name="Imported Rule 10">
                    <match url="store/super(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=super" />
                </rule>
            </rules>
 

Blasteh

big tits
Apr 3, 2013
1,156
521
Swap your web.config with this:

Code:
<configuration>
    <system.webServer>
        <rewrite>
            <rules>
                <rule name="Imported Rule 1">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 2">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
                </rule>
<rule name="Imported Rule zz">
                    <match url="^ase/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="/ase/index.php?url={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 3">
                    <match url="^(.*)\.htm$" />
                    <action type="Rewrite" url="{R:1}.php" />
                </rule>
                <rule name="Imported Rule 4">
                    <match url="^(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 5">
                    <match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
                </rule>
                <rule name="Imported Rule 6" stopProcessing="true">
                    <match url="^home/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=home&amp;user={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 11" stopProcessing="true">
                    <match url="^news/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=news&amp;id={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 7" stopProcessing="true">
                    <match url="^ref/(.*)/?$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=register&amp;refer={R:1}" appendQueryString="true" />
                </rule>
                <rule name="Imported Rule 8">
                    <match url="store/packages(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=packages" />
                </rule>
                <rule name="Imported Rule 9">
                    <match url="store/badge(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=badge" />
                </rule>
                <rule name="Imported Rule 10">
                    <match url="store/super(|/)$" ignoreCase="false" />
                    <action type="Rewrite" url="index.php?url=super" />
                </rule>
            </rules>
Wheres my Web.config? Im testing on Xampp..
 
Status
Not open for further replies.

Users who are viewing this thread

Top