vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Mini Mods - Vb-Skysa Toolbar (https://vborg.vbsupport.ru/showthread.php?t=235670)

Cybertims 02-21-2010 08:53 AM

Simple mod to this....

I only wanted this to load one one page rather than every page and each time I read a thread....so I changed this below in the Skysa Toolbar/Global_start plugin, I removed all text and replaced with this....

index being the main page you want it to load on, rename that to whatever you want if you need it to load elsewhere.

PHP Code:

if(THIS_SCRIPT == index')
{    
eval('
$skysa_toolbar "' . fetch_template('skysa_javascript') . '";');



TRa5H 02-22-2010 06:43 AM

Awesome!!

Cybertims 02-22-2010 09:07 AM

or if you need it to show on multiple pages try this...

PHP Code:

if (in_array(THIS_SCRIPT, array('index''forum''forumdisplay')))
{    
eval(
'$skysa_toolbar = "' fetch_template('skysa_javascript') . '";');


Renaming, replacing or removing the pages index, forum or forumdisplay if you so wish.

TRa5H 02-26-2010 05:42 AM

When I finish the Final Full product I will give you credit for this help..

I am currently working on the user permissions and I will be adding this in..

So that when you imput the Serial in vbulletin option there will be user permission options as well as default or edited page options using your code.

If this is alright with you there Cybertims?

Cybertims 02-26-2010 09:17 AM

Quote:

Originally Posted by TRa5H (Post 1991807)
When I finish the Final Full product I will give you credit for this help..

I am currently working on the user permissions and I will be adding this in..

So that when you imput the Serial in vbulletin option there will be user permission options as well as default or edited page options using your code.

If this is alright with you there Cybertims?

There may be much better ways of achieving the same result as I wanted, I'm just not a coder and still learning the ropes mate, this worked for me so I thought I'd share it is all.....I dont need any credit for this, you carry on as you wish.

Cheers and thanks for the MOD

TRa5H 02-27-2010 07:18 AM

Sounds good... I am glad you like it!

Drareg 02-27-2010 06:56 PM

Interesting, but I would like to test it first if possible.
I have a test style on our board (3.8.2) can I just use it for this style so memebers can't see it yet?

Oh I now see it is for 3.8.4 so I guess it won't work with 3.8.2, hmmm shame! Or does it also work with 3.8.2?

TRa5H 03-05-2010 05:21 AM

should work for all 3.8

bada_bing 03-11-2010 07:34 PM

Quote:

Originally Posted by TRa5H (Post 1991807)
When I finish the Final Full product I will give you credit for this help..

I am currently working on the user permissions and I will be adding this in..

So that when you imput the Serial in vbulletin option there will be user permission options as well as default or edited page options using your code.

If this is alright with you there Cybertims?

Any updates to the usergroup permissions?

hpidriver 03-23-2010 05:00 AM

looks like a great add on but everytime i enable this i get this error message "Parse error: syntax error, unexpected T_VARIABLE in forumroot/public_html/forums/global.php(834) : eval()'d code on line 41"

Any help would be greatly appreciated, ide love to get this running on all my forums.


All times are GMT. The time now is 08:39 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.01219 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (2)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