Jump to content



  • Posts

  • Joined

  • Last visited


About donpetru

  • Birthday 01/04/1980

Recent Profile Visitors

16,196 profile views

donpetru's Achievements

    How can I download this theme because the download button is not displayed?
  1. Sorry for delay. bfarber, thanks for the answer. The last commenter is show correctly when if I view the record. Now I found that the error only appears on the old registered items (articles) that are listed by the block. If I post a new article and I post a comment, then the block displays the correct who made the last comment. The problem persists only with old articles written prior to updating from IPS from 4.3.X to 4.4.3. Although we've updated the article template, the block is failing to read who made the last comment on the old articles !!! Why ? Regarding your next comment: I've attached two images below: So the block displays the information, first depending on the last article added and then watches who made the last comment. So, from this point of view the settings I think are OK. It remains in question what we were saying above - see the red text.
  2. Thanks for the answer but I attached an image to see the problem I wanted to highlight. The template default block is generated by the IPS platform. So, the code I posted above is not generated or created by me. I also understand your point of view, but I do not have to create a comment feed, I would like to make this feed feasible with the latest articles.
  3. I don't know if there is a good section for this topic, but the IPS community does not have a dedicated forum for technical support or soft-forum reporting issues. I have not seen such a section that would treat such aspects clearly! I have the latest IPS4 installed and I generated a block with the latest articles. This block has been integrated into the index page but the column that lists the latest comments added to the articles show my admin name to all articles, although I have not made the last comments !!! For example, there are articles where I have not added any comments but the block displays the last comment made by me on all the articles listed. Be a template error !!! I don't think, because the default IPS4 template is the same thing! So, the block code does not correctly identify the user who made the last comment on the last articles listed by the block !!! Is there any solution to this problem? Please. This is the block code: {{if !empty( $records ) }} <h3 class='ipsWidget_title ipsType_reset'>{$title}</h3> {{if $orientation == 'vertical'}} <div class='ipsPad_half ipsWidget_inner'> <ul class='ipsDataList ipsDataList_reducedSpacing ipsContained_container'> {{foreach $records as $record}} <li class='ipsDataItem'> <div class='ipsDataItem_icon ipsPos_top'> {template="userPhoto" group="global" app="core" params="$record->author(), 'tiny'"} </div> <div class='ipsDataItem_main cWidgetComments'> <div class="ipsCommentCount ipsPos_right {{if ( $record->record_comments ) === 0}}ipsFaded{{endif}}" data-ipsTooltip title='{lang="num_replies" pluralize="$record->record_comments"}'>{expression="$record->record_comments"}</div> <div class='ipsType_break ipsContained'> <a href="{$record->url()->setQueryString( 'do', 'getLastComment' )}" title='{lang="view_this_cmsrecord" sprintf="\IPS\Member::loggedIn()->language()->addToStack( 'content_db_lang_sl_' . $record::$customDatabaseId, FALSE ), $record->_title"}' class='ipsDataItem_title'>{$record->_title}</a> </div> <p class='ipsType_reset ipsType_medium ipsType_blendLinks'> <span>PRINT {lang="byline_nodate" htmlsprintf="$record->author()->link()"}</span><br> <span class="ipsType_light">{datetime="$record->mapped('date')"}</span> </p> </div> </li> {{endforeach}} </ul> </div> {{else}} <div class='ipsWidget_inner'> <ul class='ipsDataList ipsContained_container'> {template="recordRow" group="listing" location="database" app="cms" themeClass="IPS\cms\Theme" params="null, null, $records"} </ul> </div> {{endif}} {{endif}}
  4. donpetru

    Who Was Online

    After a couple of days when I monitored the plugin, I recently found that the statistics did not reset to 24 hours (or daily, I would be interested), but rather the plugin keeps a statistic of the last 24 hours which updates it permanently !!! It does not seem to me a fairly accurate operation, but maybe Pete could make a version that resets every day, it would be perfect!
  5. donpetru

    Who Was Online

    After seeing the evolution of this topic, I got the desired result from the image below:
  6. donpetru

    Who Was Online

    If the "X Hours" version is kept, then this plugin should be renamed: "Members Online Today" for X hours.
  7. Adriano, is your point of view and I respect. But, think that there are topics with over 100 pages (for example, some topics on diyaudio.com, even if it does not use IPS software). When talking about the topic with so many pages at a certain time, suppose, I want to refer to a specific post of a particular user. It's much easier to post the topic page URL than to quote that post user because in case of multi-page discussions, when referring to a previous post, many users want to read that page by seeing or reviewing some reactions of users to that post from particular topic page. I don't know if you understand, but I have participated in such discussions on many pages and I realize what would be really useful. For this reason, I considered it necessary to make that observation regarding that plugin. That link shares user posting but that's not what I wanted! I would like that after applying Adriano Faria's plugin, I can easily find a page of the topic where a certain user made a certain post. In fact, in my previous post I think I was as clear as possible!
  8. Thanks for the explanations but this plugin I would really see it useful if I could identify the real page of the topic where the user named "b" made his post, for exemple: no.25. So, reform my scenario mentioned with a post previous: think of a 100-page topic, each page having 15 posts. In this topic, let's say, ten users briefly named: a, b, c ... At one point I would like to add a reply referring to a topic page where user "b" said the word, is just an example: "Wow". I now use your plugin and see all posts of user "b" as you said. Suppose that 10 pages are displayed with the user's posts "b". On page no.4 I find the post that interests me with the word "Wow". Now, I want to find the real page of that post? How do I do that? Or can not I do that? From what you told me, it looks like I can not find the real page! If so, the plugin is not very useful.
  9. I was thinking of buying this plugin but I would like to know if it has the following functionality: for example: a topic of 100 pages is given. This topic has been attended by 10 users, I will call it simple a, b, c .... At one time I will choose to display user posts named "b". Now the interesting part follows: let's assume that I click on a user post "b", after this action opens the page, let's assume number 25, where is the post of this user ??? Or is this plugin just displaying all user posts "b"?
  10. donpetru

    Who Was Online

    As I said in a previous post: 1) a field with users logged in the last X minutes in the forum + general statistics (usually 15 minutes are used);2) a statistic with users who logged on that day will be displayed Initially, "Who is online" was created to highlight point 2 above (for 24 hours or at least one hour). But this is not enough. For this reason I have proposed point 1 which will turn this "Who is online" plugin into the old "Members Online Today" which was much more useful. But the problem is that Pete understood to turn point 2 into point 1 when he actually had to create both points. This little misunderstanding led to the small misunderstandings in this topic (I refer to the last posts). Now, I would like to know if Pete will continue to create both points above respecting the template of the old hook "Members Online Today", as I have shown in one of the pictures attached with a few postings ago ?
  11. donpetru

    Who Was Online

    Philip Gaines, View my posts quoted below:
  12. donpetru

    Who Was Online

    @Pete, eventually will follow another update?! If so, then it's good news. @The Old Man, take a look at the image posted by me a few postings ago. I have proposed that the final version of the plugin be the original version of IPB3. So, the final version will have two sections: 1) a field with users logged in the last X minutes in the forum + general statistics (usually 15 minutes are used); 2) a statistic with users who logged on that day will be displayed Point 2 is working, from what Pete told us. So, I think there will be a new update after tweaking.
  13. donpetru

    Who Was Online

    You did not understand me. There must be a list of users who have logged in daily, whether or not they are logged in at one time. In the picture posted as an example of me, the message (framed in red) is displayed if there were no users connected that day. But if they are, you'll need to have a list, a history. So, a daily history has to be kept, which the new update plugin does not contain.
  14. donpetru

    Who Was Online

    Pete, you've done a great job so far, thanks, but it looks like the new update does not contain the red side of the image attached below.
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy