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)

Spinball 01-03-2007 11:27 AM

Andrew in the Adminster/Statistics page, I get a message at the bottom:
Quote:

MySQL timeout 15
Low value for MySQL wait_timeou
This is the setting advised by the optimisation bods on vBulletin.com.
What is considered a normal value?

chorton 01-03-2007 11:30 AM

Quote:

Originally Posted by 58D (Post 1149567)
Would it be possible to get a couple of links to some working sites with this mod? The screen shots aren't doing it for me. Thanks!

Jake

www.versionist.com is using this mod and vbadvanced.

AndrewD 01-03-2007 11:38 AM

Quote:

Originally Posted by Spinball (Post 1149796)
Andrew in the Adminster/Statistics page, I get a message at the bottom:

This is the setting advised by the optimisation bods on vBulletin.com.
What is considered a normal value?

15 seconds is not necessaily bad - but when sites offer very large files for downloaded, I've seen situations where the connection to the database is being disconnected before the transfer has completed. This value is being flagged by LDM when it's less than 1 hour, even though that would normally be an unnecessarily high value.

I think the default setting is something enormous.

|oR|Greg 01-03-2007 12:13 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=1149134&postcount=947" target="_blank">cough</a>

AndrewD 01-03-2007 12:17 PM

Quote:

Originally Posted by |oR|Greg (Post 1149823)

sneeze - noted

Ucla74 01-03-2007 12:21 PM

Quote:

Originally Posted by AndrewD (Post 1149660)
I'm really getting lost. Just to be clear - are we talking about this sequence:

http://oops-hq.us/vbforums/local_links.php

-> select menu item Show -> reveals drop down - select What's New

This works fine for me whatever styles I select. But you've got your styling instructions set up in LDM so that any *show* or *search* command is going to go back to the *Default Style* style

No, that's not the sequence I'm talking about. When you go to http://oops-hq.us, you get the vBA portal. At the bottom of the center column is the "What's New" listing--which ONLY drops down from the default style--on the portal page.

As for this--"But you've got your styling instructions set up in LDM so that any *show* or *search* command is going to go back to the *Default Style*" -- how do I change that?

|oR|Greg 01-03-2007 02:05 PM

Quote:

Originally Posted by AndrewD (Post 1149828)
sneeze - noted

You make me feel so special... like a celebrity, or royalty... or ... or ... a :pirate:

p.s. God Bless You, A vos souhaits, Gesundheit

AndrewD 01-03-2007 02:51 PM

Quote:

Originally Posted by Ucla74 (Post 1149829)
No, that's not the sequence I'm talking about. When you go to http://oops-hq.us, you get the vBA portal. At the bottom of the center column is the "What's New" listing--which ONLY drops down from the default style--on the portal page.

Sorry about that - misunderstood you.

I think you'll find that the "adv_portal_custom_ldm_new_one" template has not been installed in all your styles. I don't have access to that part of your admincp, so I can't check. Not sure if this was my mistake or yours - vbadvanced is not something I use on a day to day basis. Simply go into your main admincp, and copy the template over to the other styles.


Quote:

Originally Posted by Ucla74 (Post 1149829)
As for this--"But you've got your styling instructions set up in LDM so that any *show* or *search* command is going to go back to the *Default Style*" -- how do I change that?

LDM can be told to use specific styles or to use the current default. This can be done at the LDM admin level or per category. Whatever you tell it to use, the instruction is inherited by all child categories, unless they have been told to use something else. Does that make sense so far?

In setting up your LDM, you've set the main admin style setting(LDM/admin/settings/default_style) to the one you've called "Default Style". Consequently, LDM will use this, regardless of what the user selects.

If you want LDM to follow the user's choice and the general site default, then set LDM/admin/settings/default_style to "Use default"

Ucla74 01-03-2007 03:09 PM

Andrew, that all makes perfect sense! Thanks so very much! I'll take care of all that ASAP. Thanks again--I can only echo what so many others have said here: You go above and beyond any user's reasonable expectation, and it's greatly appreciated.

AndrewD 01-03-2007 04:10 PM

Quote:

Originally Posted by |oR|Greg (Post 1149134)
Is there anyway to make the comments system post to the discussion thread if you're using the auto-thread-create plugin?

this is do-able. will post the add-on soon.

|oR|Greg 01-03-2007 04:26 PM

Quote:

Originally Posted by AndrewD (Post 1149982)
this is do-able. will post the add-on soon.

WAHOOOOOOOOO!

MythoLogy 01-03-2007 05:35 PM

Awesome job AndrewD - this mod is simply amazing. So much to it.

AndrewD 01-03-2007 06:15 PM

Quote:

Originally Posted by |oR|Greg (Post 1149987)
WAHOOOOOOOOO!

Try this if you dare...

Upload as a new plugin - you need the existing autocreate extra installed.

If someone adds a comment/rating
- to an entry which has already had a thread autocreated
- and the thread still exists and is correctly identified in the entry's description
- and the commenting user has permission to post in that thread
- and a few other things

then the new comment/rating will also be posted to the thread

Let me know if it works ok.

|oR|Greg 01-03-2007 06:40 PM

Can't. Host decided to start my upgrade without informing me. Sigh. So.. I'm down for 4-24 hours, until DNS updates. Thanks in advance though!

Slave 01-03-2007 07:58 PM

Quote:

Originally Posted by AndrewD (Post 1150066)
Try this if you dare...

Upload as a new plugin - you need the existing autocreate extra installed.

If someone adds a comment/rating
- to an entry which has already had a thread autocreated
- and the thread still exists and is correctly identified in the entry's description
- and the commenting user has permission to post in that thread
- and a few other things

then the new comment/rating will also be posted to the thread

Let me know if it works ok.

Andrew .. Does this work as per the wish list entry .. ?

Quote:

Integrate comments system with forums - plug in provided to autocreate threads - Couldn't the autocreate-threads extra be changed to just create a thread once a comment had been made. At which point LDM would know the thread id and then be able to keep an eye on things like the amount of posts/comments as well as the rating the thread has been given (and therefore the rating for the entry) .. ?
If it doesn't could you explain the differences please? Thanks :)

|oR|Greg 01-03-2007 08:02 PM

Site is upgraded, and DNS is up to date for me. Trying it now. In the mean time... the thingy for the auto-thumbnail website whatever (the reason I moved servers PHP version 5.1.6) is still not working. Sigh.

|oR|Greg 01-03-2007 08:16 PM

The Thread/Comment works, however I noticed it's a 1 way thing. Anyway to parse the thread and have it's comments pulled into LDM as well, so it's 2-way?

Also, I had a bad IMG when it tried to pull in the RATING.
Because I use full paths for my image paths (since I use vBA and it solves a lot of problems) I had to eliminate this in the plugin.

PHP Code:

.$vbulletin->options['bburl']."/" 


|oR|Greg 01-03-2007 09:07 PM

Something else I noticed, the ratings don't actually count toward the post, they're just a GIF in the reply. Can these be sync'd, or optionally eliminated per category or something?

Andrew what I'm looking for is like... well... nothing short of a miracle. Total integration of LDM... so get to it already!

|oR|Greg 01-03-2007 11:23 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=1150248&postcount=32" target="_blank">https://vborg.vbsupport.ru/showp...8&postcount=32</a>

AndrewD 01-04-2007 04:30 AM

Quote:

Originally Posted by |oR|Greg (Post 1150161)
Something else I noticed, the ratings don't actually count toward the post, they're just a GIF in the reply. Can these be sync'd, or optionally eliminated per category or something?

Andrew what I'm looking for is like... well... nothing short of a miracle. Total integration of LDM... so get to it already!

I've tried to avoid total integration with the vb posting system, as it makes ldm very sensitive to changes in the vb code. The vb guys are good about about keeping the guts of vb stable, but there are often changes within the layers on top, like posts, ratings, etc.

I'll add these things you suggest to the list - I think they are all do-able- but they are not an immediate priority to work on.

AndrewD 01-04-2007 04:36 AM

Quote:

Originally Posted by Slave (Post 1150118)
Andrew .. Does this work as per the wish list entry .. ?

Couldn't the autocreate-threads extra be changed to just create a thread once a comment had been made. At which point LDM would know the thread id and then be able to keep an eye on things like the amount of posts/comments as well as the rating the thread has been given (and therefore the rating for the entry) .. ?

If it doesn't could you explain the differences please? Thanks :)

It's the first step:

- the thread is created when the entry is actually submitted (or accepted by the moderator)
- when someone adds a comment, a post is appended to the thread, reflecting the comment and rating, i.e. the comments appear in two places (in LDM and in VB)

To go further (e.g. greg's suggestions to have new posts place comments back into ldm), I need to change the LDM data structure to track the threadid, etc, and I also need to find out a safe and simple way of tracking everything else in the vb post system.

|oR|Greg 01-04-2007 02:19 PM

Tried SNAP plugin too... doesn't work.

AndrewD 01-04-2007 02:26 PM

Quote:

Originally Posted by |oR|Greg (Post 1150626)
Tried SNAP plugin too... doesn't work.

They worked fine when they left me - let's sort this out this evening (my time) - I'll be home in about an hour from now.

|oR|Greg 01-04-2007 02:31 PM

It's probably a java scripting issue since that's what it always seems to be on my end. OH, I can't WAIT till you're home, I'll put the kettle on! :smiles with glee:

AndrewD 01-04-2007 04:07 PM

Quote:

Originally Posted by |oR|Greg (Post 1150637)
It's probably a java scripting issue since that's what it always seems to be on my end. OH, I can't WAIT till you're home, I'll put the kettle on! :smiles with glee:

No, it's not a javascripting issue (not quite).

You're using a vbadvanced wraparound for LDM, and as a result you never use the standard LDM header template. Consequently, the tags for snap were not being included.

Unfortunately, vba doesn't provide any hooks, and it sets up its header template *before* vb gets going, so there's no simple way to patch into the vba header template by a hook.

So - proof of concept - I've edited your adv_portal template in your AMAC midnight style and hard coded the javascript to load snap. All your LDM links which point to an external url now have a popup over the title which gives a snap image.

Now we take a look at the other plugins and see what's wrong...

AndrewD 01-04-2007 04:32 PM

Quote:

Originally Posted by AndrewD (Post 1150686)
No, it's not a javascripting issue (not quite).

You're using a vbadvanced wraparound for LDM, and as a result you never use the standard LDM header template. Consequently, the tags for snap were not being included.

Unfortunately, vba doesn't provide any hooks, and it sets up its header template *before* vb gets going, so there's no simple way to patch into the vba header template by a hook.

So - proof of concept - I've edited your adv_portal template in your AMAC midnight style and hard coded the javascript to load snap. All your LDM links which point to an external url now have a popup over the title which gives a snap image.

Now we take a look at the other plugins and see what's wrong...

And for the artviper and webthumbs, I admit to being a complete wally..

These require my bug-fixed 2.2.6, which I hadn't uploaded for the rest of you to use. (This is what happens when I try to bring Christmas cheer.)

Let me know if you want these, or if you are happy to wait for 2.2.7

|oR|Greg 01-04-2007 04:33 PM

I've gotten rid of the vba wrap around actually, but not fully cleaned out the code for it, just disabled the modules it was calling.

As for the other plugins, which ones are you referring to?

|oR|Greg 01-04-2007 04:36 PM

Whoops, just read about webthumbs, I'm perfectly ok with Snap for now then. When 2.2.7 comes along it'll be great.

|oR|Greg 01-05-2007 04:10 PM

Whatever changes you made, I had to disable the SNAP plugins. It was causing ALL links to open in a new window, even though I don't have LDM set in that way. And it was also causing any links people put in posts, or in signatures to use SNAP.

AndrewD 01-05-2007 04:24 PM

Quote:

Originally Posted by |oR|Greg (Post 1151401)
Whatever changes you made, I had to disable the SNAP plugins. It was causing ALL links to open in a new window, even though I don't have LDM set in that way. And it was also causing any links people put in posts, or in signatures to use SNAP.

Looks like a project that needs some more thinking....

If necessary, take a look at your adv_portal template. I added a line of javascript in there also.

|oR|Greg 01-05-2007 05:07 PM

Yeah, I'm just going to wait till 2.2.7 then I can use webthumbs which is what I wanted to begin with.

Ophelia 01-07-2007 01:27 PM

Okay... newbie question :)

How do I set it up so that all usergroups (save one) can view the downloads, but not download them?

I know it can be done, and had it set up like that once, but for the life of me, can't remember how!

AndrewD 01-07-2007 01:42 PM

Quote:

Originally Posted by Ophelia (Post 1152601)
Okay... newbie question :)

How do I set it up so that all usergroups (save one) can view the downloads, but not download them?

I know it can be done, and had it set up like that once, but for the life of me, can't remember how!

Stacy, it's the *can_access_link* permission. Give it and deny it as you wish.

You can do this for the whole board - LDM/admin/permissions - or per category - Go to category - edit category - select permissions tab

I've got the auto-move expired links to another category coded and tested - it will be available shortly when the 2.2.7 is made available for alpha tests.

Ophelia 01-07-2007 02:25 PM

Quote:

Originally Posted by AndrewD (Post 1152614)
Stacy, it's the *can_access_link* permission. Give it and deny it as you wish.

You can do this for the whole board - LDM/admin/permissions - or per category - Go to category - edit category - select permissions tab

I've got the auto-move expired links to another category coded and tested - it will be available shortly when the 2.2.7 is made available for alpha tests.

Andrew, thank you :) It worked perfectly!

And we are very excited about the auto move function. I've been keeping my team up to date on what changes they might be able to expect, and they are tickled pink about this one, and have totally fallen in love with the schedule function!

|oR|Greg 01-07-2007 03:17 PM

schedule?

AndrewD 01-07-2007 03:51 PM

Quote:

Originally Posted by |oR|Greg (Post 1152675)
schedule?

You can have it now, if you want something that silently destroys your database :alien:

Or you can have it quite soon when I've done some more testing ...:tired:

|oR|Greg 01-07-2007 06:15 PM

Destroys DB? Uhhh no thank you?

icemanic 01-07-2007 06:35 PM

is it possible to have local_links.php and other files in its own directory?

i wish to have it like this: http://forum.com/forum/directory

so it is in its own directory subdirectory....

58D 01-08-2007 01:10 AM

Quote:

The online manual contains links to three sample sites
Don't know how I missed them.....Oh wait, yeah I do....Im an Idiot! :D

Anyway, I was also wondering if the file upload and download can be turned off? I only need a simple links manager at the moment. Is this the right plug-in for me? Thanks.

Jake

Zowners 01-08-2007 02:56 AM

Is it possible to make a mirror link for for any links added, which will show for certain member groups.

Or possibly making it so different usergroups get a different link for example. registered user clicks on music.wmv and downloads from a public server where as a premimum member clicks it and downloads from a private server.


All times are GMT. The time now is 03:11 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.04156 seconds
  • Memory Usage 1,852KB
  • 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
  • (1)bbcode_php_printable
  • (23)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