vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=166094)

AndrewD 04-27-2009 10:06 AM

Quote:

Originally Posted by Alfa1 (Post 1799565)
Regarding the ldm_forumstats plugin: I would like to show how many GB of files I have in my file archive. How can I add this? Could you add this function to a forthcoming release?

will be in the next 2.3.0 release

Quote:

Originally Posted by Alfa1 (Post 1799565)
Does anyone know how to add 'files to moderate' and 'comments to moderate' to the vbulletin notifications menu?

an extra to display some LDM stats on the admincp will be available with the next 2.3.0 release

Quote:

Originally Posted by Alfa1 (Post 1799565)
I am using some categories as main categories(similar to forum categories, which hold only forums, no threads). The only solution for this that I have found, is close a category. Unfortunately, that will show a message: 'This category is closed for posting'. My members conclude that all children are closed as well and stop uploading to the category. Is there a better solution?
Could you please add a function to have main categories?

Good point. For the time being, the easiest solution is to move the "closed" message from the category title bar to the entries title bar, and this will be done in the next 2.3.0 release.

Alfa1 04-28-2009 09:04 AM

Many thanks Andrew.

twista46 04-28-2009 11:43 AM

hello screen or demo?

AndrewD 04-28-2009 01:22 PM

Quote:

Originally Posted by twista46 (Post 1800467)
hello screen or demo?

Try the on-line wiki, url in the header post.

abdelghani68 04-28-2009 08:23 PM

I think an option will be good if it's possible :

"Subscribe to This categorie"

thanks

abdelghani68 04-29-2009 07:23 PM

I have see that we can limit the download for the guests in a day and it works very good. But the favorites and nominations doesn't works for theme (it works but there isn't difference for the guests, if a guest put the entree "a" as favorite for exemple, all of the other guests will see the entree "a" as favorit for theme.

itsblack 04-29-2009 10:47 PM

Hi Andrew, I found a small problem with display of the menu option "What's New". (local_links_search.php?action=find&catid=-8)

At the moment the shown items was limited by the parameter from "links_seen_on_portal", but I thought it was unnecessary to limit this one.

I set this parameter with 20, so the stats at the right side had a good look. But it was not good for "What's New", 20 was too less.

I hope you can change this setting in 2.3.0, or may be you can tell me how to fix it myself. Thanks a lot.

AndrewD 04-30-2009 04:55 AM

Quote:

Originally Posted by abdelghani68 (Post 1801333)
I have see that we can limit the download for the guests in a day and it works very good. But the favorites and nominations doesn't works for theme (it works but there isn't difference for the guests, if a guest put the entree "a" as favorite for exemple, all of the other guests will see the entree "a" as favorit for theme.

If I understand you correctly, you are asking that LDM can recognise different guest users. Unfortunately, all guests are considered (by the vBulletin infrastructure) to have the same userid. The only other way to distinguish people is by their IP address, but this is not reliable - IP addresses change for the same computer and people use different computers. So I can't see a way to allow guest users to create their own personal favourites and nominations (or have their own allowances). Surely the better approach is to get them to register?

AndrewD 04-30-2009 04:56 AM

Quote:

Originally Posted by itsblack (Post 1801462)
Hi Andrew, I found a small problem with display of the menu option "What's New". (local_links_search.php?action=find&catid=-8)

At the moment the shown items was limited by the parameter from "links_seen_on_portal", but I thought it was unnecessary to limit this one.

I set this parameter with 20, so the stats at the right side had a good look. But it was not good for "What's New", 20 was too less.

I hope you can change this setting in 2.3.0, or may be you can tell me how to fix it myself. Thanks a lot.

I agree, there is no reason to restrict this list. It should be paginated. I'll see what I can do.

AndrewD 05-01-2009 03:16 PM

I think this is the final 2.3.0 code. There are a few changes since the release candidates, according to requests received:

+ Main display
Moved 'category closed' message from category bar to entry bar
+ 'Show...'
No longer limits number of 'What's Hot/What's New' entries to *links_seen_on_portal*
+ Extras
patch-admincp adds LDM statistics to the vB admincp
Changed the patch-forumhome extras to use $template_hook instead of requiring template edits
Changed WimpyButton to use its javascript interface, enables pausing of multiple players
+ Bug fixes
Fixed moderation of new categories submitted by non-moderators
Fixed xml playlist handling for JWPlayer
Fixed templates for multicolumn settings of vbAdvanced modules
Fixed admin import/export of material containing html entities
Fixed admin import/export of keywords

Those who use the WimpyButton and/or other Wimpy players - there have been some changes to the directories in which the various files are held, and the registration code for the WimpyButton is now entered in the Javascript file rather than via the LDM 'extra'. Please take a look at the 'readme.txt' file.

I will be very grateful for updated French, German, Dutch and Spanish translations.

Reports please - I would like to make this the official release in a few days.

abdelghani68 05-01-2009 04:30 PM

Thanks for this new version. Installed but I don't see the button of wimpy in the portal and in the library.

I have put correctly the registrations code. Jw player isn't active for mp3. Wimpy player isn't active.

I haven't modified the var wimpySwf = "clientscript/wimpy/wimpy_button.swf

Vbadvanced :

www.home.fr/index.php

Clientscript wimpy :

www.home.fr/forum/clientscript/wimpy

I must modifie the var wimpySwf ?

thanks

AndrewD 05-01-2009 05:31 PM

Quote:

Originally Posted by abdelghani68 (Post 1802579)
Thanks for this new version. Installed but I don't see the button of wimpy in the portal and in the library.

I have put correctly the registrations code. Jw player isn't active for mp3. Wimpy player isn't active.

I haven't modified the var wimpySwf = "clientscript/wimpy/wimpy_button.swf

Vbadvanced :

www.home.fr/index.php

Clientscript wimpy :

www.home.fr/forum/clientscript/wimpy

I must modifie the var wimpySwf ?

thanks

From what I can see, you did not reinstall the product, nor the plugins. I have done this for you and ask you to check that everything is working.

abdelghani68 05-01-2009 08:55 PM

<div align="left">Thanks very mush. I am really sorry for the inconvenience. Yet I install and uninstall the plugins of wimpy several times before coming to write here.

Wimpy button works now in the library bur it doesn't works in vbadvanced.
</div>

vbboarder 05-02-2009 02:40 AM

The 'edit' link next to the parent forum name in the Permissions page just reopens the same default permissions page in a new tab. Shouldn't it open the permissions page specific to that category (ie: local_links.php?action=editcat&catid=1)?

jantequino 05-02-2009 04:14 AM

Awesome mod!

2 quick questions!

1. How do I remove the "Sort By" dropdown from the entries page
2. How do I force the entries pages to be viewed in Short view everytime the page is refreshed or returned to... Obviously when the user is on the page we want them to be able to expand.... but I don't like the fact that it remembers to always stay expanded... I want each refresh of the page to be put back into short view.

thank you!

AndrewD 05-02-2009 05:02 AM

Quote:

Originally Posted by abdelghani68 (Post 1802696)
Thanks very mush. I am really sorry for the inconvenience. Yet I install and uninstall the plugins of wimpy several times before coming to write here.

Wimpy button works now in the library bur it doesn't works in vbadvanced.

I don't know why the wimpy button is not working any longer on your vbadvanced pages, but will try to find out. The correct (I think :)) code is certainly been loaded on your home page, and the same code seems to work fine on my site. One possible problem - you have many 'addons' installed on your site, and I can see that others also include javascript. It is possible that these are interacting during the page load process - the javascripts have to initialise themselves.

One thing you should be aware of - there are quite a lot of html errors on your generated home page. I don't think that these will be the cause of this problem.

AndrewD 05-02-2009 05:13 AM

Quote:

Originally Posted by vbboarder (Post 1802855)
The 'edit' link next to the parent forum name in the Permissions page just reopens the same default permissions page in a new tab. Shouldn't it open the permissions page specific to that category (ie: local_links.php?action=editcat&catid=1)?

Actually it should open the vb admincp forum permissions page. There is a variable missing from a global statement in local_links_admin.php. lines 398 onward should read
PHP Code:

function ldm_get_adminforumperms() {
    global 
$vbulletin$vbphrase$stylevar;
    global 
$linkscat$links_defaults$ldm_usergroup_cache;
    global 
$ADMIN_SCRIPT$ADMINCP_FORUMPERM_SCRIPT;
    global 
$forum$linkstats

Thanks for pointing this out.

AndrewD 05-02-2009 05:51 AM

Quote:

Originally Posted by jantequino (Post 1802870)
1. How do I remove the "Sort By" dropdown from the entries page

This would require a template edit. The links_main template has the following sequence at around line 120:

Code:

<if condition="$sortnav or $keyfilterbit">
        <td align="$stylevar[left]" valign="top">
        <table cellpadding="0" cellspacing="2" border="0">
<if condition="$sortnav">
        <tr>
                <td align="$stylevar[right]">
                <form action="$script.php" method="get">
                <input type="hidden" name="s" value="{$vbulletin->session->vars['sessionhash']}" />
                <span class="smallfont">
                $sortreturnbit $vbphrase[ll_sortby] $sortorderbit
                <input type="submit" class="button" name="doit" value="$vbphrase[ll_go]" />
                </span>
                </form>
                </td>
        </tr>
</if>
<if condition="$keyfilterbit">
        <tr>
                <td align="$stylevar[right]">
                <form action="$script.php" method="get">
                <span class="smallfont">
                <input type="hidden" name="s" value="{$vbulletin->session->vars['sessionhash']}" />
                $keyreturnbit $vbphrase[ll_keywords_filter] $keyfilterbit
                <input type="submit" class="button" name="doit" value="$vbphrase[ll_go]" />
                </span>
                </form>
                </td>
        </tr>
</if>
        </table>
        </td>
</if>

If you change the first line to
Code:

<if condition="$keyfilterbit">
that will do the trick.


Quote:

Originally Posted by jantequino (Post 1802870)
2. How do I force the entries pages to be viewed in Short view everytime the page is refreshed or returned to... Obviously when the user is on the page we want them to be able to expand.... but I don't like the fact that it remembers to always stay expanded... I want each refresh of the page to be put back into short view.

I can't reproduce this problem. As far as I can see, page refreshes do retain the entries' expand/contract setting, provided cookies are properly enabled.

But, to your main question - how to have the 'short' listing as the default and the standard listing as the alternative. This is quite straightforward with version 2.3.0, possible but requires code edits with 2.2.9.

With version 2.3.0, you first go to the LDM/admincp/linkbits & catbits page, find the links_linkbit_short entry, change the value in the 'collapsed' box from 0 to links_linkbit, and click on 'go' to save the change.

Then go to LDM/admin/settings and set the template_linkbit setting to Short (title, thumb, short description).

This will make the default display 'short' and the alternative 'long'.

Alfa1 05-02-2009 10:21 AM

Quote:

Originally Posted by Alfa1 (Post 1799565)
Does anyone know how to add 'files to moderate' and 'comments to moderate' to the vbulletin notifications menu?

Quote:

Originally Posted by AndrewD (Post 1799821)
an extra to display some LDM stats on the admincp will be available with the next 2.3.0 release

It would be optimal if moderators could see if there are files and comments to moderate. Moderators do not have access to the adminCP. I think the notifications menu, which shows how many PM's, VM's, subscribed threads you have, would be optimal for this.


Am I correct to think that LDM has two ways of assigning moderators to a category:

Either by assigning a whole usergroup moderating functionality or by inheritance from forums(which i think also has other effects)?

If this is correct, then could you please add functionality to make specific users, the moderator of a category?

AndrewD 05-02-2009 11:57 AM

Quote:

Originally Posted by Alfa1 (Post 1802938)
It would be optimal if moderators could see if there are files and comments to moderate. Moderators do not have access to the adminCP. I think the notifications menu, which shows how many PM's, VM's, subscribed threads you have, would be optimal for this.

Noted.


Quote:

Originally Posted by Alfa1 (Post 1802938)
Am I correct to think that LDM has two ways of assigning moderators to a category:

Either by assigning a whole usergroup moderating functionality or by inheritance from forums(which i think also has other effects)?

If this is correct, then could you please add functionality to make specific users, the moderator of a category?

Actually, this functionality already exists as of version 2.2.8. There's a setting moderate_usernames on the admin/settings page, also on Add/Edit category pages, to allow you to specify additional users who can moderate.

The other two groups of moderators you identify are correct.

dealcafe 05-02-2009 02:42 PM

I have searched and searched to answer this on my own but I am at a loss with attributes so please excuse my newbie question::o
I have added 2 attributes that are required when users enter anything into ldm. However they dont show up during entry for anyone admin included but they show up when editing. Ive double checked permissions etc. Can someone tell me what I am missing?

AndrewD 05-02-2009 03:36 PM

Quote:

Originally Posted by dealcafe (Post 1803062)
I have searched and searched to answer this on my own but I am at a loss with attributes so please excuse my newbie question::o
I have added 2 attributes that are required when users enter anything into ldm. However they dont show up during entry for anyone admin included but they show up when editing. Ive double checked permissions etc. Can someone tell me what I am missing?

At a bit of a loss. Just to confirm - you are using version 2.3.0 (I assume because you say that the attributes are required), you have given *can_edit_entities* permission to the required usergroups, and you has set *display_entities* to yes.

I'm happy to take a look at your site if you want, but will need an user id with full admin privs to vbulletin.

dealcafe 05-02-2009 04:28 PM

Quote:

Originally Posted by AndrewD (Post 1803101)
At a bit of a loss. Just to confirm - you are using version 2.3.0 (I assume because you say that the attributes are required), you have given *can_edit_entities* permission to the required usergroups, and you has set *display_entities* to yes.

I'm happy to take a look at your site if you want, but will need an user id with full admin privs to vbulletin.

I believe so yes. I will pm you :) Thanks!

quickjump 05-02-2009 04:30 PM

Hi,

Any idea why I can't add categories? When I try to create a new category and click submit the pages just reloads and I still have 0 categories created.

AndrewD 05-03-2009 05:00 AM

Quote:

Originally Posted by quickjump (Post 1803134)
Hi,

Any idea why I can't add categories? When I try to create a new category and click submit the pages just reloads and I still have 0 categories created.

This may be a problem with system resources. Take a look at your vb admincp - there's a box that reads "Welcome to the vbulletin control panel". One of the messages in there will tell you the PHP Memory Limit. This really needs to be 12Mb or more, depending on how many 'extras' you have installed. (You probably have to contact your server manager to get the value changed.)

If this is not the problem, get back to me and I will try to help.

AndrewD 05-03-2009 05:01 AM

Quote:

Originally Posted by dealcafe (Post 1803133)
I believe so yes. I will pm you :) Thanks!

Reply sent. Adding attributes is currently only available with the Add (Single) Entry form, not with the Add multiple form. It's something I still have to sort out.

quickjump 05-03-2009 06:25 AM

Quote:

Originally Posted by AndrewD (Post 1803403)
This may be a problem with system resources. Take a look at your vb admincp - there's a box that reads "Welcome to the vbulletin control panel". One of the messages in there will tell you the PHP Memory Limit. This really needs to be 12Mb or more, depending on how many 'extras' you have installed. (You probably have to contact your server manager to get the value changed.)

If this is not the problem, get back to me and I will try to help.


PHP Memory Limit 32.00 MB

Really don't have much installed either.

AndrewD 05-03-2009 08:11 AM

Quote:

Originally Posted by quickjump (Post 1803440)
PHP Memory Limit 32.00 MB

Really don't have much installed either.

Ok. Do you want me to take a look at your site? If so, send me a PM with details of an account that has vbulletin admin privs.

AndrewD 05-03-2009 12:10 PM

Quote:

Originally Posted by quickjump (Post 1803440)
PHP Memory Limit 32.00 MB

Really don't have much installed either.

As per my email:

I saw this problem a few months ago with another site protected using the Suhosin module.

The limits that are being imposed by that module are preventing submission of complex forms. I am not an expert with suhosin, but I think the following settings may be to blame:

suhosin.*.max_array_depth
suhosin.*.max_array_index_length
suhosin.*.max_name_length
suhosin.*.max_totalname_length
suhosin.*.max_value_length
suhosin.*.max_vars

where * is get, post and request.

I think you/your server manager needs to increase each of these values quite significantly and restart your web server.

This is not something I can do for you.

Monja 05-03-2009 03:53 PM

I got this great module installed and now I try to get familiar with it

I have one question - i want to change the link name from the forum homepage:
http://www.digidesignresort.com/forum

it?s now called freebies and i want to rename it but by hard i don?t find where i can do it... :(( any ideas?

any help is greatly appreciated as i?m now searching for an answer for hours...

AndrewD 05-03-2009 05:28 PM

Quote:

Originally Posted by Monja (Post 1803718)
I got this great module installed and now I try to get familiar with it

I have one question - i want to change the link name from the forum homepage:
http://www.digidesignresort.com/forum

it?s now called freebies and i want to rename it but by hard i don?t find where i can do it... :(( any ideas?

any help is greatly appreciated as i?m now searching for an answer for hours...

I'm not sure I understand? You just want to change the title 'Freebies' that appears in your main navigation menu? This is done by editing the navbar template, as explained in the Wiki.

But I think I'm misunderstanding your question.

Monja 05-03-2009 05:46 PM

embarrassing but i must say you are not *lol* it´s just that ... searched the wiki but couldn´t find it ... maybe you could link me up? thanks again andrew!

Monja 05-03-2009 06:28 PM

andrew,
never mind - i found it must have been blind. thanks!!!

obmob 05-04-2009 09:07 PM

Hmm... when i tried to test locally in my PC i got this error, what could it be? :eek:

Code:

Links and Downloads Manager
Checking installation status...
Currently installed version: 2.2.9
Checking environment...
Environment checked
Creating LDM database tables (1.269 sec)

--------------------------------------------------------------------------------
Step 1 - Verifying database tables
Patching (1) LDM database tables (1.295 sec)
Initialising admin table (1.536 sec)
Patching (2) LDM database tables (2.142 sec)
Adding datastore items (2.146)

Fatal error: Call to undefined function patch_LDMdatastore() in D:\my\site\test\admincpanel\plugin.php(1995) : eval()'d code on line 50


AndrewD 05-05-2009 06:06 AM

Quote:

Originally Posted by obmob (Post 1804651)
Hmm... when i tried to test locally in my PC i got this error, what could it be? :eek:

Code:

Links and Downloads Manager
Checking installation status...
Currently installed version: 2.2.9
Checking environment...
Environment checked
Creating LDM database tables (1.269 sec)

--------------------------------------------------------------------------------
Step 1 - Verifying database tables
Patching (1) LDM database tables (1.295 sec)
Initialising admin table (1.536 sec)
Patching (2) LDM database tables (2.142 sec)
Adding datastore items (2.146)

Fatal error: Call to undefined function patch_LDMdatastore() in D:\my\site\test\admincpanel\plugin.php(1995) : eval()'d code on line 50



could be that you haven't uploaded includes/local_links_admininclude.php correctly :)

AndrewD 05-05-2009 01:12 PM

Quote:

Originally Posted by abdelghani68 (Post 1802696)
Thanks very mush. I am really sorry for the inconvenience. Yet I install and uninstall the plugins of wimpy several times before coming to write here.

Wimpy button works now in the library bur it doesn't works in vbadvanced.

I took another look at your site. I think you need to edit the clientscript/wimpy/wimpy_button.js file, as follows:

Find:
var wimpySwf = "clientscript/wimpy/wimpy_button.swf";
Change to:
var wimpySwf = "/path/to/forum/clientscript/wimpy/wimpy_button.swf";

In your case, this would be:
var wimpySwf = "/forum/clientscript/wimpy/wimpy_button.swf";

This is explained in the 'readme.txt' for the extra (vbadvanced integration), but it's new with this release so I understand why it would be missed.

Le me know if this works for you.

abdelghani68 05-05-2009 01:28 PM

Quote:

Originally Posted by AndrewD (Post 1805012)
I took another look at your site. I think you need to edit the clientscript/wimpy/wimpy_button.js file, as follows:

Find:
var wimpySwf = "clientscript/wimpy/wimpy_button.swf";
Change to:
var wimpySwf = "/path/to/forum/clientscript/wimpy/wimpy_button.swf";

In your case, this would be:
var wimpySwf = "/forum/clientscript/wimpy/wimpy_button.swf";

This is explained in the 'readme.txt' for the extra (vbadvanced integration), but it's new with this release so I understand why it would be missed.

Le me know if this works for you.

Thanks very mush Andrew. It works now in the portal and in the library.

abdelghani68 05-05-2009 01:56 PM

In the style of LDM, I have choose brief, and I think it will be good if we have a "stairs" for see the sub sub categorie when we put the cat_sub_display at 2.

Now we have that : (Categorie 01-b is a sub-categorie of Categorie 01-a)

Categorie 01

*Categorie 01-a Categorie 01-b

And I think it will be better with :

Categorie 01

*Categorie 01-a

***Categorie 01-b

obmob 05-05-2009 02:09 PM

Quote:

Originally Posted by AndrewD (Post 1804839)
could be that you haven't uploaded includes/local_links_admininclude.php correctly :)

OMG... somehow I missed to update some files... I'm a n00b, thanks Andrew :D
Now translating spanish phrases

dealcafe 05-05-2009 03:04 PM

Quote:

Originally Posted by AndrewD (Post 1803404)
Reply sent. Adding attributes is currently only available with the Add (Single) Entry form, not with the Add multiple form. It's something I still have to sort out.

Thanks so much for the help! :D


All times are GMT. The time now is 10:53 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
  • Page Generation 0.03360 seconds
  • Memory Usage 1,904KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (1)bbcode_php_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete