PhpBB/Joomla Comments

E-mail Print
Article Index
PhpBB/Joomla Comments
Page #
Page #
Page #
Page #
Page #
All Pages

We're in the home stretch here.

  • NOTE: This problem does not seem to crop up anymore with the newest version of the component. Do not bother with this unless you get to the end and you get an error message relating to bbcode.php.
    Now to fix a sometimes error. Not really sure why it happens, but this fixes it. It's a clunky fix and I'd appreciate any insight as to why it happens or any more elegant solutions. If you use multiple templates in PhpBB, this fix could be trouble, not in a broken way, but in an "it looks weird" way.

     
    open includes/bbcode.php 
    ----FIND line 46 ---- 
    $tpl_filename = $template->make_filename('bbcode.tpl'); 
    
    ----REPLACE WITH----
    
    $tpl_filename = $template->make_filename('YOUR ROOT PATH TO bbcode.tpl');
    

    Again, REMEMBER TO REPLACE
    YOUR ROOT PATH - with the name of your template, in my case "SubGreen". I.E. '/home/USER/www/components/com_forum/templates/TEMPLATE/bbcode.tpl'.

  • I've changed the "READ MORE" link to read "Read more and View Comments". You can do this in the administrator section of Mambo. Go to
    Site>Language Manager>Site Languages and change it there.

  • The code for space:
  • & nbsp ;
    
  •  (remove spaces) from wysiwyg editors shows up in PhpBB. You can get rid of it by doing this --
    open com_forum/viewtopic.php:
    ----AFTER line 1050---- 
    $message = $postrow[$i]['post_text']; 
    
    ----ADD---- 
    
    $message = str_replace("amp;nbsp", "nbsp", $message);
    
  • NOTE: I no longer recommend this next hack. I would recommend just allowing HTML in all posts. If you do, and posting HTML is still a problem, post your problem in the comments section.
    If you do not want your entire board to be allowed to post in HTML, do the hack described here. It allows ADMINS (like your CommentBot) to post in HTML.


  •  

    Chris on Twitter

    Related: If hotels and airports didn't exist, would Headline News have ANY viewers? #TheyDontNow #IStillHaveACrushOnChristiPaul
    JFK had security msgs, gate instructs, kids, and CNN Headline News all blaring at full volume. Calcutta train station probably less chaotic.
    Currently sitting in JFK, suffering through my flight's delay. #IambicRhyme #IDidNotDoThatConsciously
    JFK mess as usual, everyone pissed incl. check-in agent til she saw my ID. #MyLicensePhoto Bringing smiles to bouncers & security since 2007
    @AlexisAvenged Because I can. If I buy the phone, I should be able to do whatever I want with it. Its MY phone, not Motorola's. #Dealbreaker

    Popular Entries