The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
i have no idea what im doing but im messing with the plugin manager
i added a code and am using hook postbit_display_complete when i put this require_once(DIR . '/includes/functions_amazonid1.php'); $post['message'] = Amazon_Cobrand_Link($post['message']); it works exactly as how i want it ... but when i do this if ($style[styleid] == '7') { require_once(DIR . '/includes/functions_amazonid1.php'); $post['message'] = Amazon_Cobrand_Link($post['message']); } it doesnt work anymore if someone can point me in the right direction that would be great... |
#2
|
||||
|
||||
![]()
I think your conditional should be
PHP Code:
|
#3
|
|||
|
|||
![]()
doesnt seem to be working...
|
#4
|
||||
|
||||
![]()
Do you have another plug-in at that location doing a print_output for the template?
|
#5
|
|||
|
|||
![]()
sorry i have no idea what that means if you could please explain
if you can give me information on where to look and what to look for i can try.. i am very limited i am just trying to piece an existing hack to work how i need it to so far im successful 2 out of 3 and this one doesnt seem to work. i also tried if ($styleid == 7) { and it doesnt seem to work either do u mean do i have another plugin in the same hook location ? if that is the question no i do not |
#6
|
|||
|
|||
![]()
Wait why are you using a plug-in? You can just directly edited that template for that style....
|
#7
|
|||
|
|||
![]()
well currently right now
i have require_once(DIR . '/includes/functions_amazonid1.php'); $post['message'] = Amazon_Cobrand_Link($post['message']); ands its working exactly as i want it to ... but i only need it to work on certain styles ok i tried doign this if ($style[styleid] == '7') { echo "something blah blha blah"; and it doesnt echo so i must need help here i also did this echo "$styleid = styleid"; and this showed up = styleid = styleid = styleid = styleid |
#8
|
|||
|
|||
![]()
See reply #2
|
#9
|
|||
|
|||
![]()
alright i found a solution to what i was trying to do...
Thanks for your help |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|