The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I am trying to mod a hack i downloaded to use for my site but im a bit confused on how to get it to do what i want
hook location: showthread_postbit_create i tried this and it doesnt work im basically looking to change the functions file based on styleid here is orginal: require_once(DIR . '/includes/functions_amazon.php'); $post['pagetext'] = process_amazon_links($post['pagetext']); __________________________________________________ __ if ($style[styleid] == '7') { require_once(DIR . '/includes/functions_amazon7.php'); } else { require_once(DIR . '/includes/functions_amazon.php'); } $post['pagetext'] = process_amazon_links($post['pagetext']); i dont know any programming but if you can help that would be appreciated im a idiot ... i didnt look at the hook location hook location: showthread_postbit_create so my code did work... |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|