Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • in reply to: Add RedBubble Social icon to Social Profiles Section #278396
    wt9bind
    Member
    Post count: 5

    Thanks for the help Mohammad.

    I have done it.

    In the off chance that somebody wants to do this; attached is the artwork with Redbubble and the code… below

    }
    			if ($dribbble) {
    				$social_icons .= '<li class="dribbble"><a href="http://www.redbubble.com/people/'.$dribbble.'" target="_blank">Dribbble</a></li>';
    			}
    Attachments:
    You must be logged in to view attached files.
    in reply to: Add RedBubble Social icon to Social Profiles Section #278379
    wt9bind
    Member
    Post count: 5

    Thanks Mohammad,

    And am I right in saying that the social-icons-*.png files are what is being referenced? If so, can I ask how you guys reference the coordinates of the image? This interests me how you did this 🙂

    Thanks

    in reply to: Add RedBubble Social icon to Social Profiles Section #278363
    wt9bind
    Member
    Post count: 5

    Thanks Mohammad,

    So I replaced dribbble with redbubble by doing a replace on “dribbble” and throwing in redbubble and then modified the URL:

    if ($redbubble) {
    				$social_icons .= '<li class="redbubble"><a href="http://www.redbubble.com/people/'.$redbubble.'" target="_blank">redbubble</a></li>';
    			}

    Then went into Theme Options –> Social Profiles and entered the redbubble username under “dribbble” section.

    Then I headed to the contact page to see if at least the dribbble icon is showing, which it isn’t.

    I guess what I am most confused about is how does shortcodes.php call the coordinates (I guess) of the [email protected] (I’m also guessing) file?

    Thanks

    Here is a paste of the social section of shortcodes.

    /* SOCIAL SHORTCODE
    	================================================= */
    
    	function social_icons($atts, $content = null) {
    		extract(shortcode_atts(array(
    		   "type" => '',
    		   "size" => ''
    		), $atts));
    		
    		global $data;
    
    		$twitter = $data['sf_clique_twitter_username'];
    		$facebook = $data['sf_clique_facebook_page_url'];
    		$redbubble = $data['sf_clique_redbubble_username'];
    		$vimeo = $data['sf_clique_vimeo_username'];
    		$tumblr = $data['sf_clique_tumblr_username'];
    		$spotify = $data['sf_clique_spotify_username'];
    		$skype = $data['sf_clique_skype_username'];
    		$linkedin = $data['sf_clique_linkedin_page_url'];
    		$lastfm = $data['sf_clique_lastfm_username'];
    		$googleplus = $data['sf_clique_googleplus_page_url'];
    		$flickr = $data['sf_clique_flickr_page_url'];
    		$youtube = $data['sf_clique_youtube_username'];
    		$behance = $data['sf_clique_behance_username'];
    		$pinterest = $data['sf_clique_pinterest_username'];
    		$instagram = $data['sf_clique_instagram_url'];
    		$yelp = $data['sf_clique_yelp_url'];
    		
    		$social_icons = '';
    		
    		if ($type == '') {
    		
    			if ($twitter) {
    				$social_icons .= '<li class="twitter"><a href="http://www.twitter.com/'.$twitter.'" target="_blank">Twitter</a></li>';
    			}
    			if ($facebook) {
    				$social_icons .= '<li class="facebook"><a href="'.$facebook.'" target="_blank">Facebook</a></li>';
    			}
    			if ($redbubble) {
    				$social_icons .= '<li class="redbubble"><a href="http://www.redbubble.com/people/'.$redbubble.'" target="_blank">redbubble</a></li>';
    			}
    			if ($vimeo) {
    				$social_icons .= '<li class="vimeo"><a href="http://www.vimeo.com/'.$vimeo.'" target="_blank">Vimeo</a></li>';
    			}
    			if ($tumblr) {
    				$social_icons .= '<li class="tumblr"><a href="http://'.$tumblr.'.tumblr.com/" target="_blank">Tumblr</a></li>';
    			}
    			if ($spotify) {
    				$social_icons .= '<li class="spotify"><a href="http://open.spotify.com/user/'.$spotify.'" target="_blank">Spotify</a></li>';
    			}
    			if ($skype) {
    				$social_icons .= '<li class="skype"><a href="skype:'.$skype.'" target="_blank">Skype</a></li>';
    			}
    			if ($linkedin) {
    				$social_icons .= '<li class="linkedin"><a href="'.$linkedin.'" target="_blank">LinkedIn</a></li>';
    			}
    			if ($lastfm) {
    				$social_icons .= '<li class="lastfm"><a href="http://www.last.fm/user/'.$lastfm.'" target="_blank">Last.fm</a></li>';
    			}
    			if ($googleplus) {
    				$social_icons .= '<li class="googleplus"><a href="'.$googleplus.'" target="_blank">Google+</a></li>';
    			}
    			if ($flickr) {
    				$social_icons .= '<li class="flickr"><a href="'.$flickr.'" target="_blank">Flickr</a></li>';
    			}
    			if ($youtube) {
    				$social_icons .= '<li class="youtube"><a href="http://www.youtube.com/user/'.$youtube.'" target="_blank">YouTube</a></li>';
    			}
    			if ($behance) {
    				$social_icons .= '<li class="behance"><a href="http://www.behance.net/'.$behance.'" target="_blank">Behance</a></li>';
    			}
    			if ($pinterest) {
    				$social_icons .= '<li class="pinterest"><a href="http://www.pinterest.com/'.$pinterest.'/" target="_blank">Pinterest</a></li>';
    			}
    			if ($instagram) {
    				$social_icons .= '<li class="instagram"><a href="'.$instagram.'" target="_blank">Instagram</a></li>';
    			}
    			if ($yelp) {
    				$social_icons .= '<li class="yelp"><a href="'.$yelp.'/" target="_blank">Yelp</a></li>';
    			}
    		
    in reply to: Paid Memberships Pro and locking down a Gallery with it #278020
    wt9bind
    Member
    Post count: 5

    OK, Thanks Mohammad, They won’t help me much as I am running the free version, however I will be paying for it once the site is uploaded to the web so I will engage them then.

    in reply to: Paid Memberships Pro and locking down a Gallery with it #278015
    wt9bind
    Member
    Post count: 5

    So even though paid memberships works on all pages and posts on every other theme, you feel I should speak with the plugin developer because it doesn’t work with your “gallery” template?

    I just need to understand that you feel that the issue is with the plugin and not the coding in the template.

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)