vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Digital Point Spy (https://vborg.vbsupport.ru/showthread.php?t=243429)

Kaitlyn2004 05-10-2011 06:01 PM

Hmm tried to install it and got:
Quote:

Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in /path/to/forums/includes/class_template_parser.php
along with other errors.. and
Quote:

Fatal error: Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in [path]/includes/class_template_parser.php in [path]/vb/vb.php on line 287
Edit: On vB 4.0.3 PL1, FYI...

digitalpoint 05-10-2011 06:05 PM

What version of vB are you using?

Kaitlyn2004 05-10-2011 06:17 PM

Quote:

Originally Posted by digitalpoint (Post 2194138)
What version of vB are you using?

Edited post later, but on 4.0.3 PL1...

digitalpoint 05-10-2011 06:26 PM

You might want to upgrade... Earlier versions of vB4 had all sorts of template parsing bugs that were fixed in later versions.

huuquynh 05-14-2011 12:39 AM

Could you please tell me more about: Switched JavaScript library to from YUI to jQuery (for an end user, it means better animations).

Thanks!

Methok 05-30-2011 03:05 PM

I have seen it done on other sites where you need to be a premium user to use Digital Spy hack.

Would anyone know how to do this? I have it installed, Just need to limit its use.

Thank you.

- Methok

lycheepassion 05-30-2011 03:15 PM

mine isn't working?

Alan_SP 05-31-2011 01:56 AM

Quote:

Originally Posted by Methok (Post 2201718)
I have seen it done on other sites where you need to be a premium user to use Digital Spy hack.

Would anyone know how to do this? I have it installed, Just need to limit its use.

It's easy. Find plugin "Add Spy Link To Navigation" where you call link to it and use this condition around calling spy.php:

<vb:if condition="is_member_of($bbuserinfo,5,6,7)">

Now plugin should look like:

$template_hook['navbar_community_menu_end'] .= '<vb:if condition="is_member_of($bbuserinfo,5,6,7)"><li><a href="spy.php' . $session['sessionurl_q'] . '" target="_blank">' . $vbphrase['spy'] . '</a></li></vb:if>';

Of course, 5,6,7 are usergroups you want to allow access.

Mukashi 06-02-2011 11:00 PM

The same method could be used to allow registered users but not guests to use it as well?

Alan_SP 06-03-2011 01:50 AM

You put usergroups you want to see it. Any usergroups listed are able to view this link. Actually, you can use it for any link or content you want visible to selected usergroups. Link and content is inside statment.


All times are GMT. The time now is 09:12 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.01496 seconds
  • Memory Usage 1,735KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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