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)

obmob 05-05-2009 03:44 PM

Sorry for the delay :D

abdelghani68 05-07-2009 03:35 PM

Quote:

Originally Posted by AndrewD (Post 1799348)
Thanks. I take note, but as you say, the priority is to finish version 2.3.0.

1) You can do this quite easily yourself (if you feel adventurous). Edit (vb admincp) the plugin "Links and Downloads Manager - Use Wimpy Button to play mp3 media" which is attached to the "ldm_linkbit_create" hook. Find the line which reads
PHP Code:

$linkurljump $linkname

and put two // at the front of the line, i.e.
PHP Code:

// $linkurljump = $linkname; 

2) Be aware that Wimpy's playlists do not use the same format as JWPlayer.

There is wimpy rave, that I think has the same format of jw player :

vid?o audio audio

thanks

sydude 05-07-2009 05:04 PM

Hi Andrew, it's been a long time and I hope you've been well. I recently upgraded my board completely to 3.8.2 and upgraded the newest version of LDM along with it, and I'm happy to report that it all works beautifully (except for the LDM entries in the User Profiles, but that's not a big deal).

Now for my quick question - is there a simple way to add a link to the LDM entries submitted by a poster in the postbit? I did a search in this thread and the prior version threads, but nothing concrete found.

Thanks for the help, and best regards!

Sy

AndrewD 05-08-2009 03:43 AM

Quote:

Originally Posted by sydude (Post 1806489)
Hi Andrew, it's been a long time and I hope you've been well. I recently upgraded my board completely to 3.8.2 and upgraded the newest version of LDM along with it, and I'm happy to report that it all works beautifully (except for the LDM entries in the User Profiles, but that's not a big deal).

Now for my quick question - is there a simple way to add a link to the LDM entries submitted by a poster in the postbit? I did a search in this thread and the prior version threads, but nothing concrete found.

Thanks for the help, and best regards!

Sy

Sorry, there isn't this feature at present. I think it would be a fairly easy thing to code as an 'extra' - I'll give it some thought.

sydude 05-08-2009 04:30 AM

Quote:

Originally Posted by AndrewD (Post 1806747)
Sorry, there isn't this feature at present. I think it would be a fairly easy thing to code as an 'extra' - I'll give it some thought.

Thanks, you are the best.

abdelghani68 05-11-2009 05:03 PM

I don't now if it's a bug : in the previsualitaion of the comments, I see the bbcode

benjaminkramer 05-12-2009 08:51 PM

Hi Andrew,

will you upgrade your LDM to VB 3.8 ? Hope you will continue developing. Your Downloadmanager is really good, but need to improved. I am looking for a flash uploader over 100 MB. That would make much more easier.

AndrewD 05-13-2009 04:44 AM

Quote:

Originally Posted by benjaminkramer (Post 1809626)
will you upgrade your LDM to VB 3.8 ?

If you look in the header post to this thread, you will find the link to version 2.3.0, which is intended for vb 3.8. In fact, practically everything in version 2.2.9 works fine with vb 3.8, apart from user profile integration (fixed in the release candidate code) and auto-announce thread prefixes (will be fixed in next upload)

Quote:

Originally Posted by benjaminkramer (Post 1809626)
Hope you will continue developing.

Yes, within limits :)

Quote:

Originally Posted by benjaminkramer (Post 1809626)
Your Downloadmanager is really good, but need to improved.

Really :) Are you offering to help? :)

Quote:

Originally Posted by benjaminkramer (Post 1809626)
I am looking for a flash uploader over 100 MB. That would make much more easier.

The limit of 100Mb appears somewhere in the adobe flash documentation, so if it's real, it will apply to all flash uploaders. However, from a search on Google, I get the impression that no-one really knows if this is a real limit or not. I have just tried a 188Mb upload with the latest version of the swfupload 'extra' supplied with LDM 2.3.0. It worked fine. I suggest that you do some tests.

readjono 05-14-2009 10:28 AM

Hi Andrew,

Afraid I've found the new test version a bit difficult to use. I'm not very good at arranging templates and upon reverting them to the new version I find the templates not as I expected to see them in the current version.

Any idea why it looks so different to my templates at the moment?

http://www.unofficialmills.co.uk/com...ks.php?catid=3

AndrewD 05-14-2009 12:02 PM

Quote:

Originally Posted by readjono (Post 1810589)
Hi Andrew,

Afraid I've found the new test version a bit difficult to use. I'm not very good at arranging templates and upon reverting them to the new version I find the templates not as I expected to see them in the current version.

Any idea why it looks so different to my templates at the moment?

http://www.unofficialmills.co.uk/com...ks.php?catid=3

I take it that the screenshots should be using the default templates and the url is how you want things to look (and is the correct default).

Can't say without looking at the templates. Do you want me to take a look at your upgraded site? Send me a PM with details if so.

readjono 05-14-2009 02:34 PM

Quote:

Originally Posted by AndrewD (Post 1810622)
I take it that the screenshots should be using the default templates and the url is how you want things to look (and is the correct default).

Can't say without looking at the templates. Do you want me to take a look at your upgraded site? Send me a PM with details if so.

Yeah that was with the templates reverted to the original. I'll get in touch at some point - I've downgraded now and things are back normal - but will be in touch when I have a free moment :)

leodestroy 05-15-2009 10:25 PM

What about vb 3.8?

AndrewD 05-16-2009 03:35 AM

Quote:

Originally Posted by leodestroy (Post 1811528)
What about vb 3.8?

Take a look at the first post in this thread. Virtually all of version 2.2.9, and all of version 2.3.0, work with vb 3.8

DotSauce 05-16-2009 09:15 PM

I just installed at my forum http://tweetsocial.com/links

However I am having one small problem.. See the main page there with the box that says "Twitter Directory" and has a empty space below it.

How do I insert text there as an introduction? Thanks.

AndrewD 05-17-2009 04:22 AM

Quote:

Originally Posted by DotSauce (Post 1812102)
I just installed at my forum http://tweetsocial.com/links

However I am having one small problem.. See the main page there with the box that says "Twitter Directory" and has a empty space below it.

How do I insert text there as an introduction? Thanks.

This is done most easily using one of the 'extras' provided with the release. Take a look in the zip file at subdirectory release/extras/add-information. You install this as a vbulletin plugin (NB: not a product). It adds an extra section to your ldm/admin/settings and edit/category pages to allow you to specify a message and where it is placed.

If you want to 'hard code' the message, you would have to edit the links_main template.

DotSauce 05-17-2009 05:37 AM

I tried both ways... If i add text to links_main template it shows up on all categories.

Essentially I want my root category to have a description ($viewcattext)...

Is there a way to add a piece of code like, <if page is local_links.php echo "Directory Description"> to the links_main template? Thanks.

AndrewD 05-17-2009 06:01 AM

Quote:

Originally Posted by DotSauce (Post 1812249)
I tried both ways... If i add text to links_main template it shows up on all categories.

Essentially I want my root category to have a description ($viewcattext)...

Is there a way to add a piece of code like, <if page is local_links.php echo "Directory Description"> to the links_main template? Thanks.

Sure, do a test on $viewcatid, which is set to -1 when you are in the root category, e.g.
PHP Code:

<if condition="$viewcatid==-1">Hello hello</if> 


DotSauce 05-17-2009 05:11 PM

Thanks! That worked.

I know I read something in the instructions about changing the "local_" label, but I didn't understand exactly.

Is it possible to just rename all my file labels to something else even though I'm already installed?

AndrewD 05-18-2009 03:20 AM

Quote:

Originally Posted by DotSauce (Post 1812498)
Thanks! That worked.

I know I read something in the instructions about changing the "local_" label, but I didn't understand exactly.

Is it possible to just rename all my file labels to something else even though I'm already installed?

Sure, see http://www.eirma.org/wikis/index.php/Hacking_LDM. You should only change the names of files that are in your forums directory, not those in the includes subdirectory, etc.

xug 05-20-2009 01:51 PM

What could possibly be wrong?

I entered one link entry with an image, when I browse through my cat and select the link I dont see the image.

When I select view enlarged image I see the image appear on a new page.

AndrewD 05-20-2009 02:29 PM

Quote:

Originally Posted by xug (Post 1814088)
What could possibly be wrong?

I entered one link entry with an image, when I browse through my cat and select the link I dont see the image.

When I select view enlarged image I see the image appear on a new page.

There's not enough information here for me to help. Would you like me to take a look at your site? If so, send me a PM with details, plus username/pwd for an account with vb admin permissions.

xug 05-20-2009 03:11 PM

Quote:

Originally Posted by AndrewD (Post 1814107)
There's not enough information here for me to help. Would you like me to take a look at your site? If so, send me a PM with details, plus username/pwd for an account with vb admin permissions.

This is on a local machine.

DotSauce 05-20-2009 09:42 PM

I am trying to add a "Tweet This" button next to the the Rate/Comment button.

How would I edit links_linkbit template to do this...

Code:

<a href="http://twitter.com/home?status=$linkname: $linkshortdesc $linkurl">Tweet This</a>
I don't know the proper syntax for calling these values. Any help would be appreciated.

xug 05-21-2009 02:09 AM

Quote:

Originally Posted by AndrewD (Post 1814107)
There's not enough information here for me to help. Would you like me to take a look at your site? If so, send me a PM with details, plus username/pwd for an account with vb admin permissions.

Quote:

Originally Posted by xug (Post 1814136)
This is on a local machine.

Maybe not a few ideas where I should look?

AndrewD 05-21-2009 03:21 AM

Quote:

Originally Posted by xug (Post 1814433)
Maybe not a few ideas where I should look?

OK, as I understand you: The images are not being displayed in the entrybit, but there is a magnifying glass icon. When you click on that icon, you do get the full image displayed in a new window?

Take a look at the url which is being displayed by the browser for the enlarged image. It should be something like .../local_resize?linkid=nnn&size=0

Change the url so that the size= parameter is followed by the number such as 250. See whether you get a smaller version of the image scaled to 250 icons along its larger dimension. Maybe you will get the image, more interesting would be an error message.

Also, take a look at the settings you have given on ldm/admin/settings for images. Have you filled a setting for the thumbs directory? If so, try clearing that setting and see if it makes a difference.

AndrewD 05-21-2009 03:35 AM

Quote:

Originally Posted by DotSauce (Post 1814322)
I am trying to add a "Tweet This" button next to the the Rate/Comment button.

How would I edit links_linkbit template to do this...

Code:

<a href="http://twitter.com/home?status=$linkname: $linkshortdesc $linkurl">Tweet This</a>
I don't know the proper syntax for calling these values. Any help would be appreciated.

The links_linkbit template includes a section:
PHP Code:

<if condition="$links_permissions['can_rate_link'] and $linkratebitdropdown">
        <
tr>
            <
td align="$stylevar[left]">
            
$linkratebitdropdown
            
</td>
        </
tr>
</if> 

which displays the Rate/Comment button (at least if you are using the drop-down option for ratings/comments). Add your code here.

As far as the syntax goes, you should replace spaces by the sequence %20.

E.g.:
PHP Code:

<if condition="$links_permissions['can_rate_link'] and $linkratebitdropdown">
        <
tr>
            <
td align="$stylevar[left]">
            
$linkratebitdropdown
            
</td>
        </
tr>
</if>
        <
tr>
            <
td align="$stylevar[right]">
            <
a href="http://twitter.com/home?status=$linkname:%20$linkshortdesc%20$linkurl">Tweet This</a>
            </
td>
        </
tr


drfenning 05-25-2009 05:19 AM

I have installed and am successfully editing other than one thing. I have created a new subscription usergroup that I want to have access to download links. They would pay for the subscription in Xcart and then we would give access permissions. The only problem we are having is being able to set an expiration for how long they are in that particular user group. I can add them to a paid subscription in VBulletin, but then I can only choose forum permissions not download manager permissions.

So the only way that I can give and take away access to download from the download manager is by manually unchecking that usergroup when their subscription expires. Here is the site that I'm trying to mimic:

http://www.gottapixel.net/forum/loca...s.php?catid=70


Thanks
Danielle

http://www.gottapixel.net/forum/loca...s.php?catid=70

AndrewD 05-25-2009 05:51 AM

Quote:

Originally Posted by drfenning (Post 1816646)
I have installed and am successfully editing other than one thing. I have created a new subscription usergroup that I want to have access to download links. They would pay for the subscription in Xcart and then we would give access permissions. The only problem we are having is being able to set an expiration for how long they are in that particular user group. I can add them to a paid subscription in VBulletin, but then I can only choose forum permissions not download manager permissions.

So the only way that I can give and take away access to download from the download manager is by manually unchecking that usergroup when their subscription expires. Here is the site that I'm trying to mimic:

http://www.gottapixel.net/forum/loca...s.php?catid=70


Thanks
Danielle

http://www.gottapixel.net/forum/loca...s.php?catid=70

As far as I recall, gottapixel is using LDM's forum-based permissions to control subscriber access, but it should also be possible using the regular LDM usergroup-based permissions.

You can associate both your LDM categories and entries with individual vb forums by specifying their 'parent forum' on the Add/Edit Category/Enty form. Then, users can only access these entries if they have "can view forum" and "can view others threads" permission for that forum. (It is also possible to create a vb forum which is in fact a link to an LDM category. In that way, you can kill two birds with one stone, by providing a direct link into LDM and also providing the forum from which to take the forum-based permissions.)

Also, categories (but not individual entries) can have different usergroup permissions, set using LDM/Add Edit Category/Usergroup Permissions. Have you tried using this approach?

Please get back to me if I have misunderstood anything or you need further help.

drfenning 05-25-2009 06:23 AM

Quote:

Originally Posted by AndrewD (Post 1816663)
As far as I recall, gottapixel is using LDM's forum-based permissions to control subscriber access, but it should also be possible using the regular LDM usergroup-based permissions.

You can associate both your LDM categories and entries with individual vb forums by specifying their 'parent forum' on the Add/Edit Category/Enty form. Then, users can only access these entries if they have "can view forum" and "can view others threads" permission for that forum. (It is also possible to create a vb forum which is in fact a link to an LDM category. In that way, you can kill two birds with one stone, by providing a direct link into LDM and also providing the forum from which to take the forum-based permissions.)

Also, categories (but not individual entries) can have different usergroup permissions, set using LDM/Add Edit Category/Usergroup Permissions. Have you tried using this approach?

Please get back to me if I have misunderstood anything or you need further help.

Perhaps it's my ignorance, but I am not having problems giving access to a particular usergroup but the timeframe that they are allowed to have access. For example, I have a registered user that purchases a one month subscription to the download manager and they can download anything they want for that timeframe. So I created a usergroup called "Club Scrap Subscriber". In VB, I keep them as a registered user and check that they have now have access to "Club Scrap Subscriber." Now I give only "Club Scrap Subscriber" usergroup access to the download manager to access links. Everyone else can view. Problem is...when that month is up, I have to manually go into VB and remove them from "Club Scrap Subscriber" usergroup.

So is it possible to use the "paid subscription" portion of VB to determine the timeframe that a user can be in a usergroup? You have a plugin that has time of day and amount they can download but I didn't see one for how long they can download. I would want to have three different subscriptions 1, 3 and 12 month...I could create three different usergroups for each time frame and change it in the LDM/users/allowances, but if they paid to extend their subscription would it lock them out from using it further? Can it be recurring?

I could also create three paid subscriptions in VB. But in VB's paid subscriptions, I can choose all of my other forums, but "download manager" is not a forum option to choose from. Does any of this make sense?

Here's my site: http://www.scrapoutsidethebox.com/fo...ocal_links.php

Thanks so much for all you do.

Dani

AndrewD 05-25-2009 07:55 AM

Quote:

Originally Posted by drfenning (Post 1816669)
Perhaps it's my ignorance, but I am not having problems giving access to a particular usergroup but the timeframe that they are allowed to have access. For example, I have a registered user that purchases a one month subscription to the download manager and they can download anything they want for that timeframe. So I created a usergroup called "Club Scrap Subscriber". In VB, I keep them as a registered user and check that they have now have access to "Club Scrap Subscriber." Now I give only "Club Scrap Subscriber" usergroup access to the download manager to access links. Everyone else can view. Problem is...when that month is up, I have to manually go into VB and remove them from "Club Scrap Subscriber" usergroup.

So is it possible to use the "paid subscription" portion of VB to determine the timeframe that a user can be in a usergroup? You have a plugin that has time of day and amount they can download but I didn't see one for how long they can download. I would want to have three different subscriptions 1, 3 and 12 month...I could create three different usergroups for each time frame and change it in the LDM/users/allowances, but if they paid to extend their subscription would it lock them out from using it further? Can it be recurring?

I don't think this question is really about LDM. You are wanting to change the user's usergroup membership when their subscription starts (adding them) and ends (removing them)?

I thought (but have not checked) that the vb subscription manager handles this automatically but I'm afraid I have no idea whether X-cart can handle it or not.

If you choose to do this via x-cart, it's easy enough to code a new LDM addin that grants/restricts access based on some condition that can be checked via php (assuming that this is possible with x-cart). I am willing to help you implement this, but I don't want to have buy/learn about x-cart.

Quote:

Originally Posted by drfenning (Post 1816669)
I could also create three paid subscriptions in VB. But in VB's paid subscriptions, I can choose all of my other forums, but "download manager" is not a forum option to choose from. Does any of this make sense?

I've just tried the following approach, which seems to work fine.
- First, create a new forum called "Download Manager", which is set up as a link to LDM. Then, that forum would appear in the list of available subscriptions on your admin page.
- Second, create a new vb subscription to that forum, which adds users to a new usergroup, let's say LDM Subscribers.
- Then, set up your LDM database so that entries are only accessible to users who have usergroup rights to that forum.

We could also easily tailor the message that unsubscribed users get when they visit LDM to tell them that they need a subscription.

Have I understood you correctly?

drfenning 05-25-2009 02:38 PM

Quote:

Originally Posted by AndrewD (Post 1816696)
I don't think this question is really about LDM. You are wanting to change the user's usergroup membership when their subscription starts (adding them) and ends (removing them)?

I thought (but have not checked) that the vb subscription manager handles this automatically but I'm afraid I have no idea whether X-cart can handle it or not.

If you choose to do this via x-cart, it's easy enough to code a new LDM addin that grants/restricts access based on some condition that can be checked via php (assuming that this is possible with x-cart). I am willing to help you implement this, but I don't want to have buy/learn about x-cart.



I've just tried the following approach, which seems to work fine.
- First, create a new forum called "Download Manager", which is set up as a link to LDM. Then, that forum would appear in the list of available subscriptions on your admin page.
- Second, create a new vb subscription to that forum, which adds users to a new usergroup, let's say LDM Subscribers.
- Then, set up your LDM database so that entries are only accessible to users who have usergroup rights to that forum.

We could also easily tailor the message that unsubscribed users get when they visit LDM to tell them that they need a subscription.

Have I understood you correctly?

I think the later might work, if I can figure out how to link it to LDM. I'll let you know if it works. Thanks so much for your help.

drfenning 05-25-2009 03:03 PM

You rock! That was so simple and it worked perfectly. Thank you so much for your help.

Dani

glowinggal 05-26-2009 12:27 PM

anyone using this with 3.8.*?

AndrewD 05-26-2009 12:47 PM

Quote:

Originally Posted by glowinggal (Post 1817447)
anyone using this with 3.8.*?

Most of version 2.2.9 works fine with vb 3.8. There are a couple of features that don't work (profile intergration, forum prefixes). The release candidate version 2.3.0 works fine with both vb3.7 ad 3.8.

glowinggal 05-26-2009 05:04 PM

how about a display of thumbnails for new downloads on "non" vb pages (but they are php pages (ie: wordpress))

DotSauce 05-26-2009 09:20 PM

Hey quick question...

I noticed this mod is forcing "www." in my domain name when the rest of forum is flexible. I would prefer without "www."

How can I change this? Thanks.

AndrewD 05-27-2009 03:32 AM

Quote:

Originally Posted by DotSauce (Post 1817740)
Hey quick question...

I noticed this mod is forcing "www." in my domain name when the rest of forum is flexible. I would prefer without "www."

How can I change this? Thanks.

LDM creates full urls according to your setting for "Forum URL" (vb acp/vb options/site name). This is to ensure that the vbadvanced modules will work properly even if the main vba code is not in the forums directory. You should check this setting. Main vb code does not add the full forum path to its urls, because it is always operating within the forums directory.

It's important to be consistent with these urls (site.com versus www.site.com) - vb's cookies are url dependent unless you've remembered to set the cookie domain on vb acp/vb options/cookie domain), and people can find themselves logged out.

glowinggal 05-27-2009 03:41 PM

tried upgrading from 2.2.9 to 2.3.0 and when importing and overwriting the product get this;

Fatal error: Call to undefined function patch_LDMdatastore() in /xxx/xxx/public_html/xxx/admincp/plugin.php(1995) : eval()'d code on line 50

we are using vb 3.8.2

AndrewD 05-28-2009 03:19 AM

Quote:

Originally Posted by glowinggal (Post 1818186)
tried upgrading from 2.2.9 to 2.3.0 and when importing and overwriting the product get this;


Fatal error: Call to undefined function patch_LDMdatastore() in /xxx/xxx/public_html/xxx/admincp/plugin.php(1995) : eval()'d code on line 50



we are using vb 3.8.2

patch_LDMdatastore is defined in includes/local_links_admininclude.php, so I think you have probably not uploaded all the php files correctly.

AndrewD 05-28-2009 03:31 AM

Quote:

Originally Posted by glowinggal (Post 1817581)
how about a display of thumbnails for new downloads on "non" vb pages (but they are php pages (ie: wordpress))

There's no difficulty in principle in doing this, but it requires someone to write the interface between vbulletin, wordpress and LDM. It's not something I'm prepared to take on at this stage, because in the not-too-distant future, I think there's going to be a lot of effort needed to get things working with vbulletin 4.0.


All times are GMT. The time now is 09:32 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.03521 seconds
  • Memory Usage 1,913KB
  • 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
  • (2)bbcode_code_printable
  • (5)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