The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 861 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
php if statement
#14
I would love it to work this way, I am not good enough at PHP to write this though.

My reason for checking to see if the theme folder called iPhone exist is so if it doesn't,
it will not just display a blank page. Also, Zegnat I believe is the one who told me to change
the theme like I am wanting to all I need to do is set the $TEMPLATE to the name of the iPhone
theme if the browser is an iPhone.

If you would be willing to assist me in the code for this, I would be very willing to do this.

I think it would require the following:
Admin function with the options:
1. Enable/Disable (Using xml)
2. Select theme from list of available themes
3. Save
End user:
1. Automatically change theme to Admin selected theme
2. Enable/Disable switch (Using a cookie)

Does this all make sense?

Would you will be willing to co-develop this plugin with me?

Thanks
JWH Technologies
Have any marketing ideas for Get-Simple? Let me hear them!
Reply


Messages In This Thread
php if statement - by JWH_Matthew - 2010-03-16, 08:20:43
php if statement - by internet54 - 2010-03-16, 08:30:27
php if statement - by JWH_Matthew - 2010-03-16, 10:07:11
php if statement - by internet54 - 2010-03-16, 11:33:59
php if statement - by JWH_Matthew - 2010-03-16, 11:36:51
php if statement - by JWH_Matthew - 2010-03-16, 11:41:19
php if statement - by baris - 2010-03-16, 12:47:39
php if statement - by JWH_Matthew - 2010-03-16, 12:57:00
php if statement - by baris - 2010-03-16, 13:41:06
php if statement - by JWH_Matthew - 2010-03-16, 13:49:48
php if statement - by baris - 2010-03-16, 13:54:07
php if statement - by JWH_Matthew - 2010-03-16, 13:55:46
php if statement - by baris - 2010-03-16, 14:07:58
php if statement - by JWH_Matthew - 2010-03-16, 14:16:23
php if statement - by baris - 2010-03-16, 14:22:28
php if statement - by JWH_Matthew - 2010-03-16, 14:28:02
php if statement - by baris - 2010-03-16, 14:33:56
php if statement - by JWH_Matthew - 2010-03-16, 14:36:54
php if statement - by baris - 2010-03-16, 14:40:45
php if statement - by JWH_Matthew - 2010-03-16, 14:48:33
php if statement - by baris - 2010-03-16, 14:53:53
php if statement - by JWH_Matthew - 2010-03-16, 14:57:58
php if statement - by baris - 2010-03-16, 15:20:10
php if statement - by internet54 - 2010-03-16, 15:24:32
php if statement - by JWH_Matthew - 2010-03-16, 15:38:19
php if statement - by internet54 - 2010-03-16, 15:39:21
php if statement - by JWH_Matthew - 2010-03-16, 15:44:25
php if statement - by Zegnåt - 2010-03-16, 16:45:55
php if statement - by sal - 2010-03-16, 18:59:10
php if statement - by Zegnåt - 2010-03-16, 19:34:52
php if statement - by baris - 2010-03-16, 22:01:18
php if statement - by JWH_Matthew - 2010-03-17, 00:55:03
php if statement - by baris - 2010-03-17, 01:36:18
php if statement - by JWH_Matthew - 2010-03-17, 14:44:58



Users browsing this thread: 8 Guest(s)