Forum Activity for @madc

MAD
@madc
03/03/14 11:54:56PM
600 posts

Removing stray profile from datastore


Installation and Configuration

Ok another update.
Our other admin told me he was logged in as main admin but the last profile he edited was displaying at that link
I tried another account ( Myself ) as admin then went to the link and it now showed my account at the
http://jr.punkbp.com/profile/settings/profile_id= link
MAD
@madc
03/03/14 06:21:14PM
600 posts

Removing stray profile from datastore


Installation and Configuration

Ok it is still there

Link is http://jr.punkbp.com/profile/settings/profile_id=
in admin
If I click on that link ( or the modify button in ACP as it can't be deleted )
it shows me the Main admin account but url is id=

This link
http://jr.punkbp.com/profile/settings/profile_id=
and this link
http://jr.punkbp.com/profile/settings/profile_id=1
show the same account at my end

Our other admin ( BA9801 ) clicked the
link http://jr.punkbp.com/profile/settings/profile_id=
to see what he got and he got one of the bands ( id=118 ) at the same link

I know it sounds confusing but something is not right.

I got him to test it to see what I was seeing and he never saw what I was seeing but the link was the same http://jr.punkbp.com/profile/settings/profile_id=

Anyone want log ins to check?
It doesn't seem to be effecting anything so far but would like to remove it in case it does
updated by @madc: 03/03/14 06:25:13PM
MAD
@madc
03/03/14 04:04:19PM
600 posts

Removing stray profile from datastore


Installation and Configuration

These are the only two in that table
0 profile_jrSmiley_item_count 0 8
0 profile_jrTrace_item_count 0 72
Any other thoughts?
MAD
@madc
03/03/14 09:04:41AM
600 posts

Removing stray profile from datastore


Installation and Configuration

If I go into profiles in the acp i see the below
If I try to delete it it the url in the address bar is
mysite/profile/settings/profile_id=
So it is an empty profile that has been added or not deleted properly



Screen Shot 2014-03-04 at 3.00.14 AM.png Screen Shot 2014-03-04 at 3.00.14 AM.png - 84KB

updated by @madc: 04/08/14 12:02:05PM
MAD
@madc
03/03/14 07:19:01AM
600 posts

SOLVED - Hide or Delete past events


Design and Skin Customization

Ok I worked it out
Had to remove the order by section in two places
{jrCore_list module="jrEvent" order_by=$order_by 

and replace it with this
{jrCore_list module="jrEvent" search="event_date >= `$smarty.now`"

All is working now.

Thought that would have been standard in a skin for upcoming concerts ? ( from todays date )
Should the Nova skin be updated at your end or is there a reason why you guys kept past concerts in the Upcoming Concerts section of the concert.tpl?

to fix if anyone else wants this capability, below is my edit of the bottom of the file

<div class="inner">

{if isset($_conf.jrPunkBP_require_images) && $_conf.jrPunkBP_require_images == 'on'}

    {if isset($_post._1) && strlen($_post._1) > 1}
        {jrCore_list module="jrEvent" order_by=$order_by search="event_location = `$_post._1`" template="concerts_row.tpl" require_image="event_image" pagebreak=$_conf.jrPunkBP_default_pagebreak page=$_post.p}
    {elseif isset($_post.option) && $_post.option == 'locations'}
        {jrCore_list module="jrEvent" order_by=$order_by group_by="event_location" template="concerts_locations.tpl" require_image="event_image" pagebreak="20" page=$_post.p}
    {else}
        {jrCore_list module="jrEvent" search="event_date >= `$smarty.now`" order_by="event_date asc" template="concerts_row.tpl" require_image="event_image" pagebreak=$_conf.jrPunkBP_default_pagebreak page=$_post.p}
    {/if}

{else}

    {if isset($_post._1) && strlen($_post._1) > 1}
        {jrCore_list module="jrEvent" order_by=$order_by search="event_location = `$_post._1`" template="concerts_row.tpl" pagebreak=$_conf.jrPunkBP_default_pagebreak page=$_post.p}
    {elseif isset($_post.option) && $_post.option == 'locations'}
        {jrCore_list module="jrEvent" order_by=$order_by group_by="event_location" template="concerts_locations.tpl" pagebreak="20" page=$_post.p}
    {else}
        {jrCore_list module="jrEvent" search="event_date >= `$smarty.now`" order_by="event_date asc" template="concerts_row.tpl" pagebreak=$_conf.jrPunkBP_default_pagebreak page=$_post.p}
    {/if}

{/if}

</div>

{jrCore_include template="footer.tpl"}

This can be closed now @brian. Thanks @paul and @SteveX for your help.
As I have said in other posts. Complete newbie but slowly getting there :)
  29