cricket

Members
  • Content count

    99
  • Joined

  • Last visited


2 Followers



About cricket

  • Rank
    IPB Member

cricket's Activity

  1. cricket added a record in IP.Board   

    Member profile - blank name
    Don't know if this is isolated to this site or not, or if it's a converge issue or something, but http://forums.invisionpower.com/user/108761-antikano/ shows "'s Profile", " - Viewing Profile" and "<blank> has not set their status"
    • 0 replies
    • 0 views
  2. cricket added a comment: Hooks and classPostForms   

    Similarly, can't hook into forums/sources/classes/threaded.php
  3. cricket added a comment: Hooks and public_forums_forums_printtopic   

    If parseMessage was protected, I could simply do:

    [code]<?php

    class hide_hack_printtopic extends public_forums_forums_printtopic
    {
    private $hide_hack;

    public function doExecute( ipsRegistry $registry )
    {
    require_once( IPS_ROOT_PATH . 'sources/classes/class_hide.php' );
    $this->hide_hack = new hide( ipsRegistry::instance() );

    parent::doExecute( $registry );
    }

    protected function parseMessage( $message="", $row=array() )
    {
    $message = parent::parseMessage( $message, $row );
    return $this->hide_hack->parse( $message, $row['topic_id'] );
    }
    }

    ?>[/code]

    in my hook.
  4. cricket added a record in IP.Board   

    Hooks and public_forums_forums_printtopic
    Only the doExecute() method in public_forums_forums_printtopic is public and all others are private, and doExecute in the end calls [code] print $this->getPosts();

    exit;[/code]. This makes it really hard to do any data manipulation or add any content at the bottom without the hook basically copying the entire doExecute() and other methods without ever calling parent::.

    Ideally, I should be able to overload parseMessage to do any manipulation to the post.
    • 0 replies
    • 0 views
  5. cricket added a record in IP.Board   

    Hooks and classPostForms
    Tried to create an Action Overloader hook for admin/applications/forums/sources/classes/post/classPostForms.php and overloading _generateTopicSummary but it didn't seem to work.

    My code:

    [code]<?php

    class hide_hack_PostForms extends classPostForms
    {
    protected function _generateTopicSummary( $topicID )
    {
    echo __LINE__;
    exit;
    }
    }

    ?>[/code]
    • 0 replies
    • 0 views
  6. cricket added a comment: <application>_root_...   

    [quote name='stephaneL' date='10 August 2009 - 02:54 PM']
    Hello
    I make the upgrade of IPB 3.0.2 and reinstall the [url="http://www.unreal-solutions.org/downloads/Unreal%20Portal%203.0.1.zip"]Unreal Portal 3.0.1 for IPB 3.0.x[/url] and it still the same error: [code][b]Fatal error[/b]: Call to a member function portal_start() on a non-object in [b]/home/whitneyf/public_html/admin/applications_addon/other/uportal/modules_public/uportal/uportal.php[/b] on line [b]1142[/b][/code]
    Is it still an arror from IPB or Unreal ?
    note: I erase the skin of IPB master
    Thanks
    [/quote]

    It's still an IPB problem but Michael suggested a work-around that I'll implement into v3.0.2 of the portal.
  7. cricket added a record in IP.Board   

    wrong current_appcomponent used by portal
    In portal/extensions/coreExtensions.php the code says:

    [code] if( $row['current_appcomponent'] == 'calendar' )[/code]

    when it should be:

    [code] if( $row['current_appcomponent'] == 'portal' )[/code]
    • 0 replies
    • 0 views
  8. cricket added a comment: <application>_root_...   

    Sounds like a decent enough solution, but one question. Will there be a fix in the 3.0.2 update script where the skins are re-added for the people that have removed 'em?
  9. cricket added a comment: <application>_root_...   

    You get a chance to test this?
  10. cricket added a comment: Edit this poll - IPB Portal   

    Bump?
  11. cricket added a comment: <application>_root_...   

    Topic got cut, so just mentioning that <application>_root_templates.xml doesn't seem to import if the IP.Board skin is removed before installing the app.
  12. cricket added a record in IP.Board   

    <application>_root_...
    Removed the IP.Board skin, installed a new skin, and set it to master. Then installed IP.Tracker, IP.Shoutbox and Unreal Portal. For all of 'em, none of the skin bits were installed in the new skin. Going to either of the applications in the front-end gives a fatal error.

    http://dev.unreal-solutions.org/test/index.php?app=uportal
    http://dev.unreal-solutions.org/test/index.php?app=tracker
    http://dev.unreal-solutions.org/test/index.php?app=shoutbox
    • 0 replies
    • 0 views
  13. cricket added a record in IP.Board   

    initdata.php issue - Possib...
    Got this reported to me from a user on Unreal Portal.

    Tried to replace [code]define( 'IPS_DEFAULT_PUBLIC_APP', 'forums' );[/code] with [code]define( 'IPS_DEFAULT_PUBLIC_APP', 'uportal' );[/code] using Microsoft Sharepoint and it gave them the following

    [code]Warning: Cannot modify header information - headers already sent by (output started at /home/royaliri/public_html/forum/initdata.php:1) in /home/royaliri/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 93

    Warning: Cannot modify header information - headers already sent by (output started at /home/royaliri/public_html/forum/initdata.php:1) in /home/royaliri/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 96

    Warning: Cannot modify header information - headers already sent by (output started at /home/royaliri/public_html/forum/initdata.php:1) in /home/royaliri/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 100

    Warning: Cannot modify header information - headers already sent by (output started at /home/royaliri/public_html/forum/initdata.php:1) in /home/royaliri/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 101

    Warning: Cannot modify header information - headers already sent by (output started at /home/royaliri/public_html/forum/initdata.php:1) in /home/royaliri/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 102[/code]

    Using notepad to do the edit instead worked out.

    Maybe it's a windows vs unix newline issue?

    http://www.unreal-solutions.org/index.php?showtopic=1212&st=0&gopid=3319
    • 0 replies
    • 0 views
  14. cricket added a comment: Member location - Applications   

    Seems like "Viewing Online List" works, but for the calendar, it's definitely showing "Viewing Board Index"
  15. cricket added a record in IP.Board   

    Member location - Applications
    When viewing an application the member location in the online users says "Viewing Board Index" instead of "Viewing Calendar" or "Viewing Online Users" or "Viewing <App name here>".
    • 0 replies
    • 0 views