16
Templates & Styles (Requests & Discussions) / Re: visitors to 4images pick template.
« on: January 23, 2009, 06:03:14 AM »
Ops sorry .. i'm wrong this mood can work only if register global is on ..in php
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Hi,
i use this small mod to change between different templates in my testgallery
between the sessiontime you can surf on the page in the different style...
http://www.4homepages.de/forum/index.php?topic=1281.msg5463#msg5463
=> only code for global.php is needed... links like index.php?t=new for templatefolder: new
Kurt
u can try do first two steps from this mod:
http://www.4homepages.de/forum/index.php?topic=6220.0
then in step 2 above:Code: [Select]define('TEMPLATE_PATH', ROOT_PATH.TEMPLATE_DIR."/".$user_template);
insert:Code: [Select]if ($user_info['user_level'] >= ADMIN && isset($_GET['tpl']) && !empty($_GET['tpl']) && @is_dir(ROOT_PATH.TEMPLATE_DIR."/".$_GET['tpl']))
{
$user_template = $_GET['tpl'];
}
Then u should be able test it by adding to the url query: tpl=templatename
like this: index.php?tpl=blah
Ah, almost forgot to say that u must be logged in as admin, or change ADMIN to GUEST or USER
All the template will be ready in next month .. and also will try to update the DREAMBOARDThat's great to hear!
.. and also will try to update the DREAMBOARD
... thanks ...
I can pay money for you by paypal. I want have a theme for my site. My site is a download site, please design a special theme for my download site. Thank