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)

jGas 07-18-2007 12:35 PM

maybe it's only a suggestion for future releases: but is it possible to see the links to new entries and new ratings/comments in the /search.php?do=getnew page?

thanks for all you are doing for as with this mod ;)


EDIT: i'd like to open a thread where we can give links to our LDM pages, and have suggestion about how incorporating it with our forum!!is it possibile? and where?

AndrewD 07-18-2007 04:06 PM

Quote:

Originally Posted by Alfa1 (Post 1294085)
Andrew,

Could you please answer this:

(about searching)

I'm sorry, I missed your question the first time round.

The syntax for the search urls is as follows:

.../local_links_search.php?action=show

with some or all of these parameters:

required

&search=searchstring
&desc=0/1 [search descriptions]
&keys=0/1 [search keywords]
&searchdate=0/-1/N [any date/since last visit/last N days]

optional

&filetype=typelist [filetypes, comma separated]

&catlist=n1,n2,n3[list of category ids to search]

&childcats=1 [also search child categories of those selected]

&beforeafter=1/-1 and newer/and older

&sort=N/n/h/30/6/1/D/d/R/r/U/u [Title (ascending)/Title (descending)/Hits (overall)/Hits (30 days)/Hits (7 days)/Hits (24 hours)/Date created (ascending)/Date created (descending)/Rating (ascending)/Rating (descending)/Submitter (ascending)/Submitter (descending)]

&user=username
&userid=userid

There are some other switches too, but that's probably all you need.

Quote:

Originally Posted by Alfa1 (Post 1294085)
Andrew,
And this:

(about tab colouring)

Just to clarify: I want to find the category id variables to have the right tab be highlighted when a member is in a certain category of LDM.

Give me a couple of days to look at this - I've not see this hack before.

AndrewD 07-18-2007 04:09 PM

Quote:

Originally Posted by jGas (Post 1294557)
maybe it's only a suggestion for future releases: but is it possible to see the links to new entries and new ratings/comments in the /search.php?do=getnew page?

I'd not tried to integrate LDM with VB's search, which is a quite fearful bit of code. Maybe I'll take another look.


Quote:

Originally Posted by jGas (Post 1294557)
EDIT: i'd like to open a thread where we can give links to our LDM pages, and have suggestion about how incorporating it with our forum!!is it possibile? and where?

I'm very happy for you to create an account on the wiki (http://www.eirma.org/wikis) and add a link to your site /remarks about integration there

minimalize 07-18-2007 08:56 PM

Quote:

Originally Posted by AndrewD (Post 1291751)
I've taken a quick look at the 2nd mod - it will not work in its current form with LDM - I will think about this and try to suggest an answer.

hey andrew,

have you looked at this? is it possible. Its really important for me that i get this running.

AndrewD 07-19-2007 04:14 AM

Quote:

Originally Posted by minimalize (Post 1295003)
hey andrew,

have you looked at this? is it possible. Its really important for me that i get this running.

Install the attached plugin (vb/admincp/plugins and products/download and upload plugins)

It will integrate external urls and local entries that do not have recognised mimetypes into the "External Links Framed" hack.

Ipuck 07-19-2007 04:16 AM

I added the extra to auto create a thread when I enter a new thread, but I can't get it to work. I'm a bit slow ;-). Could you explain it with more details. When I add a link what do I do to make a thread?

Thanks AndrewD

PS I did created an special forum just for the new entries and when I created the link I select that forum, but nothing happen.

minimalize 07-19-2007 12:25 PM

Quote:

Originally Posted by AndrewD (Post 1295348)
Install the attached plugin (vb/admincp/plugins and products/download and upload plugins)

It will integrate external urls and local entries that do not have recognised mimetypes into the "External Links Framed" hack.

oh.. wow. thanks a lot to you andrew! I will try it the next few hours! Is there a way to donate to you?

EDIT: mh.. i didn?t work.. i installed the plugin but there?s no change with the existing an new external links.

AndrewD 07-19-2007 12:46 PM

Quote:

Originally Posted by minimalize (Post 1295624)
oh.. wow. thanks a lot to you andrew! I will try it the next few hours! Is there a way to donate to you?

I just realised that the plugin is designed to work with version 2.2.8, and will not work correctly with 2.2.7 unless you make a small edit to the release code. I'm not sure which version you are running.

If you are using 2.2.7, edit the file local_links.php, which is in your main forums directory.

find (at line 2194)
Code:

// About to start - last chance to change things...
        ($hook = vBulletinHook::fetch_hook('ldm_download_begin')) ? eval($hook) : false;

and move these two line up, so that they are just before line 2124

Code:

// Access as a regular link if:
//                in force redirect mode
//                full url and not a known mimetype
//                qualified mimetype (a la Sourceforge)
//                local file, not a known mimetype, and neither local_file_root nor local_file_root_prefix is set


minimalize 07-19-2007 01:42 PM

ahhh.. now it works. many thanks to you andrew!

minimalize 07-19-2007 02:54 PM

ok. i´v got another question. i have im my ldm categories like "show all" , "artist" ....

The "show all" categorie should be free to everyone. The other categories should only be shown to a special usergroup. When i put the switch "can_acces.." only to those usergroup, others will be still able to take a look at these categorie. is there a possibility to hide unauthorized categories?


All times are GMT. The time now is 01:40 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.03443 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
  • (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
  • (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