vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Any MUST DO thingies for vb3 hacking? (https://vborg.vbsupport.ru/showthread.php?t=60874)

etones 01-28-2004 06:11 PM

Any MUST DO thingies for vb3 hacking?
 
Hi all, in the process of finishing a hack, just wondering if there is/are anything i need todo to make sure it all works properly.

1) I've added my own custom permissoion (and bitfield operators), in the adminCP i've added the necesarry extra yes_no buttons. These permissions work fine, is there anything else I need todo for this?

2) I see alot of talk about cutom fields (i.e field40 :ermm: ). What are these, do they provide a way of tracking hacks lol, confused.

Any other hints/tips I should know?

Cheers
Taz

Xenon 01-28-2004 07:04 PM

don't forget to use the TABLE_PREFIX for mods

also it's better to use phrases than text in templates.

etones 01-28-2004 10:09 PM

Quote:

Originally Posted by Xenon
don't forget to use the TABLE_PREFIX for mods

also it's better to use phrases than text in templates.

Thanks for the reply.

Yah i have that sorted, just wondering if theres anything that could really kill the hack if I miss out lol

Taz

Zachery 01-28-2004 10:23 PM

Quote:

Originally Posted by etones
Thanks for the reply.

Yah i have that sorted, just wondering if theres anything that could really kill the hack if I miss out lol

Taz

make sure you cache your action templates and your templates you use. see my sig for the Howto Basics of vB3

Tradjick 04-02-2004 09:43 PM

Why are phrases good for? Considering, when I want to change a sentence (phrase) called by a hack, wouldn´t it be much easier to alter it in the code than having to rename the phrase in code and then having to import the new custom made phrase?

Velocd 04-02-2004 10:07 PM

Also never hard code text (especially HTML) in PHP files. It's very bother some when hackers do such.

Quote:

Why are phrases good for?
There is a language option with phrases. For the most part, people will probably use standard english, but if you would like to add another language for all phrases you can. (although that would be immensely time consuming, and altavista would be much faster).

It also puts all the text in one area and categorizes them. Easy to access and modify, especially for one who isn't savvy with vBulletin.

AN-net 04-03-2004 01:34 AM

you dont really need TABLE_PREFIX if your calling tables added not by vbulletin but by your hack etc.

Zachery 04-03-2004 02:07 AM

Quote:

Originally Posted by AN-net
you dont really need TABLE_PREFIX if your calling tables added not by vbulletin but by your hack etc.

You NEED TABLE_PREFIX if your calling data from other tables, its always important to use it regardless that way you use peoples prebuilt table prefixes.


All times are GMT. The time now is 12:32 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.01629 seconds
  • Memory Usage 1,725KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (8)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