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-27-2007 03:33 AM

Quote:

Originally Posted by Whitey193 (Post 1302587)
I've tried searching this forum to no avail so I'm now asking for help.

I've installed it (2.2.7) and set up the relevant directories (I think) and have sucessfully added a navbar link and uploaded a file which as the administrator I can view no problems.

When I try and access the category that it's uploaded to I get this line which gives the http 404 Not Found

http://www.revolutionsoldiers.com/fo..._links/links/1

If i click on the what's new form the drop down box, no probs and I can view the link and the file.

Now.. If I change user to a registered user who has access to the category again the main section doesn't work and when I click on the what's new and then click on the link i get this link.

http://www.revolutionsoldiers.com/fo...links/jump/2/1

What have I done wrong ?

From looking at a post earlier I've turned off the SEO..

Help

Whitey.. :eek:

The urls are only generated in that format when the LDM 'search engine friendly' option is switched on - normally they take the form local_links.php?action=jump and ?linkid=N, etc. Suggest you check again on the LDM admin settings page - disable search engine friendly.

apokphp 07-27-2007 06:22 AM

nvm, found the answer. Delete me.

chronoshift 07-27-2007 11:52 AM

Quote:

Originally Posted by AndrewD (Post 1302813)
This is not currently possible, but it should be a minor (:)) change/extension to the flash-sites extra to make it so. Let me think about it. Will give you a reply soon.

I'd really appreciate it! I tried adding $playerbit_player to the linkbit template but that didn't work ;/

Rouzbeh1 07-27-2007 03:49 PM

hi Andrew,
could you please help me to generate a LDM MAP to submit in google webmaster tools? or is there already a tool for doing this?

thanks in advance

obmob 07-27-2007 05:33 PM

I'm missing something... when i add a new link to the db, my categories are re-sorted, is there a way to maintain the order? :eek:

Thanks

chronoshift 07-27-2007 11:10 PM

when using the flash-sites addon, photobucket vids don't play :(

itsblack 07-28-2007 06:25 AM

Quote:

Originally Posted by obmob (Post 1303249)
I'm missing something... when i add a new link to the db, my categories are re-sorted, is there a way to maintain the order? :eek:

Thanks

You can edit the catetory, then assign the display order for the category.

itsblack 07-28-2007 09:39 AM

Hi Andrew, I hope you can set the default rate option with "none", so that the users must choose a rate option manually when they submitt a rate/comment. For now the default option is "1 star", some users of mine often forget changing the rate option when they make a comment.

PS: It seems there is a bug when I edit the comment/rate. The rate option can not be changed.

Best regards.

itsblack 07-28-2007 11:12 AM

Another request, Andrew, can you create a page that displays the newst comments together? Sometimes I just don't know which item has new comment.

HDT 07-28-2007 01:42 PM

Got blank page after run local_links_kill.php and I only can access admincp

Any idea how to fix it?

AndrewD 07-28-2007 03:42 PM

Quote:

Originally Posted by HDT (Post 1303869)
Got blank page after run local_links_kill.php and I only can access admincp

Any idea how to fix it?

What do you mean, a blank page? What are you trying to access?

local_links_kill.php physically removes your LDM database tables, so you run it when you really want to deinstall it.

obmob 07-28-2007 04:05 PM

Quote:

Originally Posted by itsblack (Post 1303677)
You can edit the catetory, then assign the display order for the category.

So true, so true! Thanks. :p

Andrew, Andrew!!!

Maybe there could be a way to order all categories at once, similar to the way forums are sorted in vbulletin. Of course, for future releases. :D

apokphp 07-28-2007 06:02 PM

Something screwy with the "What's hot" and "What's New" links on the main page.

http://www.onlinedebate.net/forums/local_links.php

When you click on "what's new", there's a 404 error. The url it takes you to is:
http://www.onlinedebate.net/forums/%...D.php?catid=-8

When you click on "what's hot", anohter 404 error. The url for that one is:
http://www.onlinedebate.net/forums/%...D.php?catid=-7

Did I miss a setting or something?

The url for both of them when I hover over them, contains the code: /forums/[ARG:4 Undefined].php?catid=-# (where -# is either -7 or -8).

AndrewD 07-29-2007 06:03 AM

Quote:

Originally Posted by apokphp (Post 1304067)
Something screwy with the "What's hot" and "What's New" links on the main page.

http://www.onlinedebate.net/forums/local_links.php

When you click on "what's new", there's a 404 error. The url it takes you to is:
http://www.onlinedebate.net/forums/%...D.php?catid=-8

When you click on "what's hot", anohter 404 error. The url for that one is:
http://www.onlinedebate.net/forums/%...D.php?catid=-7

Did I miss a setting or something?

The url for both of them when I hover over them, contains the code: /forums/[ARG:4 Undefined].php?catid=-# (where -# is either -7 or -8).

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.

AndrewD 07-29-2007 07:48 AM

Quote:

Originally Posted by itsblack (Post 1303752)
Hi Andrew, I hope you can set the default rate option with "none", so that the users must choose a rate option manually when they submitt a rate/comment. For now the default option is "1 star", some users of mine often forget changing the rate option when they make a comment.

PS: It seems there is a bug when I edit the comment/rate. The rate option can not be changed.

Best regards.

For 2.2.8, I've put in a javascript test - when *must_comment_and_rate* is set, the submit button on the form only becomes active when the user selects a rating.

I can't reproduce your bug report. Are you sure you are clicking the 'submit' button rather than the 'return' button? (Return takes you back to the main category page but does not process the comment/rating form. Submit processes the form, but leaves you in the view comments and ratings page.)

itsblack 07-29-2007 09:05 AM

Quote:

Originally Posted by AndrewD (Post 1304444)
For 2.2.8, I've put in a javascript test - when *must_comment_and_rate* is set, the submit button on the form only becomes active when the user selects a rating.

I can't reproduce your bug report. Are you sure you are clicking the 'submit' button rather than the 'return' button? (Return takes you back to the main category page but does not process the comment/rating form. Submit processes the form, but leaves you in the view comments and ratings page.)

I've set "must_comment_and_rate" to yes, but even so the submit button is active without select a rating. And the default rating option is "1 star". I tested it for several times: When I open an item, I just click "rate/comment", then click "submit" buuton, without doing anything, neither writting a comment, nor selecting a rating, but LDM will still accept the submitting.

I don't know why it doesn't work as you said. So I still suggest adding a "none" rating option, I guess it can simplify the process mechanism.

For the bug I reported, please forgive me, I forgot something. It is when I editing a comment/rating from other member, I can edit the comment, but can not change the rating.

AndrewD 07-29-2007 09:17 AM

Quote:

Originally Posted by itsblack (Post 1304468)
I've set "must_comment_and_rate" to yes, but even so the submit button is active without select a rating. And the default rating option is "1 star". I tested it for several times: When I open an item, I just click "rate/comment", then click "submit" buuton, without doing anything, neither writting a comment, nor selecting a rating, but LDM will still accept the submitting.

I don't know why it doesn't work as you said. So I still suggest adding a "none" rating option, I guess it can simplify the process mechanism.

For the bug I reported, please forgive me, I forgot something. It is when I editing a comment/rating from other member, I can edit the comment, but can not change the rating.

Sorry, I was unclear - in the final 2.2.8 I will make this change to the submit button.

I'll look for the bug you describe in edit ratings.

aryapsh 07-29-2007 09:36 AM

andew i have sent you a message my juke box is not working can you help me?

itsblack 07-29-2007 09:46 AM

Quote:

Originally Posted by itsblack (Post 1303794)
Another request, Andrew, can you create a page that displays the newst comments together? Sometimes I just don't know which item has new comment.

I'm sorry to disturb you again, Andrew, but please think about this request.

AndrewD 07-29-2007 09:59 AM

Quote:

Originally Posted by itsblack (Post 1304484)
I'm sorry to disturb you again, Andrew, but please think about this request.

I'd noticed. You know that there's a vba module to do this? I assume you don't want to use that.

AndrewD 07-29-2007 10:00 AM

Quote:

Originally Posted by aryapsh (Post 1304482)
andew i have sent you a message my juke box is not working can you help me?

I visited your site and registered my username, saw that you're getting blank pages thrown up when launching the jukebox. Is that the problem?

If so, can you upgrade my account (andrewd) to full vb admin.

thanks.

aryapsh 07-29-2007 10:23 AM

Quote:

Originally Posted by AndrewD (Post 1304491)
I visited your site and registered my username, saw that you're getting blank pages thrown up when launching the jukebox. Is that the problem?

If so, can you upgrade my account (andrewd) to full vb admin.

thanks.

yes this is the problem your username is andrewd right? you are admin now

itsblack 07-29-2007 10:30 AM

Quote:

Originally Posted by AndrewD (Post 1304490)
I'd noticed. You know that there's a vba module to do this? I assume you don't want to use that.

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.

PlymWS 07-30-2007 10:03 AM

I've just noticed that on my 2.2.7 install I can access all the administration options except the Permissions settings. Any idea why this would be ? I must have been able to access it on initial setup so I can't see why I can't access it now ?!?

AndrewD 07-30-2007 10:39 AM

Quote:

Originally Posted by PlymWS (Post 1305202)
I've just noticed that on my 2.2.7 install I can access all the administration options except the Permissions settings. Any idea why this would be ? I must have been able to access it on initial setup so I can't see why I can't access it now ?!?

I can't see anything obvious.

When you say you can't access - what precisely is happening? Do you see the permission link on the admin pages, do you get an error message, etc?

Happy to take a look at your site if necessary.

PlymWS 07-30-2007 10:52 AM

If I click permissions I get the page loading spinny thing ( Firefox ) but the page does not display. It just times out. The files are all there and have correct permissions. I only need to access it as I've added some new usergroups and need to setup their access rights

AndrewD 07-30-2007 10:56 AM

Quote:

Originally Posted by PlymWS (Post 1305227)
If I click permissions I get the page loading spinny thing ( Firefox ) but the page does not display. It just times out. The files are all there and have correct permissions. I only need to access it as I've added some new usergroups and need to setup their access rights

Am happy to take a look - I've not had this problem reported before. If you want me to investigate, send me a PM with details of an admin account.

You might also check whether you can get at the per-category permissions pages by going into any category, edit category, permissions tab - it's basically the same code so it is interesting to see if it behaves the same way or not.

PlymWS 07-30-2007 11:06 AM

I can get the per-category page up fine. I just can't get the global one up.

AndrewD 07-30-2007 11:45 AM

Quote:

Originally Posted by PlymWS (Post 1305230)
I can get the per-category page up fine. I just can't get the global one up.

Try flushing the browser cache or check with IE.

If that fails, go to vb/admincp/vb options/headers and cache/disable gzip, and see if the system is trying to send you an error message.

jGas 07-30-2007 11:57 AM

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!

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 05:31 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.06897 seconds
  • Memory Usage 1,857KB
  • 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
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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