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 06-19-2006 06:51 PM

Quote:

Originally Posted by obmob
Oo you added more phrases to this version?

Need some spanish customisations? ^^

u.u don't know if i'm that brave... i'd love to wait till 3.6 is gold.

Thanks - I suggest waiting until VB36 is ready to go gold - that way we can do all the translation at one time.

Tyegurl 06-19-2006 11:00 PM

i have done something stupid i think....not very urgent but still in the same sense i do need help.

I went and removed restrictions on my downloads....but restricted the file downloads by unregistered.

Now my files are downloading as numbers again...I remember fixing this once before but I can't seem to do it and I am scared I will mess everything up! Will you please help me figure out what I have done and what I need to do?

EasyTarget 06-20-2006 03:49 AM

wasn't that an earlier version of LDM that assigned numbers when you wanted to file location or name to be hidden? I remember that all my files were assigned numbers in the early versions but then it was changed and they kept their names. I have some files with numbers now, but those are the ones I uploaded in the earlier version.. so maybe its just some old files you're looking at?

AndrewD 06-20-2006 03:55 AM

Quote:

Originally Posted by Tyegurl
i have done something stupid i think....not very urgent but still in the same sense i do need help.

I went and removed restrictions on my downloads....but restricted the file downloads by unregistered.

Now my files are downloading as numbers again...I remember fixing this once before but I can't seem to do it and I am scared I will mess everything up! Will you please help me figure out what I have done and what I need to do?

I took a quick look at your site and tested a few downloads - they all came down with their proper names - can you point me at a few examples that are broken?

The files do have randomly numbed names on your server, to prevent people guessing where they are stored, but the proper name is held in the database. It is easy enough to patch the database if necessary.

GrendelKhan{TSU 06-20-2006 07:09 AM

Quote:

Originally Posted by AndrewD
I thought I had dealt with this - the other person reporting the problem had not installed the software correctly (partly my fault, because the code didn't pick up the mistake). The new version has some extra error checking built in for two situations where I could foresee problems. But it is possible that there are other problems at your site.

yikes. upgraded to 2.2.2 Beta.

and now uploads/add link doesn't work at all. for larger files it cops out at 37% everytime. HTTP 404 error

And even when just adding "regular" links... it doesn't even try. I just immediately get 404 error right after you hit. submit :/

The existing links and downloads work fine. Just can't add anything anymore.

help!

http://www.clantsu.org/forums/local_links.php
same id and pw and pmed you before if you can check it out. :/

AndrewD 06-20-2006 07:13 AM

Quote:

Originally Posted by GrendelKhan{TSU
yikes. upgraded to 2.2.2 Beta.

and now uploads/add link doesn't work at all. for larger files it cops out at 37% everytime. HTTP 404 error

And even when just adding "regular" links... it doesn't even try. I just immediately get 404 error right after you hit. submit :/

The existing links and downloads work fine. Just can't add anything anymore.

help!

http://www.clantsu.org/forums/local_links.php
same id and pw and pmed you before if you can check it out. :/

The 404 error is for the file local_links_action.php. This is a new file with the 2.2.2 release. Have you correctly uploaded the files?

GrendelKhan{TSU 06-20-2006 10:45 AM

Quote:

Originally Posted by AndrewD
The 404 error is for the file local_links_action.php. This is a new file with the 2.2.2 release. Have you correctly uploaded the files?

apparently not. :/

I reuploaded everything and its working now!! AWESOME!! (sorry for the n00b mistake :()

EDIT: only issue so far is that the media icon doesn't show up in the CMPS module. I "updated images" in the CMPS installer...but still no go. the file path is correct too. any ideas? >> www.clantsu.org (left column)

Tyegurl 06-20-2006 11:45 AM

Quote:

Originally Posted by AndrewD
I took a quick look at your site and tested a few downloads - they all came down with their proper names - can you point me at a few examples that are broken?

The files do have randomly numbed names on your server, to prevent people guessing where they are stored, but the proper name is held in the database. It is easy enough to patch the database if necessary.


http://www.teamrespawn.com/vBulletin...id=204&catid=3

http://www.teamrespawn.com/vBulletin...id=206&catid=2

http://www.teamrespawn.com/vBulletin...id=223&catid=3


just a few examples i found

the other question is...how do i hide the link from everybody(it was hidden before) or was I able to pull the shortcut because I am Admin?

AndrewD 06-20-2006 11:53 AM

Quote:

Originally Posted by Tyegurl
http://www.teamrespawn.com/vBulletin...id=204&catid=3

http://www.teamrespawn.com/vBulletin...id=206&catid=2

http://www.teamrespawn.com/vBulletin...id=223&catid=3


just a few examples i found

the other question is...how do i hide the link from everybody(it was hidden before) or was I able to pull the shortcut because I am Admin?

Anyone can pull these links, but - if you've protected categories/links - they don't help you if you are not a registered user. Anyone trying to use these to access the files will get a "please login" message, unless there's a cookie on their PC showing that they are already logged in.

The examples you've given are quite old, so possibly they have always had broken names. However, I'll patch the main release so that you can re-define file names for uploaded files. Alternatively, if you are happy using phpmyadmin, I can explain how to do this directly.

Tyegurl 06-20-2006 11:58 AM

okay lol i don't remember them being numbers before but they are from March.

thanks for looking. i will just reupload the files.

i was only asking cuz this link submitted the same day doesn't do it...was confused thought i did something wrong;

http://www.teamrespawn.com/vBulletin...&id=65&catid=3

ab420 06-20-2006 04:07 PM

I apologize if this has been answered anywhere else, I've been reading for hours between this thread and the homepage of LDM. I am using it only for videos on my site right now, and it's working great, except for one small thing:

whenever someone watches a video in the jukebox, it logs them out of the forum, so they have to login everytime they watch a video, because I have permissions set to only allow members to watch the videos. This is obviously pretty annoying for my members, does anyone know how I can fix this? Did I do something wrong?

I also just noticed, it doesn't happen with Firefox, just IE...

ab420 06-20-2006 04:33 PM

Ok, so this is strange...

I went into the settings, and changed the open_local_links_newwindow and open_remote_links_newwindow to NO. I thought that was referring to the jukebox popping up in a new window, but apparently not, because it still pops up in a new window, but it doesn't log me out anymore, so this solved my problem. Hopefully this will be helpful to someone! BTW, LOVE this mod!

AndrewD 06-20-2006 06:52 PM

Quote:

Originally Posted by ab420
Ok, so this is strange...

I went into the settings, and changed the open_local_links_newwindow and open_remote_links_newwindow to NO. I thought that was referring to the jukebox popping up in a new window, but apparently not, because it still pops up in a new window, but it doesn't log me out anymore, so this solved my problem. Hopefully this will be helpful to someone! BTW, LOVE this mod!

No, the Jukebox always opens in a new window. The setting determines whether regular links (e.g. if you point to www.bbc.com) opens in the same window or a new window.

ab420 06-20-2006 06:58 PM

Quote:

Originally Posted by AndrewD
No, the Jukebox always opens in a new window. The setting determines whether regular links (e.g. if you point to www.bbc.com) opens in the same window or a new window.

Yes, I'm not sure what was going on earlier, I'm guessing it was something to do with my browser, not this hack, because I turned those settings back, and everything is fine now, so it must've been an issue with my computer. Thanks!

obmob 06-20-2006 08:53 PM

Here i go again... excuse me Andrew, any chances to allow admin to post html in image description?

I have a postcard software called vCard, i can direct link some images to send them as a postcard... so, i want to add a different sized image and point it to that program...

Also, i have a mobile feature, and also need to point it to it to allow members to send it to their mobile phones...

So, maybe adding html permission would make it easier to you :p

Thank you for the big effort you make!

GrendelKhan{TSU 06-21-2006 02:39 AM

Any ideas on this?

Quote:

Originally Posted by GrendelKhan{TSU
apparently not. :/ only issue so far is that the media icon doesn't show up in the CMPS module. I "updated images" in the CMPS installer...but still no go. the file path is correct too. any ideas? >> www.clantsu.org (left column)

or should I be taking that up with vbadvanced (though they are terrible at dealing with mod issues, ime).

elsupremo 06-21-2006 03:28 AM

Hey Andrew,
On my site most of my downloads are wmv files. I want to start adding .mov files. All my entries and categories are Open default permissions. However, only Admins can download the new .mov file. Registered members and unregistereds cannot access it, both of whom I would like to allow to download.

How can I fix this?

Thank you

GrendelKhan{TSU 06-21-2006 03:58 AM

Quote:

Originally Posted by elsupremo
Hey Andrew,
On my site most of my downloads are wmv files. I want to start adding .mov files. All my entries and categories are Open default permissions. However, only Admins can download the new .mov file. Registered members and unregistereds cannot access it, both of whom I would like to allow to download.

How can I fix this?

Thank you

hmm.. you sure its just not your permissions setting?

LDM >> administer >> Change general usergroup permissions (add, edit, delete, etc)

AndrewD 06-21-2006 04:14 AM

Quote:

Originally Posted by GrendelKhan{TSU
Any ideas on this?



or should I be taking that up with vbadvanced (though they are terrible at dealing with mod issues, ime).

According to the html that I'm seeing, your left column is trying to find the icons "images/mediaicons/mp3.gif", "images/mediaicons/zip.gif", etc., which is correct provided the code is running in the forums directory.

However, it seems that your VBA is running in the top level directory, so it fails to find the images, and displays the tag string instead (mp3, zip).

An immediate fix is to copy (not move) the contents of /forums/images/mediaicons into a new directory /images/mediaicons. I'll fix the code before the next release.

AndrewD 06-21-2006 04:16 AM

Quote:

Originally Posted by elsupremo
Hey Andrew,
On my site most of my downloads are wmv files. I want to start adding .mov files. All my entries and categories are Open default permissions. However, only Admins can download the new .mov file. Registered members and unregistereds cannot access it, both of whom I would like to allow to download.

How can I fix this?

Thank you

Off the top of my head, I don't recall that there are any different permissions checks for different file types. Are you sure that you have not 'associated' your .movs with a forum that is locked to non-admins?

What error message is displayed?

elsupremo 06-21-2006 04:25 AM

Grendel,
I had checked that page a million times - however, with your suggestion I went back one more time, and ta-da, I figured it out.

Previously, I removed .mov from musicbox_filetypes_quicktime in settings. However, LDM still considered .mov files (possible bug?) a Jukebox media file. This meant that it used the can_play_musicbox and can_save_musicbox permissions, both of which I had not set it up for anything other than administrator. I fixed the problem by enabling Unregistered and Registered users in can_save_musicbox.

So, Grendel, your advice saved the day. Thanks! :)

Edit - just saw your post Andrew, it came as I was writing mine. As you can see, I got it fixed. Possible bug though? Thank you for your reply! :)

AndrewD 06-21-2006 04:28 AM

Quote:

Originally Posted by elsupremo
Grendel,
I had checked that page a million times - however, with your suggestion I went back one more time, and ta-da, I figured it out.

Previously, I removed .mov from musicbox_filetypes_quicktime in settings. However, LDM still considered .mov files (possible bug?) a Jukebox media file. This meant that it used the can_play_musicbox and can_save_musicbox permissions, both of which I had not set it up for anything other than administrator. I fixed the problem by enabling Unregistered and Registered users in can_save_musicbox.

So, Grendel, your advice saved the day. Thanks! :)

Edit - just saw your post Andrew, it came as I was writing mine. As you can see, I got it fixed. Possible bug though? Thank you for your reply! :)

Good - will check this part of the code again

GrendelKhan{TSU 06-21-2006 05:15 AM

BUGS/COMMENTS/SUGGESTIONS:

1. cool! copying the mediaicons folder is simple and effective solution. not perfect...but who cares? it worked! :)

2. 2way autothread create!! AWESOME!! I still wish the comments sections was integrated with the thread created ... but a great little addition anyway. dunno why more people dont' use as standard

3. found a (possible) small bug:

--- if you add a new text to phrase "ADD LINK" and use html ... the html doesn't parse in the browser title bar. (see pic)

ie: I made my "add link" red for easy viewing...
so <font color="red>Add Link</font>


--- also I did the same thing last update... and I noticed that when I went to REDO that (as the red disappeared with the update) ....LDM had created a new duplicate phrase [ll_menu_addlink] with the Text being <font color="red>Add Link</font> . (see pic)

--- I added the html again, now I have three versions of the same phrase (it works though..so no biggy). just an fyi. :)

4. [REQ] any way to get an image to appear as an attachment or in the new thread if an image is upload with the add link?

it just be a nice touch. :)

GrendelKhan{TSU 06-21-2006 05:32 AM

also, I had a couple question, comments, suggestions for the menu and comments...

Just my opinions but I think it would make for a much more eye-pleasing set up when there are comments. I don't know if these are even possible..but I thought I just put it out there.

It was easier to just make a screenshot and show it there.
(see attached)

basically:
  1. how do I change the menu style?? its the same as my navbar and its hard to see. its also too close.

  2. return button needs to be deleted or something if there is a comment...
    (the comments are awkwardly disjointed/separated from the item so it looks kinda) ...bad (sorry just being straightup).

  3. move the comments closer to the item so its all together and more streamlined.

  4. drop the "sort by" box down so it doesnt break spacing so much.

  5. make the default comments box a QUICK REPLY box

agian, just my 2cents.

keep up the great work. :D :D

AndrewD 06-21-2006 05:40 AM

Quote:

Originally Posted by GrendelKhan{TSU
also, I had a couple question, comments, suggestions for the menu and comments...

Just my opinions but I think it would make for a much more eye-pleasing set up when there are comments. I don't know if these are even possible..but I thought I just put it out there.

It was easier to just make a screenshot and show it there.
(see attached)

basically:
  1. how do I change the menu style?? its the same as my navbar and its hard to see. its also too close.

  2. return button needs to be deleted or something if there is a comment...
    (the comments are awkwardly disjointed/separated from the item so it looks kinda) ...bad (sorry just being straightup).

  3. move the comments closer to the item so its all together and more streamlined.

  4. drop the "sort by" box down so it doesnt break spacing so much.

  5. make the default comments box a QUICK REPLY box

agian, just my 2cents.

keep up the great work. :D :D


Thanks - good and helpful suggestions - will take a look.

The main templates you need to look at are links_header, links_viewone_comment and links_viewall_comment

Regarding your previous question about customised text - I'll check on the handling of html in titles - there may be a problem inside VB with updating products, since VB seems to throw everything away before doing the upgrade. Maybe I'm missing something.

GrendelKhan{TSU 06-21-2006 06:46 AM

thx!

btw... did you test the lightbox in IE or something? cause I can't get it to work at all still (v2). IE, FF, Maxthon... all nothing. :/ knowing me I must be doing SOMETHING wrong. :(

Alfa1 06-21-2006 08:37 AM

Quote:

Quote:

Originally Posted by Slave
Err .. do you mean like the following ..

http://www.yaxleyvillage.com/local_links.php

This is possible by just wrapping LDM within vBa .. If you have a look in the manual for vBa it tells you how to do it .. (and you can have as many modules as you like on the page, as well as choosing if you want a 2 or 3 column layout)

:)

Yes, that is what I mean. Now I need to get rid of the vB navbar and make LDM smaller (less wide) to fit in there.
Any solution to this?

AndrewD 06-21-2006 09:29 AM

Quote:

Originally Posted by GrendelKhan{TSU
thx!

btw... did you test the lightbox in IE or something? cause I can't get it to work at all still (v2). IE, FF, Maxthon... all nothing. :/ knowing me I must be doing SOMETHING wrong. :(

v1 should be ok - v2 was the original and more sophisticated code and I have had mixed success with it.

AndrewD 06-21-2006 09:30 AM

Quote:

Originally Posted by Alfa1
Any solution to this?

Still thinking about it. Problem is to get the drop down menu code (which requires a set of div tags) loaded at the right point in vba.

GrendelKhan{TSU 06-21-2006 09:44 AM

Quote:

Originally Posted by AndrewD
v1 should be ok - v2 was the original and more sophisticated code and I have had mixed success with it.

ok I'll try out v1. any specific uninstall instructions for v2 before I install? or just delete it from plugins?

AndrewD 06-21-2006 09:56 AM

Quote:

Originally Posted by GrendelKhan{TSU
ok I'll try out v1. any specific uninstall instructions for v2 before I install? or just delete it from plugins?

Delete the plugin and remove the files (there's some javascript and a css)

GrendelKhan{TSU 06-21-2006 11:30 AM

Quote:

Originally Posted by AndrewD
Delete the plugin and remove the files (there's some javascript and a css)

you know.. I tried giving it one more shot with v2 (I'm persistent like that).

deleted everything and went to reinstall....
(and this could be a coincedence but) then I noticed that the lightbox2.02 zip file had one extra js file than the v2 folder did (effects.js). so I just uploaded that with the other clientscript files and finished the install... and BAM! v2 is now working :woot:

like I said, dunno if that was the difference or I just messed up somehow the first time. but its working and I'm not making any suddent movements in case it decides to stop again. :p

dunno maybe a test to check the download file and see if the effects.js is in the clientscript and if that is what the problem is?

GrendelKhan{TSU 06-21-2006 11:51 AM

Quote:

Originally Posted by kira
Hey Andrew, I tried it out -- works perfectly! :) I tweaked the code to use an unordered list (just so it matches the rest of my sidebar). Easy peasy. Thanks a million!

I just noticed that for some reason the hit counter isn't working on either this "top list" addon or the regular directory listings pages. Can you think of what might cause such a problem?



Sure thing! My setup is very different as I've moved all the "what's going on" stuff to a sidebar. So you can get a better picture of what this would look like on a standard setup, I re-added the what's going on section and took a screenshot. (See #1.)

The second screenshot shows my CSS-ized sidebar version without the description or hits.

wow! beautiful set up and site. makes me jealous AND want to throw in the towel. :iss:

I wish I knew how you implemented it so beautifully. if its ok.. I'd apprecaite and love to see the code you used to do that. (or at least some clues. :) can I at least ask what font you are using? :))
the new and hot links implemented on forumhome is GREAT but the huge list at the bottom waaay to bulky and cumbersome looking.

(anyway to control the options there andrew?)

anyway...n job kira

GrendelKhan{TSU 06-21-2006 12:19 PM

sorry to keep buggin ya Andrew (hopefully I'm not being spammy)


question/comment:

--I noticed with video files... clicking on the image or link triggers the download. (links_linkbit)
http://www.clantsu.org/forums/local_...atid=4&lpage=1

--yet with mp3... clicking on the link or image makes quicktime plug launch in background. (doesn't launch player or download dialogue). :/
http://www.clantsu.org/forums/local_...esort=D&page=1

this is not good as it seems like nothing is happening and browser is frozen and then 20 secs later or whatever (after download) it comes active playing the song (scaring me to death).

Is this normal? why is it different for mp3s and video files?? :confused:

I mentioned this before in the context of requesting a feature to limit users per chosen category and usergroup to only be able to launch the jukebox. I hope some solution can be reached for this. its very confusing and no one knows to click the little icon (or forget).

As always... love this hack...just doing my best to continue to offer input to keep it as the best hack around :)

AndrewD 06-21-2006 12:26 PM

Quote:

Originally Posted by GrendelKhan{TSU
sorry to keep buggin ya Andrew (hopefully I'm not being spammy)


question/comment:

--I noticed with video files... clicking on the image or link triggers the download. (links_linkbit)
http://www.clantsu.org/forums/local_...atid=4&lpage=1

--yet with mp3... clicking on the link or image makes quicktime plug launch in background. (doesn't launch player or download dialogue). :/
http://www.clantsu.org/forums/local_...esort=D&page=1

this is not good as it seems like nothing is happening and browser is frozen and then 20 secs later or whatever (after download) it comes active playing the song (scaring me to death).

Is this normal? why is it different for mp3s and video files?? :confused:

I mentioned this before in the context of requesting a feature to limit users per chosen category and usergroup to only be able to launch the jukebox. I hope some solution can be reached for this. its very confusing and no one knows to click the little icon (or forget).

As always... love this hack...just doing my best to continue to offer input to keep it as the best hack around :)

Different add ins (Adobe Acrobat as well as Quicktime, etc) integrate themselves with the browser in different ways. I also find it a real pain to deal with, and it cost me a lot of thought early on with pdf files (my original reason for writing this hack).

AndrewD 06-21-2006 03:38 PM

Quote:

Originally Posted by GrendelKhan{TSU
I noticed that the lightbox2.02 zip file had one extra js file than the v2 folder did (effects.js). so I just uploaded that with the other clientscript files and finished the install... and BAM! v2 is now working :woot:

Thanks - that seems to have been the problem

sydude 06-21-2006 06:32 PM

One of my links categories is very text intensive, and the existing linkbits don't work that well for it. Does anyone have a 'Legacy Postbit' style of linkbit? Or is it easy to make one up? Here is what I'm trying to achieve:

Attachment 49778

Thanks!

Sy

AndrewD 06-21-2006 07:08 PM

Quote:

Originally Posted by sydude
One of my links categories is very text intensive, and the existing linkbits don't work that well for it. Does anyone have a 'Legacy Postbit' style of linkbit? Or is it easy to make one up? Here is what I'm trying to achieve:

Attachment 49778

Thanks!

Sy

try this

sydude 06-21-2006 07:13 PM

Quote:

Originally Posted by AndrewD
try this

DAMN YOU'RE GOOD!!!! You are the MAN! :banana:

Thank you again!

sydude 06-21-2006 07:20 PM

And here's another quick template question.. (sorry if this sounds completely dumb or if it's been covered ad nauseum..):

How do I make a new linkbit and have it selectable in the LL settings? For now I've had to delete out Greg's template with the code you gave me.


All times are GMT. The time now is 06:33 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.03589 seconds
  • Memory Usage 1,900KB
  • 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
  • (27)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