1. Site Info English

Site Info English

  |   7
Site Info English

Yes friends we all know, this module Site Info module version of the hit box is supported.
That is a module of Salar originally had no comments and a few features I've added them.


1. copy . siteinfo.php to engine/modules

--------------------------------------------------
2. open index.php:

Search:

require_once ROOT_DIR . '/engine/init.php';


Below add :

include ROOT_DIR.'/engine/modules/siteinfo.php';


--------------------------------------------------
search:

$tpl->load_template ( 'main.tpl' );



Below Add :

$tpl->set('{siteinfo}',$siteinfo);


--------------------------------------------------
3. Open /templates/{your_template}/css/style.css ;


add at bottom of the css :

#hintbox {
text-align : left;
width : 150px;
font-size : 10px;
border : 1px solid #99a1ab;
background-color : #fff;
layer-background-color : #a396d9;
color : #282828;
margin : 10px 0 0 10px;
padding : 3px 5px;
position : absolute;
visibility : hidden;
z-index : 998;
-moz-opacity : 0.9;
-moz-border-radius : 5px;
filter : alpha(opacity="90");
}


--------------------------------------------------

4.open / templates/{your_template}/main.tpl

Search:

< /head>

Above Add :

<script src="engine/skins/default.js" type="text/javascript"></script>

--------------------------------------------------
5. in main.tpl or sidebars.tpl add tag for display the site info:

{siteinfo}

Login Required!Only registered users can download files. Please register or Login
Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.

Details

+4

Comments 7

asaadshaikh
Commented By asaadshaikh on July 22, 2013 (8:37 am)
thanks for this module!
3 43Forum topics : 14Forum replies : 30Forum likes : 0
King-Zeus
King-Zeus
V.I.P.
Commented By King-Zeus on July 22, 2013 (10:20 am)
thanks good module applause
N/A 32Forum topics : 6Forum replies : 15Forum likes : 0
soundlover
soundlover
Members
Commented By soundlover on April 14, 2014 (5:49 am)
Works perfectly. Thank you. lol
N/A 14Forum topics : 1Forum replies : 8Forum likes : 0
hanzaleh
hanzaleh
Members
Commented By hanzaleh on November 19, 2014 (7:17 am)
worked for me
thanks alot
N/A 11Forum topics : 0Forum replies : 0Forum likes : 0
kevinhd
kevinhd
V.I.P.
Commented By kevinhd on October 25, 2015 (2:13 pm)
Not work in dle 10.5
N/A 18Forum topics : 6Forum replies : 10Forum likes : 0
Commented By Abdul Ghaffar Attari on November 2, 2015 (4:47 am)
its working with 10.5. 10.X
All you need is to paste the change the installation step 2
instead of opening index.php
follow this
2. open main.php
find this:
$tpl->load_template ( 'main.tpl' );

Add this code above :
include ROOT_DIR.'/engine/modules/siteinfo.php';


It will work now. I will try to update the modules as on this site as soon as possible
4 56Forum topics : 44Forum replies : 415Forum likes : 21
tuongyda14
tuongyda14
Members
Commented By tuongyda14 on January 28, 2016 (1:45 am)
Quote: Abdul Ghaffar Attari
its working with 10.5. 10.X
All you need is to paste the change the installation step 2
instead of opening index.php
follow this
2. open main.php
find this:
$tpl-&gt;load_template ( &#39;main.tpl&#39; );

Add this code above :
include ROOT_DIR.&#39;/engine/modules/siteinfo.php&#39;;


It will work now. I will try to update the modules as on this site as soon as possible


Not found $tpl->load_template ( 'main.tpl' ); open main.php
N/A 1Forum topics : 3Forum replies : 7Forum likes : 0
Information!Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.
DLEStarter Notice!Please note...Every hack and every module will get additional queries from your database and some hacks and some modules may result your server overload, so install only what you "need", remove any hacks and modules from your script when you don't need them, all hacks and modules appears in this website are not guaranteed by DLEStarter Team for your script security and compatibility, please read instruction carefully and use hacks and modules at your own risk...Thank you.