vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Realtime Template Compressor: Reduces page sizes, loads pages faster, saves bandwidth (https://vborg.vbsupport.ru/showthread.php?t=83248)

Julie 10-12-2005 05:15 PM

Quote:

Originally Posted by Triple_T
This looks really usefull knowing that we need to cut down on bandwidth!!
Thanks again ShiningArcanine, KirbyDE and others for working on this.

Does anyone know how (or where) to add the if conditional to show the stats on pages only to admins?

I couldn't find where the code bit itself was at the moment, but:

PHP Code:

<if condition="($bbuserinfo['usergroupid'] == 6)">
    <
p>Code here for compressor</p>
<else />
    <
p>Something else perhaps?</p>
</if> 

If 6 is your admin group...

Julie 10-12-2005 05:18 PM

Quote:

Originally Posted by Emil
Thanks! A little question though. I've never installed a plugin before, only products. So what do I choose in the "Hook Location
This specifies the location within the vBulletin code of the hook that will fire this plugin function."
option field?

Hey,

In your AdminCP, just find Plugin System and then Download / Upload Plugins. And just upload the files there, and it does all the work for ya! :)

Emil 10-12-2005 07:11 PM

Quote:

Originally Posted by Julieh
Hey,

In your AdminCP, just find Plugin System and then Download / Upload Plugins. And just upload the files there, and it does all the work for ya! :)

:nervous: ahh thank you!

Emil 10-12-2005 08:58 PM

It always says "saving 0.00 Kb. (0.00%)" for me. Do I do something wrong or is there just nothing to save on? lol

dutchbb 10-14-2005 12:24 PM

Quote:

Originally Posted by Julieh
I couldn't find where the code bit itself was at the moment, but:

PHP Code:

<if condition="($bbuserinfo['usergroupid'] == 6)">
    <
p>Code here for compressor</p>
<else />
    <
p>Something else perhaps?</p>
</if> 

If 6 is your admin group...

Thanks, already tried that with no luck. The code or variable isn't in the templates but in the plugin, if I add the conditional there, it has no effect :(

glorify 10-17-2005 08:54 PM

Advanced Thread Previews get all the paragraphs stripped if you edit a thread. Quick AJAX edits keep the paragraphs. Fix?

dethfire 10-17-2005 10:53 PM

Quote:

Originally Posted by glorify
Advanced Thread Previews get all the paragraphs stripped if you edit a thread. Quick AJAX edits keep the paragraphs. Fix?

Yeah I mentioned this problem earlier.

glorify 10-22-2005 12:29 AM

Anyone with a fix on this or should I uninstall?

Samira 10-25-2005 11:34 PM

Had to uninstall until the editor issue is fixed.

glorify 10-25-2005 11:48 PM

Me too. :(


All times are GMT. The time now is 03:13 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.01160 seconds
  • Memory Usage 1,744KB
  • 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
  • (5)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