The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 94 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 573 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 752 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 892 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 892 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined variable $unreadreports - Line: 25 - File: C:\sites\kwikcontent\supportforum\global.php(959) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php(959) : eval()'d code 25 errorHandler->error
C:\sites\kwikcontent\supportforum\global.php 959 eval
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: C:\sites\kwikcontent\supportforum\global.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\global.php 1024 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: C:\sites\kwikcontent\supportforum\inc\functions.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions.php 5308 errorHandler->error
C:\sites\kwikcontent\supportforum\global.php 1024 build_theme_select
C:\sites\kwikcontent\supportforum\showthread.php 28 require_once
Warning [2] Undefined array key "mybb" - Line: 2121 - File: C:\sites\kwikcontent\supportforum\inc\functions.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions.php 2121 errorHandler->error
C:\sites\kwikcontent\supportforum\inc\functions_indicators.php 41 my_set_array_cookie
C:\sites\kwikcontent\supportforum\showthread.php 669 mark_thread_read
Warning [2] Undefined array key "profilefield" - Line: 6 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code 6 errorHandler->error
C:\sites\kwikcontent\supportforum\inc\functions_post.php 484 eval
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 768 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 773 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code 6 errorHandler->error
C:\sites\kwikcontent\supportforum\inc\functions_post.php 484 eval
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 768 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 773 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code 6 errorHandler->error
C:\sites\kwikcontent\supportforum\inc\functions_post.php 484 eval
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 768 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 773 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code 6 errorHandler->error
C:\sites\kwikcontent\supportforum\inc\functions_post.php 484 eval
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 768 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 773 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "profilefield" - Line: 6 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php(484) : eval()'d code 6 errorHandler->error
C:\sites\kwikcontent\supportforum\inc\functions_post.php 484 eval
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 768 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: C:\sites\kwikcontent\supportforum\inc\functions_post.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\inc\functions_post.php 773 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1126 build_postbit
Warning [2] Undefined array key "threadprefix" - Line: 4 - File: C:\sites\kwikcontent\supportforum\showthread.php(1224) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php(1224) : eval()'d code 4 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1224 eval
Warning [2] Undefined array key "threadprefix" - Line: 4 - File: C:\sites\kwikcontent\supportforum\showthread.php(1224) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php(1224) : eval()'d code 4 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1224 eval
Warning [2] Undefined array key "invisible" - Line: 1568 - File: C:\sites\kwikcontent\supportforum\showthread.php PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php 1568 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 33 - File: C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code 33 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1600 eval
Warning [2] Undefined variable $search_thread - Line: 60 - File: C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code 60 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1600 eval
Warning [2] Undefined variable $addremovesubscription - Line: 82 - File: C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code 82 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1600 eval
Warning [2] Undefined variable $thread_deleted - Line: 104 - File: C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code PHP 8.1.28 (WINNT)
File Line Function
C:\sites\kwikcontent\supportforum\showthread.php(1600) : eval()'d code 104 errorHandler->error
C:\sites\kwikcontent\supportforum\showthread.php 1600 eval





Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text link ads code placement
#1
Hi Jeff,

If we wish to place the TLA code only on our homepage. (The code is in PHP). Which page do we edit and WHERE do we place this code?

Thanks Smile
Reply
#2
I'm not sure what you mean by "TLA code." Can you give me some specific files you're looking in and what code you are referring to?
Reply
#3
It's just a code in PHP that starts with <?php and ends with ?>. That's all.

1) So if I wish to place a simple PHP code on JUST the home page which template file do I edit for the same?

2) And if I wish to place a simple PHP code on the home page AND ALL internal pages, which template file(s) do I edit for the same?

Thanks a ton.
Reply
#4
Well actually, you may not be able to put your PHP code in the template files. The system uses Smarty to separate page logic (PHP) and display (HTML). Therefore, to do it properly, you would need to add your PHP code in the proper PHP file, assign the output of that code to a variable, and then assign that variable to smarty. You can then display that variable within the Smarty templates.

I realize that probably sounds a little confusing, so you may want to seek the help of a PHP developer. Unfortunately, the specifics of making this level of custom edits is outside the scope of support available here.

The below may work for you, but it depends on the PHP code you're trying to implement.

Instead of this <?php CODE GOES HERE ?>

Try this {php} CODE GOES HERE {/php} within the template file.

Best of luck.
Reply
#5
Thank you Jeff, it worked Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Link removal davidlt 2 16,759 10-20-2013, 09:17 PM
Last Post: kwikadmin
  Add Code Instead of Text jojo1000 2 7,751 03-04-2008, 05:17 AM
Last Post: jojo1000

Forum Jump:


Users browsing this thread: 1 Guest(s)