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)
-   -   Miscellaneous Hacks - Who Quoted Me (https://vborg.vbsupport.ru/showthread.php?t=258001)

Wonksta 01-30-2011 12:35 AM

How hard would it be to implement this for only certain usergroups eg, paid members?

FreshFroot 01-30-2011 01:17 AM

Was waiting for this.. but seems like it has a lot of bugs right now.

FreshFroot 01-30-2011 01:19 AM

Quote:

Originally Posted by Wonksta (Post 2156263)
How hard would it be to implement this for only certain usergroups eg, paid members?

Not too hard, I might work on it myself. Set it so VIP groups can use it etc.. or X group(s)

Wonksta 01-30-2011 02:24 AM

Quote:

Originally Posted by FreshFroot (Post 2156280)
Not too hard, I might work on it myself. Set it so VIP groups can use it etc.. or X group(s)

Mate if you would be kind enough to forward me the code you placed to restrict groups I would greatly appreciate it.

The Mod appears to be working very well, notifications work nicely. However very important people follow darthos posts about amending the code slightly.

FreshFroot 01-30-2011 03:58 AM

Well I haven't tried it out fully. But, I will play with it this weekend and see how it goes and let you know.

Wonksta 01-30-2011 04:49 AM

Hmm would

PHP Code:

<if condition="is_member_of($bbuserinfo, array(5,6,7))"

Work efficiently if so where should that go in the XML?

FreshFroot 01-30-2011 05:02 AM

Well what I am thinking of doing is adding a section in acp, so you can select which usergroups can use this hack.

Wonksta 01-30-2011 05:10 AM

Quote:

Originally Posted by FreshFroot (Post 2156319)
Well what I am thinking of doing is adding a section in acp, so you can select which usergroups can use this hack.

Ahhh if only I was that good with coding!

I'll wait for you then :)

FreshFroot 01-30-2011 05:17 AM

Quote:

Originally Posted by Wonksta (Post 2156218)
What kind of stress does this put on the server fetching quotes?

From what I can tell it will put just a little bit more stress on the server compared to posting a new reply. Just because it's going to check if the post is quoted and then create a notification.

Wonksta 01-30-2011 05:38 AM

Quote:

Originally Posted by FreshFroot (Post 2156321)
From what I can tell it will put just a little bit more stress on the server compared to posting a new reply. Just because it's going to check if the post is quoted and then create a notification.

OK Should be OK then for only Premium Members I guess! Lookin forward to your usergroup mod now even more ;)


All times are GMT. The time now is 05:21 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.01284 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
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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