![]() |
Hi AndrewD,
Is there a vbAdvanced mod like "newest entries" but for "random entries" ? |
Quote:
|
Hi there,
I've had this mod installed for quite some time and it was working great. Now I'm getting the following messages when trying to click on a link: Error - Cannot determine if you can access link: linkid,forumid= 227, 38 Can someone tell me what that means and how I can fix it? Cheers! Sherry |
Quote:
|
Quote:
I installed the basic tab menu hack and modified the navbar template by putting Code:
<br /> I then modified the standard tabbars template so that there was a menu item defined for LDM: Code:
<li><a href="/forums/local_links.php" class="<if condition="in_array(THIS_SCRIPT, array('local_links', 'local_links_admin', 'local_links_search'))">tabbarssix<else />tabbarsone</if>" onMouseover="expandcontent('sc6', this)">Downloads</a></li> I'm sure you can take it from here. Bear in mind that you will need to change the strings inside the in_array() statement if you have renames the main LDM scripts. |
Thank you Andrew.
Chinese translation updated. |
Quote:
Quote:
|
Quote:
This is why I want to use category-id's. I have done this for the tabs linking to forums. This worked like this: Code:
<if condition="in_array($foruminfo['forumid'], array(176, 190, 174))"> Code:
<if condition="in_array($foruminfo[catid], array(126,39, 43))"> |
Quote:
The following approach works: 1) Instead of putting $tabbars in the navbar template, put it in the links_header template, immediately after $navbar. 2) Create a new plugin tied to the *ldm_maindisplay_end* hook, and make its code identical to the code which the tabs hack ties to the *parse_templates* hook 3) You can code your in_array() check using the $viewcatid variable. This will work for the main LDM displays. You will have to work out how to get this to work in other parts of vBulletin, i.e. which templates you can patch with $tabbars, etc. |
Quote:
Code:
<div> If you are wanting to 'hard code' the width, you need to replace $stylevar[formwidth_usercp]; |
All times are GMT. The time now is 06:44 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|