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 07-30-2007 03:11 PM

Quote:

Originally Posted by jGas (Post 1305273)
i have a new question :D

i've noticed that i can't edit uplaoded files.

if i want to modify the file of an entry (maybe i want to upload a new version) i have to delete the old entry and insert a new one.

this is very boring and frustrating for my users, that can't delete entries, so they ask me to remove the old entries. it's also frustrating because they lose also all rates and comments!

so, is it possible to delete an attachment and upload a new one, without having to delete the entry?

tnx!

I had already coded this for uploaded images in 2.2.8 and it makes sense to do the same for uploads in general. I will include in the next (RC) version of 2.2.8.

** Edited - I'm slightly confused. The only thing that you currently can't do during an edit is replace an upload with a url. You can already replace an upload with another. Or am I missing something?

AndrewD 07-30-2007 03:19 PM

Quote:

Originally Posted by itsblack (Post 1304499)
No, I don't want to use it in the vba page. It will be better add a link in the "Show" drop down menu.

This will be included in the RC version of 2.2.8, this week.

apokphp 07-30-2007 03:32 PM

Quote:

Originally Posted by AndrewD (Post 1304404)
In order to get this, you must have some some other code (plugin, etc) installed which is interacting with LDM, redefining either the constant SEARCH_SCRIPT or the variable $SEARCH_SCRIPT. If we can find out which one, then I can see how to get round the problem.

Well, can't I just use the code in the drop down menu? That seems to be working just fine. I'm referring to the "Show" dropdown menu of course.

Where can I find the code for "What's New" and "What's Hot"?

Also, on the main page it displays the most popular links. Is there a way to change that to display the highest rated links?

AndrewD 07-30-2007 04:02 PM

Quote:

Originally Posted by apokphp (Post 1305400)
Well, can't I just use the code in the drop down menu? That seems to be working just fine. I'm referring to the "Show" dropdown menu of course.

Where can I find the code for "What's New" and "What's Hot"?

Also, on the main page it displays the most popular links. Is there a way to change that to display the highest rated links?

I'm confused - I thought you said that the What's Hot and What's New on the Show menu were not working?

If you mean by 'main page' the box down the bottom right of the screen, the code for this is in includes/local_links_include.php, routine get_ldm_hitparade. You would have to modify the sql to filter on numrate and sort on totrate/numrate.

The code for What's New and What's Hot is in local_links_search.php.

obmob 07-30-2007 11:55 PM

Spanish product and phrases... there were several new phrases. ^^,

So... 2.2.8 RC coming soon? :D

benjaminbih 07-31-2007 02:01 AM

every time i want to change my LDM settings i get this error:

Code:

Fatal error: zval::refcount integer overflow detected in /srv/www/vhosts/xyz.net/httpdocs/includes/functions_file.php on line 58

How to fix it ?

AndrewD 07-31-2007 04:09 AM

Quote:

Originally Posted by benjaminbih (Post 1305849)
every time i want to change my LDM settings i get this error:

Code:

Fatal error: zval::refcount integer overflow detected in /srv/www/vhosts/xyz.net/httpdocs/includes/functions_file.php on line 58

How to fix it ?

I don't know how to fix this, because it's an internal php error and I haven't seen it before.

From a quick search on Google, I guess that your site is using php 4?

Please check the entries you are providing for *thumbs_dir* and *upload_dir*. LDM validates these by attempting to create test files in the directories specified. The error you are reporting is connected to that test (actually to the vbulletin function vbmkdir() which sits underneath the test). So maybe something is going wrong there.

Am happy to help further if this does not solve the problem, but will need vb admin access to your site.

AndrewD 07-31-2007 04:10 AM

Quote:

Originally Posted by obmob (Post 1305802)
Spanish product and phrases... there were several new phrases. ^^,

So... 2.2.8 RC coming soon? :D

Thanks. Very soon, as long as we don't find horrible bugs.

jGas 07-31-2007 06:34 AM

Quote:

Originally Posted by AndrewD (Post 1305382)
** Edited - I'm slightly confused. The only thing that you currently can't do during an edit is replace an upload with a url. You can already replace an upload with another. Or am I missing something?

maybe there is something i haven't turned on on the LDM admin cp...
where do i have to look?

thanks! :p

AndrewD 07-31-2007 07:53 AM

Quote:

Originally Posted by jGas (Post 1305966)
maybe there is something i haven't turned on on the LDM admin cp...
where do i have to look?

thanks! :p

With version 2.2.7, if you've got uploads enabled and the user who is editing the entry has permission to upload, then part of the 'Edit Entry' form should look like the attached image.

To replace the exiting upload with another, you simply browse for a new upload.

Does this not work for you?


All times are GMT. The time now is 08:42 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.03570 seconds
  • Memory Usage 1,751KB
  • 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
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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