Jump to content

breezer

Members
  • Posts

    37
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Brunswick, Ga. (US)

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

breezer's Achievements

Jr. Member

Jr. Member (3/6)

40

Reputation

  1. If anyone gets an error after creating new users and logged in as an admin or higher concerning an undefined constant, here's the fix: Xforum/processors/xforum.admin_toolbar.php - line 93 find this: XFORUM_ADMIN_URL change to this: XFORUM_XADMIN_URL I have been reconfiguring the permissions setup, so I expect to have a new POC release in the next week or so.
  2. Thanks @bernhard for the video, I'll give it a view very soon. Sorry no real dev tools environment, I'm just a basic php novice stuck using windows 7 and notepad++ 🙂
  3. Your welcome @markus-th , thanks for your interest. As far as integrating into an existing site, I haven't gotten that far yet. I was going to tackle that soon but I have so many things to tidy up first, mainly documentation, messaging, etc etc etc. Adding some code to a template should work, but there is also a few code changes that would have to be made. I have never used github but I had planned on learning it in the future. Any thoughts or tips are welcomed, for now you can pm me or email ( bottom of home page ).
  4. Xforum is a proof of concept front end forum system and is currently for local testing only. To install, have a blank site ready using the newest Processwire version. Follow the instructions found in the xforum_install.txt file. There is no help documentation at the moment, but it is pretty easy to figure out once you click around a bit. I'll attach any new help files here as they are created. Have fun with it and any questions please don't hesitate. XforumPOC_1.0.0.zip
  5. Maybe just check if the field is empty. $page->sales_details =="" or $page->sales_details ==''
  6. I'm sorry I think I was sleep deprived and misunderstood when I read your post, so maybe this is what you were looking for: Sorry and hope this helps 🙂
  7. I use the following to create pages via API. I don't know how you have your setup, but you can add the code to a front end template in the content section so you can see the results printed. /* page: status 9 - published (default) 13 - locked / not editable 1033 - hidden 2057 - unpublished 3081 - hidden / unpublished template_id,parent_id,page_status,page_name,page_title,install_description */ $_SESSION['install_log'] =array(); $newp = array( '1,1,9,account2,Account2,User account', '1,1,9,profile2,Profile2,User profile', '1,1,9,register2,Register2,New registration', '1,1,9,tos2,Terms of Service2,Terms of Service', '1,1,9,search2,Search2,Forum search', '1,1,9,banned2,Banned2,Banned user landing page', '1,1,9,help2,Help2,Forum help' ); foreach($newp as $r){ $q =explode(',',$r); $p = new Page(); $p->template = trim($q[0]); $p->parent = trim($q[1]); $p->status =trim($q[2]); $p->name = trim($q[3]); $p->title = trim($q[4]); if($p->save()){ $_SESSION['install_log']['document_create'][$p->title]['id'] = $p->id; $status ='success'; }else{ $status ='failure'; } $_SESSION['install_log']['document_create'][$p->title]['status'] =$status; $_SESSION['install_log']['document_create'][$p->title]['description'] =$q[5]; } function print_array( $data ){ $text =print_r( $data, TRUE ); return '<pre style="font-size:15px; line-height:16px;">'.$text.'</pre>'; } echo print_array($_SESSION['install_log']);
  8. I saw this in a recent post by @cwsoft, it may be helpful in the future:
  9. @bernhard yes sir it is the same software but I did a bit more work on it before my computer was lost/stolen. I recently recovered the hard drive and got it up and running again, and hated to scrap the project. As stated earlier by @dynweb, unfortunately I agree and I don't really see much use for a forum anymore. I appreciate everyones time that posted ?
  10. Hello folks, I was working on a forum module which is about 65% done and was wondering if there would be enough interest to continue development. This would be a paid module of course due to the amount of time involved. I should have my workspace set back up in a few weeks, but later today I'll get a feature list and some screenshots of what I have so far and add them to this thread. Thanks for your time ?
  11. Although I only do website coding as a hobby, I've always used wampserver. By far it's the easiest to set up and use in my opinion ?
  12. I use the following method with success, in your module: public function init() { // add a hook after each page is rendered and modify the output $this->addHookAfter('Page::render', $this, 'page_after_render'); } public function page_after_render($event) { /** @var Page $page */ $page = $event->object; if( $page->template =='admin' ){ $head_include ='<link rel="stylesheet" type="text/css" href="PATH/TO/YOUR/CSS" /> '; $replace = array( '</head>' => $head_include .'</head>' ); $event->return = str_replace( array_keys( $replace ), array_values( $replace ), $event->return ); } } Pretty simple and $replace array can be extended as needed.
  13. Hello all, just an quick update on progress and a question or two. Although rewrite is going slow, I'm pretty happy with the results so far. The forum admin is working in front end and back end (both areas use the same file but with different tpls and stylesheet). User account on front end is working, I made it so new features can be easily added when needed. Front end forum is working, still have to finish the create and edit post functionality and straighten up alot of inline styles in the tpls. I decided to use the built in ckeditor for creation/editing and integrated roxy fileman to insert/manage attachments. Still a ways to go but I'm plugging along so hopefully there will be a test version out within the next couple weeks ?
  14. Looks pretty good to me on Firefox / Windows 7:
  15. EDIT: This has nothing to do with Tracy, I'm getting the same message with PW debug enabled so the issue is elsewhere. Thanks for your time. Is this a new issue for you in 4.16.8? To be honest I'm not sure, I didn't have it turned on lately and I upgraded this morning and noticed the message. Do you have any serialize() calls in your code anywhere? No I can't think of any but I'm going through all the files to check. Could you check in the Tracy logs directory: No files at all in the Tracy log directory. I also made the getExceptionFile() method only return true ( in module file and also checked filecompiler ) and still the message shows, so please don't waste any time on this as I have to assume it's something in my code somewhere. I'll look in all the files and see if I can figure it out. Again Happy New Year and thanks for a super tool ?
×
×
  • Create New...