Forum Activity for @madc

MAD
@madc
12/09/13 07:24:27AM
600 posts

SOLVED - Block only viewable if populated with at least one field?


Design and Skin Customization

Thanks @douglas!
That worked perfectly.
I renamed the example quota to Artists originally ( id=1 )
Below is my code for anyone else that needs it but it worked great. Love how this system works and the more i"m learning about it the more I love it!

{if $profile_quota_id == '1'}
               <div class="block pbpbg">
<h3 class="pbpfont">BAND MEMBERS</h3><br/>
<div class="memspan">{if strlen($profile_voice) > 2}<span>Voice: </span>{$profile_voice}{/if}<br />
{if strlen($profile_guitar) > 2}<span>Guitar: </span>{$profile_guitar}{/if}<br />
{if strlen($profile_bass) > 2}<span>Bass: </span>{$profile_bass}{/if}<br />
{if strlen($profile_drums) > 2}<span>Drums: </span>{$profile_drums}{/if}<br />
{if strlen($profile_othermembers) > 2}<span>Others: </span>{$profile_othermembers}{/if}<br />
</div>
                </div>
{/if}

updated by @madc: 12/09/13 07:24:59AM
MAD
@madc
12/09/13 05:11:45AM
600 posts

SOLVED - Block only viewable if populated with at least one field?


Design and Skin Customization

Ok I think I need to add some extra info ( Although the debug tool is great )

I have two quotas at the moment.
members
artists

This block should only show on the Artists Profile NOT the members
So what would i wrap it in to only show this block on the artists quota

eg

{if this profile = artist then display this block If at least one of the fields has info}

< div class="block pbpbg" >
< h3 class="pbpfont">BAND MEMBERS< /h3>< br/>
< div class="memspan" >{if strlen($profile_voice) > 2}<span>Voice: </span>{$profile_voice}{/if}<br />
{if strlen($profile_guitar) > 2}<span>Guitar: </span>{$profile_guitar}{/if}<br />
{if strlen($profile_bass) > 2}<span>Bass: </span>{$profile_bass}{/if}<br />
{if strlen($profile_drums) > 2}<span>Drums: </span>{$profile_drums}{/if}<br />
{if strlen($profile_othermembers) > 2}<span>Others: </span>{$profile_othermembers}{/if}<br />
< /div >
                < /div >

{/if}

Sorry for being dumb here but trying to learn
updated by @madc: 12/09/13 05:44:00AM
MAD
@madc
12/08/13 06:55:48PM
600 posts

SOLVED - YouTube and Playlists


Installation and Configuration

Thanks @michael. That didn't work.
I manually removed all caches as well and reset browser cache
Viewing the browser source it seems some code is missing on the youtube tab page.
I don't have it to show you but I looked in 1.0.3 and it had the code then in 1.0.4 it was gone.
updated by @madc: 12/08/13 07:02:12PM
MAD
@madc
12/08/13 05:35:32PM
600 posts

SOLVED - Block only viewable if populated with at least one field?


Design and Skin Customization

I have added this code to my profile_header.tpl

               
               < div class="block pbpbg" >
< h3 class="pbpfont">BAND MEMBERS< /h3>< br/>
< div class="memspan" >{if strlen($profile_voice) > 2}<span>Voice: </span>{$profile_voice}{/if}<br />
{if strlen($profile_guitar) > 2}<span>Guitar: </span>{$profile_guitar}{/if}<br />
{if strlen($profile_bass) > 2}<span>Bass: </span>{$profile_bass}{/if}<br />
{if strlen($profile_drums) > 2}<span>Drums: </span>{$profile_drums}{/if}<br />
{if strlen($profile_othermembers) > 2}<span>Others: </span>{$profile_othermembers}{/if}<br />
< /div >
                < /div >

How do I only display this block if at least one of the sections has been filled in ie Guitar: ?

I know I'd wrap it in an if statement but anyone have any idea as to what sort?

( I know html is wrong but it kept stripping here in my post )
updated by @madc: 01/21/14 05:01:09AM
MAD
@madc
12/08/13 04:58:47PM
600 posts

SOLVED - YouTube and Playlists


Installation and Configuration

Thanks @douglas.
I now understand the Playlists.

Seems my issue with youtube support module started when I updated youtube support to the latest version.
Just checked on another install and up to 1.0.3 it showed the + to add youtube videos
Now after update to 1.0.4 the + is gone??

See image attached to show you you 1.0.3 updated to 1.0.4
I restored a backup and tested twice and every time it updates through the system updates the + etc disappear.
Is anyone else not seeing this?

(Nova Skin being used)
104error.jpg 104error.jpg - 35KB

updated by @madc: 12/08/13 04:59:10PM
MAD
@madc
12/08/13 06:45:28AM
600 posts

Admin Pagination


Design and Skin Customization

Thanks Brian , But an option for the admin to open up pagination to 20,50,100,200,500 would be better :D
MAD
@madc
12/08/13 06:41:49AM
600 posts

SOLVED - YouTube and Playlists


Installation and Configuration

I have attached what I see in those two sections.( YouTube and Playlists )
The rest have the + sign to tell me I can add something. ( Like All Other mods )
But YouTube and Playlists don't, There is no way to add anything even though it is allowed by quota?

From the images can anyone help me out to add youtube and playlists to an artist account?
( OK I cant add more than one file here so I will host them )

http://www.punkbandpromotions.com/new/1.png
http://www.punkbandpromotions.com/new/2.png
http://www.punkbandpromotions.com/new/3.png
http://www.punkbandpromotions.com/new/4.png

The quota for ARTISTS allows them to have Youtube and Playlists on their profile and the Tabs display when a user is logged in and it shows the the relevant sections but there is no way to add anything. The rest are fine ( videos,galleries etc)

A better shot for example
http://www.punkbandpromotions.com/new/5.png

If you look there is no way for anyone ( Even Admin ) to add a youtube video?


updated by @madc: 01/21/14 05:01:01AM
MAD
@madc
12/08/13 04:45:54AM
600 posts

Admin Pagination


Design and Skin Customization

Yeah sorry paul but we have a pretty big site already and trying to add what we want in the ACP is daunting as its too slow.Although I love the search function.
updated by @madc: 12/08/13 04:46:46AM
MAD
@madc
12/08/13 04:07:16AM
600 posts

Admin Pagination


Design and Skin Customization

Is there anyway to change the pagination of the admin panel?
It really bothers me having to go through 8 pages ie reloads to find what I want.
I am willing to wait for it to load ALL up.
eg. Language tools ( in one of my sections ) Has 8 pages. I wouldn't care if it was 600 pages long I'd want to find what i need to edit on the first page as every load annoys me. Sorry if I am being pedantic but I can't find a way to increase the pagination.
updated by @madc: 01/25/14 12:42:53PM
MAD
@madc
12/07/13 10:14:48PM
600 posts

Terms of Service Module


Installation and Configuration

Hi Brian,
I have implemented the TOS Module.
I have set it only for the Artists Quota
I have email Validation set ( tested with instant as well )

Problem is the TOS page does show after validating via the link in the email. ( or instantly with instant )

But when the user is at the TOS page he can bypass this page by clicking on any menu item etc and go straight into the site.
Bypassing agreeing to the service with full access to editing his profile as an ARTIST.
(I have a link embedded in the TOS page for a larger Terms of use that they will need access to and also the Privacy policy, So these are the only other 2 pages they should be able to visit on sign up.)
I know that every time they log in they will receive the TOS page at login but would good to get them to agree before being able to create a profile ie. music , galleries etc

Is there anyway to not let them go any further until they agree?
OR
Maybe agree to the TOS before hitting register on the sign up page? Even a checkbox that just says " I have read and agree to the terms of service"

I have user signups enabled at my site if you wish to test
http://final.punkbp.com

Any help appreciated.

(ps I have changed it to instant activation for testing)
updated by @madc: 12/08/13 12:04:22AM
  57