<!-- Modified by Ryan. Part 1 of 2 modifications in this template to remove breadcrumb from forum main page -->
<xen:if is="!in_array({$contentTemplate}, array('forum_list','EWRcarta_PageView'))">
<div class="breadBoxTop">
<xen:if is="{$topctrl}"><div class="topCtrl">{xen:raw $topctrl}</div></xen:if>
<xen:include template="breadcrumb"><xen:set var="$microdata">1</xen:set></xen:include>
</div>
<xen:else />
</xen:if>
Ryan Kent said: Test and it works for me. It follows the example in the first link I offered. The change is made in the PAGE_CONTAINER template. Note my code also removes the breadcrumb from the forums. If you don't wish to remove the breadcrumbs on your forums as well, remove that part of the code.
<?php
class EWRcarta_Listener_NavTabs
{
public static function listen(array &$extraTabs, $selectedTabId)
{
$permsModel = XenForo_Model::create('EWRcarta_Model_Perms');
$perms = $permsModel->getPermissions();
$indexModel = XenForo_Model::create('EWRcarta_Model_Lists');
$index = $indexModel->getIndex();
/*
$extraTabs['wiki'] = array(
'title' => new XenForo_Phrase('wiki'),
'href' => XenForo_Link::buildPublicLink('full:wiki'),
'position' => 'middle',
'linksTemplate' => 'EWRcarta_Navtabs',
'perms' => $perms,
'index' => $index,
);
*/
}
}
I would rather comment out a section of code in NavTabs.php than change the PAGE_CONTAINER template.
/library/EWRcarta/Listener/NavTabs.php
PHP:<?php class EWRcarta_Listener_NavTabs { public static function listen(array &$extraTabs, $selectedTabId) { $permsModel = XenForo_Model::create('EWRcarta_Model_Perms'); $perms = $permsModel->getPermissions(); $indexModel = XenForo_Model::create('EWRcarta_Model_Lists'); $index = $indexModel->getIndex(); /* $extraTabs['wiki'] = array( 'title' => new XenForo_Phrase('wiki'), 'href' => XenForo_Link::buildPublicLink('full:wiki'), 'position' => 'middle', 'linksTemplate' => 'EWRcarta_Navtabs', 'perms' => $perms, 'index' => $index, ); */ } }
Yeah, I just added to it the existing use.
There is also a EWR template which sets it - I suppose I could have wrapped that in IF also if I wanted admins to see it (no need in my case).
Code below does away with the wiki tab
Code:.navTabs .navTab.wiki { display: none; }
.EWRcarta_PageView .breadBoxTop,
.EWRcarta_PageView .titleBar
{
display: none;
}
Here we go again, this is the second hack I've used or installed that is not working properly. I HAVE ALL the permissions already set and I have no links to create or edit any pages.
Admin perms in admin panel:
View attachment 40653
The Wiki as I see it after the install:
View attachment 40654
When I visit this page to create a page I get this:
View attachment 40655
Someone already posted about this a couple of times actually and no one has answered. "Set the permissions." does not help as they are ALREADY set as far as I know unless I'm missing extra permissions elsewhere in the hack or on the site in which case I would like to know where that is. I really think these hacks will be useful for my site but there seems to be a lack of documentation or help with getting them set up completely. If there is some XenForo thing that everyone thinks I'm obviously missing then tell me what it is. I'm a long time vBulletin user and XenForo is a new thing for me. Not everyone who downloads these things can read minds or all of a sudden knows exactly how to do all these things on the forum.
Why do you have to use them in the first place ?How i can disable smiles?
Not sure what you mean.And my Wiki articles get automatic looked every time.
How i can disable all smilies on my forum?Why do you have to use them in the first place ?
There probably is some bbcode to disable smiles. Not sure it would work in a wiki article.
Whenever i create a new entry these options are automatically set:Not sure what you mean.
<div style="text-align: left;">
foo
<br /><br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" width="250" class="subHeading"><b>Command</b></td>
<td align="left" class="subHeading"><b>Beschreibung</b></td>
</tr>
[template=commandlistadmin] name=/permissions save | desc=Speichert damit Änderungen auch nach Neustart des Plugins bestehen bleiben.[/template]
[template=commandlistadmin] name=/permissions reload | desc=Neustart das Plugins um Änderungen wirksam zu machen[/template]
[template=commandlistadmin] name=/permissions cleanup | desc=Löscht alle leeren Benutzer & Benutzergruppen[/template]
[template=commandlistadmin] name=/permissions backup | desc=Backup erstellen[/template]
[template=commandlistadmin] name=/exec u:[user] a:setgroup v:Lehrling | desc=Freischaltung RP Server[/template]
[template=commandlistmod] name=/promote [user] | desc=Freischaltung RP Server[/template]
[template=commandlistadmin] name=/exec u:[user] a:setgroup v:User | desc=Freischaltung Build Server[/template]
[template=commandlistmod] name=/promote [user] | desc=Freischaltung Build Server[/template]
[template=commandlistadmin] name=/exec u:[user] a:addgroup v:away | desc=Spieler abwesend setzen (RP Server)[/template]
[template=commandlistadmin] name=/exec u:[user] a:rmgroup v:away | desc=Spieler abwesend entfernen (RP Server)[/template]
[template=commandlistadmin] name=/exec u:[user] a:addgroup v:garde | desc=Söldner zur Garde ernennen[/template]
[template=commandlistmod] name=/promote [user] Titel | desc=Titelaufstieg(löscht andere Gruppen)[/template]
[template=commandlistadmin] name=/exec u:[user] a:addgroup v:premuser | desc=PremUser vergeben[/template]
[template=commandlistadmin] name=/exec u:[user] a:[action] v:[value] | desc= [/template]
[template=commandlistadmin] name= | desc=addgroup fügt [user] der Gruppe [value] hinzu.[/template]
[template=commandlistadmin] name= | desc=rmgroup entfernt [user] aus der Gruppe [value][/template]
[template=commandlistadmin] name= | desc=setgroup setzt die Gruppe von [user] auf [value][/template]
[template=commandlistadmin] name= | desc=addperm fügt [user] die Berechtigung [value] hinzu[/template]
[template=commandlistadmin] name= | desc=rmperm nimmt [user] die Berechtigung [value] ab[/template]
[template=commandlistadmin] name= | desc=meta editieren von meta-daten[/template]
[template=commandlistadmin] name=/exec g:[group] a:[action] v:[value] | desc= [/template]
[template=commandlistadmin] name= | desc=addgroup <gruop> erbt die Gruppe [value][/template]
[template=commandlistadmin] name= | desc=rmgroup entfernt die Gruppe [value] aus <group>[/template]
[template=commandlistadmin] name= | desc=addperm fügt <group> die Berechtigung [value] hinzu[/template]
[template=commandlistadmin] name= | desc=rmperm nimmt <group> die Berechtigung [value] ab[/template]
[template=commandlistadmin] name= | desc=meta editieren von meta-daten[/template]
</table>
</div>
Is this a XenCarta question ?Hi
how 'join the conversation' bit work. Twitter block
i have found the problem im not allow to use [user]and i have a new problem, the code of the page is:
Code:<div style="text-align: left;"> foo <br /><br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" width="250" class="subHeading"><b>Command</b></td> <td align="left" class="subHeading"><b>Beschreibung</b></td> </tr> [template=commandlistadmin] name=/permissions save | desc=Speichert damit Änderungen auch nach Neustart des Plugins bestehen bleiben.[/template] [template=commandlistadmin] name=/permissions reload | desc=Neustart das Plugins um Änderungen wirksam zu machen[/template] [template=commandlistadmin] name=/permissions cleanup | desc=Löscht alle leeren Benutzer & Benutzergruppen[/template] [template=commandlistadmin] name=/permissions backup | desc=Backup erstellen[/template] [template=commandlistadmin] name=/exec u:[user] a:setgroup v:Lehrling | desc=Freischaltung RP Server[/template] [template=commandlistmod] name=/promote [user] | desc=Freischaltung RP Server[/template] [template=commandlistadmin] name=/exec u:[user] a:setgroup v:User | desc=Freischaltung Build Server[/template] [template=commandlistmod] name=/promote [user] | desc=Freischaltung Build Server[/template] [template=commandlistadmin] name=/exec u:[user] a:addgroup v:away | desc=Spieler abwesend setzen (RP Server)[/template] [template=commandlistadmin] name=/exec u:[user] a:rmgroup v:away | desc=Spieler abwesend entfernen (RP Server)[/template] [template=commandlistadmin] name=/exec u:[user] a:addgroup v:garde | desc=Söldner zur Garde ernennen[/template] [template=commandlistmod] name=/promote [user] Titel | desc=Titelaufstieg(löscht andere Gruppen)[/template] [template=commandlistadmin] name=/exec u:[user] a:addgroup v:premuser | desc=PremUser vergeben[/template] [template=commandlistadmin] name=/exec u:[user] a:[action] v:[value] | desc= [/template] [template=commandlistadmin] name= | desc=addgroup fügt [user] der Gruppe [value] hinzu.[/template] [template=commandlistadmin] name= | desc=rmgroup entfernt [user] aus der Gruppe [value][/template] [template=commandlistadmin] name= | desc=setgroup setzt die Gruppe von [user] auf [value][/template] [template=commandlistadmin] name= | desc=addperm fügt [user] die Berechtigung [value] hinzu[/template] [template=commandlistadmin] name= | desc=rmperm nimmt [user] die Berechtigung [value] ab[/template] [template=commandlistadmin] name= | desc=meta editieren von meta-daten[/template] [template=commandlistadmin] name=/exec g:[group] a:[action] v:[value] | desc= [/template] [template=commandlistadmin] name= | desc=addgroup <gruop> erbt die Gruppe [value][/template] [template=commandlistadmin] name= | desc=rmgroup entfernt die Gruppe [value] aus <group>[/template] [template=commandlistadmin] name= | desc=addperm fügt <group> die Berechtigung [value] hinzu[/template] [template=commandlistadmin] name= | desc=rmperm nimmt <group> die Berechtigung [value] ab[/template] [template=commandlistadmin] name= | desc=meta editieren von meta-daten[/template] </table> </div>
and if i save it, i get a white page
http://www.anzahcraft.de/wiki/bpermissions/
Is this a XenCarta question ?
This is the XenCarta discussion thread. You might want to try asking in the XenPorta thread instead!No, this is a XenPorta question - as it is seen to be working at www.mobitog.com.Please clarify.Thanks.
Myke, if you make me an admin on VFDC, I can look into it for you.Has anyone got Permission Masks working?
I only seem to see Permission Masks when creating a new page, and despite what settings I make (e.g. assigning myself as the administrator for that page) I don't see the Permission Masks section when I edit the page again.
We use essential cookies to make this site work, and optional cookies to enhance your experience.