Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:25 pm EST
Geeklog Forums
forum menu
Status: offline
drshakagee
Forum User
Full Member
Registered: 10/01/03
Posts: 231
Quote by Dirk: What is a "forum menu block"?
bye, Dirk
bye, Dirk
Probably that block over there to the top left that says "Forum Menu" at the top. :p
I don't have the forum installed but to make it you probably have to install the latest version of the forum plugin, a new version just came out the other day. Check on PortalParts.com.
Yes I am mental.
10
9
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
if you are talking about the forum menu that appears in the left blocks on this site whenever you are on a forum related page, then the easy answer is that you can't. It only appears here cuz Blaine is da man.
you can, however, create a normal block and just hardcode html links in it.
..or you can create a php block with hard coded html links in it that appears only when on a forum related page.
..or you can wait for the 2.5 version of the geeklog forum--its first release candidate incorporates that menu.
you can, however, create a normal block and just hardcode html links in it.
..or you can create a php block with hard coded html links in it that appears only when on a forum related page.
..or you can wait for the 2.5 version of the geeklog forum--its first release candidate incorporates that menu.
10
21
Quote
Stolidus
Anonymous
When I activate the forum menu block so that it will be on the left on all pages, I find that I have two forum menu blocks stacked on top of each other when I go to a forum related page.
Is there a quick fix for this, other than disabling the forum menu block?
Thanks.
Is there a quick fix for this, other than disabling the forum menu block?
Thanks.
11
10
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
You should post on www.portalparts.com, Blaine (the author of forum) runs that site and is more likely to see your post there. Forums by default use create a dynamic menu block that appears only when the forums are active. I'm not sure how he does this exactly or whether that behavior can be changed.
26
17
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by: Stolidus
The easiest thing to do is don't activate the block. The forum does this for you dynamically. So yes, the block would appear twice if you and the forum are activating a block. Leave the block deactivated and let the forum produce it as it was meant to do. When I activate the forum menu block so that it will be on the left on all pages, I find that I have two forum menu blocks stacked on top of each other when I go to a forum related page.
Is there a quick fix for this, other than disabling the forum menu block?
Thanks.
8
10
Quote
Status: offline
jmucchiello
Forum User
Full Member
Registered: 08/29/05
Posts: 985
I understand his frustration. I've considered hacking into the forum software to modify the forum menu. It's cute that it appears magically as needed. But I'd prefer to have the control in my hands. When you're not on a forum page it isn't obvious how to get there. I don't know how many times I've seen "forum features" in the user menu and in my brain thought that could be it before I remember that just lets me customize my forum experience and not a gateway into the experience.
12
11
Quote
Status: offline
Dazzy
Forum User
Full Member
Registered: 07/19/03
Posts: 200
Location:N. Ireland
Not an ideal solution, but if you use the new theme options and have the automatically created one appear as navbar then you will only have one forum menu block, if you really wanted I'm sure you could comment out the code that includes the navbar too.
layout_url/forum/layout/navbar.thtml
<!-- start navbar.thtml -->
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<!--<td colspan="5" style="padding-right:5px;">{navmenu}</td>--> //comment out this line
</tr>
<tr>
<td colspan="5" style="padding-right:5px;">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td nowrap>
{search_forum}
</td>
<td width="30%" class="alignright" nowrap>
{select_forum}
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- end navbar.thtml -->
Dazzy
layout_url/forum/layout/navbar.thtml
Text Formatted Code
<!-- start navbar.thtml -->
<table width="100%" border="0" cellspacing="1" cellpadding="0">
<tr>
<!--<td colspan="5" style="padding-right:5px;">{navmenu}</td>--> //comment out this line
</tr>
<tr>
<td colspan="5" style="padding-right:5px;">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td nowrap>
{search_forum}
</td>
<td width="30%" class="alignright" nowrap>
{select_forum}
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- end navbar.thtml -->
Dazzy
10
10
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
If you want to get rid of the dynamically created block and just use the block that you enable from your admin->blocks control panel, which would than always appear not just on forum pages, then do this:
In the forum code find any occurrence of:
COM_siteHeader( array('custom_showBlocks',$CONF_FORUM['leftblocks']) )
and make it look like this:
COM_siteHeader()
start with the forum's index.php file. Don't forget to enable your forum block because now you will be without one unless you do.
In the forum code find any occurrence of:
COM_siteHeader( array('custom_showBlocks',$CONF_FORUM['leftblocks']) )
and make it look like this:
COM_siteHeader()
start with the forum's index.php file. Don't forget to enable your forum block because now you will be without one unless you do.
10
16
Quote
Status: offline
Tech_Z
Forum User
Junior
Registered: 01/14/08
Posts: 30
Location:Soquel, California
I found an easy way to remove the dynamically created forum menu for forum v2.7 and use the block menu in GL1.4.1
here it is...
you need to ftp your forum config.php found in geeklog/system/plugins/forum to your local machine and open it with your text editor
then scroll down to line 120 and find this code:
/* Retrieve the list of blocks to show on the left side and make the forum menu the first block */
$CONF_FORUM['leftblocks'] = array ('forum_menu');
$CONF_FORUM['leftblocks'] = ppGetUserBlocks($CONF_FORUM['leftblocks']);
on line 3 in this code where it says
= array ('forum_menu');
make it look like this
= array ('');
This will stop the forum from applying it's own menu and don't forget to make sure your forum block is enabled or you won't see one.
Good Luck,
Dennis
here it is...
you need to ftp your forum config.php found in geeklog/system/plugins/forum to your local machine and open it with your text editor
then scroll down to line 120 and find this code:
Text Formatted Code
if ($pi_version >= 2.6) {/* Retrieve the list of blocks to show on the left side and make the forum menu the first block */
$CONF_FORUM['leftblocks'] = array ('forum_menu');
$CONF_FORUM['leftblocks'] = ppGetUserBlocks($CONF_FORUM['leftblocks']);
on line 3 in this code where it says
= array ('forum_menu');
make it look like this
= array ('');
This will stop the forum from applying it's own menu and don't forget to make sure your forum block is enabled or you won't see one.
Good Luck,
Dennis
10
12
Quote
All times are EST. The time is now 08:25 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content