![]() |
Quote:
Edited: In the meantime, if you want to fix it yourself, edit local_links.php in your forum directory. Find the following code (around line 675): Code:
$pagenav = construct_page_nav($pagenumber, $thispage, $nhits, $LINKS_SCRIPT.".php?catid=$viewcatid&sort=$sort", "&pp=$thispage"); Code:
$pagenav = construct_page_nav($pagenumber, $thispage, $nhits, $LINKS_SCRIPT.".php?catid=$viewcatid&sort=$sort".(strlen($viewfilter) ? "&filter=$viewfilter" : ""), "&pp=$thispage"); |
How can I limit a usergroup to only being able to add one Link to the list?
Also, Where can I change $linkimgjump ? I would like to change the image's link to go to: Code:
<a href="member.php?u=$linkuserid">$linkusername</a> Thanks! p.s. Andrew, I was able to allow images to be displayed on the directory. I just used the File Upload instead of the Image upload. Then I just limited the files available for upload to only image file types. It adds the Thumbnails just as I wanted. Now all I have to do is edit out the file links so members are not trying to download the thumbs. Thanks for all your help! James |
Quote:
I edited the file local_links.php as you said and now it works correctly :up: |
Quote:
Quote:
|
Ok, sounds good. Thank you.
How can I change the Link Title displayed in links_linkbit ($linkurljump) to be linked to the member's forum profile? Added: Nevermind, I found it! Code:
<a href="member.php?$session[sessionurl]u=$linkuserid">$linkname</a> Thanks! :) |
Hello,
just wanted to try this one, but every time I try to do something, it comes up, that some securitytoken would be wrong or missing... I am running 3.7.2. pl2 any tips ? edit: Also when I try to uninstall it, it just gives me a blank site. Could you please post an uninstaller, so I can clean it up and reinstall it ? |
Why can we not enter percentage values for the 'link_imagemagsize' setting? For example 100% would mean cover full screen of user. Also, why is there only one dimension setting in 'link_imagemagsize', why not both width and height?
|
Quote:
There should be no problem uninstalling via the standard vbulletin/admincp/products section. The uninstaller leaves the database tables intact, but this would not create a blank screen. Blank screens are often a sign of a php bug somewhere. Have you tried vb/admincp/settings/ turn off gzip compression |
Quote:
Again, I wondered about having both width and height parameters, but this would end up distorting pictures - by using only one value, the code can maintain the aspect ratio of the picture. Am open to discussion |
Quote:
I can understand the importance of maintaining aspect-ratio, but I found one problem with the LDM imagemagsize setting. This setting sets the size of the image 'along larger dimension', and this becomes problematic if the image has a larger width than height (which is usually the case). This is because having a fixed width means that the height of the image varies according to the original size of the image, and this sometimes results in images having heights too large for the screen. What would be more useful is to have the 'imagemagsize' set the HEIGHT of the image rather than the width, which would then allow the width of the image to vary according to the aspect-ratio of the original picture. This would cause less problems because obviously the screen of the user is wider than the screen's height, so it can allow for more variability in the horizontal direction. |
Quote:
|
Quote:
|
Quote:
edit includes/lcal_links_resize.php find, around line 145: Code:
$thumb_w = ($old_x >= $old_y ? (int) ($size) : (int) ($size*$old_x/$old_y)); Code:
$thumb_h = $size; Code:
$thumb_w = $size; |
This is such a great hack... thank you!
I am having a small problem of when I use it, I am being logged out and being asked to log back in, is there anything I can do about this, or something I am doing wrong to put this right! |
Quote:
|
Quote:
|
If your site contains Quicktime media files, you may want to advise your users of this:
Quicktime media will not play or will play without the player's controls bar if the mime types are not set in the user's browser. This may occur for other media types also (Windows, Real, etc), but I have only verified this problem with Quicktime. Solution: The USER must edit their Quicktime's browser preferences: In Quicktime, go to Edit > Preferences > Quicktime Preferences > Browser > MIME Settings (located at bottom of Browser tab) > select the mime types that you want Quicktime to play. For best compatibility, I selected Quicktime movie (mov, qt), aac, mpeg-4, 3gpp, 3gpp2, qhtm. Click "OK", then "Apply", then "OK" again. Your users should now be able to play Quicktime media files :D |
The default mime type for avi files (video/avi) does not work in Firefox. The correct mime type is: application/x-mplayer2
You can set that in VB in the control panel on the left side: select Attachments > Attachment Manager > Edit avi > then for mime type, type in: Content-type: application/x-mplayer2 That should do it, you can now play avi files in both IE and Firefox :D |
Bug report: Real media will not play in IE browser. The solution requires 2 steps:
1. In VB control panel on the left side: select Attachments > Attachment Manager > Edit all file types that you want Real to play (ie: ra, rv, rm, etc.) > then for each file type, type in for mime type: Content-type: audio/x-pn-realaudio 2. Edit local_stream.php (in the forum root folder) so that the mime type is only changed for NON-IE browsers. Around line 143, FIND: Code:
foreach ($mimetype as $k=>$mime) { Code:
// MODIFIED to change mime type ONLY IF browser is NOT Explorer (!is_browser('ie') does not work for IE7, but can check for other browsers) |
Bug report: JWPlayer can play mp4 & m4v files when viewing the entry itself, but the player does not show when viewing a category's list of entries. It should show the player for mp4 & m4v files because the same player shows for flv, swf, & mp3 files when viewing a category's list of entries. Andrew, I can help fix this bug if you can advise me which file/ where to edit?
|
Not sure if this is a LDM bug or IE7 (Windows XP) bug: IE7 will pop up a notification stating that "IE can't open the page" and the "operation was aborted" when loading a page that has a video larger than ~5 MB. However, the page still loads fine and the video plays (testing non-Flash videos that are 20 MB).
|
Bug report: I discovered a serious conflict for file types that are set by the user to be played by Quicktime. For Quicktime file types, if a non-Quicktime player is set with a higher priority in LDM than the Quicktime player, then both players will show up on top of each other in the browser. More seriously, Firefox will become unresponsive (but can still be terminated).
The source of this bug stems from 2 sources: LDM and Quicktime. LDM because it creates an object tag for the highest priority player, and Quicktime because it allows users to set mime types in the browser. This problem may occur for other media types also (Windows, Real, etc), but has only been verified for Quicktime. Changing the mime types in VB will NOT fix the problem. Solution: Change the media players priority in LDM so that Quicktime has the highest priority for all Quicktime file types. In VB control panel on the left side, select Links and Downloads > Players > then give Quicktime a high priority like 20 so that it's higher than the Windows & Real players. Now only the Quicktime player should show and not freeze up Firefox :D |
Bug report: Ok, this is probably the most difficult bug I've come across thus far since I've used VB. Spent a whole day :rolleyes::confused::eek: to find a partial work-around. The problem is that media players (ALL 3 - Windows Player, Quicktime, RealPlayer) will display and play media in IE7 but will only play, but NOT display in Firefox 2 (can hear the audio, but can not see the player or video/ image). First I thought it was a transparency issue similar to the LDM bug fix I did for the Flash and Silverlight players, but setting the transparency/ blend parameters for these players had NO effect. After hours of testing different hacks and trial & error debugging, I found the source of the problem.
Partial work-around: Remove this script from the headinclude template: Quote:
Note: testing with VB 3.7.2, LDM 2.2.9-post1, Windows XP (SP2), Firefox 2, Explorer 7, Quicktime 7.5, RealPlayer 11, Windows Player 11, and admin privileges for XP, VB & LDM. |
Ok, I'm done with my bug reports for now..... ;)
|
Quote:
|
Quote:
|
The inline player seems to work only with FLV, is there a way to get Mp4/xml working with it as well?
also, is there anyway to have the entry thumbnail be a direct link to the file? It seems $linkimgjump forces it to open in litebox instead of opening the file. Thanks |
In researching the Yahoo event script conflict with embedded players, I discovered a possible fix. I verified that the problem exists with VB 3.7.2 alone without LDM. You can reproduce the problem with VB 3.7.2 in Firefox 2 with Flash Player 9 (I'm using Windows XP - sp2):
1. Create a forum with HTML code enabled (remember to allow admins only to post if this will be a permanent forum). 2. Create a thread and post with this sample object tag from youtube: Code:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object> Since the Flash player showed in LDM but NOT in VB alone, I realized that a possible work-around is to create the embedded player with a JS script and not by the object or embed tags. In LDM, the JW Flash & Silverlight players were able to show because they do not directly use the object and embed tags. Instead, the players are created by a script in the links_playerbit_JWPlayer and links_playerbit_JWwmPlayer templates. Hope that helps to create a plugin fix for the other media players. Since this bug is obviously a VB bug, I posted it at VB's site: http://www.vbulletin.com/forum/proje...?issueid=26190 Everyone, please confirm/ comment on this bug at that link so that the VB team will make this bug a high priority. Even if Andrew is able to provide a plugin fix for LDM, this bug will still affect posts at HTML enabled forums since users can NOT post script tags even if HTML is enabled. For example, you may want to create a HTML enabled forums where admins can post YouTube videos for users to watch. Without this bug fixed, you're not able to do that. :rolleyes: |
Quote:
On a similar note, the guy who runs the quirksmode site must be ocmpletely hairless, trying to keep track o the javascript features that do or do not work in different browsers/browser versions. I posted a question yesterday about an oddity in PHP which has really got me confused. |
Quote:
Also, mp4 files done seem to work with the inline player :( Thanks for the hard work! - Riki |
When using force_redirect=0 / 1, the download unable to resume, but if using force_redirect=2, the download able to resume. So I used option "2". But the hits won't count. Is there anyway to make it counted just by clicking the link?
I'm using different server for my downloadable files and my vbulletin LDM |
Quote:
|
Quote:
|
Quote:
|
Andrew,
I need to 'force' mp3 files to be downloaded rather than open up in a browser window or external player, ie. when the user clicks on the link a dialog box should pop up asking whether they'd like to save or open the file. Can you please explain how I can do this? |
Quote:
Let me know if it works as expected. |
Quote:
That method does not work in Internet Explorer. I was thinking of a more format-specific method which you seem to have mentioned in the wiki here: http://www.eirma.org/wikis/index.php...s_in_vBulletin Here is a quote from that page: "Specifying the mimetype as "Content-type: application/force-download" is a useful way to force a filetype to be downloaded rather than opened within the browser window or by a program on the user's PC" That sounds perfect but I don't know how to specify the mp3 filetype as 'application/force-download'. |
Can someone please verify if the conflict between Yahoo event script and embedded players exists in Firefox 3? For more info on this bug, you can read my posts #903 & 908. You can reproduce and verify the bug by:
1. Create a forum with HTML code enabled (remember to allow admins only to post if this will be a permanent forum). 2. Create a thread and post with this sample object tag from youtube: Code:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/zzSpPaCIG0g&hl=en&fs=1&rel=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object> After testing, please post if the flash video remains displayed or disappears. I have not tested in Firefox 3 myself because I'm still waiting for several Firefox 3 bugs to be fixed and Firefox 2 still has a relatively large usage base (~18%) so this bug needs to be fixed. Much appreciated for any help. |
Does anyone know if there is a way to check a user's browser for the latest RealPlayer plugin, and if they don't have it then display a message or an update?
|
Quote:
To specify the mp3 mimetype, go to vb/admincp/attachments/attachment manager. Edit mp3, and change the mimetype box to Content-type: application/force-download. Remember what it used to be in case you want to go back again. |
All times are GMT. The time now is 01:31 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|