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
A couple of suggestions.
#3
I've never used wordpress so I don't know if it's the same.

I've manually done it by changing edit.php and adding in 4 new input boxes, one for pageType, allowComments , subTitle and publishDate , also changed "inc\changedata.php" modified to add/edit these values in the XML files.

This allows me in the main template file to check the page type and if a blog item display the item with comments etc...

If these could be dynamically added in from say a customfields.xml file from within the template it would mean we could have much more flexibility on the pages.

I'll have a go at implementing something rough over the weekend.

Mike.
My Github Repos: Github
Website: DigiMute
Reply


Messages In This Thread
A couple of suggestions. - by n00dles101 - 2009-08-07, 19:41:43
A couple of suggestions. - by ccagle8 - 2009-08-08, 02:04:49
A couple of suggestions. - by n00dles101 - 2009-08-08, 05:27:59
A couple of suggestions. - by n00dles101 - 2009-08-08, 05:52:50
A couple of suggestions. - by someone - 2009-08-08, 09:53:11



Users browsing this thread: 1 Guest(s)