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-03-2008 04:08 AM

Quote:

Originally Posted by RikiB (Post 1455577)
wow, 4 years! That must be why it is so powerful, this is by far my favorite hack! Is 2.2.9 download-able anywhere, or is it still wip? I assume it is still wip, I will remain patient :)

Thanks again!


Thanks.

2.2.9 is available on the vb37 forum https://vborg.vbsupport.ru/showthread.php?t=166094 - there are in fact two versions there plus a patch to make 2.2.8 work with vb3.7. alpha 3 is the latest, and it works fine on both vb3.6 and 3.7 although there are two or three bugs (nothing fatal) which I have since found.

RikiB 03-03-2008 05:17 AM

wow thanks, I had no idea! Ill jump on this now :)

glowinggal 03-05-2008 05:02 PM

just wanted to post that I'm running 2.2.8 on VB 3.6.8 and works wonderful. I just peformed and upgrade to 2.2.8 from 2.2.7 flawlessly. We also used the VBA add on for our home page and that as well had no problems at all with the upgrading :)

I do, however have one question... how do I change the "layout" of the forum post. I'd like the image to come after the text that is placed in the initial post.

AndrewD 03-06-2008 02:46 AM

Quote:

Originally Posted by glowinggal (Post 1457795)
just wanted to post that I'm running 2.2.8 on VB 3.6.8 and works wonderful. I just peformed and upgrade to 2.2.8 from 2.2.7 flawlessly. We also used the VBA add on for our home page and that as well had no problems at all with the upgrading :)

Very glad to hear this, thanks


Quote:

Originally Posted by glowinggal (Post 1457795)
I do, however have one question... how do I change the "layout" of the forum post. I'd like the image to come after the text that is placed in the initial post.

You are referring to the 'autothread' creation, where LDM entries are announced in a forum? The structure of these is defined in the VB phrases ldm_thread_create_title and ldm_thread_create_body. The code that actually constructs the announcement is function ldm_announce_in_forum() in the file includes/local_links_foruminterface.php.

Let me know if this is not what you meant.

glowinggal 03-06-2008 10:41 AM

Yep, you got it - that was exactly it!

One more question... how do I change how the first page of the downloads appear (for example show the thumbnail previews instead of just the category listing)?

Here is our page:
http://www.scrapbook-bytes.com/chat/local_links.php

glowinggal 03-06-2008 10:48 AM

hmmm ok; I see it here; but from what I'm seeing (and maybe I'm wrong) it's showing the image should be underneath all the link and description, etc. or what do I need to change?

($vbphrase['ldm_thread_create_body'], $linkname, $linkdesc, $gotolink, $master_title, $imglink

=============
I've attached an image of what it's posting to the forums as - which is SUCH A GREAT FEATURED BTW!!!! but we just want the image to post UNDER the text that is posted in teh description.

dutchjoomla 03-06-2008 02:50 PM

Hello,

I've installed this mod but i got 1 problem.

I put the link in the "navbar" this works fine with al users but not by unregistred guests.

When a unregistred guest hit de link (http://forum.domain.ext/local_links.php) he got a VB Database error message.

Please can someone help me?

//edit

Problem solved with this fix: https://vborg.vbsupport.ru/showpost....&postcount=165

AndrewD 03-06-2008 06:10 PM

Quote:

Originally Posted by glowinggal (Post 1458403)
hmmm ok; I see it here; but from what I'm seeing (and maybe I'm wrong) it's showing the image should be underneath all the link and description, etc. or what do I need to change?

($vbphrase['ldm_thread_create_body'], $linkname, $linkdesc, $gotolink, $master_title, $imglink

=============
I've attached an image of what it's posting to the forums as - which is SUCH A GREAT FEATURED BTW!!!! but we just want the image to post UNDER the text that is posted in teh description.

Take a look at the phrase *ldm_thread_create_body* (vb/admincp/languages/search in phrases). It looks like this:

Code:

{5}
A new entry has been added to {4}

Description: {2}

To check it out, rate it or add comments, visit [ url={3}]{1}[/url]
The comments you make there will appear in the posts below.

The numbers inside the curly brackets are the parameters from the line of code you referred to:

1 = linkname
2 = link description
3 = link to jump into LDM
4 = name of your LDM database
5 = an image tag

So, if you want to put the image underneath the description, edit the phrase and move the {5} to the end rather than the beginning, e.g:

Code:


A new entry has been added to {4}

Description: {2}

To check it out, rate it or add comments, visit [ url={3}]{1}[/url]
The comments you make there will appear in the posts below.

{5}


glowinggal 03-06-2008 09:52 PM

thanks so much! Another issue seems to have been reported to us today; while I can see the home page just fine other are reporting an issue (apparently with VBA module more than likey.

they get this:

>> Fatal error: Call to undefined function fetch_unallowed_forums()
>> in /home/scrapboo/public_html/chat/modules/ldm_new_thumbs.php on
>> line 15

Enclosed is a screenshot they also sent over as well.

AndrewD 03-07-2008 02:57 AM

Quote:

Originally Posted by glowinggal (Post 1458861)
thanks so much! Another issue seems to have been reported to us today; while I can see the home page just fine other are reporting an issue (apparently with VBA module more than likey.

they get this:

>> Fatal error: Call to undefined function fetch_unallowed_forums()
>> in /home/scrapboo/public_html/chat/modules/ldm_new_thumbs.php on
>> line 15


Enclosed is a screenshot they also sent over as well.

I think you've got the 2.2.7 version of the vba module installed alongside the 2.2.8 version of LDM

glowinggal 03-07-2008 01:36 PM

oh... i'll check into that shortly. I was sure I had overridden those files but will recheck and post back. though it's hard for me to tell since I wasn't the one with issues - lol.

glowinggal 03-08-2008 12:45 PM

ok - i did double check and reupload ALL 2.2.8 file and what I'm finding is that the vba module is trying to find the ldm_ .php files that were there from 2.2.* bc when i remove those (bc they weren't in the 2.2.8 zip file) it creates a new error. But when I put them back then it goes back to the error originally noted and as you see it's looking for that .php file but there wasnt a new one included in the 2.2.8 zip file in this post :(

AndrewD 03-08-2008 01:22 PM

Quote:

Originally Posted by glowinggal (Post 1460014)
ok - i did double check and reupload ALL 2.2.8 file and what I'm finding is that the vba module is trying to find the ldm_ .php files that were there from 2.2.* bc when i remove those (bc they weren't in the 2.2.8 zip file) it creates a new error. But when I put them back then it goes back to the error originally noted and as you see it's looking for that .php file but there wasnt a new one included in the 2.2.8 zip file in this post :(

I can't recall which verson of LDM, but I made a change in the way the vba modules are installed. Previously, this was done by adding the php files. Now it's done by uploading vba format .module files (admincp/vba/download upload modules). The .module files are in the release/vba_modules directories.

In fact, the php and template files are still there - you'll find them in the development subdirectory of the zip, so if you want to use that approach, it will probably still work.

glowinggal 03-08-2008 01:35 PM

ok now i went into the modules setting and selected "ldm_new_thumbnail.php" from the drop down and still no go.

AndrewD 03-08-2008 02:12 PM

Quote:

Originally Posted by glowinggal (Post 1460040)
ok now i went into the modules setting and selected "ldm_new_thumbnail.php" from the drop down and still no go.

We're talking at cross purposes, I think. Which version of vba are you using (3.x?). Have you completely reinstalled the LDM modules using the .module files, or are you trying to stick with your existing installation and change the php files?

Magnum164 03-09-2008 06:16 PM

This looks like something I can use. I have vblinks but not completely satisfied with it. Is this integrated enough where I can list a set of liks/downloads in my forums listings?

In other words I want a links directory that lists new links in my forums pages.

And if it can, can I convert my vbalinks over:) Lots of post in this thread and haven't read thru them all yet. Do I have to uninstall vbalinks?

AndrewD 03-09-2008 06:47 PM

Quote:

Originally Posted by Magnum164 (Post 1460909)
This looks like something I can use. I have vblinks but not completely satisfied with it. Is this integrated enough where I can list a set of liks/downloads in my forums listings?

In other words I want a links directory that lists new links in my forums pages.

And if it can, can I convert my vbalinks over:) Lots of post in this thread and haven't read thru them all yet. Do I have to uninstall vbalinks?

There are several levels of (optional) integration with your forums.

- there is the facility to auto-announce new entries as threads in your forum
- there is an 'extra' that will include a list of new/hot/random entries in your forum displays
and so on, and so on.

You don't need to do anything with vblinks, but I have not spent time writing a converter

Magnum164 03-09-2008 07:33 PM

Thanks for the quick reply. Looks like something I need to install on my test board and check out.

Thanks.

glowinggal 03-09-2008 08:13 PM

Quote:

Originally Posted by AndrewD (Post 1460059)
We're talking at cross purposes, I think. Which version of vba are you using (3.x?). Have you completely reinstalled the LDM modules using the .module files, or are you trying to stick with your existing installation and change the php files?

ok - I didnt do that - will try that in just a bit :)

hydn 03-10-2008 01:24 AM

I want to upgrade from 2.2.7.

I'm worried about loosing template changes. Will upgrading overwrite all existing tables?

Thanks

AndrewD 03-10-2008 04:31 AM

Quote:

Originally Posted by hydn (Post 1461134)
I want to upgrade from 2.2.7.

I'm worried about loosing template changes. Will upgrading overwrite all existing tables?

Thanks

Upgrading does not delete your template modifications. I can't recall if there are any important template changes between LDM 2.2.7 and 2.2.8 - if so and you have modified any of these, you may need to check on the vb admincp for suggested template reversions.

Always a good idea to take a backup before upgrades - you can also download your templates while you are at it.

hydn 03-10-2008 09:32 AM

Thanks. Upgraded.

I have a weird problem.

I have a web farm (2 IIS servers) and the rewrite to SEO links work fine on one sever and not on the other. I know there must be something differn't but what.

Here's he code on both servers:
Quote:

'^local_links\.php$' => 'downloads.html',
'^local_links\.php?' => 'downloads.html',
'^downloads\.php$' => 'downloads.html',
'^downloads\.php?' => 'downloads.html',
On one server this works great on the other no matter what I click it keeps returning to downloads.html main page.

Any ideas?

Christian96 03-11-2008 08:22 AM

Quote:

Originally Posted by AndrewD (Post 1452709)
I only wrote this patch recently. It uses the global_setup_complete hook in vbulletin and works the same way as the plugin that the vbulletin people use themselves for their blog software. I've no idea whether that hook was already available in vbulletin 3.6.5, or if the functions in that version of vbulletin are compatible.

Updating to 3.6.8L2 solved the problem with the search. So everything is working allright now.

Thanks !
Christian

Ophelia 03-11-2008 03:42 PM

Andrew,
It seems that our hits are being deleted on their own. Is this something you added? We need to keep at least the last 30 days, but when I look at today, it's only keeping back to the 26th of February.

AndrewD 03-11-2008 04:45 PM

Quote:

Originally Posted by Ophelia (Post 1462334)
Andrew,
It seems that our hits are being deleted on their own. Is this something you added? We need to keep at least the last 30 days, but when I look at today, it's only keeping back to the 26th of February.

Take a look on the ldm admin/settings. There's a prune_downloadtable setting which sets the number of dayshits are stored, and defaults to forever. If it's not workng correctly, let me know.

Magnum164 03-12-2008 02:23 AM

Quote:

Originally Posted by AndrewD (Post 1460930)
There are several levels of (optional) integration with your forums.

- there is the facility to auto-announce new entries as threads in your forum
- there is an 'extra' that will include a list of new/hot/random entries in your forum displays
and so on, and so on.

You don't need to do anything with vblinks, but I have not spent time writing a converter


Rats.. Waiting for the 3.7 release:D

Deadly Assassin 03-16-2008 01:37 PM

Installed this and it works a treat.

Thanks.

Just one thing. The posting block for putting the description in is overhanging the side of the board.

If possible, i would like to make the left hand table smaller, as there is loads of space.

I have had to disable my smilies to stop it overhanging.

apart from that, brilliant hack mate.

:up:

AndrewD 03-16-2008 04:38 PM

Quote:

Originally Posted by Deadly Assassin (Post 1466126)
Installed this and it works a treat.

Thanks.

Just one thing. The posting block for putting the description in is overhanging the side of the board.

If possible, i would like to make the left hand table smaller, as there is loads of space.

I have had to disable my smilies to stop it overhanging.

apart from that, brilliant hack mate.

:up:

Thanks.

The size of the description box is taken from the formwidth_usercp and messagebox_usercp style variables, which are set on vb/admin/styles/main style vars.

maroceve 03-16-2008 09:51 PM

hmm ..tried to delete an entry : running latest versoin on 3.7.

Database error in vBulletin 3.7.0 Beta 6:

Invalid SQL:

SELECT entityid, entityvalue
FROM local_linksentities
WHERE entitytype IN (ENTITY_TYPE_UPLOAD,ENTITY_TYPE_MEDIAUPLOAD,ENTITY _TYPE_IMAGEUPLOAD)
AND linkid IN (590);

MySQL Error : Unknown column 'ENTITY_TYPE_UPLOAD' in 'where clause'
Error Number : 1054
Date : Sunday, March 16th 2008 @ 06:48:44 PM
Script : http://www.maroceve.com/forums/local_links_actions.php
Referrer : http://www.maroceve.com/forums/local...atid=12&page=1
IP Address : 196.217.203.29
Username : Ez
Classname : vb_database
MySQL Version : 4.1.22-standard

AndrewD 03-17-2008 04:04 AM

Quote:

Originally Posted by maroceve (Post 1466521)
hmm ..tried to delete an entry : running latest versoin on 3.7.

Database error in vBulletin 3.7.0 Beta 6:

Invalid SQL:

SELECT entityid, entityvalue
FROM local_linksentities
WHERE entitytype IN (ENTITY_TYPE_UPLOAD,ENTITY_TYPE_MEDIAUPLOAD,ENTITY _TYPE_IMAGEUPLOAD)
AND linkid IN (590);

MySQL Error : Unknown column 'ENTITY_TYPE_UPLOAD' in 'where clause'
Error Number : 1054
Date : Sunday, March 16th 2008 @ 06:48:44 PM
Script : http://www.maroceve.com/forums/local_links_actions.php
Referrer : http://www.maroceve.com/forums/local...atid=12&page=1
IP Address : 196.217.203.29
Username : Ez
Classname : vb_database
MySQL Version : 4.1.22-standard

Check that you have correctly uploaded all the files for the latest version, in particular *includes/local_links_init.php* file.

RebeccaK 03-20-2008 08:36 PM

I think I got everything uploaded correctly but I can't find LDM in my control panel and the url does not work.

I also cannot tell how users locate from the site.

I have created a temp admin user access

I pm'd it to you.

could you please take a quick peek for me?

Thanks!

AndrewD 03-21-2008 12:07 AM

Quote:

Originally Posted by RebeccaK (Post 1470062)
I think I got everything uploaded correctly but I can't find LDM in my control panel and the url does not work.

I also cannot tell how users locate from the site.

I have created a temp admin user access

I pm'd it to you.

could you please take a quick peek for me?

Thanks!

I took a look - not sure what is your problem? See PM for full details of what I did.

RebeccaK 03-21-2008 12:15 AM

Quote:

Originally Posted by AndrewD (Post 1470248)
I took a look - not sure what is your problem? See PM for full details of what I did.

You really are fabulous!

I see the tests uploads you placed!

I think we will love your program!

RebeccaK 03-21-2008 01:47 AM

I would like to use the flash sites extra.

I cannot find a "getid3" file to upload the contents into. Can you tell me where that might be? Should I be creating one? If so where?

AndrewD 03-21-2008 04:56 AM

Quote:

Originally Posted by RebeccaK (Post 1470307)
I would like to use the flash sites extra.

I cannot find a "getid3" file to upload the contents into. Can you tell me where that might be? Should I be creating one? If so where?

You are correct - the standard vb installation does not have a getid3 directory. You need to create it as a subdirectory in your forums directory, and upload the contents (one file) of the extra flashsite/getid3 subdirectory into it. A couple of the other extras also place files into this directory.

murdoc 03-21-2008 11:14 PM

hey guys i was wondering

is there anyway of setting up a category that required users to have a minimum post count ???

AndrewD 03-22-2008 04:13 AM

Quote:

Originally Posted by murdoc (Post 1471158)
hey guys i was wondering

is there anyway of setting up a category that required users to have a minimum post count ???

Yes, take a look in the extras directory in the release zip.

The subdirectory 'block-useraccess' contains a plugin that patches LDM to prevent access based on number of posts, and the limit_useraccess directory contains one that adjusts users' allowances.

When one of these plugins is installed (vb/admincp/products and plugins/import plugin), you get a new group of settings on LDM/admin/settings and on edit category/control settings. You use the values on the main ldm admin page to control overall limits and the values on the edit category page to control limits for a individual category (and its children).

murdoc 03-22-2008 09:45 AM

Thanks works great

RebeccaK 03-23-2008 05:57 AM

My library is coming together. All except my music files.

I am trying to upload MP3 and WMA files of less than 4 MB.

the MP3 won't load at all.

The WMA uploaded but not as a link---the name is there but you can't click on it.

Please advise.

AndrewD 03-23-2008 06:02 AM

Quote:

Originally Posted by RebeccaK (Post 1472274)
My library is coming together. All except my music files.

I am trying to upload MP3 and WMA files of less than 4 MB.

the MP3 won't load at all.

The WMA uploaded but not as a link---the name is there but you can't click on it.

Please advise.

Let me take a look - quickest way! If you can resend me a username/passwd.


All times are GMT. The time now is 11:12 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.05270 seconds
  • Memory Usage 1,858KB
  • 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
  • (21)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