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)

Dream 02-13-2008 06:20 PM

You are welcome to make the templates XHTML compliant if you need it.

aamirkhj 02-13-2008 07:01 PM

Hi Dream, thanks for clarifying again a small question in your instruction page it does not specify where to add the following code,

"<if condition="$show['member']"><tr><td class="vbmenu_option"><a href="radiostations.php?$session[sessionurl_q]" target="_blank">$vbphrase[rs_radiostations]</a></td></tr></if>"

Are you referring to add in navbar if yes where to enter inside navbar same with the following code,

<if condition="$show['member']"><td class="vbmenu_control"><a href="radiostations.php?$session[sessionurl_q]" target="_blank">$vbphrase[rs_radiostations]</a></td></if>

Where in the navbar need to enter on after which code in navbar.

Your help will be highly appreciated.

Dream 02-13-2008 07:25 PM

Yes it's in the navbar, in the place you put the other navbar edit. But change radiostations for radioandtv in the code.

aamirkhj 02-13-2008 07:41 PM

Hi Dream I did that see below how I added in the navbar

<script type="text/javascript">
<!--
function openRadioAndTV(){
radioAndTVWindow = window.open('radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,m enubar=no,resizable=yes,status=no,scrollbars=yes,t oolbar=no');
}
//-->
</script>

<br />

<if condition="$show['member']"><tr><td class="vbmenu_option"><a href="radiandtv.php?$session[sessionurl_q]" target="_blank">$vbphrase[rs_radioandtv]</a></td></tr></if>

It is still coming up as pop up window

check my url

http://meraraabta.com/site/baithak/

I want radio and tv should open in a separate window but not pop up window.

Dream 02-13-2008 07:43 PM

You didn't replace the right code. You have to replace the right HTML code in the template. Sorry, I don't do that for other people, you have to ask someone who knows HTML to help you.

LordDB 02-14-2008 07:21 AM

Quote:

Originally Posted by aamirkhj (Post 1442461)
Hi Dream I did that see below how I added in the navbar

<script type="text/javascript">
<!--
function openRadioAndTV(){
radioAndTVWindow = window.open('radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,m enubar=no,resizable=yes,status=no,scrollbars=yes,t oolbar=no');
}
//-->
</script>

<br />

<if condition="$show['member']"><tr><td class="vbmenu_option"><a href="radiandtv.php?$session[sessionurl_q]" target="_blank">$vbphrase[rs_radioandtv]</a></td></tr></if>

It is still coming up as pop up window

check my url

http://meraraabta.com/site/baithak/

I want radio and tv should open in a separate window but not pop up window.

Put this in your navbar:


Code:

<li><a href="http://meraraabta.com/site/baithak/radioandtv.php" title="Radio & TV World"><span><b><font color="#800000">Radio & TV</b></span></a></li>
Hope that solves your problem!:)

indie2industry 02-14-2008 03:04 PM

Quote:

Originally Posted by Dream (Post 1441521)
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

Thanks, works perfectly

z0diac 02-27-2008 06:58 PM

Ok, I uninstalled this, but it's still showing up as a sub-menu in admin CP on the left. How do I remove it?

Dream 02-27-2008 10:15 PM

delete the cpnav file

montsa007 02-29-2008 03:14 AM

Excellente Mod :)

glennybee 02-29-2008 03:47 PM

Thanks for this mod, going to have a play with it.

Cheers
Glen

Polymat 03-02-2008 02:28 PM

Quote:

Originally Posted by Dream (Post 1380800)
You can put adsense by editing the templates.

Fine!

I have taken my adsense-code between the RADIOSTATIONS-Template.

But if I have the radio-station had changed, the adsense advertising suddenly gone. Is there a Java-complication?

Thanks

Dream 03-02-2008 05:00 PM

must be the anti-cheat Adsense system

Polymat 03-02-2008 05:18 PM

Quote:

Originally Posted by Dream (Post 1455262)
must be the anti-cheat Adsense system

What is anti-cheat Adsense system?

Dream 03-02-2008 05:22 PM

anti automated clicks or other stuff

DivineMessenger 03-05-2008 07:08 AM

Where can I get some TV type stuff? Maybe some comedy central feeds?

REVHEAD 03-05-2008 08:27 AM

Quote:

Originally Posted by DivineMessenger (Post 1457326)
Where can I get some TV type stuff? Maybe some comedy central feeds?

Maybe .

Dream 03-05-2008 11:21 PM

Quote:

Originally Posted by DivineMessenger (Post 1457326)
Where can I get some TV type stuff? Maybe some comedy central feeds?

in the third post of this thread there are info for more stations.

aamirkhj 03-09-2008 05:12 PM

How to hide "Streaming URL" field from guests and members, I want it should only be visible to Admin only, any idea how to do it ??

f4vn 03-10-2008 02:53 PM

rtsp://38.102.230.37/vtv3 <--- who can help me to play these link ? Thank

bago200 03-10-2008 06:13 PM

Hey i have followed all the direction and finally have it showing in my navbar, one issue, once i click on it, it takes me to another pop up that then says "The requested URL http:// was not found on this server".

Any suggestions to what i am doing wrong or how i can solve this?

Dream 03-10-2008 10:26 PM

where did you upload radioandtv.php to?

bago200 03-10-2008 10:29 PM

Oh, i now see that the "radioandtv.php" needs to be in the forum root. Guess that part was skipped out in the instructions. Got it. Installed. vb3.6.8.

aamirkhj 03-18-2008 07:00 PM

Any one knows how to hide "Streaming URL" field from guests and members, while radio & Tv page displays I want it should only be visible to Admin only, any idea how to hid the link of Streaming URL from guest viewing ??

Any one can help.........plz

2impulsiv 03-19-2008 01:17 AM

This is the best mod I've ever seen.

Thanks..

Installed..


:)

Dream 03-19-2008 01:36 AM

Quote:

Originally Posted by aamirkhj (Post 1468121)
Any one knows how to hide "Streaming URL" field from guests and members, while radio & Tv page displays I want it should only be visible to Admin only, any idea how to hid the link of Streaming URL from guest viewing ??

Any one can help.........plz

you need to edit the radio and tv templates, sorry I don't know exactly what code to use

mortydot 03-19-2008 09:53 AM

I look t trough the topic but cant find anything...
perhaps I'm the only one trying this :P

But the question:
I want to run the script in the look and feel of the rest of the forum (Navigation, not a popup, etc) The most interesting option in my vision is to run it as a PHP file in VBAdvanced! So i can add/run modules next to it!

I try d to load/run the script as a single PHP file, with and without clean output. But at all situations I get the next VBulletin error page with the next error:

<====================error======================== =======>

Warning: Invalid argument supplied for foreach() in /radioandtv.php on line 1440

Warning: Division by zero in /radioandtv.php on line 957

<===================Iframe database error content==============>
Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT *, r.stationid, COUNT(rt.stationid) as ratings, SUM(rt.rating) / COUNT(rt.stationid) AS average FROM radiostation AS r
LEFT JOIN radiostation_category AS c ON (r.categoryid = c.categoryid)
LEFT JOIN radiostation_rating AS rt ON (r.stationid = rt.stationid)

GROUP BY r.stationid
ORDER BY name ASC LIMIT 0,;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6
Error Number : 1064
Date : Wednesday, March 19th 2008 @ 11:37:21 AM
Script : http://www.doodsaai.nl/index.php?pageid=online-radio
Referrer :
IP Address : 195.73.204.130
Username : svenlohuis
Classname : vb_database

<===================== /end error ============================>



Does anyone know an answer? I would love to run the script as a page in vb advanced!

Dream 03-19-2008 03:22 PM

in the third post of this thread there is info on how to add header and footer

mortydot 03-19-2008 04:20 PM

Not the answer to my question, but another solution!

Thanks for it :-)

But the problem with this is I have try ed but I don't get any result,

The $header $footer don't give any results back....

Dream 03-19-2008 05:04 PM

sorry I don't know anything about vbadvanced

mofeu 03-24-2008 10:19 PM

Quote:

Originally Posted by mofeu (Post 1421336)
These are greek channels

mms://209.190.26.230/netg?sid=B8DDDDF1-6856-452C-A8E5-6873C2C41853-1-3766 ERT

mms://209.190.5.158/ant1g?sid=B8DDDDF1-6856-452C-A8E5-6873C2C41853-12-3766 ANT1

mms://209.190.26.230/megag?sid=B8DDDDF1-6856-452C-A8E5-6873C2C41853-14-3766 MEGA

mms://209.190.5.158/starg?sid=B8DDDDF1-6856-452C-A8E5-6873C2C41853-13-3766
STAR

mms://209.190.26.230/alterg?sid=B8DDDDF1-6856-452C-A8E5-6873C2C41853-6-3766 ALTER

mms://209.190.5.158/alphag?sid=B8DDDDF1-6856-452C-A8E5-6873C2C41853-16-3766 ALPHA

http://www.greeksoccer.com/forums/lo...235040483.html

how can I make it as xml ?

Please,can anyone help me how I can make all the greek channels as xml so I can installed?

Thanks in advance :)

makange 03-26-2008 12:26 PM

I can't access the page in my site. When I click the link after logging in I get the following message:

"administrator, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation."

Dream 03-26-2008 09:40 PM

Quote:

Originally Posted by mofeu (Post 1473682)
Please,can anyone help me how I can make all the greek channels as xml so I can installed?

Thanks in advance :)

You don't need to make a XML, just add the stations in the station page.
Quote:

Originally Posted by makange (Post 1474931)
I can't access the page in my site. When I click the link after logging in I get the following message:

"administrator, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation."

Change your administrator group permissions in the AdminCP.

makange 03-27-2008 02:09 AM

Quote:

Originally Posted by Dream (Post 1475380)
You don't need to make a XML, just add the stations in the station page.


Change your administrator group permissions in the AdminCP.

Wow!!! Thanks a lot!!
I'm using vb 3.6.8. Can I install Radio & TV 2.0??

Dream 03-27-2008 02:42 AM

Nope, v2.0 will only work on vb 3.7.

Scalemotorcars 04-03-2008 04:32 PM

Quote:

Originally Posted by Stifmeister2 (Post 1292882)
My "loading image" is not working. It just shows red X.

I have vb 3.6.4.


Just in case anyone else runs into this little problem.

This is the location of that little image you get on loading.
Code:

forum/images/misc/11x11progress.gif
Just copy the image below and upload it into the forum/images/misc/ file.

Thanks for the great Mod.... :up:

Stifmeister2 04-03-2008 05:32 PM

Quote:

Originally Posted by Scalemotorcars (Post 1482115)
Just in case anyone else runs into this little problem.

This is the location of that little image you get on loading.
Code:

forum/images/misc/11x11progress.gif
Just copy the image below and upload it into the forum/images/misc/ file.

Thanks for the great Mod.... :up:

Thanks bro! :)

Scalemotorcars 04-03-2008 08:00 PM

Your very welcome.

Im loving this mod. Thanks again Dream. :D

Dream 04-03-2008 08:47 PM

No problem :)

tbrown7552 04-04-2008 04:41 AM

Quote:

Now for the Radio and TV link, you can find:

Quote:

<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
And after that, add

Quote:

<td class="vbmenu_control"><a href="javascript:openRadioAndTV()">$vbphrase[rs_radiostations]</a></td>
Save your navbar template.
Thing is i dont have the top one or anything close to it in the navbar template.


All times are GMT. The time now is 10:53 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.02712 seconds
  • Memory Usage 1,834KB
  • 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
  • (3)bbcode_code_printable
  • (16)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