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 Add-on (https://vborg.vbsupport.ru/showthread.php?t=152037)

REVHEAD 02-11-2008 02:38 AM

Hi
I am getting a hell of a lot of errors trying to pass XHTML 1.0 validation http://validator.w3.org, 209 errors to be exact, the Downloads II mod I use passed, and I am trying to get all my pages passed, so I can display there validation script on all my pages.

Here is an example click on the link in my footer http://taskforcealliance.com/forums/radioandtv.php

Could you look into passing validation in future releases, the mod works great, but not passing is annoying me.
I think the code needs to be cleaned up a little.
Help appreciated

Habsy 02-11-2008 03:33 PM

I am having a heck of a time finding streaming urls for sports stations. They all open in their own browsers and do not provide me with a good url to add a station in this mod.

Any advice?

PS. Great mod DREAM!

Dream 02-11-2008 04:22 PM

In the third post of this thread there are station directories and instructions on how to get streaming URLs from sites, it's pretty much all I can do for you.

Dream 02-11-2008 04:23 PM

Quote:

Originally Posted by REVHEAD (Post 1440533)
Hi
I am getting a hell of a lot of errors trying to pass XHTML 1.0 validation http://validator.w3.org, 209 errors to be exact, the Downloads II mod I use passed, and I am trying to get all my pages passed, so I can display there validation script on all my pages.

Here is an example click on the link in my footer http://taskforcealliance.com/forums/radioandtv.php

Could you look into passing validation in future releases, the mod works great, but not passing is annoying me.
I think the code needs to be cleaned up a little.
Help appreciated

I don't plan on making this XHTML compliant sorry, it's not that important for me.

Dream 02-11-2008 04:25 PM

Quote:

Originally Posted by aamirkhj (Post 1440462)
Thanks for clarifying, however when I look in to the CONFIG VARS inside radioandtv.php I cannot see the configuration mentioned on the 1st page of 3rd page link........i.e see below


// ############################ CONFIG VARS ##############################
$admin_groups = rs_do_array($vbulletin->options['radiostations_admins']);
$full_users = rs_do_array($vbulletin->options['radiostations_full_users']);
$banned_users = rs_do_array($vbulletin->options['radiostations_banned_users']);
$half_users = rs_do_array($vbulletin->options['radiostations_half_users']);
$default_station = $vbulletin->options['radiostations_default_s


Instead what I see the the code in the radioandtv.php is as follows:


############################ CONFIG VARS ##############################
$banned_users = rs_do_array($vbulletin->options['radiostations_banned_users']);
$default_station = $vbulletin->options['radiostations_default_station'];
$stats_results = $vbulletin->options['radiostations_statistics_entries']; // how many top stats entries
$per_page = $vbulletin->options['rs_per_page']; // number of stations per page
$default_player_size = explode('x', $vbulletin->options['radiostations_default_player_size']);
$player_sizes = explode("\r\n", $vbulletin->options['radiostations_player_sizes']);
$default_rp_size = explode('x', $vbulletin->options['radiostations_default_rp_size']);
$rp_sizes = explode("\r\n", $vbulletin->options['radiostations_rp_sizes']);
$default_quick_size = explode('x', $vbulletin->options['radiostations_default_qt_size']);
$quick_sizes = explode("\r\n", $vbulletin->options['radiostations_qt_sizes']);

//


Please help me to undertsand where to look for the code that you mentioned in your instructions link.

It's the same thing, just add the code in the instructions after that.

Habsy 02-11-2008 05:35 PM

THat list does not give me a good streaming url for CJAD out of Montreal. I will keep looking. Thanks.

___________________________________________

A more pressing matter is that the radio works fine in Firefox but will not open when clicked in IE. I use FF and did not notice this until it was brought to my attention. Why would it work with one browser and not the other?

Thanks in advance.

Habsy 02-11-2008 05:41 PM

NM,

redid the template mod and it is working now.

Weird.

Thanks again DREAM, great mod.

indie2industry 02-12-2008 01:18 PM

Quote:

Originally Posted by AndrewC1971 (Post 1440207)
Indie

I sorted mine

Simply download the latest zip version 1.7

what i did was
Uninstall it totally from Admin CP
Plugin manager uninstall

then delete all Radio TV files from ftp
and re upload using the latest version
Then imported plugin
and imported the xml file

make sure when you import the file it is the same one as your version of VB
also make sure the file javascript.php and the members plug in are uploaded to your server

/root

WORKING class for me now
well done Dream superb addition my members love it

Cool, I did that, but now I'm getting a database error that reads:

MySQL Error : Table 'jindie2i_forum.radiostation_lastplayed' doesn't exist

:confused::confused:

Dream 02-12-2008 03:50 PM

You must have installed version 1.9 for vb 3.7

Remove all the mod files, uninstall it, then reinstall version 1.7 that is supplied in this thread

REVHEAD 02-13-2008 04:45 AM

Quote:

Originally Posted by Dream (Post 1440860)
I don't plan on making this XHTML compliant sorry, it's not that important for me.

Hi

I know it may not be important to you , but it is to a lot of us, because it helps SEO immensly, you mod could be come a lot more popular, you just gotta look at the Downloads 2 mod, that is huge.

This mod has the potential to be come larger than what it is, I reckon as SEO becomes stricter things like this are going to count.], and a lot more user will jump onboard this mod.

Any.way I can understand your point of view, I just wanted to express mine, because this is the only page on my site I cant pass validation.

Anyway good mod, I have said my piece ill leave it at that.


All times are GMT. The time now is 07:37 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.02225 seconds
  • Memory Usage 1,747KB
  • 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
  • (4)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
  • (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