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 10-27-2005 05:35 AM

Quote:

Originally Posted by Tradjick
It?s working! Merci 1000 fois :) *installed on 2.0.6/

Just one thing: Would it be possible for the plugin to see inwhich category that the link has been clicked. Because most of mylinks have multiple categories, it can be confusing for the navigator if he sees a catogegory in the navbar that he? s never been into.

I think this will be possible but not with the current 2.0.6 - it will need a small change to the code which will appear in the next upload.

eva01_ 10-27-2005 01:50 PM

hmmm i just installed this and am trying to add in an area for downloads for people that have used the Paid Subscriptions, however that forum does not show up in the parent forum....

AndrewD 10-27-2005 01:53 PM

Quote:

Originally Posted by eva01_
hmmm i just installed this and am trying to add in an area for downloads for people that have used the Paid Subscriptions, however that forum does not show up in the parent forum....

Not quite sure I understand?

eva01_ 10-27-2005 02:00 PM

Well i have a forum for people that use the paid subscription in the UserCP. So i try to set up a category and to select the Contributor forum as the "Parent Forum" To only give access to that category to contributors and administrators. However the Contributor forum just doesn't show up in the Parent Forum box.

AndrewD 10-28-2005 04:03 AM

Quote:

Originally Posted by eva01_
Well i have a forum for people that use the paid subscription in the UserCP. So i try to set up a category and to select the Contributor forum as the "Parent Forum" To only give access to that category to contributors and administrators. However the Contributor forum just doesn't show up in the Parent Forum box.

The Parent Forum box is built using the same Vbulletin code that is used to create the forumjump menus. So the "add link" page that the user sees should include exactly the same forum choices as appear in the forumjump - i.e should depend on the forum and usergroup permission masks. Is there anything special about the protection masks you have applied to the Contributor forum? I haven't tried using paid subscriptions - does this use a different type of mask?

kadafi_alive 10-28-2005 10:51 AM

Andrew, did you manage to get the 'embedded windowsmediaplayer' for streaming to work?

Regards

AndrewD 10-28-2005 10:53 AM

Quote:

Originally Posted by kadafi_alive
Andrew, did you manage to get the 'embedded windowsmediaplayer' for streaming to work?

Regards

Yes, it works on my system - at least version 2.0.5 does.

kadafi_alive 10-28-2005 12:28 PM

Quote:

Originally Posted by AndrewD
Yes, it works on my system - at least version 2.0.5 does.

Hi Andrew, thank you for the fast reply.

Is there also a way to make it embedded for realplayer?

Regards

AndrewD 10-28-2005 12:53 PM

Quote:

Originally Posted by kadafi_alive
Hi Andrew, thank you for the fast reply.

Is there also a way to make it embedded for realplayer?

Regards

I think so, but offhand I don't know what the <OBJECT> statement looks like for real media.

for media player, it is as follows:

Code:

<OBJECT ID="MediaPlayer" WIDTH=200 HEIGHT=100
    CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    STANDBY="Loading Windows Media Player components..."
    TYPE="application/x-oleobject">
  <PARAM NAME="FileName" VALUE="$STREAM_SCRIPT.php?action=stream&amp;id=$linkid">
  <EMBED TYPE="application/x-mplayer2"
    src="$STREAM_SCRIPT.php?action=stream&amp;id=$linkid"
    NAME="MediaPlayer"
    WIDTH=200
    HEIGHT=100>
  </EMBED>
</OBJECT>


kadafi_alive 10-28-2005 12:59 PM

Quote:

Originally Posted by AndrewD
I think so, but offhand I don't know what the <OBJECT> statement looks like for real media.

for media player, it is as follows:

Code:

<OBJECT ID="MediaPlayer" WIDTH=200 HEIGHT=100
    CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    STANDBY="Loading Windows Media Player components..."
    TYPE="application/x-oleobject">
  <PARAM NAME="FileName" VALUE="$STREAM_SCRIPT.php?action=stream&amp;id=$linkid">
  <EMBED TYPE="application/x-mplayer2"
    src="$STREAM_SCRIPT.php?action=stream&amp;id=$linkid"
    NAME="MediaPlayer"
    WIDTH=200
    HEIGHT=100>
  </EMBED>
</OBJECT>



Hi,

When I add the object code for realplayer, it displays the windowsmediaplayer alongside with the realplayer. What I want is that it first checks the file, and if it's a realplayer file, it should launch realplayer, if not, then windows.

This what I had for the jukebox created by trafix:


PHP Code:

<if condition="$canplay == 1 AND ($fext == "mpg" or $fext == "mpeg" or $fext == "wmv" or $fext == "mp3" or $fext == "swf" or $fext == "asf" or $fext == "wma" or $fext == "avi")">                    
<
center>    <object id="MediaPlayer1" 
width=$viewwidth height=$viewheight
classid
="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
type="application/x-oleobject">
<
param name="URL" value="$playsong">
<
embed type="application/x-mplayer2" 
name="MediaPlayer"
width=$viewwidth
height
=$viewheight
src
="$playsong"
showcontrols="1">
</
embed>
</
object>
</
center>
</if>
<if 
condition="$canplay == 1 AND ($fext == "rm" or $fext == "ra" or $fext == "ram" or $fext == "rt" or $fext == "rp" or $fext == "rv" or $fext == "rmvb" or $fext == "mov")">                    
<
center> <object id="player" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width=167 height=36>
     <
param name="CONTROLS" value="ControlPanel">
     <
param name="AUTOGOTOURL" value="FALSE">
     <
param name="CONSOLE" value="radio">
     <
param name="AUTOSTART" value="TRUE">
     <
param name="SRC" value="$playsong">
<
embed name="player" type="audio/x-pn-realaudio-plugin" height=36 width=167 NOJAVA=true autostart="true" console="one" controls="ControlPanel" src="$playsong"/>
</
object>
</
embed>
</
center>
</if> 

Regards


All times are GMT. The time now is 09: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
  • Page Generation 0.02809 seconds
  • Memory Usage 1,774KB
  • 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
  • (1)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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