vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=91107)

AndrewD 08-06-2005 07:11 AM

Quote:

Originally Posted by Boofo
One question ... is there a way to only allow links to sites added and not downloads? ;)

Currently, this choice is not available, but it would be easy to add - up to a point.

The code works out if the entry is a 'link' or a 'download' by checking the VB attachment info to look for a mimetype that corresponds to the file suffix. If there's mimetype info available, then it's handled as a download. It would be easy enough to accept only entries that *do* or *do not* have mimetypes available. I'm not sure if that is sufficient.

Boofo 08-06-2005 08:34 AM

Quote:

Originally Posted by AndrewD
Currently, this choice is not available, but it would be easy to add - up to a point.

The code works out if the entry is a 'link' or a 'download' by checking the VB attachment info to look for a mimetype that corresponds to the file suffix. If there's mimetype info available, then it's handled as a download. It would be easy enough to accept only entries that *do* or *do not* have mimetypes available. I'm not sure if that is sufficient.

I'm using this on my new site which is a Fathers' Rights site and all I want is links to law and informational Fathers' Rights sites. I know sooner or later someone will try to link a file or something. ;)

If you could maybe have a setting for this then that would be great! ;)

Excellent job, by the way. It was almost TOO easy to install. ;)

AndrewD 08-06-2005 12:31 PM

Quote:

Originally Posted by Boofo
I'm using this on my new site which is a Fathers' Rights site and all I want is links to law and informational Fathers' Rights sites. I know sooner or later someone will try to link a file or something. ;)

If you could maybe have a setting for this then that would be great! ;)

Excellent job, by the way. It was almost TOO easy to install. ;)

Thx, will give this some thought.

It's going to get even easier to install - I've got the product management install/uninstall script written - I like the system they've introduced for this.

Boofo 08-06-2005 12:38 PM

Quote:

Originally Posted by AndrewD
Thx, will give this some thought.

It's going to get even easier to install - I've got the product management install/uninstall script written - I like the system they've introduced for this.

I love the product management system! I ran 3.0 RC 1 (with all security updates through the 3.0 releases) and never upgraded because my board was too heeavily hacked and I really didn't want to have to re-do everythiing every time a new version came out. Now upgrading is a snap. A few template changes and we're back in business. ;)

Let me know if you need any testing done with the links as only links. ;)

AndrewD 08-07-2005 03:38 PM

Uploaded the first official release of the Links and Downloads Manager.

New features:
- Uses VB's product installer
- Includes user comments on links/files
- Categories can be given different styles
- Bad links can be reported

Grateful for reports.

Boofo 08-07-2005 04:00 PM

Do we need to re-run the install file or anything to upgrade?

AndrewD 08-07-2005 04:34 PM

Quote:

Originally Posted by Boofo
Do we need to re-run the install file or anything to upgrade?

This version uses the VB product installer - it no longer has a separate installation script. All you need to do is upload the five php files, then install the product.

Boofo 08-08-2005 02:51 AM

Works great! ;)

There is one small thing I noticed ... If you set this up as a forum link, when you first go into it, the Administer link is not clickable. If you click the Moderate link, then it becomes clickable. It only seems to happen if it opens in a new window. ;)

AndrewD 08-08-2005 04:23 AM

Quote:

Originally Posted by Boofo
Works great! ;)

There is one small thing I noticed ... If you set this up as a forum link, when you first go into it, the Administer link is not clickable. If you click the Moderate link, then it becomes clickable. It only seems to happen if it opens in a new window. ;)

Are you running this on a board that you have upgraded from VB3.0? I had a similar problem at first, because my board also included edits to some of the standard VB templates (header, for example). Suggest you take a look at the main VB admin page -> Styles and Templates -> Find Updated Templates. You may need to 'revert' some of the standard templates, because they've changed the way they handle drop downs.

If you're running this on a clean new VB3.5 install, I can't reproduce it.

Boofo 08-08-2005 04:57 AM

Nope, running a clean 3.5. ;)

The link is there it just isn't active until I click the Moderate link.


All times are GMT. The time now is 11:56 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.01671 seconds
  • Memory Usage 1,744KB
  • 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
  • (6)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
  • (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