Jump to content

Adriano Faria

Clients
  • Posts

    31,590
  • Joined

  • Days Won

    473

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Adriano Faria

  1. 26 minutes ago, -FP said:

    Actually, the article IS already linked to the topic you promoted it from. I got confused because when you submit the article, it's creating another topic, but if you comment in the article, the posts are added to the topic the article was made from, not to this newly created topic after submiting the article. I guess it's a bug.

    Yes, I override that information.

    The thing is:

    1 - when promoting the first post, I will use the promoted topic as article topic. A new topic will not be created.

    2 - if not the first post, I will add the link to the article in this post and will create the new topic to be used as comment.

    Reasonable?

  2. 2 minutes ago, Martin1980 said:

    Please check the post above me with all the recommendations

    Yes, that's a very big and impressive list of recommendations. :frantics:

    I'll surely will add some of them; not all. When I try them I'll send PMs to the user who suggested, if any doubt appears.

  3. 10 hours ago, Square Wheels said:

    Sorry, I was just trying to help by reporting an error I had.  I'll be happy to uninstall it.

    I didn't ask you to do that. :o

    Btw, among other errors on search and logout, I found something from my hook:

    Mon, 28 Dec 2015 20:20:00 +0000 (Severity: 2)
    XXX.XXX.XXX.XX - http://www.pathlabtalk.com/forum/index.php?/register/
    UnderflowException
    0: 
    #0 /home/pathlabt/public_html/forum/init.php(434) : eval()'d code(107): IPS\Db\_Select->first()
    #1 /home/pathlabt/public_html/forum/applications/core/modules/front/system/register.php(104): IPS\core\modules\front\system\invite_hook_is_registerScreen::_createMember(Array)
    #2 [internal function]: IPS\core\modules\front\system\_register->IPS\core\modules\front\system\{closure}(Array)
    #3 /home/pathlabt/public_html/forum/system/Helpers/Wizard/Wizard.php(156): call_user_func(Object(Closure), Array)
    #4 /home/pathlabt/public_html/forum/applications/core/modules/front/system/register.php(158): IPS\Helpers\_Wizard->__toString()
    #5 [internal function]: IPS\core\modules\front\system\_register->manage()
    #6 /home/pathlabt/public_html/forum/init.php(434) : eval()'d code(17): call_user_func_array('parent::manage', Array)
    #7 /home/pathlabt/public_html/forum/system/Dispatcher/Controller.php(94): IPS\core\modules\front\system\nexus_hook_register->manage()
    #8 /home/pathlabt/public_html/forum/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute()
    #9 /home/pathlabt/public_html/forum/index.php(13): IPS\_Dispatcher->run()
    #10 {main}

    I'll take a look.

  4. 9 minutes ago, Square Wheels said:

    Honestly, I'm not sure if it ever worked on the registration page.  As you noted, it's not a required field.  I had it on one site and the host determined the app was causing an issue with the site and I uninstalled it.  After I upgraded another site I tried it there.  I used to get 1 - 3 registrations a day.  After I upgraded I got 0.  I let it go for over a week thinking it was the new look, but that should not have mattered to new users.  So I turned off everything and turned things on one at a time, and this was the only thing that stopped registrations.

    Wow, this is bad. I think this topic would be flooded with it if it were an issue.

    You see logs on ACP -> System -> System logs or something like that. 

    Send via PM.

  5. 30 minutes ago, Square Wheels said:

    I have turned off everything except this app and that's when I get the error.  If I turn it off, registration works fine.

    Well, this is one of those funny issues. If this worked until "yesterday", why it stopped working "today"? A script is supposed to do exacly the same thing for the rest of its life, unless something has changed. Did something new happened there? Cuatom fields settings? Plugin? Template edit? Any setting (from IPS4) you changed lately?

    I'm pretty sure that I won't be able to reproduce this. Anyway, take a look on your logs and see if there's something there.

    I'll be able to test this in two days. Out in a travel now.

    EDIT: According to the image, the invitation is not even required. Not sure why it would mess the registration.

  6. Just now, superj707 said:

    So once his account was gone blog errored out. I made a new blog as a test (in the ACP) and the problem went away. Weird. Thank you for the fast reply

    Still not sure... only if Blog can't display Guest as blog/entries author. I'm not sure.

  7. I'm sorry, this nothing to do with Blog!!! It deletes the account only and preserves the user content! I'm not sure how this

    			/* Permission check */
    			if ( !intval( \IPS\Request::i()->mid ) OR !\IPS\Member::loggedIn()->isAdmin() )
    			{
    				\IPS\Output::i()->error( 'no_module_permission', '2D161/B', 403, '' );
    			}
    	
    			$member = \IPS\Member::load( \IPS\Request::i()->mid );
    			\IPS\Session::i()->modLog( 'request_accepted', array( $member->name => FALSE, $member->member_id => FALSE ) );
    	
    			$member->delete();
    	
    			\IPS\Output::i()->redirect( \IPS\Http\Url::internal( "app=core&module=modcp&tab=delete_account", 'front', 'modcp_delete_account' ), 'deletion_done' );

    can screw your blog.

    I can't take a look now... still on a quick travel. I'll do when I can. Same for you PM.

  8. 47 minutes ago, Daniel F said:

    @Adriano Faria you should delete the notifications which belong to this plugin while the uninstall process of this plugin. Once the plugin was uninstalled, the "delete_account" notifications can't be loaded anymore and will cause an exception.

    Thought the "system" would handle that. :unsure:

    Ok. I'll do it in a couple of days. Tks.

  9. On 19/12/2015 at 8:46 PM, superj707 said:

    can't cancel request?

    Clicking cancel request as a moderator tries to delete the account anyway?

    It should cancel, of course.

    Drop me a PM. I'll take a look as soon as I come back till the end of this week.

  10. 12 minutes ago, Janyour said:

    Awesome plugin, just purchased and installed !

    the flags are visible in all sections of the forum but not in the Discovery page, its normal ?

    Thank you.

    By discovery page, you mean this https://community.invisionpower.com/discover/ ?

    If so, that's right. Right now the flags appears only where have links to the user profile. That page does not has links to user profile. But I'll take a look for a further version.

    8 hours ago, Stefan Johansson_72643 said:

    When is tomorrow ;) ?

    Oops, forgot this. Very soon. :thumbsup:

  11. 8 hours ago, Gabriel Torres said:

    Regarding issue #2, I still don't see the "note counter" on posts or on the hover card. I have "can view notes" enabled for my usergroup. If you could take a look at that using the credentials I supplies I'd appreciate. Here is a link to a topic where you can check this out, as the topic starter has several notes and the counter should have been there.

    http://forum.clubedohardware.com.br/topic/1140038-sugest%C3%A3o-teste-de-fontes-mais-vendidas-atualmente/

    That's the condition to this appears on posts:

    {{if \IPS\Member::loggedIn()->group['g_viewnotes'] AND $comment->author()->member_notes > 0}}

    Same condition with a tiny variable difference is used on miniprofile.

    For some reason, this and all other users has notes by the counter is equal to 0. See:

    Capturar.png

    Not sure why this happened on your end, since the the old members.member_notes is ported to core_members.member_notes when upgrading the board from 3.4 to IPS4. This is untouched when upgrading the app.

    A quick query on your board shows that all members has 0 notes:

    Capturar.png

    Give some time to make a tool to recount and update your members total notes.

  12. 8 hours ago, Gabriel Torres said:

    Regarding my issue #1 above, you are incorrect. The template membernotes > widgets > memberNotes uses the word "By" as follows:

    1. Let me explain this to you how this works. I can reuse any language on my templates and this won't bring any problem to the translations. What I can't do is have on my lang.php the same lang_key from other app. This is what causes the translating issue and this doesn't happen on this app. I only has note_by. If you are unsure or wants to make sure, request support to IPS.

    Ah, I see what you mean. The lang is hardcoded. The right is by, not By; that's why it isn't translateable. I thought you were saying it was duplicated. Change it to by (lowercase) and you're done. I'll fix it in new version.

    2. I will take a look today.

  13. About This File

    This application will admins to choose content (categories or items) to be automatically followed by new members when they create or validate the account (depending on your configuration).

    Basic Settings:

    • Frequency of notifications
    • Let others see that the user follow the content

    Apps supported:

    • All apps that their containers (categories) and content items (topics, images, files, blog entries, records, adverts, tutorials, videos, etc.) can be followed.
    • A tab to follow Members  will be also appear as an option

    Specifc Apps:

    • Pages: All databases will appear as a new tab
    • Gallery: Albums will appear in addition to categories and images

    Note:

    • App tab will only appear is you have the app installed and enabled.
     

     

×
×
  • Create New...