vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - X TV 1.0 (an additional radio and TV add-on) (AKA Adult TV) (https://vborg.vbsupport.ru/showthread.php?t=161049)

Dream 10-25-2007 11:24 AM

Just a note, you don't need to donate to me or mark installed my add-on if you use this. This mod's credits go to yoyoyoyo.

of course if you really wanna donate I won't refuse it

thedvs 10-25-2007 01:01 PM

Thanks vb.org for allowing this... wonder why that is eh?:) ahem, great mod, nominated for mod of month.

BadgerDog 10-25-2007 01:04 PM

Installed.... thanks .... :)

Seems to work fine, except for the loads of "buffering" pauses in video, which must be a server loading issue?

I'd like to move the link from the Navbar to the drop down "Quick Links" at the bottom and just make it available for Admins (usergroup 6). I'm not a coder, so could someone post for me the template code and where to out it that will accomplish that?

Thanks in advance.... :)

Regards,
Badger

yoyoyoyo 10-25-2007 01:48 PM

Quote:

Originally Posted by BadgerDog (Post 1368293)
I'd like to move the link from the Navbar to the drop down "Quick Links" at the bottom and just make it available for Admins (usergroup 6). I'm not a coder, so could someone post for me the template code and where to out it that will accomplish that?

In your navbar template look for:
Code:

<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
after that add:
Code:

<if condition="is_member_of($bbuserinfo, 5, 6, 7)"><tr><td class="vbmenu_option"><a href="$vboptions[bburl]/Xtv.php">X TV</a></td></tr></if>
That will add the link in the "Miscellaneous" section of the quicklinks, below "Who's Online." Change the 5, 6, 7 to the usergroup ID's of the usergroups that you want to allow to see the link ( I included the other usergroups in order to show other people how to add multiple usergroups, but since you want to make it available only to admin's then change the 5, 6, 7 to 6).

BadgerDog 10-25-2007 01:59 PM

Quote:

Originally Posted by yoyoyoyo (Post 1368322)
In your navbar template look for............<snip>

Thank you Sir... :up:

Worked great... :)

Regards,
Badger

Snake 10-25-2007 03:36 PM

Thanks for the release!

da420 10-25-2007 05:24 PM

Thanks for this...

I downloaded this and have marked it as installed, but have not 'installed' it. I don't really want 2 radio hacks and since my members have to agree that they are 18 or older or they are denied registration anyways would it be possible to use this XML to add the stations to the existing Radio/TV hack by Dream?

Dream 10-25-2007 05:26 PM

yes

da420 10-25-2007 05:32 PM

Quote:

Originally Posted by Dream (Post 1368525)
yes

Great! Thanks to the both of you, especially for allowing people to alter and re-release your code. :D

Dream 10-25-2007 05:33 PM

read the xml first and check what category it adds to not mess with your categories


All times are GMT. The time now is 04:56 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.01203 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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