![]() |
Need some help spare a minute please
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... |
I think your conditional should be
PHP Code:
|
doesnt seem to be working...
|
Do you have another plug-in at that location doing a print_output for the template?
|
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 |
Wait why are you using a plug-in? You can just directly edited that template for that style....
|
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 |
See reply #2
|
alright i found a solution to what i was trying to do...
Thanks for your help |
All times are GMT. The time now is 05:09 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|