![]() |
Quote:
Edit includes/local_links_admininclude.php. Scroll down until you find groups of lines which look like the following: Code:
require_admin_row($seq++, 'title_data_entry', 'll_settings_title_entry', 'title_perms', 1, 1); So to make can_add_category and can_edit_category permissions avaiable on a per-category basis, simply add ", 1 at the end of the lines: Code:
require_admin_row($seq++, 'can_add_category', '6,-1', 'usergroup_check', 1); Then, these permissions become available on the Add/Edit Category forms, on the third tab (User Group Permissions). If you deny the permission globally and enable it in one of your categories, then the relevant user group can only create subcategories in that category. As I said, this is not a complete patch - You will find that the 'add category' form always includes a parent category selection box, allowing people to place the new subcategory somewhere else in the category hierarchy. This is probably not what you want. For some reason, I had overlooked to apply the *can_select_category* permission to category creation. I will fix this in 2.2.8. My answer about users always being able to edit their own categories was also not completely accurate. There's another bug so that the relevant Edit Category menu item does not get displayed even though the user actually has permission to do the edit. This will also be fixed in 2.2.8. So you may prefer to wait. |
I have the Dutch translation ready. I want to go over it one more time to see if everything is in order.
Could you please look at this: Quote:
|
Quote:
|
Quote:
Thanks Regards! |
So Mr. Andrew.. when can I add this delightful new version to our site? :) I'm itching for the multiple uploads ;)
|
Quote:
|
Quote:
Concerning yout earlier PM'd problem with rogue downloads, this is not going to be easy to sort out from a distance. I have somewhat improved the tool for analysing downloads in 2.2.8, and it may be easiest for you to upgrade before we start investigating. |
Awesome mod :) I tried looking through the posts but couldn't find much. Is there a way that when a user uploads a new file (say a mp3), that it creates a new post in a certain forum?
|
Quote:
|
Wow man how did I not see that? Thanks so much for the response.
|
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]; |
Quote:
|
Quote:
|
Quote:
|
Thanks for the update, will look if further phrases need translation :D
|
thanks for update.
mirror BW usage counts now ;) |
Thanks Androw
cant wait for new Hooks:D lol |
Quote:
|
Quote:
ldm_mainsql_complete was really needed there to JOIN main query instead of new queries. Once again, my big appreciation of your awesome work and hourly support! [high]* IrPr Clicks "Nomaniate for MOTM"[/high] |
Andrew, would u please mention template changes since previous releases or at least mandatory template reverts in changelogs? b/c i've modified linkbit/catbit templates
|
Quote:
links_addnewcat links_addnewlink *new* links_addnewmultilink links_admin links_admin_bandwidth links_admin_downloads links_admin_downloads_item_one *new* links_admin_onemirror links_admin_options links_admin_playerbit *new* links_catbit_extras links_downloadbit links_editbit links_favbit links_filmstrip_bit links_footer links_header links_iframed links_imgmag links_linkbit *new* links_linkbit_mtop links_linkbit_table links_main links_massedit links_massedit_linkbit *new* links_mirror_select *new* links_pageinfo_bit links_playerbit links_playerbit_MediaPlayer links_playerbit_WimpyButton links_report links_search links_sendemail *new* links_tagcloud_bit links_viewall_comment links_viewone_comment links_viewone_popup_comment Most changes happened between 2.2.7-RC2 and the alpha 2.2.8. There were (I think) no changes in templates since 2.2.8-RC2. Some of the change were minor but some were quite significant. Unfortunately, I don't have time to check though in detail. |
About templates, is it possible to add more linkbits? :p
I modified the short and the normal linkbit, but i would like to use your current short also. :D Greetings |
Quote:
Basically, you do the following: - create a new template within your vbulletin/admincp, for example called links_mylinkbit - edit includes/local_links_admininclude.php - find a group of lines (around line 550) which look like this: PHP Code:
PHP Code:
- re-install the LDM product installer. - the new template will then be available in the same way as other LDM linkbits OK? |
bug :
when synchronise category with folder and this folder contain subfolders , it will not add any entries from subfolders even i make the sync_depth = 2 or 3 or 100 i choose sync_populate_categories "no" sync_populate_entries "yes" it is only add entries from the folder but not subfolders under it |
Quote:
[SQL]INSERT INTO `FORUM`.`LOCAL_linksadmin` (`settingname`, `setting`, `sequence`, `rowtype`, `rowtitle`, `canoverride`, `catid`) VALUES ('links_linkbit_movie', 'a:4:{s:4:"name";s:5:"Movie";s:6:"defcol";i:1;s:6: "maxcol";i:4;s:6:"subbit";s:15:"links_subcatbit";} ', 50011, 'define_linkbit', '', 1, -1); [/SQL] Where FORUM is your forum table and LOCAL_ is your LDM table prefix This query adds Movie template_linkbit which points to links_linkbit_movie template, If you want to change your template_linkbit name you have to change 5 ( exact before :"Movie" ) to your template_linkbit display name's length Edit: You have to add linksbit_linkbit_movie template manually Please BACKUP your linksadmin table before executing this query or test on your local/test forum |
also another bug :
duplicate entries when use manual synchronise , this occure sometimes ! |
Quote:
|
Quote:
|
Quote:
|
Quote:
i have one category and i just need to enter all files that in a folder and about 100 subfolders in the same category , i did not need to make subcategory for each subfolder so in this case it is not work about duplicate content when i wrote the folder as /folder/ it will not duplicate but when i write /folder without training slash it give me duplicate entries also the template for description of the entries is not work to give automatic description for entries ! suggestion: 1.multiple templates for choose of them , for description of entries 2.specific template for specific category "show" |
Quote:
|
All times are GMT. The time now is 02:30 AM. |
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:
|