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 08-12-2007 01:43 AM

Glad you liked it :)

Quote:

Originally Posted by aztecboi2003 (Post 1315269)
I installed this and everything went fine. But now I can't upload or delete stations as the admin. I can upload as a member though. Any help here please? Also users can't delete the stations they added. I can pm you a link if you need to check it out.

Whats your user group and what user groups did you put in the radio stations administrators user group in the options? What user groups can add/edit/delete stations and what group in the options are they in?

DarthRevo 08-12-2007 04:53 AM

this is a sweet hack..thanks!

Skavenger 08-13-2007 07:18 PM

some bugs:

- there is a bug with username links in the report feature

http://i17.tinypic.com/4msh1kh.jpg

- if someone report a station as a duplicate, in 'report type' it says 'station doesn't work' instead of 'duplicate'

- after deleting a radio station that is in the reports, the radio row is still there

http://i10.tinypic.com/4t5pjd4.jpg

aztecboi2003 08-13-2007 08:00 PM

Quote:

Originally Posted by Dream (Post 1315573)
Glad you liked it :)



Whats your user group and what user groups did you put in the radio stations administrators user group in the options? What user groups can add/edit/delete stations and what group in the options are they in?

I'm admin as 6 and I used the default settings. I took a screenshot also. I then didn't want full users 2,5,7 to add stations if I couldn't delete them so I moved them to the half users. I then logged in as a user and was still able to add stations, even though I had taken away that ability. Other than this small bug I love this product of yours.

Dream 08-13-2007 11:26 PM

I think the problem is that you have put yourself in the banned users, are you userid 1? The banned users work with userids, not usergroup ids.

aztecboi2003 08-14-2007 12:40 AM

Quote:

Originally Posted by Dream (Post 1316939)
I think the problem is that you have put yourself in the banned users, are you userid 1? The banned users work with userids, not usergroup ids.

Yes I'm user id 1. I changed it and it works perfect. Thanks for the help, Dreams.

Dream 08-14-2007 06:25 AM

Dreams? :D

kylek 08-14-2007 07:19 AM

Anyone know if this works okay with Macs? I am just getting around to replacing vbradio with this one.

Dream 08-14-2007 07:35 AM

Yes this has been tested with Mac, and the stations are played by Quicktime? I think, or some other program.

Tulsa 08-14-2007 11:08 AM

I use it on a MAC and it works like a Dream.

Sorry, couldn't resist.. ;)

Dream 08-14-2007 01:11 PM

Updated to version 1.1, fixed all problems people were having

- changed order on setting usergroup permissions, requirements are now checked in this order: Half User > Full User > Admin > Banned User, checks for primary and secondary usergroups and userids for banned users
- fixed style issue with the station pages
- fixed duplicate station not being reported ("reporttype" gpc var wasn't being cleaned)
- fixed member number not showing on "reported by" url (was using $user[userid] instead $report[userid])
- fixed station not being editable/deletable by user who added it ($vbulletin var wasn't on global in function rs_construct_station_options() and rs_check_ownership() )


Upgrade is easy just follow the instructions in upgrade.txt. You won't need to revert any template.

The only template changed is RADIOSTATIONS_STATIONS_NAVBAR, if you like the old one with table border replace it with this:

HTML Code:

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
    <td class="alt1" align="center">
        <div class="fieldset" style="margin:0px">
            <table border="0" width="100%" cellpadding="0" cellspacing="0">
            <tr>
                <form action="javascript:listCategory()" name="listCategoryForm">
                <td class="smallfont" align="left">
                    $html_category_list
                    <input type="Submit" class="button" value="$vbphrase[rs_update]" name="send" />
                </td>
                </form>
                <td align="center">
                    <strong>$html_random_station</strong>
                </td>
                <form action="javascript:searchStation()" name="searchForm">
                <td class="smallfont" align="right">
                    <input type="Text" name="searchfor" class="smallfont" size="20" />
                    <input type="Submit" class="button" value="$vbphrase[rs_search]" name="send" />
                </td>
                </form>
            </tr>
            </table>
        </div>
    </td>
</tr>
</table>
<br />


edit: RADIOSTATIONS_PAGES was also changed, but I doubt anyone customized that.

bazzup 08-14-2007 02:26 PM

cheers for the update

wickland 08-14-2007 04:57 PM

updated

thanks

Aren 08-14-2007 06:15 PM

Hi there, Dream.

I just found a bug that I don't know if has already been reported (I'm using 1.1 actually).

I had a single category and just one station and, after doing some tests, just decided to remove the station. When I clicked on the "Remove" link all I got was a horrible javascript alert window with HTML content in it (I could read the tags). After checking it, I found that it was the vB database error page.

Checked my email and found there the complete information of what had happend:

Code:

Database error in vBulletin 3.6.8:

Invalid SQL:
UPDATE radiostation SET played = played + 1
                                                WHERE stationid =;

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
2
Error Number : 1064
Date        : Tuesday, August 14th 2007 @ 07:01:01 PM
Script      : http://forum/radiostations.php
Referrer    : http://forum/radiostations.php
IP Address  : **********
Username    : *****
Classname    : vB_Database

Hope this helps you improve an already excellent mod.

Keep up the good work, mate!

Cheers!

iogames 08-14-2007 09:04 PM

Ok divide it on standard & advanced and I will do a large donation ;)

Dream 08-14-2007 09:14 PM

Quote:

Originally Posted by Aren (Post 1317519)
Hi there, Dream.

I just found a bug that I don't know if has already been reported (I'm using 1.1 actually).

...


Well this mod wasn't really designed to have 0 stations so I'm not sure that's a bug. It will go away as soon as you add one station, I'm not sure it's worth adding more code to check for that.

Quote:

Originally Posted by iogames (Post 1317631)
Ok divide it on standard & advanced and I will do a large donation ;)


What do you expect of an advanced version?

iogames 08-14-2007 09:28 PM

Standard = Simple Player with the Stats on the left as you have it...
Advanced= The rest of the Features, is not adding more, just dividing for aesthetic purposes ;)

MiahBeSmokin420 08-15-2007 12:19 AM

getting this databade error

vb version 3.6.7

Code:

Database error in vBulletin 3.6.7:

Invalid SQL:
SELECT cat_name FROM radiostation_category
                                                                        WHERE categoryid =;

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 2
Error Number : 1064
Date        : Tuesday, August 14th 2007 @ 08:19:06 PM
Script      : http://stillfallinentertainment.com/vB-Forums/radiostations.php
Referrer    :
IP Address  : EDITED OUT
Username    : EDITED OUT
Classname    : vb_database


Dream 08-15-2007 12:22 AM

What were you doing when you got that?

bostton1 08-15-2007 07:11 AM

I was wondering if there is any way for the media player to restart automatically(like when you first launch the player) after you click on one of the catergories. its gets kind of annoying browsing then having to scroll to the top and hit the play button twice all the time.

MotMann 08-15-2007 07:18 AM

Quote:

Originally Posted by Tulsa (Post 1317246)
I use it on a MAC and it works like a Dream.

Sorry, couldn't resist.. ;)

You see the Player? And the stations will not be open in Quick Time? Some Mac Users can't see the Player :(

Quote:

Originally Posted by Dream (Post 1309901)
That code goes in the navbar, at the top, row 0 would be.

But that have nothing to to with the Player to see? Or is this the Code for the link to the station?
That was my post..

Tulsa 08-15-2007 07:25 AM

Quote:

Originally Posted by MotMann (Post 1317908)
You see the Player? And the stations will not be open in Quick Time? Some Mac Users can't see the Player :(


If you've not added this download to your system, it's a good idea.

http://www.flip4mac.com/download.htm

Just download the windows media component for quicktime.

MotMann 08-15-2007 07:28 AM

Hä? Why that? The User will see the Player in the Browser, and not in the Quick Time Player....

Tulsa 08-15-2007 07:46 AM

That's the way it works for me and I prefer it that way. Your mileage may vary...

MotMann 08-15-2007 07:55 AM

So. Did you here the music over Quick Time or with the Player in the Browser?

Tulsa 08-15-2007 08:11 AM

The player in the browser, which will also show the tvshows that some had uploaded, you can tie in webcams to it as well. I find it works quite well for my needs and other websites that use embedded players, I can now see those as well.

MotMann 08-15-2007 09:46 AM

Why it works. My Mac-User don't see the Player :(

Tulsa 08-15-2007 10:36 AM

What browser are you all using?

Dream 08-15-2007 11:01 AM

Quote:

Originally Posted by bostton1 (Post 1317895)
I was wondering if there is any way for the media player to restart automatically(like when you first launch the player) after you click on one of the catergories. its gets kind of annoying browsing then having to scroll to the top and hit the play button twice all the time.

When you click the station it should start playing automatically.

El Burro 08-15-2007 05:58 PM

Brilliant !!!

Thank you so much

You've got another vote!!!!

MotMann 08-15-2007 06:11 PM

Quote:

Originally Posted by Tulsa (Post 1318000)
What browser are you all using?

Safari, FireFox, Omniweb

Tulsa 08-15-2007 07:31 PM

Well it works just fine on a Mac using Firefox 2.0, Safari and Opera. Camino won't show it but it will play it. I've never tried omniweb.

MotMann 08-15-2007 08:15 PM

And what you do, what i dont know?

http://www.xbox360gamertag.de/Forum/radiostations.php

Tulsa 08-15-2007 09:29 PM

I went to your site and loaded up sky fm hits 70's and it worked just fine. Then I loaded up DI-FM Chillout and it worked just fine. It's not an issue with this mod or your installation of it. Everything's checking out okay.

MotMann 08-15-2007 10:00 PM

hmmm. And why don't open Quick Time if you use the station? Any idea?

Tulsa 08-15-2007 10:29 PM

This mod isn't calling quicktime, it's calling the windows media player plugin. You need to load the flip4mac I pointed you to earlier which will make your Mac browser compatible with it. Or you can go into the radiostations_player template and change it to your liking I suppose.

MotMann 08-15-2007 10:31 PM

I have Flip4Mac installed.

Tulsa 08-15-2007 10:35 PM

and you're not hearing the radio stations?

Megareus Rex 08-15-2007 10:52 PM

For anyone who can help, I get this mysql error when trying to upload the product:

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 'ENGINE=MyISAM' at line 15
Error Number : 1064

Does anyone have any idea what causes it, and/or how to fix it?

Tulsa 08-15-2007 11:34 PM

Quote:

Originally Posted by MotMann (Post 1318483)
I have Flip4Mac installed.

Well you got me curious and in the settings in the system preferences panel, you can select flip4mac's preferences and set it to launch the quicktime player. Restart your browser and it will redirect it to open quicktime.


All times are GMT. The time now is 09:34 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.01638 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
  • (2)bbcode_code_printable
  • (1)bbcode_html_printable
  • (11)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