vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - Radio and TV Player (https://vborg.vbsupport.ru/showthread.php?t=167567)

soundbarrierpro 12-03-2008 10:53 PM

Quote:

Originally Posted by Dream (Post 1677963)
edit the radiostation_ templates

I went through every template in the template list in style manager>Radio And TV Templates

I don't see any of those edits in the code, do you know specifically which templates? Maybe I'm missing something?

Dream 12-04-2008 12:50 AM

hm not sure now if it is in radioandtv.php hardcoded... as website only appears when there is a website, so a code must do it

soundbarrierpro 12-04-2008 01:38 PM

Hi all, does anybody know if it's possible to add additional "players" to the player templates, which require a player plugin install in order to work?

I am able to successfully embed sopcast, tvants, and tvu broadcasts on non-vb pages with no problems. The end user just has to install the specific plugin for the video to play without the full player requirement.

I'd like to scrap all of my non-vb pages and use only radiotv for playing video streams.

Dream 12-04-2008 01:49 PM

that's a nice idea for a update actually, let users add aditional players. not sure how hard would it be to do, also not much time right now for me to do it, maybe next year when I come back from vacation in february.

Dream 12-04-2008 01:50 PM

Quote:

Originally Posted by GreasySpoon (Post 1677082)
No problem, maybe it will be done in the next version ;-)

Greetz

I'll keep a list of ideas to implement on next versions on the third post of this thread, I'll add this one to it.

GreasySpoon 12-04-2008 02:11 PM

Quote:

Originally Posted by Dream (Post 1678450)
I'll keep a list of ideas to implement on next versions on the third post of this thread, I'll add this one to it.

Thanks for this.

I have modified it yesterday in our forum. If you need some information or if i can help you, just let me know.

Here you can take a look at my modifications: Radio und TV

I have added the station title in the META title-tag and the station description in the META description-tag. I have also modified the navigation in the plugin, so that user without js and the google bot can browse it.

If someone need the rewrite rules for vbseo, here you got:
Quote:

// Radio and TV
'radioandtv\.php$' => 'radio-and-tv/'
'radioandtv\.php\?station=(\d+)$' => 'radio-and-tv/station/$1.html'
This rewrite rules only make sense if you modified this plugin like me, for user without JS.
Quote:

// Radio and TV
'radioandtv\.php\?letter=(\w+)$' => 'radio-and-tv/a-to-z/$1.html'
'radioandtv\.php\?letter=(\w+)&page=(\d+)$' => 'radio-and-tv/a-to-z/$1/page/$2.html'
'radioandtv\.php\?letter=(\w+)&category=(\d+)$' => 'radio-and-tv/a-to-z/$1/category/$2.html'
'radioandtv\.php\?letter=(\w+)&search=(\w+)$' => 'radio-and-tv/a-to-z/$1/search/$2.html'
'radioandtv\.php\?page=(\d+)$' => 'radio-and-tv/page/$1.html'
'radioandtv\.php\?category=(\w+)$' => 'radio-and-tv/category/$1.html'
'radioandtv\.php\?search=(\w+)$' => 'radio-and-tv/search/$1.html'
'radioandtv\.php\?letter=(\w+)&search=(\w+)$' => 'radio-and-tv/a-to-z/$1/search/$2.html'
Greetz

Dream 12-04-2008 02:21 PM

you just want the station title on the meta and the description on the meta description? anything else?

GreasySpoon 12-04-2008 02:29 PM

Yes, filled meta title, description and keyword tags.

It would be also great if this plugin would use urls like:
"/forum/radio-and-tv/1-powerhitz-radio-xyz.html"
"/forum/radio-and-tv/category/1-jazz.html"
"/forum/radio-and-tv/letter/I.html"
and so on. Just SEO friendly.

And also dual browsing. For people with turned on js, AJAX and for people with turned off JS the normal way of browsing. Something like: <a href="/forum/radio-and-tv/1-powerhitz-radio-xyz.html" onclick="openStation(1); return false;" title="Powerhitz Radio xyz">Powerhitz Radio xyz</a>

Greetz

EDIT:
And could you please put the JS in an external .js file in the next version? Just to keep the sourcecode clean.

Dream 12-04-2008 02:45 PM

some of the .js is created dinamically I think, if not I will

Dream 12-04-2008 02:46 PM

what did you put on keywords

GreasySpoon 12-04-2008 02:53 PM

I put the pagetitle and this default keywords (livestream, onlinestream, radio, tv, online) inside.
But this is a dirty solution. The meta keywords should depend on what page was called. If you open the category page the keywords should be something like "category, $categoryname, online, radio, tv, music" and so on.

I think the best solution is if you split the page title on whitespaces and put the splittet parts comma separated in the meta keywords with some default keywords.

Shamil. 12-08-2008 03:59 PM

Does this work with 3.8? I'm having trouble in admincp - the options page is blank.

compact123 12-09-2008 01:19 AM

*Installed*
Great Media Mod

Infopro 12-10-2008 12:22 PM

Quote:

Originally Posted by Mr. Hoddz (Post 1425067)
I added the 240 UK stations (I know it's not to do with the Dream guy) but it doesn't seem to work. I get my forum URL before the URL of the media stream (got that from right click - properties).

Looked at the XML file and can't see as anything should be causing this. Any ideas?


UPDATE 1

I think it is because of the line breaks in the file, I will edit this save and upload as an attachement. If Dream wants to update it then fair play to him.
Wonder if anyone else has had this error or maybe it's just me?


UPDATE 2

I have changed the file and everything seems to be working now. File has been attached and hopefully Dream will update the link to this attachment.
Hope everyone finds this helpful.



Not sure if this is related to your file but after importing it the options link in admin for Radio and TV no longer works. That section does not load. Import/Export and clean up links open a page, but Options is hosed somehow.

Infopro 12-10-2008 12:23 PM

Quote:

Originally Posted by ct2k7 (Post 1681034)
Does this work with 3.8? I'm having trouble in admincp - the options page is blank.



Hmm, did you import the 292-UK-Radio-stations.xml to yours?

Shamil. 12-10-2008 08:52 PM

Yes, :)

Infopro 12-11-2008 03:56 PM

Not sure what's up. I've uninstalled and reloaded to try and fix not having the options page, without luck. Something related to VB 3.8 maybe?

Sunka 12-14-2008 04:47 AM

Installed.
Thank you!

Reycer 12-15-2008 12:30 AM

very nice. I am running it on my www.missouritalks.com website. I added KWFC a Christian station in Springfield, MO here is the streaming link http://kwfc.org/Portals/10/listen-hi.m3u I would also like to add that I would love to see a new ADMIN CP control added, I would like to be able to add categories (such as Christian or Religious) from the admin control. But REALLY NICE mod.

Dream 12-17-2008 05:41 PM

so, can anyone rate this mod and make 100 ratings? :D been at 99 forever.

soundbarrierpro 12-17-2008 05:49 PM

How do you rate it?

I like it, I'm hoping for more "player" flexibility in the future. Like being able to add plugins and stuff like sopcast/ vlc etc.

Infopro 12-17-2008 07:30 PM

Quote:

Originally Posted by Dream (Post 1687485)
so, can anyone rate this mod and make 100 ratings? :D been at 99 forever.

Voted. Any idea why the Options page is not working?

Dream 12-17-2008 07:33 PM

is it on 3.8? can everyone on 3.8 confirm this? I'm not using it right now

Infopro 12-17-2008 08:01 PM

Yes, 3.8 RC1. I have a testvb/ setup that is still on 3.7.4 and installed it there, same result, no options page. Not sure what's wrong, but I'm wondering if its the link for the page.

Cleanup is: mydomain.com/admincp/radioandtv_cleanup.php?do=cleanup
Import is: mydomain.com/admincp/radioandtv_admin.php?do=impex
Options is: mydomain.com/admincp/options.php?do=optionsdogroup=radiostationsoptions

Is this correct I wonder?

Dream 12-17-2008 08:08 PM

im using the last 3.7 and the options are running fine here... can you check your httpd error_log file right after you click on them?

Infopro 12-17-2008 09:54 PM

Yep, no messages in log. I took another look at my testvb/ and it's running 3.7.3 PL1. I'll keep messing with this to see if I can find out anything.

Infopro 12-17-2008 10:28 PM

This is strange, just installed the older 1.9 to the 3.7.3 testvb/ and the same exact result, no options page.

Dream 12-18-2008 11:05 PM

none of the links under Radio and TV work?

Infopro 12-18-2008 11:18 PM

Only the Options link doesn't work for me. Link paths posted above.

Dream 12-18-2008 11:30 PM

And your other vb options are working?

wait... that link is wrong. try re uploading the cpnav file

Dream 12-18-2008 11:32 PM

cpnav file should have

options.php?do=options&amp;dogroup=radiostationsop tions

which should translate into the link

options.php?do=options&dogroup=radiostationsoption s

your vB seems to be eating that &amp; , you can try to change that to just &

Dream 12-18-2008 11:41 PM

in any case, you can access the options with admincp/options.php?do=options&dogroup=radiostationsoption s

or going in the vBulletin Options > Radio and TV Options

Infopro 12-19-2008 12:25 AM

Wow, good catch. Not sure why the URL is getting changed, yet, but the cpnav is fine. Pasting the URL to address bar then adding the & gets me into the options page.

Now I just need to figure out why it's eating the &amp;

Thanks, good eyes.

ArnyVee 12-24-2008 07:15 PM

If we were mainly only interested in one particular station to stream...would everyone recommend that I install this mod and comment out parts of the display or is there another easier method to do it?

Any suggestions?

soundbarrierpro 12-24-2008 11:16 PM

Video streams working......

Justin.tv
Ustream
Mogulus
selfcast

The urls do not work, you have to grab the source and in some cases "mess around with it" until it works.

****DREAM*****A Question.

Is there any way to enable php or html code in the description box? Everything currently bunches together when you try and do line breaks and stuff

jlew24asu 12-29-2008 06:27 PM

installed and nominated. love this mod, good job Dream.


I am though having a problem adding a station.

I feel like I do everything correctly but the station doesnt play. and even when I click on "Streaming URL - right-click to copy" it pops up in a new window and plays find :(

I must be doing something wrong, cuz its happening to all stations I try and add

jlew24asu 12-29-2008 06:41 PM

I apologize if this is a stupid question but how do I remove TV channels? I added the ones from Dream's first post but decided I dont want them.

(anyone have some american TV stations to share)?

yaku 12-29-2008 07:17 PM

You can delete catagories and stations all at once under the "manage catagories" section. Look for delete Category and delete them that way.

Quote:

I feel like I do everything correctly but the station doesnt play. and even when I click on "Streaming URL - right-click to copy" it pops up in a new window and plays find
Same problem here. Any one with answers?

jlew24asu 12-29-2008 07:37 PM

doh, just had to keep scrolling down. dumb mistake, thanks

soundbarrierpro 12-30-2008 02:13 PM

Is there any way to enable php or html code in the description box? Everything currently bunches together when you try and do line breaks and stuff


All times are GMT. The time now is 04:27 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.01849 seconds
  • Memory Usage 1,821KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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