2017-04-13, 10:28 AM
2017-04-13, 10:38 AM
^ what is your forum url ? have you installed template conditionals / php in templates plugin ?
for which forum section you do not want to display the breadcrumb navigation ?
for which forum section you do not want to display the breadcrumb navigation ?
2017-04-13, 06:28 PM
(2017-04-13, 10:38 AM).m. Wrote: [ -> ]^ what is your forum url ? have you installed template conditionals / php in templates plugin ?
for which forum section you do not want to display the breadcrumb navigation ?
My forum is actually on localhost, here an example:
MyForums:
1) Welcome!
Rules
ecc...
2) Support.
Rules
ecc...
3) Gaming
Rules
ecc...
4) Test
Rules
ecc...
What i need to do is hide the breadcrumb when a user browse the forum test and his threads.
2017-05-17, 06:41 AM
Awesome plugin, I'm trying to combine it with your xThreads plugin and having some problems though.
I'm trying to call the $db from a custom thread field to get the username of the parent account creating the post, since the account switcher plugin I use only gives me the UID of the parent account.
Here is what I'm putting in the Blank Replacement Value:
I'm trying to call the $db from a custom thread field to get the username of the parent account creating the post, since the account switcher plugin I use only gives me the UID of the parent account.
Here is what I'm putting in the Blank Replacement Value:
<?php
define("IN_MYBB", 1);
require_once "./global.php";
global $mybb, $db;
if($mybb->user['as_uid']){
$query = $db->query("SELECT * FROM mybb_users WHERE uid='". $mybb->user['as_uid'] ."'");
}elseif($mybb->user['as_share']){
$query = $db->query("SELECT * FROM mybb_users WHERE uid='". $mybb->user['as_shareuid'] ."'");
}
$qresult = $db->fetch_array($query);
return $qresult['username'];
?>
The error I get is that I can't get admin/index.php from that point... which doesn't really makes sense...2018-04-25, 03:37 AM
I want to display all of usergroups in showgroups.php
help me please.
Quote:<if $GLOBALS['mybb']->user['usergroup'] == 8,9,10,11,12,13,14 then><else>why that codes didn't work ? I know {$displaygroup['title,description,admin,number,image']} can't Show but I want real codes for displaying usergroups.
<div class="usergroups-col">
<div class="usergroups-row">
<div class="table-wrap">
<div class="table-cell-top">
<div class="usergroups-info">
<div class="usergroups-title">{$displaygroup['title']}</div>
<span class="smalltext">{$displaygroup['description']}</span>
</div>
Owner: {$displaygroup['admin']}<br>
{$displaygroup['number']} • <a href="usercp.php?action=usergroups&joingroup=8&my_post_key={$mybb->post_code}">Click to join</a>
</div>
<div class="table-cell-top usergroups-userbar">
{$displaygroup['image']}
</div>
</div>
</div>
</div>
</if>
help me please.
2019-07-10, 02:46 PM
Is the plugin removed? I can't find it anywhere but I see lots of old references to it.
2019-07-10, 03:17 PM
2020-03-07, 07:00 PM
Is this thread still active? If i activate conditionals then all of my threads open up blank page. IF i deactivate they open up as they should.
2020-03-08, 02:20 AM
^ your related thread received replies.
2021-06-19, 03:58 PM
Please how do i show ads by specific forum id?