Jump to content

DawPi

Clients
  • Posts

    8,333
  • Joined

  • Last visited

  • Days Won

    19

Reputation Activity

  1. Like
    DawPi reacted to Jim M in My forum crashes every few minuets   
    Excellent. Glad to hear you found the issue. If it is one widely available, I'd recommend posting it here so others can be aware.
  2. Agree
    DawPi got a reaction from G17 Media in Table with external database.   
    Did you specify the $table->rowsTemplate value? 🙂
    It's required for a front DB Helpers if I'm not wrong.
  3. Agree
    DawPi got a reaction from deple in Table with external database.   
    Did you specify the $table->rowsTemplate value? 🙂
    It's required for a front DB Helpers if I'm not wrong.
  4. Like
    DawPi reacted to Daniel F in SEO Url with categories   
    That’s what bread crumbs are for and why they’re so important 🙂
    https://developers.google.com/search/docs/appearance/structured-data/breadcrumb
  5. Like
    DawPi reacted to Sonya* in SEO Url with categories   
    Search engines look for the Title and Description first, not URL. There are meta tags that are important. As for now all your categories have the same title and no description.
    You have to go to System -> Site Promotion -> Search Engine Optimization and then provide for each URL the title and description that includes the car model. Example:

    I would not mess with URL structure. The URL is almost unimportant if your page title and description are set properly. 😉 Tip: if you use the category description field in forum, it will be automatically mapped into a meta description tag.
  6. Haha
    DawPi reacted to Adriano Faria in [BUG 4.7.16] Same user reacted twice to a post   
    It seems you were excessively helpful. You deserved it twice. 😂
  7. Like
    DawPi got a reaction from TDBF in Hook Error Extending ipsContentController   
    Me. 🙂
  8. Like
    DawPi got a reaction from SeNioR- in Deposit money to users   
    Send them money directly on the bank account or PayPal? 🤔
  9. Like
    DawPi reacted to TDBF in Hook Error Extending ipsContentController   
    Hi,

    I'm not sure that this is an issue on my end or not.
    I have created a hook which extends class \IPS\Content\Controller, however when I try to edit the hook I get the following error.
    Anyone else getting this?
    Error: Call to undefined method ReflectionUnionType::getName() (0) #0 C:\wamp64\www\#\applications\core\modules\admin\applications\developer.php(3577): IPS\Plugin\_Hook->editForm() #1 C:\wamp64\www\#\system\Dispatcher\Controller.php(107): IPS\core\modules\admin\applications\_developer->editHook() #2 C:\wamp64\www\#\applications\core\modules\admin\applications\developer.php(69): IPS\Dispatcher\_Controller->execute() #3 C:\wamp64\www\#\system\Dispatcher\Dispatcher.php(153): IPS\core\modules\admin\applications\_developer->execute() #4 C:\wamp64\www\#\admin\index.php(13): IPS\_Dispatcher->run() #5 {main}  
  10. Like
    DawPi reacted to Martin A. in 4.7.16 (This site) Pagination on forums with a sub-forum doesn't "work"   
    If you go to this link, clicking page 1 in the pagination does not do anything at all. you can go to other pages, but it requires a full redirect, not a smooth content replace with javascript. Scroll down a bit before clicking, and notice how you'll end up on top of the page afterwards.
    https://invisioncommunity.com/forums/forum/497-technical-problems/page/3/
    This will only happen if the forum you view have a sub-forum. Works perfectly fine here
  11. Like
    DawPi reacted to SeNioR- in drag and drop handler for reordering the editor templates tabs   
    Totally agree! Moving tabs would be great.
  12. Like
    DawPi got a reaction from Eleeist in Some users receiving error page after 4.7.16   
    This is the same.
    Open forumRow template bit, find:
    Find:
    {{$count = \IPS\forums\Topic::contentCount( $forum, TRUE );}} Change to:
    {{$count = (int) \IPS\forums\Topic::contentCount( $forum, TRUE );}}  
    Does it help?
  13. Like
    DawPi reacted to teraßyte in Mixin for UI?   
    From the js file (line 61):
    ips.createModule('ips.ui.uploader', function(){  
    To create a new one you need to copy/paste the file in your app, change the name, update the names/references, edit the code you need, and call the new module's name in the HTML.
     
    This is the code that registers the module (I'll use the dialog one which is more used):
    ips.ui.registerWidget('dialog', ips.ui.dialog, [ 'url', 'modal', 'draggable', 'size', 'title', 'close', 'fixed', 'destructOnClose', 'extraClass', 'callback', 'content', 'forceReload' , 'flashMessage', 'flashMessageTimeout', 'flashMessageEscape', 'showFrom', 'remoteVerify', 'remoteSubmit' ], { lazyLoad: true, lazyEvents: 'click' } ); You need to change the dialog name (maybe dialogbis) which registers the widget. All the other values in the array are the options you can use inline.
     
    This is how the code would be with the original dialog module:
    <div data-ipsDialog data-ipsDialog-title="TITLE" data-ipsDialog-remoteSubmit data-ipsDialog-flashMessage="ITEM SUBMITTED"> This is how it would look with your updated dialogbis module:
    <div data-ipsDialogbis data-ipsDialogbis-title="TITLE" data-ipsDialogbis-remoteSubmit data-ipsDialogbis-flashMessage="ITEM SUBMITTED">  
  14. Like
    DawPi reacted to Stuart Silvester in Deleting IP Addresses does not work   
    Just to make sure that @MaNiAc LRSC does think they're going crazy, I added that after they pointed it out!
  15. Like
    DawPi reacted to Nathan Explosion in [Bug - 4.7.16 Beta 1] Combined Fluid View shows topics from the whole community   
    I'll be disabling that functionality until this is resolved then...just been alerted to a data leak (title of a private topic being visible) which is going to cause a few problems now that it's been seen.
    Test of a topic in a private forum, viewable by a normal member...
     

  16. Thanks
    DawPi got a reaction from Marafa in Counters not working   
    That number is updating frequently by the task, not live. Wait a little or run task called viewupdates.
    You mean that number displaying in the widget? 🙂
    It's cached, so wait a little or refresh them from a Support tab in the ACP by using a Clear System Caches button at the right of it.
     
    Everything is fine in the end.
  17. Like
    DawPi got a reaction from Thomas P in Portal App   
    I suggest that you base the newly created portal, i.e. the home page, on the Pages application. Much better and supported by the IPS.
  18. Like
    DawPi got a reaction from Claudia999 in Portal App   
    I suggest that you base the newly created portal, i.e. the home page, on the Pages application. Much better and supported by the IPS.
  19. Like
    DawPi got a reaction from Sonya* in Portal App   
    I suggest that you base the newly created portal, i.e. the home page, on the Pages application. Much better and supported by the IPS.
  20. Like
    DawPi got a reaction from Jim M in Version 4.7.15 patch   
    You need to download the entire package from the CA and upload all the files. IPS does not provide patch files alone.
  21. Like
    DawPi reacted to WebCMS in Blog URL incorrect   
    Not sure why it should work with a vague URL like
    /blogs/blog/5-x
    The correct URL is /blogs/blog/5-cricket
    Does the vague -x add any SEO value?
    That was my point 😀
  22. Like
    DawPi reacted to Marc Stridgen in Banned account in the Trial   
    It seems you blocked everyone there. The * is a wildcard character. So essentially an "Anything here". So for example, if you added 10.1.*.100 it would block 10.1.10.100, and 10.1.5446521551.100, but would not block 5.1.5.1. In your case, you added *, so said to block anything where the IP matches anything

  23. Like
    DawPi reacted to Mike Gholson in Things I need with Invision   
    As a community owner for over two decades, I wanted to give some personal feedback as to what I find very useful (and need) to keep my community alive. 
    Big Tech Competition:  The biggest challenge has been competing with other online services like FB, Reddit, Twitter, etc, etc.  You guys have hit the sweet spot in generating useful integrations to these services.  I would also like one for Linkedin but I'm sure that's on the radar.  With any competition like big tech, we can provide a more specialized touch to any community.  I hope we can still maintain this presence and I have a feeling IBP5 will give us even more ways to create active sites that give the big boys a run for their money.
    Monetization:  I have a specialized car club and, with Invision, I've been able to monetize our existence and pay our bills.  We are hosted on a dedicated server environment so we have our fair-share of bills.  I've looked into using a cloud-host but the costs don't justify simply putting a machine into a colo site.  We also have other bills like licensing, email services, and annual domain costs.  With the integrations to Google Adsense, Infolinks, and the paid subscription model (built into IPB), this has enabled us to pay these bills and continue well into the future.  The addition of Subscriptions has also helped us a LOT!!!!

    3rd Pary Marketplace:  I have appreciated the Invision Community capabilities with 3rd party apps (Marketplace).  However, I see these have been depreciated for the upcoming release.  Some of these modules really gave us an edge and we were able to stand out.  I fear that removing this integration may put us into a general category just like everyone else.  So, I hope the team considers opening this up again or at least making it easier for us to customize our sites to provide unique services.  Some of the more important apps for us are Member Garage, Member Maps, Classified Ads (big one), Tapatalk, and Member Info blocks (we use member numbers for members to use as discount codes to our partners).
    Advertising Banners:  We have used, and will continue to use banner sponsor placements on our site.  The one place we are missing is at the top of the screen.  Of course we can always do a pop-up or slide-down style ad.  But people tend to hate these and disable them.  So, if we can add more customizable locations for these banners, it would be a big hit for our business.  
    Google & SEO:  This service is so strange and it seems to change every other quarter.  New rules all the time, and I've gone from ~$700/mo in banner income to ~$125/mo.  I have no idea why this is, but I did notice that Google doesn't do very well with active community sites (they prefer static pages I guess).  So, if you are building something new with the release of IPB5, I would be very interested to see how we can improve our SEO or even Google results.
    Forum Layout:  I *REALLY* like the new look of your forum design in IPB5.  I cannot wait to use it.  The one thing our members really appreciate are the active notifications and easy way to see how things changed over the last 24/48 hours.  The new features coming seem to compliment this very well.  Not to mention a lot of people have been asking for the light/dark mode and it will be nice to see this capability built-in rather than having to design our own.
    Community Experts:  I did see something about the addition of community experts.  VERY GOOD addition!!  In an automotive community like ours, there are always guys hanging around that are considered RL experts as well.  I'd love to give them the recognition they deserve and let people know they actually *DO* know what they are talking about.  I hope this is an 'approved only' capability as I am sure some people may request this status and don't really deserve it.  😉
    Downloads, Knowledgebase, Gallery:  These existing capabilities are huge wins for us.  Although I would like to see an update to Gallery, the majority of the existing features work very well.  I hope these stay and continue to see improvements as the product goes into the next stage.
    Blogs:  For us, the blog module has been a strange experience.  Some guys know how to use it, while other people tend to post questions and use it like a forum.  If we were to continue using blogs, it might be a great idea to make sure end-users know they are in a "blog module" rather than part of the forums.  It's hard to explain on text but honestly I think people get confused as to what a blog is versus a forum.
    All in all, I am so happy to see that I've invested with a company that is taking this product to the next level.  Your team is amazing and it's reassuring to see that private communities are still a necessary part of the Internet.  As we continue forward, please understand that I'll stick around as a long term customer.  Just don't jack up the rates too high on us.   😉
    Mike
  24. Like
    DawPi reacted to Sonya* in Addition of "Reply" Only Option   
    Ask @DawPi or other provider. This plugin is really basic and simple. 😉
  25. Like
    DawPi reacted to teraßyte in [4.7.15] DATE form helper bug with timezones when checking min/max date   
    The \IPS\Helpers\Form\Date class does not account properly for a member's timezone when the min and/or max options are set.
     
    This is the file's code on lines 303-314 in the validate() function:
    if ( $this->value and $this->options['min'] !== NULL and $this->options['min'] > $this->value ) { $string = $this->options['min']->setTimeZone( $timezone )->localeDate( \IPS\Member::loggedIn() ); if( $this->options['time'] ) { $string .=' ' . $this->options['min']->setTimeZone( $timezone )->localeTime( \IPS\Member::loggedIn() ); } throw new \LengthException( \IPS\Member::loggedIn()->language()->addToStack('form_date_min', FALSE, array( 'sprintf' => array( $string ) ) ) ); } /* Check maximum */ if ( $this->value and $this->options['max'] !== NULL and $this->options['max'] < $this->value ) { $string = $this->options['max']->setTimeZone( $timezone )->localeDate( \IPS\Member::loggedIn() ); if( $this->options['time'] ) { $string .=' ' . $this->options['max']->setTimeZone( $timezone )->localeTime( \IPS\Member::loggedIn() ); } throw new \LengthException( \IPS\Member::loggedIn()->language()->addToStack('form_date_max', FALSE, array( 'sprintf' => array( $string ) ) ) ); }  
    The code doesn't account at all for the timezone when checking the min/max values against the entered value:
    $this->options['min'] > $this->value $this->options['max'] < $this->value The timezone is added only inside the IF check to display the error, but not before it for the check:
    $string = $this->options['min']->setTimeZone( $timezone )->localeDate( \IPS\Member::loggedIn() ); $string = $this->options['max']->setTimeZone( $timezone )->localeDate( \IPS\Member::loggedIn() );  
    This causes the check to fail for a user close to the UTC timezone, while it passes for a user with a more distant timezone.
     
    Here is an example with 2 different timezones (Rome & New York):
    DEBUG CODE: ================================================== print_r( $this->value ); print_r( $this->options['min'] ); print_r( $this->options['min']->setTimeZone( $timezone ) ); var_dump( $this->options['min'] > $this->value ); exit; ================================================== OUTPUT FOR ROME TIMEZONE: ================================================== IPS\DateTime Object ( [date] => 2024-03-02 00:01:00.000000 [timezone_type] => 3 [timezone] => Europe/Rome ) IPS\DateTime Object ( [date] => 2024-03-02 00:58:41.440303 [timezone_type] => 3 [timezone] => UTC ) IPS\DateTime Object ( [date] => 2024-03-02 01:58:41.440303 [timezone_type] => 3 [timezone] => Europe/Rome ) bool(true) ================================================== OUTPUT FOR NEW YORK TIMEZONE: ================================================== IPS\DateTime Object ( [date] => 2024-03-02 02:41:00.000000 [timezone_type] => 3 [timezone] => America/New_York ) IPS\DateTime Object ( [date] => 2024-03-02 00:52:00.648474 [timezone_type] => 3 [timezone] => UTC ) IPS\DateTime Object ( [date] => 2024-03-01 19:52:00.648474 [timezone_type] => 3 [timezone] => America/New_York ) bool(false)  
    As you can see from the debug output above, the member with a Rome timezone fails to pass the check (TRUE triggers the error), while the New York timezone passes the check (FALSE doesn't trigger the error).
     
    The timezone must be added to the min/max checks before the check is done, and not after to display only the error.
×
×
  • Create New...