vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBRadio v1.0 (https://vborg.vbsupport.ru/showthread.php?t=72227)

SVTOA 11-28-2004 06:04 PM

Quote:

Originally Posted by djjeffa
dam i broke it and i dont know what i did but now im getting this when i try to veiw the radio Parse error: parse error, unexpected T_STRING in /home/djjeffa/public_html/vb/vBRadio.php on line 8

did you mess with vBRadio.php? Restore the original file...

djjeffa 11-28-2004 06:06 PM

Quote:

Originally Posted by SVTOA
did you mess with vBRadio.php? Restore the original file...

i re downloaded it and uploaded the radio php fresh but it still dont work
now i just get a blank page http://djjeffa.com/vb/vBRadio.php

SVTOA 11-28-2004 06:15 PM

Quote:

Originally Posted by djjeffa
i re downloaded it and uploaded the radio php fresh but it still dont work
now i just get a blank page http://djjeffa.com/vb/vBRadio.php


Blank page means missing template. Did you install RADIO template in all your styles?

Don't rerun the installer, just replace the files themselves.

djjeffa 11-28-2004 06:24 PM

Quote:

Originally Posted by SVTOA
Blank page means missing template. Did you install RADIO template in all your styles?

Don't rerun the installer, just replace the files themselves.

yea it was working it was installed in all styles
what file has all the stations on it i will save it and reinstall then add that file over.

SVTOA 11-28-2004 06:41 PM

The stations are in your database....The only "files" this uses is the vBRadio.php file (which is never altered by the use of the hack) and your RADIO template. When you add cats and stations, these are being written to the database table "RADIO"

What did you do prior to this problem you had? What file did you edit?

djjeffa 11-28-2004 07:27 PM

Quote:

Originally Posted by SVTOA
The stations are in your database....The only "files" this uses is the vBRadio.php file (which is never altered by the use of the hack) and your RADIO template. When you add cats and stations, these are being written to the database table "RADIO"

What did you do prior to this problem you had? What file did you edit?

I really dont remeber i added a bunch of hacks
and i uploaded a fresh vbradio.php so i dont know

EDIT: I fixed i reinstaed the templates then got a db error and stoped but now it works lol

SVTOA 11-28-2004 08:13 PM

Quote:

Originally Posted by djjeffa
I really dont remeber i added a bunch of hacks
and i uploaded a fresh vbradio.php so i dont know

EDIT: I fixed i reinstaed the templates then got a db error and stoped but now it works lol


Never start a new hack without first backing up the file you are about to edit. Especially if you have installed other hacks and modified a file many times. I always create a copy of the file I am about to edit so I can easily get back to where I was if I fubar something.
Glad you got it working Jeff.

lanc3lot 11-28-2004 08:29 PM

Hello..just installed, everything went ok...some questions:)

If i ever want to uninstall it(i dont want, i just ask!), i will undo whatever i did ok? But what with the "install_vbradio.php" i run...?

Or its another way?

Also, how can i edit the word VBRadio, from my navbar(to something like Radio!)...Just go to navbar template and change the word ?

Ps

Also, i dont know if u mentioned that before..but..how it works?:D
I mean, does it load my server and so my BW or it goes to the "net radio " itself server right a way?

Ps2

Something last:P

How can i prevent, my guests play with the radio? So only my registered users, can use it?



Thanks a lot again:)

djjeffa 11-28-2004 09:00 PM

Quote:

Originally Posted by lanc3lot
Also, i dont know if u mentioned that before..but..how it works?:D
I mean, does it load my server and so my BW or it goes to the "net radio " itself server right a way?

Ps2

Something last:P

How can i prevent, my guests play with the radio? So only my registered users, can use it?



Thanks a lot again:)

id uses the bw of who ever is streaming th music
and maybe this will help
Quote:

Originally Posted by KirbyDE
X must be replace with the usergroupid.

If you want to check for several groups

HTML Code:

<if condition="is_member_of($bbuserinfo, x) or is_member_of($bbuserinfo, y) or is_member_of($bbuserinfo, z)">
your stuff here
</if>


You can also specify which groups are allowed to access radio.php (put this right after require global):

PHP Code:

if (!is_member_of($bbuserinfox) and !is_member_of($bbuserinfoy) and !is_member_of($bbuserinfoz)) {
  
print_no_permission();




lanc3lot 11-28-2004 09:07 PM

Sorry, in what pages i must change so i can make it play only for my registered users, admins, and mods - super mods ?:D

As i am mixed up and cant get it from what the djjeffa said in the above post?:D


All times are GMT. The time now is 03: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.01282 seconds
  • Memory Usage 1,753KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (8)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
  • (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