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)

Zia 10-22-2007 07:07 AM

working nicely--

but it execute many sql queries...any way to reduce the sql query ?

Dream 10-22-2007 08:07 AM

No, there isn't. But the sqls are ok, as the page isn't loaded often like a thread.

Dream 10-22-2007 08:15 AM

Quote:

Originally Posted by thedark1 (Post 1365091)
awesome hack, thanks.... i cant seem to see where the reports go, are they sent via email or pm?

When there is a report, it appears at the bottom of the page.

Dream 10-22-2007 09:01 AM

I'm working on a new version to move the permissions to the vb permissions system, and also to view who rated a station and how much.

If you like that say YEAH!!!

Oh and I'll try to add subcategories. Making the import script use subcategories should be difficult though.

Stifmeister2 10-22-2007 09:59 AM

YEAH!!! :p

yoyoyoyo 10-22-2007 11:01 AM

sounds good - looking forward to see what you come up with

Dream 10-22-2007 11:04 AM

Permissions and ratings pop-up window down, now to mess with subcategories.

There's a new permission "can view add-on", I think some people wanted this.

ninjashoes 10-22-2007 11:06 AM

for vb advanced

Code:

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


Code:

<script type="text/javascript">
<!--
function openRadioAndTV(){
radioAndTVWindow = window.open('http:yoursite.com/forumdirectorywhateveritis/radioandtv.php', 'radioandtv', 'directories=no,height=500,width=700,location=no,menubar=no,resizable=yes,status=no,scrollbars=yes,toolbar=no');
}
//-->
</script>


evesve 10-22-2007 01:54 PM

Yeah!!!

thedark1 10-22-2007 02:01 PM

I've translated the user interface and user controls into Arabic (the tv/radio page, not the admincp pages) If anyone wants....

or if dream would like I can give him the xml to include in his main post...

gimme a pm...

yoyoyoyo 10-22-2007 02:57 PM

Quote:

Originally Posted by Dream (Post 1365803)
Permissions and ratings pop-up window down, now to mess with subcategories.

There's a new permission "can view add-on", I think some people wanted this.

Hate to be a bother, but can you possibly add a permission to each category - for instance - "can view television" or "can view news"? (or "can view porn"? ;))

Dream 10-22-2007 03:31 PM

I'll leave that for you when you make your "distribution" of this mod.

Dream 10-22-2007 07:59 PM

Version 1.4 released
- moved group permissions to vb's permission system
- added "can view add-on" permission
- added window popup that shows who rated each station

subcategories has been postponed unfortunately.

Also this mod is now "Re-usable Code", meaning you can modify it and release your own "distribution" of the add-on. Have fun with that :)

edit: oh don't forget to re-translate your rs_average_x_votes phrase if you have it translated

edit2: if you don't want any of the new features you don't need to upgrade

iogames 10-22-2007 08:10 PM

Quote:

Originally Posted by Dream (Post 1366177)
Version 1.4 released
- moved group permissions to vb's permission system
- added "can view add-on" permission
- added window popup that shows who rated each station

subcategories has been postponed unfortunately.

Also this mod is now "Re-usable Code", meaning you can modify it and release your own "distribution" of the add-on. Have fun with that :)

edit: oh don't forget to re-translate your rs_average_x_votes phrase if you have it translated

Thanks!

KURTZ 10-22-2007 08:30 PM

UPDATED!

thx Dream ;)

Dream 10-22-2007 09:29 PM

No problem :)

I take it everything is working :P

iogames 10-22-2007 10:11 PM

Duh!

Now why I can listen my Radio?
Quote:

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

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

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?
If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
I went to Options and set the permissions for all the groups to listen :'(

Dream 10-22-2007 10:14 PM

You need the "Can View" option on yes on the usergroup permissions, you have that?

iogames 10-22-2007 10:27 PM

Quote:

Originally Posted by Dream (Post 1366286)
You need the "Can View" option on yes on the usergroup permissions, you have that?

Ooops and where exactly is that? [since I can't see it] :(

Dream 10-22-2007 10:31 PM

Usergroups >> Edit the user group and set permissions

iogames 10-22-2007 10:33 PM

Quote:

Originally Posted by Dream (Post 1366302)
Usergroups >> Edit the user group and set permissions

LOL Thanks Sir!
[never been on that section before :P]

Dream 10-22-2007 10:37 PM

lol np :P

Fungsten 10-22-2007 11:47 PM

Dream, I went into the Usergroup permissions and didn't see anything to set the permissions. VB 3.6.8 PL1. I was updating from your 1.3.

Dream 10-22-2007 11:59 PM

Try rebuilding your bitfields and going to the user group settings again... Now to how rebuild the bitfields... it's

admincp/index.php?do=buildbitfields

Make sure you uploaded the bitfields_radioandtv.xml first

TheBlackPoet 10-23-2007 12:12 AM

you continue to improve on perfection!!!!! thanks a bunch...

Fungsten 10-23-2007 12:24 AM

Quote:

Originally Posted by Dream (Post 1366351)
Try rebuilding your bitfields and going to the user group settings again... Now to how rebuild the bitfields... it's

admincp/index.php?do=buildbitfields

Make sure you uploaded the bitfields_radioandtv.xml first

I tried it again and it didn't work. But, Where do you put admincp/index.php?do=buildbitfields?

Dream 10-23-2007 12:31 AM

Its the URL address you need to enter to rebuild your bitfields

Fungsten 10-23-2007 12:34 AM

Quote:

Originally Posted by Dream (Post 1366372)
Its the URL address you need to enter to rebuild your bitfields

I don't understand? Where do I put that?

Dream 10-23-2007 12:35 AM

http://www.yourforum.com/admincp/ind...buildbitfields

or

http://www.yourforum.com/forum/admin...buildbitfields

Dream 10-23-2007 12:49 AM

hope you get it working, cause I need to go now, good luck

Fungsten 10-23-2007 12:49 AM

Still didn't work. I'l try it later when I have the time.

FireFish 10-23-2007 03:58 AM

After upgrading to 1.4, I get this error below when attempting to click vBRadio Control item in my Navigation Pane in AdminCP:

Quote:

Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT * FROM radio;

MySQL Error : Table 'db***********.radio' doesn't exist
Error Number : 1146
Date : Tuesday, October 23rd 2007 @ 12:56:35 AM
(db****** is a placeholder for my DB name)
Running 3.6.8 PL1

thedark1 10-23-2007 12:18 PM

Dream, is it possible to give us the code changes from 1.3 to 1.4 so that I can keep my translations and upgrade to 1.4?

skcyber 10-23-2007 12:34 PM

thx a lot ! ;)

evesve 10-23-2007 12:36 PM

Hi!
I have one suggest for the next update...

Step1:
In "Radio and TV Station Listing"
One more column with "Category" ??
Than it is easy to copy and paste to excel.

Step 2:
Order by Station or Category

Dream 10-23-2007 09:43 PM

Quote:

Originally Posted by FireFish (Post 1366470)
After upgrading to 1.4, I get this error below when attempting to click vBRadio Control item in my Navigation Pane in AdminCP:



(db****** is a placeholder for my DB name)
Running 3.6.8 PL1

Seems to me that link is from your old VBRadio mod, not from my Radio and TV mod. You must have a cpnav file in includes/xml/ from that mod.

Dream 10-23-2007 09:45 PM

Quote:

Originally Posted by thedark1 (Post 1366705)
Dream, is it possible to give us the code changes from 1.3 to 1.4 so that I can keep my translations and upgrade to 1.4?

Sorry I can't, you can get that using a diff program. I don't know of any programs for windows.

But, you don't lose your translations when you upgrade.

Dream 10-23-2007 09:46 PM

Quote:

Originally Posted by evesve (Post 1366716)
Hi!
I have one suggest for the next update...

Step1:
In "Radio and TV Station Listing"
One more column with "Category" ??
Than it is easy to copy and paste to excel.

Step 2:
Order by Station or Category

The new column would mess the layout, theres no space for a new column. The sorting I'll think about it.

Michael2 10-24-2007 12:53 AM

Wow, this is really cool! Thank you so much! I'm going to let everyone try it for a week and then make it available only to contributing members.

evesve 10-24-2007 07:44 AM

Quote:

Originally Posted by evesve (Post 1366716)
Hi!
I have one suggest for the next update...

Step1:
In "Radio and TV Station Listing"
One more column with "Category" ??
Than it is easy to copy and paste to excel.

Step 2:
Order by Station or Category

Quote:

Originally Posted by Dream (Post 1367044)
The new column would mess the layout, theres no space for a new column. The sorting I'll think about it.

OK, I understand that.
Can we get a list with only Station, Category and Description in AC?
It would help us to get a better overview


All times are GMT. The time now is 05:57 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.02182 seconds
  • Memory Usage 1,823KB
  • 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
  • (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