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)

AndrewD 03-15-2007 05:14 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1203869)

and found a small tiny bug.
we I try to add new link AND set the order number to something other than 1... it doesn't actually save the order number (saves it as 1). you have to edit the link and save the order number again for it to "take".

Will check this, thanks

Joep11 03-15-2007 08:51 AM

Hi all,

Just got an new laptop with Vista. However, LDM video's are not streaming anymore. In XP they do though. I also have a problem with internetradio. Does anyone know the solution?

Jaxel 03-15-2007 10:28 AM

Quote:

Originally Posted by AndrewD (Post 1203893)
As far as I can tell from your site, LDM thinks that it is creating new thumbs, but somehow they are then not found.

Couple of questions:
- Does it display a thumb correctly when you add a new entry to the database (i.e. is it only the old entries which have a problem)?
- When you moved server, did you change the location of the master images from which the thumbs are generated?

My guess is that LDM can't find the master images from which it builds the thumbnail, but I may be wrong.

To get to the bottom of this, I'll need admin access to your site.

New or old, doesnt work unless I turn 'create oninstert' on. When I moved servers I changed the location of nothing. The thumbnail GIFs are the same name as my video files in the same directory. Remember the simple-avi-image script you wrote? Well you wrote it for me; except I modified it a few months back to work for MKV -> GIF rather than AVI -> JPG. You have admin access now. From my old server I jsut copied all the data and the database...

I did discover a weird occurance... I have my 'local_file_root_prefix' set to '/downloads'... so if I have a file setup as /file.mkv, when click on it will go to 'http://www.crookedjester.com/downloads/file.mkv' (this file doesnt actually exist, just using it as an example)... this is with 'force_redirect' set to 0. The thumbnail would be at /file.gif.

If I change my 'force_redirect' to 2, instead it will ignore the 'local_file_root_prefix' and go to 'http://www.crookedjester.com/file.mkv' instead... Could this be caused by the same issue with the thumbnails not being found?

AndrewD 03-15-2007 11:21 AM

Quote:

Originally Posted by Jaxel (Post 1204043)
I did discover a weird occurance... I have my 'local_file_root_prefix' set to '/downloads'... so if I have a file setup as /file.mkv, when click on it will go to 'http://www.crookedjester.com/downloads/file.mkv' (this file doesnt actually exist, just using it as an example)... this is with 'force_redirect' set to 0. The thumbnail would be at /file.gif.

If I change my 'force_redirect' to 2, instead it will ignore the 'local_file_root_prefix' and go to 'http://www.crookedjester.com/file.mkv' instead... Could this be caused by the same issue with the thumbnails not being found?

Yes, these are related. There seems to be a mismatch between the way the main script and the imaging script are processing files when local_file_root_prefix is set. A very similar problem exists with the different settings of force_redirect. Sorry about that - I suspect I made a change to the code to fix another problem and no-one has hit the new bug until now. I'm make sure it's fixed in 2.2.7.

Alfa1 03-15-2007 11:22 AM

Quote:

Originally Posted by AndrewD (Post 1203897)
Good idea - I think this can probably be done with an plugin. If it's ok with you, I'll get 2.2.7 out of the door before trying to write it.

Hey Andrew, off course this is ok with me. I'm just very happy that you'll add this feature. Another great step forward if you ask me.

Jaxel 03-15-2007 12:05 PM

Quote:

Originally Posted by AndrewD (Post 1204066)
Yes, these are related. There seems to be a mismatch between the way the main script and the imaging script are processing files when local_file_root_prefix is set. A very similar problem exists with the different settings of force_redirect. Sorry about that - I suspect I made a change to the code to fix another problem and no-one has hit the new bug until now. I'm make sure it's fixed in 2.2.7.

I'm using the same files/scripts from my old server, as well as the imported database... so how come I didnt have the bug until now?

Anyway, were you able to fix it?

AndrewD 03-15-2007 12:12 PM

Quote:

Originally Posted by Jaxel (Post 1204082)
I'm using the same files/scripts from my old server, as well as the imported database... so how come I didnt have the bug until now?

Anyway, were you able to fix it?

I've no idea why you've only just hit the bug. I'm at work at the moment - I'll try to give this some effort this evening but there is a day job to do....

Ranma2k 03-15-2007 01:17 PM

HI AndrewD,

Thanks for the continues update of the hack .. i really use it a lot ..

i always wanted to ask if it's possible to add custom fields to the links added so it can be filled when adding new links and stuff ..

is that possible in the new ver ?
I'm still using an old one since i did a lot of modification on it to meet my needs :)

AndrewD 03-15-2007 01:24 PM

Quote:

Originally Posted by Ranma2k (Post 1204121)
HI AndrewD,

Thanks for the continues update of the hack .. i really use it a lot ..

i always wanted to ask if it's possible to add custom fields to the links added so it can be filled when adding new links and stuff ..

is that possible in the new ver ?
I'm still using an old one since i did a lot of modification on it to meet my needs :)

Sorry, this is one of those changes that I haven't dealt with yet. It's on the list, and I know other people want it too, but it needs careful design.

Maybe in 2.2.8, I hope...

Jaxel 03-15-2007 03:56 PM

Quote:

Originally Posted by AndrewD (Post 1204085)
I've no idea why you've only just hit the bug. I'm at work at the moment - I'll try to give this some effort this evening but there is a day job to do....

Looking into it further... I dont think thats the bug... If I create a new link with an offsite download... such as 'http://68.178.217.7/downloads/adxencd.zip' and set the thumbnail as 'http://68.178.217.7/downloads/thumbnails/file_adx.gif' it still doesnt create the thumbnail. It has an exact url too.

Once again, it only works if "create_thumbs_oninsert" is on. Yes, I know I can easily just turn create_thumbs_oninsert to on and then manually edit each link so it creates the thumbnail... but I have about 500 links, I would rather use a script that would do it automatically.

If I get rid of the whole local_file_root all together, it still cant make the thumbnails if I direct define the image.

obmob 03-15-2007 04:22 PM

Do we have an RSS feed plugin?

I mean a simple one that can be used to access files and links with an rss reader? :p

AndrewD 03-15-2007 04:37 PM

Quote:

Originally Posted by Jaxel (Post 1204219)
Looking into it further... I dont think thats the bug... If I create a new link with an offsite download... such as 'http://68.178.217.7/downloads/adxencd.zip' and set the thumbnail as 'http://68.178.217.7/downloads/thumbnails/file_adx.gif' it still doesnt create the thumbnail. It has an exact url too.

Once again, it only works if "create_thumbs_oninsert" is on. Yes, I know I can easily just turn create_thumbs_oninsert to on and then manually edit each link so it creates the thumbnail... but I have about 500 links, I would rather use a script that would do it automatically.

If I get rid of the whole local_file_root all together, it still cant make the thumbnails if I direct define the image.

This is weird. It seems that the script local_resize.php is not running at all.

Please can you grab the files /local_resize.php and /includes/local_links_resize.php - please make sure these are the files that currently installed on your forum - and post them here or email them to me at ad_rodin at noos.fr I want to check that we're dealing with the same code. Thanks.

AndrewD 03-15-2007 06:08 PM

Quote:

Originally Posted by josiespencer (Post 1203660)
Andrew, sorry to kick another bug in 2.2.7 at you when I know you want to finalize it but you still have access to my website so you can test it on us.

We have been keeping a close eye on users reaching the daily max download count which is 10 for now. We use either the Quota stats or the Allowances option in the Adminster 2.2.7 option from the Links and Downloads menu bar.

Here is an example: I have three users who I am pretty sure are all the same user. Three users are maxed out for the day, they all originate from the same IP address, and the prefix for all the files they download is the same, SCM. So I wanted to pull a hit list for a user named mariored. I clicked on the [View hits] options, and then clicked on the username when it was displayed as a single entry on the next day. I got a list of the 10 files downloaded by the use today. So I clicked on the IP address for that user to see who else is downloading using that same IP address and the first page looks fine:

Then I click either > or 2 and instead of getting the second page to the restricted IP results, it looks like I get some sort of global user list:

Please feel free to poke around on my site to research this is you need to do so.

Thanks for the report - it was straightforward to fix.

Jaxel 03-15-2007 06:18 PM

Quote:

Originally Posted by AndrewD (Post 1204249)
This is weird. It seems that the script local_resize.php is not running at all.

Please can you grab the files /local_resize.php and /includes/local_links_resize.php - please make sure these are the files that currently installed on your forum - and post them here or email them to me at ad_rodin at noos.fr I want to check that we're dealing with the same code. Thanks.

Ok... sent to you... but remember, it succesfully creates links when I have "create_thumbs_oninsert" set to on... so doesnt that mean the local resize is working?

EDIT: AHA!... somehow the local_resize file was lost when I migrated servers... haha... problem solved.

Ranma2k 03-15-2007 06:57 PM

Quote:

Originally Posted by AndrewD
Sorry, this is one of those changes that I haven't dealt with yet. It's on the list, and I know other people want it too, but it needs careful design.

Maybe in 2.2.8, I hope...

will be looking forward for it ..

AndrewD 03-15-2007 08:06 PM

Quote:

Originally Posted by obmob (Post 1204240)
Do we have an RSS feed plugin?

I mean a simple one that can be used to access files and links with an rss reader? :p

These a simple rss2 script in the extras/rss2 directory.

Vinyljunky 03-16-2007 09:49 AM

Firstly thank you for this MOD, I can tell that you put a lot of hours in it!

My query is about Adverts!

I currently use VB Ad Management 3.04 to display ads within my forum. But sadly the Ads dont apear within the Links & Downloads listings.

Is there anyway I can display adverts within the DL listings?

Thanks

VJ

GrendelKhan{TSU 03-16-2007 11:10 AM

side q:

anyone get the SEO rewrite to work? if so, can ya help me out? cant' seem to get it to work at all for me :(

chorton 03-16-2007 11:42 AM

i have vbseo rewrite working on www.versionist.com

mauro1947 03-16-2007 02:24 PM

Hi!
Is there any way to recount all the entries?
I made changes to my DB and now LDM says i have 7000 links when i have exactly the middle.
How can i fix it?
Thanks
PD: AndrewD if you can, when you can, send me a mail, i have some questions for you ;)
THANKS!!!

GrendelKhan{TSU 03-16-2007 03:13 PM

request: (cause ..er... like you don't have enough. :p)

I've had a bunch of requests whether veoh videos can be added to the LDM (http://www.veoh.com) flash sites addon... same like you have for youtube, google vid etc.

if you get a chance or its doable, it would be greatly appreciated. (no biggy if its a pain though).

as usual.,..thanks again for your continued developemtn on this incredible mod.

santimariani 03-16-2007 06:13 PM

When trying to upload the product, I get these messages:

Importing Product, Please Wait...

[:::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::]

Warning: require_once() [function.require-once]: Unable to access /mounted-storage/home30b/sub003/sc26776-BAUY/www/forum/includes/local_links_init.php in /admincp/plugin.php(1941) : eval()'d code on line 3

Warning: require_once(/mounted-storage/home30b/sub003/sc26776-BAUY/www/forum/includes/local_links_init.php) [function.require-once]: failed to open stream: No such file or directory in /admincp/plugin.php(1941) : eval()'d code on line 3

Fatal error: require_once() [function.require]: Failed opening required '/mounted-storage/home30b/sub003/sc26776-BAUY/www/forum/includes/local_links_init.php' (include_path='.:/usr/local/lib/php/') in /mounted-storage/home30b/sub003/sc26776-BAUY/www/forum/admincp/plugin.php(1941) : eval()'d code on line 3

And it continues to load forever. Why is this happening? Thanks.

santimariani 03-16-2007 06:25 PM

Yay! I figured it out. Never mind! :)

Kahuna900 03-16-2007 10:39 PM

Strange, I update to 2.2.7 and now I can only upload new downloads but can not link files already on the server. There is no place to enter the URL of the file when editing the entry. Not even for the files I already have setup and are linking to. Any ideas?

obmob 03-16-2007 10:52 PM

Quote:

Originally Posted by AndrewD (Post 1204366)
These a simple rss2 script in the extras/rss2 directory.

Thanks, i'll look around :p

AndrewD 03-17-2007 04:52 AM

Quote:

Originally Posted by Kahuna900 (Post 1205192)
Strange, I update to 2.2.7 and now I can only upload new downloads but can not link files already on the server. There is no place to enter the URL of the file when editing the entry. Not even for the files I already have setup and are linking to. Any ideas?

Check that you have actually uploaded all the new php files correctly.

Sometimes, strange things happen because there is a mix of old and new files on the server.

If this is not the reason, I will be happy to take a look at your site.

AndrewD 03-17-2007 04:53 AM

Quote:

Originally Posted by GrendelKhan{TSU (Post 1204906)
request: (cause ..er... like you don't have enough. :p)

I've had a bunch of requests whether veoh videos can be added to the LDM (http://www.veoh.com) flash sites addon... same like you have for youtube, google vid etc.

if you get a chance or its doable, it would be greatly appreciated. (no biggy if its a pain though).

as usual.,..thanks again for your continued developemtn on this incredible mod.

This was easy to do. It will be in the final 2.2.7 - later today, unless someone throws a big problem at me......

AndrewD 03-17-2007 07:42 AM

I've uploaded a new release of version 2.2.7, which (provided there are no serious reported bugs) will soon become the supported version.

Please remember to backup your database before upgrading. Please report experiences.

Obmod - I'm very sorry - there's a few more phrases to translate.

This release fixes all bugs that have been reported to me, and also includes many of the suggestions made in the last four weeks (althoug *not* the request for extra fields in the linkbit).

Bug fixes and other changes
- Admin/*cat_desc_popup* option enables a popup showing category's extended description next to the category title in the catbit
- Admin/*word_wrap* controls where long titles/words in text gain a space to allow then to wrap correctly
- Admin/allowances blanks out non-enabled form fields
- Admin/hits improvements and fixes to selection criteria
- Admin/imports and exports are allowed up to 60 seconds cpu if php installation allows this
- Admin/mass edits include 'process all pages' and regex-based edits on several fields with count of entries affected by edit
- Admin/permissions includes transpose opion to list everything by usergroup
- Admin/settings, more settings (including *force_redirect*) can be re-configured on a per-category basis
- Admin/settings *local_file_root_prefix* and *force_redirect*=2 now work correctly together
- Category synchronisation does not create/deletes categories where there are no entries or subcategories
- Hit recording coding error fixed for null entries
- Linkbit/better flagging of expired/not yet visible entries
- Linkbit/date fields fixed with languages that have format overrides
- Main page/warning message displayed if database/category is empty or if current user is not allowed to see anything
- Search/advanced search on category and subcategories no longer produces ridiculous category list
- Search/similarity search bugs fixed (php4 and general sql errors)
- User profile listing includes "show all my entries" link
- vbAdvanced/advanced search module added
- vbAdvanced/thumbs, hot, new modules have new parameter to specify entries per row
- added player for Veoh flash video site via 'extra'

PitchouneN64ngc 03-17-2007 08:22 AM

Thanks for the final release, I think I will finish to translate your mod in French in a few hours ;)

Alfa1 03-17-2007 02:02 PM

Is there a way to get new comments included into the 'new posts' function of vbulletin?

Does a search intergration with vbulletin's search engine exist?

Masiello 03-17-2007 05:10 PM

Hi, can this works fine without any problem with vB 3.6.5?

Masiello 03-17-2007 05:15 PM

Is there a lite mod just a link directory facsimile to a vBadvanced product?

AndrewD 03-17-2007 07:04 PM

Quote:

Originally Posted by Masiello (Post 1205727)
Hi, can this works fine without any problem with vB 3.6.5?

No problem with 3.6.5.

A lite version?? After they spend three years asking me to add more and more ?????

Dream 03-17-2007 07:22 PM

Thanks for the update, upgraded and seems to be working fine.

All but the 100 pages phrases of course :P

AndrewD 03-17-2007 08:13 PM

Quote:

Originally Posted by Dream (Post 1205800)
Thanks for the update, upgraded and seems to be working fine.

All but the 100 pages phrases of course :P

Which language do you want to translate into?

Dream 03-17-2007 08:25 PM

Brazilian Portuguese

PitchouneN64ngc 03-17-2007 08:50 PM

When you update your mod, in the page local_links_admin.php?action=admin, when you go into the debug part of the page, the vbphrase used for the debug title table is 'll_PERMS_debug'.

But, when you update to 2.2.7, the function init_admin_table is called. This function updates entries for the local_links_admin.php?action=admin page (phrase, default values, etc...). And in this function, I can see the default phrase for the debug title table is 'll_settings_title_debug'. (line 373)

When you updates to 2.2.7, this line is not updated (vbphrase from 'll_PERMS_debug' to 'll_settings_table_debug'). It is normal or do you must to force update? (sixth parameter of the line 373 to 1)

-------------------------------------------------------------

Other design issue: when you go to local_links_admin.php?set=categories , you have a little problem with the colspan attribute of the top-right table :)

-------------------------------------------------------------

In the phrase 'll_perms_force_redirect', you miss to close the bracket.

obmob 03-17-2007 11:43 PM

Quote:

Originally Posted by AndrewD (Post 1205790)
No problem with 3.6.5.

A lite version?? After they spend three years asking me to add more and more ?????

LOL, that was funny. :D

I guess there are plenty of linkbits to make it simple, no? :p

OK, final version of spanish phrases attached. :)

Now i must work in my templates :eek:

Thanks Andrew!

AndrewD 03-18-2007 10:59 AM

Quote:

Originally Posted by PitchouneN64ngc (Post 1205843)
When you update your mod, in the page local_links_admin.php?action=admin, when you go into the debug part of the page, the vbphrase used for the debug title table is 'll_PERMS_debug'.

But, when you update to 2.2.7, the function init_admin_table is called. This function updates entries for the local_links_admin.php?action=admin page (phrase, default values, etc...). And in this function, I can see the default phrase for the debug title table is 'll_settings_title_debug'. (line 373)

When you updates to 2.2.7, this line is not updated (vbphrase from 'll_PERMS_debug' to 'll_settings_table_debug'). It is normal or do you must to force update? (sixth parameter of the line 373 to 1)

-------------------------------------------------------------

Other design issue: when you go to local_links_admin.php?set=categories , you have a little problem with the colspan attribute of the top-right table :)

-------------------------------------------------------------

In the phrase 'll_perms_force_redirect', you miss to close the bracket.


Thanks for spotting these.

To force the debug title update, as you say, there needs to be six parameters on line 373 of admininclude.

Code:

require_admin_row($seq++, 'title_debug', 'll_settings_title_debug', 'title', 0, 1);

itsblack 03-18-2007 02:13 PM

Hi Andrew, thank you very much for this great mod. I've been used it for a long time. Now I upgrade to 2.2.7, and translate it into chinese. [Simplified Chinese, use UTF-8 encode]

I have a little problem with the "Autocreate threads". The Image URL in the auto-created thread is not correct. But the images in LDM are totally correct. My vb path is www.mysite.com/forum, and I installed the LDM under the forum, but the image URL just lack of "forum". Only when I change the script, namely includes/local_links_misc.php, it goes to work. What I changed was line 1447:
PHP Code:

$imglink '[img]https://vborg.vbsupport.ru/[/img]'

here homeurl replace with bburl.

But I don't know if it is a bug or it only occurs by me. btw, I use the IIS server, and in the 2.2.6 stage it has the same problem. The other related settings are:
local_file_root = no
local_file_root_prefix = forum
upload_dir = /LDM/upload


All times are GMT. The time now is 03:41 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.02830 seconds
  • Memory Usage 1,866KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (20)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