Forum Activity for @michael

michael
@michael
09/14/16 09:31:03PM
7,826 posts

Data Browser truncates out Timeline profile id #s that i need


Using Jamroom

got some code, can I install it into your system? Will add it via the Template Editor at:
ACP -> SKINS -> (your current skin) -> TEMPLATES -> index_activity.tpl -> MODIFY

The code needs to go into 3 locations in that template to add the delete buton.

The code is:
{if jrUser_is_admin() && !jrProfile_is_profile_view()}
    <a onclick="xxDeleteEntry('{$item._item_id}');">{jrCore_icon icon="trash" size=30}</a>
{/if}

Then one location to put this, and at the bottom of that page:
<script>
    function xxDeleteEntry(id) {
        if (confirm('Are you sure you want to Delete this timeline entry?')) {
            var url = core_system_url + '/' + jrAction_url + '/browser_item_delete/id=' + id + '/__ajax=1';
            jrCore_set_csrf_cookie(url);
            $.get(url, function (r)
            {
                $('#a' + id).fadeOut();
            });
        }
    }
</script>


--edit--
Updated the code to a better system. The entries will delete and disappear when you click the delete button, but you'll still need to use the cache refresh tool to clear the caches once you've done pruning.
updated by @michael: 09/15/16 08:07:28PM
michael
@michael
09/14/16 08:46:28PM
7,826 posts

Data Browser truncates out Timeline profile id #s that i need


Using Jamroom

hold on, I'll get some code for you.
michael
@michael
09/14/16 08:40:31PM
7,826 posts

Jamroom performance


Jamroom Developers

Should be no problem using utf8mb4, its a newer system. Jamroom supports mysql 5.3 which doesnt have mb4 or otherwise we would likely use that. As it is now there are workarounds in place to deal with emoji issues that wouldn't be needed if we were using mb4.

As to why the different tables, it has to do with indexing, one is faster for read/writes the other for reads only. (from memory)

I think INNODB also supports transactions, but don't recall that we're using them.
michael
@michael
09/14/16 08:36:15PM
7,826 posts

Data Browser truncates out Timeline profile id #s that i need


Using Jamroom

Strumelia:..my larger problem is that I often use the Data Browser to remove items from the Home page Timeline WITHOUT deleting them from the site. I do this to prevent certain member actions from getting front page attention. Then the lack of seeing the profile_id # is a problem- to identify which comments or posts I want to delete ...from the Timeline only...

Would not a delete button on the timeline entry on the home page be an easier solution?

Forgive me, trying understand the root of the problem. Its unclear to me why deleting from the Data Browser is a better option than a delete button on the home page.

(The timeline is under heavy development right now for something exciting coming up.)
michael
@michael
09/14/16 07:26:57PM
7,826 posts

Is Geo Location a static Signup field?


Using Jamroom

To reiterate what doug said above ^:
If you have an value in your datastore like profile_location that got their via an import, you can make that value editable by adding it to the Form Designer. The stored value will become editable.

Docs: "Using the Form Designer"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-admin-handbook/1275/using-the-form-designer
michael
@michael
09/14/16 07:18:00PM
7,826 posts

Data Browser truncates out Timeline profile id #s that i need


Using Jamroom

Sounds like the "Delete Timeline Entries" found at:
ACP -> MODULES -> PROFILE -> TIMELINE -> GLOBAL CONFIG -> Delete Timeline Entries

Isn't firing for some reason in this case. With that checked deleting the main item should delete the timeline entry too.

Does that assessment seam correct to you? If it is I will look for why and see if it needs fixing.

That way after your deleting all that should be needed to clear any caches is:
ACP -> MODULES -> CORE -> SYSTEM CORE -> RESET CACHES

--
The timeline layout seams secondary to that. If that was working, looking at the data browser would be un-necessary in this case correct?

--
The other idea that seams more direct is a delete button on your "site MainHome page's Activity feed" to click to delete that post.
michael
@michael
09/14/16 06:44:33PM
7,826 posts

PayPal Buy It Now


Installation and Configuration

Gotcha, thanks for the detailed explanation. I can see you understand the differences between the two modules.

Looking at your screenshots it appears to be working as I would expect it to work.

This image is someone in the "ArtistPP" quota, because their audio create screen shows the buy it now price:
img
while this is someone in the "Artist" quota because they sell with the foxycart system:
img

Are you expecting that there would be 2 "Price" boxes?
updated by @michael: 09/14/16 06:46:44PM
michael
@michael
09/14/16 06:17:54PM
7,826 posts

Display Signup form field on Profile


Using Jamroom

The issue here is you're adding Form Fields to collect additional USER information, then wanting to display that as PROFILE information.

It will be available everywhere the user is looking on the {$_user.user_about} variable, but the $_user variable is the 'user looking at the screen' so probably not what you're wanting.

Will get a coffee and have a think about how it could be done. back soon.
michael
@michael
09/13/16 10:29:02PM
7,826 posts

Jamroom 4 Archive Site


Off Topic

Its gone. JR5 has been out for more than 3 years now.
michael
@michael
09/13/16 10:24:11PM
7,826 posts

How do I get my new SiteBuilder-built home page to be the default?


Using Jamroom

nice. its not rudimentary, not many people know that exists I suspect. After that its me having difficulty pin pointing the question. :)

Glad you're sorted.
  352