vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Petz V2 Exclude certain forums from adding $$$ (https://vborg.vbsupport.ru/showthread.php?t=64614)

krohnathlonman 04-30-2004 10:00 PM

Petz V2 Exclude certain forums from adding $$$
 
Open includes/functions_newpost.php

Find this
PHP Code:

   // ### Do Money Hack (part of petz hack) ### 

Right below it add replace 95 with whatever for you don't want included. You can easily make this multipe times if you want to exclude several forums.
PHP Code:

   if($threadinfo['forumid']!=95){ 

Find This
PHP Code:

   // ### SEND EMAIL TO MODERATORS ### 

Above that add
PHP Code:




Blaminator 05-03-2004 05:45 AM

Dont mean to be a critic, but shouldnt you put this as an attatchment to stop those non-license holders to get hold of it?

deathemperor 05-03-2004 06:20 AM

non-license could never see the code inside the [php] tag

Blaminator 05-03-2004 06:30 AM

Really? lol I never knew that :S Oh well, nice hack anyway

krohnathlonman 05-03-2004 02:00 PM

Even if they could see the PHP tags they'd still have to have petz v2 which is available as an attatchment ;) with a mod this small I wouldn't worry about the lame people without licenses


All times are GMT. The time now is 10:03 AM.

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.01103 seconds
  • Memory Usage 1,715KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete