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 02-17-2007 03:02 PM

Quote:

Originally Posted by civil78 (Post 1183729)
I was searching the extras and I see that.

If i put this on the URL of my browser.

Code:

http://www.yoursite.com/local_links.php?action=addlink&url=URLINK&name=NAMETEXT&description=DESCRIPTIONTEXT
It will fill all the fields. I am wondering if you have a guide or a list of all the supported URL actions somewhere.

And finaly if I can create and submit a new link from URL (not from button in the form)

Thank's

I'll try to document these in the wiki - I haven't given much time to that.

Currently, it isn't possible to process full submissions/edits/etc from the url - I think this would be a security risk?

obmob 02-17-2007 03:30 PM

Quote:

Originally Posted by AndrewD (Post 1184603)
I've uploaded the release candidate of 2.2.7 in the first post in this thread.

Reports please.

I'd very much appeciate it if the translators can now start work - there are some new phrases that need attention. Thanks.

Downloaded :D

I''l take a look at phrases a little later. :cool:

Slave 02-18-2007 07:46 AM

Hi Andrew :)

I've just updated my install to 2.2.7 RC and I get the following error when I click on the "Suggest other entries" link ..

Code:

Warning: Wrong parameter count for array_slice() in /local_links_search.php on line 303

Warning: array_keys(): The first argument should be an array in /local_links_search.php on line 306

Warning: implode(): Bad arguments. in /local_links_search.php on line 306
        Database error
The Yaxley Village database has encountered a problem.
Please try the following:
Load the page again by clicking the Refresh button in your web browser.
Open the www.yaxleyvillage.com home page, then try to open another page.
Click the Back button to try another link.
The www.yaxleyvillage.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.

Database error in vBulletin 3.6.0:

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        : Sunday, February 18th 2007 @ 09:41:04 AM
Script      : http://www.yaxleyvillage.com/local_links_search.php?action=like&linkid=167&catid=10
Referrer    : http://www.yaxleyvillage.com/local_links.php?catid=10
Classname    : vb_database


Any ideas? :)

AndrewD 02-18-2007 09:19 AM

Quote:

Originally Posted by Slave (Post 1185134)
Hi Andrew :)

I've just updated my install to 2.2.7 RC and I get the following error when I click on the "Suggest other entries" link ..

Code:

Warning: Wrong parameter count for array_slice() in /local_links_search.php on line 303
Warning: array_keys(): The first argument should be an array in /local_links_search.php on line 306
Warning: implode(): Bad arguments. in /local_links_search.php on line 306

Any ideas? :)


I can see where this happens - it is a bug which is easy to fix - but I'm surprised - it seems to suggest an unexpected mixture of access permissions (basically, LDM seems to be discovering that all its suggested entries are blocked from the current user). Is this happening with all the 'suggest similar' buttons?

Slave 02-18-2007 10:23 AM

Seems to be .. yes.

I only get the big mysql error as admin, with my test users I just get the standard vb "A database error" page.

NiteRidah 02-18-2007 02:24 PM

Hey,

LDM always creates a directory named 2 into specified upload directory and stores all files there. Is this the way it's supposed to be, or am I missing something here? :)

AndrewD 02-18-2007 02:57 PM

Quote:

Originally Posted by NiteRidah (Post 1185305)
Hey,

LDM always creates a directory named 2 into specified upload directory and stores all files there. Is this the way it's supposed to be, or am I missing something here? :)

Yes, this is correct.

It creates subdirectories in the upload directory, of the form /each/digit/of/your/user/id, and then places the uploaded files there

This is the same behaviour as vbulletin, and is done to try to avoid having directories with vast numbers of files in them.

NiteRidah 02-18-2007 03:03 PM

Ah, ofcourse. Thank you for the quick reply :)

Slave 02-18-2007 10:07 PM

Quote:

Originally Posted by AndrewD (Post 1185191)
Can you try the attached file in your main forums directory.

Sorry for the delay Andrew .. been out for the day ..

Just tried the new file and got the following error ..

Code:

Warning: Wrong parameter count for array_slice() in /local_links_search.php on line 311

Warning: array_keys(): The first argument should be an array in /local_links_search.php on line 314

Warning: implode(): Bad arguments. in /local_links_search.php on line 314


obmob 02-18-2007 10:48 PM

Hmm... i must remake all my templates and test the new features... here, 2.2.7 spanish translations... ;)


All times are GMT. The time now is 07:37 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.02342 seconds
  • Memory Usage 1,756KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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