| Pablo 92 |
|
|---|---|
|
Hi guys, i am new in cotonti cms, and i have questions and problems.
1. What i must do, to delete this things: http://img389.imageshack.us/i/del.png/ 2. How to make this panel on my site: http://img198.imageshack.us/i/paneli.png/ 3. I have installed minichat, but i dont see him in my main page Sorry for my bad ENG ^^
|
| Kilandor |
|
|---|---|
|
1. Edit skins/SKINNAME/header.tpl
2. Edit skins/SKINNAME/index.tpl 3. You probabbly didn't add the tags for it, to whatever template file it needs. |
| Pablo 92 |
|
|---|---|
|
1 Thank's
2. ok, but what i must write (meybe ist sobe plugin with this panel?) If i am logged in i want to see this: http://img200.imageshack.us/i/usr.png/ :) 3. then tell me how add tags to files. I don't see any tutorials and articles about this Sorry for my bad ENG ^^
|
| Kingsley |
|
|---|---|
|
if you look at the details of a plugin, and scroll down a bit, you can see there if a tag is needed, and what tag you need.
For example the tag of recentitems can be found here: www.yoursite.com/admin.php?m=plug&a=details&pl=recentitems {PLUGIN_LATESTPAGES} : Present {PLUGIN_LATESTTOPICS} : Present these you place where you want them in the tpl. |
| Pablo 92 |
|
|---|---|
|
ok, i added
<div class="rboxHD">SHOUTBOX :</div>
<div class="rboxBody">{MINICHAT}</div>
Shoutbox is now in my page, but in admin panel i have non-stop: #1 ajax None
#2 main index.tpl :{MINICHAT} : Missing
#3 main NoneSorry for my bad ENG ^^
|
| pieter |
|
|---|---|
|
1. Can you give us a link? --->> FOUND IT in a picture of you: http://pablo92.cba.pl/
2. For the login link you asked: use plugin "LeetLogin" TAG: {PLUGIN_LEETLOGIN} 3. to delete the top: delete the following part in header.tpl <div id="userBar">
<!-- BEGIN: GUEST -->
<div class="userBarR"><a href="users.php?m=auth">{PHP.skinlang.header.Login}</a> • <a href="users.php?m=register">{PHP.skinlang.header.Register}</a> • <a href="plug.php?e=passrecover">{PHP.skinlang.header.Lostyourpassword}</a></div>
<strong>{PHP.skinlang.header.Welcome}</strong>
<!-- END: GUEST -->
<!-- BEGIN: USER -->
<div class="userBarR">{HEADER_USER_LOGINOUT}</div>
<b>{HEADER_LOGSTATUS}</b>
<div class="userBarL">{HEADER_USER_ADMINPANEL} | {HEADER_USERLIST} | {HEADER_USER_PROFILE} | {HEADER_USER_PFS} | {HEADER_USER_PMREMINDER}<br />{HEADER_NOTICES}</div>
<!-- END: USER -->
</div>... can we help you ...
|
| Pablo 92 |
|
|---|---|
|
thank's pieter, you really help me. I installed "LeetLogin" plugin, but i have only empty panel
look on my site, panel is called "USER".Tag is ok: "Present" My index.tpl: <!-- BEGIN: MAIN -->
<div id="lSide">
<div class="lboxHD">{PHP.skinlang.index.Newinforums}</div>
<div class="lboxBody">{PLUGIN_LATESTTOPICS}</div>
{INDEX_NEWS}
</div>
<div id="rSide">
<div class="rboxHD">USER</div>
<div class="rboxBody">{PLUGIN_LEETLOGIN}</div>
<div class="rboxHD">SHOUTBOX:</div>
<div class="rboxBody">{MINICHAT}</div>
<div class="rboxHD">{PHP.skinlang.index.Polls}</div>
<div class="rboxBody">{PLUGIN_INDEXPOLLS}</div>
<div class="rboxHD">{PHP.skinlang.index.Recentadditions}</div>
<div class="rboxBody">{PLUGIN_LATESTPAGES}</div>
<div class="rboxHD">{PHP.skinlang.index.Online}</div>
<div class="rboxBody"><a href="plug.php?e=whosonline">{PHP.out.whosonline}</a> :<br />{PHP.out.whosonline_reg_list}</div>
</div>
<!-- END: MAIN -->
Where i make bug? Sorry for my bad ENG ^^
|
| pieter |
|
|---|---|
|
Standard this plugin is made for header.
You can change it. open leetlogin.php with texteditor Look for: [BEGIN_SED_EXTPLUGIN]
Code=leetlogin
Part=main
File=leetlogin
Hooks=header.tags
Tags=header.tpl:{PLUGIN_LEETLOGIN}
Minlevel=0
Order=10
[END_SED_EXTPLUGIN]Change Hooks=header.tags -->>Hooks=index.tags Tags=header.tpl:{PLUGIN_LEETLOGIN} --->>Tags=index.tpl:{PLUGIN_LEETLOGIN} Upload the changed file and don't forget to REINSTALL plugin in admin-menu. ... can we help you ...
|
| SunChase |
|
|---|---|
|
quote from the readme.txt file:
If you want the plugin somewhere besides header.tpl, let’s say, index.tpl, do the following steps Open leetlogin.php, go to lines 21-22 and change 'header' to 'index' or any other tpl name. Note, that the PM notification will now only happen when you visit index.php. [url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
|
| pieter |
|
|---|---|
|
SunChase, nowadays the install-docs or readme are not used anymore.
And they solve a lot of problems. ... can we help you ...
|
| Pablo 92 |
|
|---|---|
|
yes yes yes!! all working correct!! :) Thank's guys to help me!!
EDIT: SunChase i read readme but i don't change Tags=header.tpl:{PLUGIN_LEETLOGIN} to Tags=index.tpl:{PLUGIN_LEETLOGIN}. I'm dumbass, Sorry ![]() Sorry for my bad ENG ^^
|
| SunChase |
|
|---|---|
|
pieter, agree.I think it would be better to name them something like:*Dont readme.Top secret or Please dont readme"
Pablo 92.Dont worry it happens with everyone ![]() [url=http://ka13.orgfree.com]KA13[/url] - The essence of creativity
|
| backa |
|
|---|---|
|
ps. maybe some plugins not work sometimes when you use [PLUGIN_LEETLOGIN} for example. my leetlogin plugin worked with this code {PHP.leetlogin}
so if some plugins dont work for you, try typing not PLUGIN_... but PHP.plugin name without caps hope helped ;) and i saw you from my site pablo :) jdmbrothers.hoxt.me :) |
| Pablo 92 |
|
|---|---|
|
Yes backa, i am from your site, and from gom :) I created my own site in this free host, on cotonti cms :)
http://slrrmods.hoxt.me This is site with my and my friend mods, but in Polish language :)) Sorry for my bad ENG ^^
|