vb.org Archive

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

katilkuzu 03-03-2007 09:19 PM

hi, can not we hinder if the user do not have post!

forexample: if user have 0 (zero) post, can not view the download page...

is it posiblle.?

thank you

Chadi 03-04-2007 02:17 AM

I just installed this v 2.2.6 but anytime I click the category link, it shows 'page not found' message.

AndrewD 03-04-2007 03:57 AM

Quote:

Originally Posted by chadi (Post 1195217)
I just installed this v 2.2.6 but anytime I click the category link, it shows 'page not found' message.

Have you switched on the seo_friendly option on the LDM admin settings page? If so, you must also configure Apache to recognise the urls that are generated.

If this is not the problem, send me a PM - am happy to take a look at your site.

AndrewD 03-04-2007 04:01 AM

Quote:

Originally Posted by katilkuzu (Post 1195107)
hi, can not we hinder if the user do not have post!

forexample: if user have 0 (zero) post, can not view the download page...

is it posiblle.?

thank you

This needs a simple VB 'plugin' - there is one in the 'extras' directory of the LDM release which controls the user's rights to download based on his/her number of posts. I will edit this reply later today to explain how to block access to LDM altogether.

josiespencer 03-04-2007 09:54 PM

Sorry, Andrew, I found one other little tiny bug in 2.2.7: there seems to a clitch in the display name of the file to be downloaded. I verified that the real files do not have spaces in their names, UNIX wouldn't have let them ever have been downloaded in the past. As a side note, this space seems to be cosmetic because the files can still be downloaded:

https://vborg.vbsupport.ru/external/2007/03/6.png
https://vborg.vbsupport.ru/external/2007/03/6.png

josiespencer 03-04-2007 09:56 PM

Oh, man these pictures came out awful. But there is a space like "Busines sSolution" in the first and "Performance Improvement" in the second. I don' ever put any spaces in my files names.

AndrewD 03-05-2007 04:17 AM

Quote:

Originally Posted by josiespencer (Post 1195774)
Oh, man these pictures came out awful. But there is a space like "Busines sSolution" in the first and "Performance Improvement" in the second. I don' ever put any spaces in my files names.

Weird. I can't see any place in the code that would do this. I'll need to take a look at your site - have I still got an account on your site?

Demon fox 03-07-2007 09:33 PM

Hey andrew is it possible to make it so that when users upload it goes to an external server?

katilkuzu 03-07-2007 10:40 PM

Quote:

Originally Posted by AndrewD (Post 1195254)
This needs a simple VB 'plugin' - there is one in the 'extras' directory of the LDM release which controls the user's rights to download based on his/her number of posts. I will edit this reply later today to explain how to block access to LDM altogether.

ok thank you for your relpy. i will wait :)
take care...

afterglow 03-08-2007 05:25 AM

I tried installing this on a localhost to see how it works. I liked the many functions that this mod has except for the fact that it doesn't recognize all other skins and would only use what is chosen as the default in the mod setting. Is there a way to make this mod use whatever skin the user chooses? It's really not a good idea for example if i chose a pink template as a default for this plugin and then one of my users decided to use a black theme. Is there a fix for this?

regards,
afterglow

Demon fox 03-08-2007 10:43 PM

The look should change with the users selected skin no matter it being default or not. It does with my site but I have 2.2.6 installed so may be a bug? But im sure it isnt.

afterglow 03-08-2007 11:38 PM

I installed ver. 2.2.7 and it seems to only use the default skin specified in the mod setting. It doesn't change when i try to use other forum skins. I wonder if this is a bug.

regards,
afterglow

AndrewD 03-09-2007 05:25 AM

Quote:

Originally Posted by afterglow (Post 1199204)
I installed ver. 2.2.7 and it seems to only use the default skin specified in the mod setting. It doesn't change when i try to use other forum skins. I wonder if this is a bug.

regards,
afterglow


Sorry, I've been out of town all week and I had a disk crash last weekend :mad: .

I thought LDM was handling style choices correctly, but I will test this again over the weekend. The code that handles style choices has not changed (as far as I can see) from version 2.2.6 to 2.2.7. So if there's a bug, it's in both versions.

You need to be aware of the following:

* The default behaviour is simply to use the current VB setting, so if the user has made a choice or not, this should be used.

* It is possible to over-ride this behaviour, either for LDM as a whole or on a category basis. This is done with the *default_style* setting - the global value is set on the admin/settings page and the per-category value is set on the relevant Edit Category/control settings page. See attached image.

* If the value is over-ridden in a category, then that new value will also apply in any categories that are children of the category, etc, unless they over-ride the value themselves.

* Some LDM displays will not use a category over-ride, because they are not part of the category structure. For example, the admin pages, search pages, etc, always use the global LDM setting.

So I suggest you check that you haven't told LDM to use an explicit style.

afterglow 03-09-2007 05:58 AM

Thanks for the response. It's already fixed. Sorry, i think i missed the default part in the setting. It was the other default that i clicked. I have it all sorted now. Glad you posted the screenshot. This is a very good plugin. Thank you for sharing it.

regards,
afterglow (clicking nomination link)

AndrewD 03-09-2007 06:39 PM

Quote:

Originally Posted by josiespencer (Post 1195773)
Sorry, Andrew, I found one other little tiny bug in 2.2.7: there seems to a clitch in the display name of the file to be downloaded. I verified that the real files do not have spaces in their names, UNIX wouldn't have let them ever have been downloaded in the past. As a side note, this space seems to be cosmetic because the files can still be downloaded:

http://sapsuperusers.com/myPictures/Space1.png
http://sapsuperusers.com/myPictures/Space2.png


Are you still havingthis problem? - I haven't been able to check your site. However, I set up a test on my m/c and long filenames are displayed correctly - see image.

Please let me know - I want to get 2.2.7 finalised

josiespencer 03-09-2007 10:13 PM

I've been on funeral leave myself and won't be home until Sunday. But yes, the problem is still there in the display but not in the database data itself.

amnesia623 03-10-2007 04:08 AM

Is there a guide for installing wimpy on ldm 2.2.7?

Trying to configure and not sure where/how... I did this with 2.2.5 but have since wiped my forums and did a reinstall.

Thanks

amnesia623 03-10-2007 05:00 AM

Is there a guide for installing wimpy on ldm 2.2.7?

Trying to configure and not sure where/how... I did this with 2.2.5 but have since wiped my forums and did a reinstall.


Thanks

edit- I search the online wiki but couldn't find anything :(

any help appreciated!

AndrewD 03-10-2007 09:08 AM

Quote:

Originally Posted by amnesia623 (Post 1199983)
Is there a guide for installing wimpy on ldm 2.2.7?

Trying to configure and not sure where/how... I did this with 2.2.5 but have since wiped my forums and did a reinstall.


Thanks

edit- I search the online wiki but couldn't find anything :(

any help appreciated!

Go to the extras/wimpy directory. This includes the demo versions of Wimpy. To buy the real things, see www.wimpyplayer.com. Depending on which plugin(s) you use, you buy wimpy.swf, wasp.swf or wimpy-button.swf.

1) Upload the contents of /clientscript into your forum/clientscript

2a) To install the demo version of Wimpy, create subdirectory forum/getid3, and upload the contents of /getid3
or
2b) To install the full (paid-for) version, create forum/getid3 and copy your wimpy.swf, wasp.swf or wimpy_button.swf into it

3) Use the vb plugin installer to upload:

wimpybutton-mp3-plugin.xml (Uses Wimpy button to play mp3 files)

or

wimpyplayer-mp3_plugin.xml (standard Jukebox, uses wimpy plays mp3 only)

and/or

wimpyplayer-flash-plugin.xml (standard Jukebox, uses wimpy wasp to play flv/swf files)

OK?

rasun 03-10-2007 04:50 PM

When I want to add a link I get this message at the top of the page: (I use version 2.2.6)

Quote:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /includes/local_links_include.php on line 1286
After that the link is added successfully, but I am a little confused what this means...

Can you help me?

AndrewD 03-10-2007 06:10 PM

Quote:

Originally Posted by rasun (Post 1200307)
When I want to add a link I get this message at the top of the page: (I use version 2.2.6)



After that the link is added successfully, but I am a little confused what this means...

Can you help me?

LDM uses a library called cURL to access entries held somewhere else on the internet. Use of some of the features within cURL depends on the configuration of your own web server.

This warning message is telling you that there's a conflict between what LDM's trying to do, and what your web server allows. (What it's trying to do, actually, is follow web sites that set up redirections to another site.) The code should suppress the warning message, and in version 2.2.7, it does. There's nothing to be concerned about.

Demon fox 03-10-2007 06:35 PM

Is it possible to make a hack like this for previewing extended descriptions of categories.

I have a large amount of categories with extended descriptions that includes a picture of the manga and a description about it. See it here

It be a huge time saver for members if they could just click a preview button next to the category link that creates a popup like the hack I mentioned which shows the extended description. That way users dont have to go back and forwards reloading pages to find a manga that interests them.

Im willing if need be pay for this because I believe it be a really useful feature.

Cheers

AndrewD 03-10-2007 06:44 PM

Quote:

Originally Posted by Demon fox (Post 1200388)
Is it possible to make a hack like this for previewing extended descriptions of categories.

Im willing if need be pay for this because I believe it be a really useful feature.

Fifteen eunuchs and an accompanying team of virgins?

I'll give this some thought. Good idea.

Demon fox 03-10-2007 06:52 PM

Quote:

Originally Posted by AndrewD (Post 1200397)
Fifteen eunuchs and an accompanying team of virgins?

I'll give this some thought. Good idea.

lol ok ill write you an IOU worth that amount then give me a few years and ill get there.

Oh and I knew it was a good idea :) dont need to tell me that lol

rasun 03-10-2007 07:44 PM

Quote:

Originally Posted by AndrewD (Post 1200368)
LDM uses a library called cURL to access entries held somewhere else on the internet. Use of some of the features within cURL depends on the configuration of your own web server.

This warning message is telling you that there's a conflict between what LDM's trying to do, and what your web server allows. (What it's trying to do, actually, is follow web sites that set up redirections to another site.) The code should suppress the warning message, and in version 2.2.7, it does. There's nothing to be concerned about.

OK, Thank You for this detailed information.

amnesia623 03-11-2007 06:59 AM

Quote:

Originally Posted by AndrewD (Post 1200067)
Go to the extras/wimpy directory. This includes the demo versions of Wimpy. To buy the real things, see www.wimpyplayer.com. Depending on which plugin(s) you use, you buy wimpy.swf, wasp.swf or wimpy-button.swf.

1) Upload the contents of /clientscript into your forum/clientscript

2a) To install the demo version of Wimpy, create subdirectory forum/getid3, and upload the contents of /getid3
or
2b) To install the full (paid-for) version, create forum/getid3 and copy your wimpy.swf, wasp.swf or wimpy_button.swf into it

3) Use the vb plugin installer to upload:

wimpybutton-mp3-plugin.xml (Uses Wimpy button to play mp3 files)

or

wimpyplayer-mp3_plugin.xml (standard Jukebox, uses wimpy plays mp3 only)

and/or

wimpyplayer-flash-plugin.xml (standard Jukebox, uses wimpy wasp to play flv/swf files)

OK?

Got it, and it shows the flash player....:)

But it doesn't stream the audio. What if my files are uploaded/stored in a file outside the webroot (like /home/blah/blah2/media but wimpy and ldm are running in /home/blah/blah2/public-html/forum ?)

Thanks again andrew for your help. LDM will be a major function for my upcoming website that will allow DJs and bands to upload their mp3s and stream them back. I would really like to keep the files out of the webroot so they can't be downloaded.

thanks
Kevin

AndrewD 03-11-2007 07:09 AM

Quote:

Originally Posted by amnesia623 (Post 1200666)
Got it, and it shows the flash player....:)

But it doesn't stream the audio. What if my files are uploaded/stored in a file outside the webroot (like /home/blah/blah2/media but wimpy and ldm are running in /home/blah/blah2/public-html/forum ?)

Thanks again andrew for your help. LDM will be a major function for my upcoming website that will allow DJs and bands to upload their mp3s and stream them back. I would really like to keep the files out of the webroot so they can't be downloaded.

thanks
Kevin

This works ok for me - files outside webroot do play fine (just tested it). But versionist and I spent some time trying to sort this out a few months back - maybe there's something I've overlooked. Am happy to take a look at your site, if you want - but I'll need full access.

One problem is that it's not possible to get the track name to display correctly inside the wimpy flash jukebox - this is because of limitations in the wimpy javascript - I've asked the author about this, but he didn't have a fix. So you're stuck with it displaying the name of the LDM script or modifying the skin so that the track title isn't displayed at all, which is the route I chose to use in the wimpy skin that is issued with LDM.

AndrewD 03-11-2007 09:16 AM

Quote:

Originally Posted by Demon fox (Post 1200400)
lol ok ill write you an IOU worth that amount then give me a few years and ill get there.

Oh and I knew it was a good idea :) dont need to tell me that lol

This seems easy enough, at least with internet explorer. If I can get Firefox and Opera sorted, I'll include this in the final 2.2.7.

4x4 Mecca 03-11-2007 04:46 PM

I've searched this thread for "searching" and "search" Is there any way to incorporate search results for the main forum and LDN?

AndrewD 03-11-2007 04:48 PM

Quote:

Originally Posted by 4x4 Mecca (Post 1200944)
I've searched this thread for "searching" and "search" Is there any way to incorporate search results for the main forum and LDN?

Sorry, not at present. The searches are completely separate,

4x4 Mecca 03-11-2007 04:52 PM

Also is there a way to make the thumbnail for images use lightbox also instead of just the little magnifier image?

4x4 Mecca 03-11-2007 04:53 PM

Thank you for the fast response!

amnesia623 03-11-2007 05:06 PM

Hi andrew - thanks for the help (again)

I'm going to PM you the site information now, if you could take a look, that would be awesome!

I'm not sure if it's related, but in order to download any files, I need to check the 'force save as box'' (or something to the effect) in order to save it. If I don't, I get a 500 error.

PM is being sent now...thanks!

amnesia623 03-11-2007 05:15 PM

Quick question -

Is there a way to get the wimpy button to show in the linkbit so every mp3 file can be streamed straight from the page rather than the jukebox?

Just curious..

Thanks again!

Demon fox 03-11-2007 07:32 PM

Quote:

Originally Posted by AndrewD (Post 1200711)
This seems easy enough, at least with internet explorer. If I can get Firefox and Opera sorted, I'll include this in the final 2.2.7.

Awesome im looking forward to it.

AndrewD 03-11-2007 08:06 PM

Quote:

Originally Posted by amnesia623 (Post 1200968)
Quick question -

Is there a way to get the wimpy button to show in the linkbit so every mp3 file can be streamed straight from the page rather than the jukebox?

Just curious..

Thanks again!

See PM

irishblue 03-12-2007 03:28 AM

Andrew, Thanks for the numerous updates in the latest verion. I just upgraded to the new version 2.2.7. But I am now getting emailed errors from vb that quote this:

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:

SELECT
link.linkid AS linkid, link.linkname AS linkname, link.linkdoi AS linkdoi,
link.linkuserid AS linkuserid, link.linkusername AS linkusername,
link.linkurl AS linkurl, link.linkimg AS linkimg,
link.linkimgthumb AS linkimgthumb, link.linkimgthumbsize AS linkimgthumbsize, link.linkforum AS linkforum,
link.linkdesc AS linkdesc, link.numrate AS numrate, link.totrate AS totrate,
link.linkhits AS linkhits, link.linksize AS linksize, link.linkstatus AS linkstatus,
link.linkdate AS linkdate, link.linkmoderate AS linkmoderate, link.linkmoddate AS linkmoddate,
link.linkreviewfreq AS linkreviewfreq,
ltoc.catid AS linkcatid, ltoc.displayorder AS linkdorder

, ltoc2.catid AS linkcatid2


FROM local_linkslink AS link
LEFT JOIN local_linksltoc AS ltoc ON link.linkid = ltoc.linkid




LEFT JOIN local_linksltoc AS ltoc2
ON link.linkid = ltoc2.linkid
WHERE link.linkid IN ();

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 23
Error Number : 1064
Date : Monday, March 12th 2007 @ 06:22:51 AM
Script : mysite.com/forum/local_links_search.php?action=like&linkid=11&catid =7
Referrer : mysite.com/forum/local_links.php?catid=7
IP Address : xxx.xxx.xx.xx
any idea what could be wrong?

AndrewD 03-12-2007 04:56 AM

Quote:

Originally Posted by irishblue (Post 1201328)
Andrew, Thanks for the numerous updates in the latest verion. I just upgraded to the new version 2.2.7. But I am now getting emailed errors from vb that quote this:



any idea what could be wrong?

Are you using the version of the local_links_search.php file that forms part of the 2.2.7 zip? That is broken - there's a replacement in the first post of this thread.

Let me know if this does not solve the problem.

GrendelKhan{TSU 03-12-2007 08:56 AM

can I just say...
Andrew, you continue to give the some of the most (if not THE most) concerted, best and most importantly patient and courteous support in all of vb org. And the mod is equally incredible reflection of that. so many coders crack and/or get nasty under 1/10000 the amount of questions and pressure you get for your hack. Its a true mark of character that you have done so much with the mod and with supporting it and so many appreciate it for that.

props Andrew..and CHEERS.

LDM pwns all. :bow: ;) :D

irishblue 03-12-2007 09:31 AM

Quote:

Originally Posted by AndrewD (Post 1201359)
Are you using the version of the local_links_search.php file that forms part of the 2.2.7 zip? That is broken - there's a replacement in the first post of this thread.

Let me know if this does not solve the problem.

Thanks for the quick reply! :) I remember uploading that file separately. Perhaps I should try re-uploading it again. Maybe it didn't overwrite the old file (that was in the zip) while it was queued in FTP. I'll try reuploading. Will post back again.


All times are GMT. The time now is 04:25 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
  • Page Generation 0.04967 seconds
  • Memory Usage 1,859KB
  • 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
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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