Forum Replies Created

Viewing 15 replies - 61 through 75 (of 118 total)
  • Thread Starter kosmicbird

    (@kosmicbird)

    Oh yea! Figured it out. The answer was in my face the whole time! For anyone having this issue in the future:

    I needed to add a line of code within each array button like this:

    'class' => 'newmessage-button'

    So my final code ended up looking like this:

    private function get_menu()
    	{
    		$menu = array(
    				'newmessage'	=> array(
    					'title'			=> __('New Message', 'front-end-pm'),
    					'action'			=> 'newmessage',
                      			'class'		        	=> 'newmessage-button',
                                          'priority'			=> 10
    					),
    				'message_box'	=> array(
    					'title'			=> sprintf(__('Inbox%s', 'front-end-pm'), fep_get_new_message_button() ),
    					'action'			=> 'messagebox',
    					'class'		        	=> 'inbox-button',
                                            'priority'			=> 5
    					),
    				'settings'	=> array(
    					'title'			=> __('Settings', 'front-end-pm'),
    					'action'			=> 'settings',
    					'class'		         	=> 'settings-button',
                                            'priority'			=> 15
    					),
    							
    				);
    		if( ! fep_current_user_can( 'send_new_message' ) ) {
    			unset($menu['newmessage']);
    		}
    							
    		$menu = apply_filters('fep_menu_buttons', $menu );
    						
    				foreach ( $menu as $key => $tab )
    					{
    				
    						$defaults = array(
    								'title'			=> '',
    								'action'		=> $key,
    								'class'			=> 'fep-button',
    								'active-class'	=> 'fep-button-active',
    								'priority'		=> 20
    							);
    					$menu[$key] = wp_parse_args( $menu[$key], $defaults);
    			
    				}
    			uasort( $menu, 'fep_sort_by_priority' );
    							
    		return $menu;
    	}
    	
     } 

    So simple, didn’t even need to create any divs.

    • This reply was modified 9 years, 8 months ago by kosmicbird.
    • This reply was modified 9 years, 8 months ago by kosmicbird.

    If you send the link to your page I can take a look and help you with this.

    Thread Starter kosmicbird

    (@kosmicbird)

    Hi @shamim51. I know you are the author as I have been waiting for a reply to my questions for 4 days now. Not 12 hours, not 3 days, 4days to get any response at all and it was only because I mentioned here that I had no response from you. I even noticed you had replied to someone else’s questions a day after my first post but still didn’t acknowledge mine. So am I wrong to search elsewhere for answers? Don’t think so.

    That being said, your plugin overall is beautifully done and I would have probably been willing to upgrade to pro if I could even get the FREE version to work properly. As a side note to that, I will say that your tactless response is not helping me want to upgrade and pay you to receive this kind of attitude.

    Additionally, I am very well aware about forum rules and creating topics. Did I search? I SEARCHED YOUR ENTIRE FORUM. EVERY SINGLE PAGE.

    Did I find my answer? No. That is why I asked it in your plugin forum, and that is why I asked it here after several days without a response from you.

    The topic you refer to is here that you say was “asked and answered”.

    First of all, you didn’t really provide a solution to this person’s problem. You simply told him it can’t be done without changing core plugin files.

    I was ABLE TO DO WHAT HE WANTED TO DO (yes by changing the plugin files) without any help from anything you wrote there.

    Second of all, what he wrote is not the same issues I’m having. Did you read?

    It seems more to me like you are “too busy” and not really concerned with tech support of your plugin. You have many forum questions that users needed help months ago which still have ZERO replies from you. I understand you’re not getting paid to answer support questions from basic users, but part of the way you convince others to upgrade your plugin is by helping them and showing that it’s worth it to upgrade in the first place.

    Yes, I am asking for help here because I didn’t get ANY HELP IN YOUR FORUMS. It’s not complaining. It’s trying to FIND A SOLUTION. I haven’t made a single complaint aside from the fact that I said you aren’t replying. Which was true because you were not.

    I have summarized my issues on your forum which you again did not reply to which includes an issue that is completely unrelated to this matter anyways. I would appreciate a more thoughtful and tactful response from you, but judging how you are handling this I don’t expect it. Very unfortunate for you and I both, as if I could have gotten the plugin working properly I would have been very willing to upgrade (again, why would I upgrade a plugin in the first place when the free version isn’t even working properly and I can’t even get proper support for that?) You had no reason to write such a rudely worded response to me. If you intend to be successful with this stuff, I sincerely hope that you will fix your attitude towards your users and provide better support.

    Moderator Note: Support, if available, will continue at https://wordpress.org/support/topic/change-order-of-message-replies-important/ Please both be civil.

    • This reply was modified 9 years, 8 months ago by kosmicbird.
    • This reply was modified 9 years, 8 months ago by kosmicbird.
    • This reply was modified 9 years, 8 months ago by James Huff.
    Forum: Fixing WordPress
    In reply to: Editing my Header

    You may want to regenerate the code for your badge before you use it – what you posted here wasn’t working.

    Anyways, I am going to give you two options to try, either of which will probably require you to do some css edits to get it in the right position, but should work fine.

    To do either of these two methods, you will need to head to your customizer view. Go to “Appearance” then click “Customize”.

    Once in customizer view, click on Widgets tab. Your theme should have an area for footer widgets with titles such as “Footer Top Column One”, “Footer Bottom Column Four” etc (just look for the appropriate footer section).

    Option 1)

    I see that you are using Jetpack. The plugin comes with a social widget you can use to easily add in all of your social pages. I am not really sure if this is the widget you’re already using, but you can check.

    Click on your footer area widget tab, then click Add a Widget. Scroll through and see if you have a widget called “Social Media Icons (Jetpack)”. Play with that and see what you think. If it’s not showing in your widget list, you will need to go to the Jetpack plugin settings to enable the widget.

    Option 2)

    With this option you can insert the Instagram badge. Same steps as above – click on the appropriate footer area widget tab then click Add a Widget. Now you will search for the “Text” widget instead of that Jetpack widget. Add it to your footer area widget tab.

    Open the text widget – this is where you will paste that code you generated for instagram.

    You will want to create a div so you can style it with css. What you insert into the text area will end up looking something like this:

    <div id="instasocial">
    <style>.ig-b- { display: inline-block; }
    .ig-b- img { visibility: hidden; }
    .ig-b-:hover { background-position: 0 -60px; } .ig-b-:active { background-position: 0 -120px; }
    .ig-b-32 { width: 32px; height: 32px; background: url(//badges.instagram.com/static/images/ig-badge-sprite-32.png) no-repeat 0 0; }
    @media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min–moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
    .ig-b-32 { background-image: url(//badges.instagram.com/static/images/ig-badge-sprite-32@2x.png); background-size: 60px 178px; } }</style>
    </div>

    As you see, all I did was add a <div id=”YOURDIV”> tag at the top and a </div> tag at the bottom. Paste your generated code between these two tags. Let the customizer update to show a preview and you should then see your badge pop up somewhere in the footer (whichever widget area you selected).

    You will then target the instasocial div (or whatever you choose to name it) with css in your stylesheet to modify it’s properties.

    • This reply was modified 9 years, 8 months ago by kosmicbird.
    • This reply was modified 9 years, 8 months ago by kosmicbird.
    Thread Starter kosmicbird

    (@kosmicbird)

    Hi @macmanx

    I am using the Front End PM plugin to provide private messaging. I’ve posted for help on their support forum but the plugin author is not replying. I have dug through the core files but my PHP knowledge is limited. I just can’t figure out why the first message of a conversation would not be considered as part of the array and sorted with the rest of the messages. 😞

    Yep, there is code overriding your modifications.

    Here is the problem code:

    html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    font-size: 100%;
    font: inherit;
    padding: 0;
    border: 0;
    margin: 0;
    vertical-align: baseline;
    }

    You will need to get rid of this from your code, specifically for the article class.

    font: inherit;

    Once you remove the inherit property, you will be able to see the styling properly.

    • This reply was modified 9 years, 8 months ago by kosmicbird.
    • This reply was modified 9 years, 8 months ago by kosmicbird.
    • This reply was modified 9 years, 8 months ago by kosmicbird.
    • This reply was modified 9 years, 8 months ago by kosmicbird.
    Forum: Fixing WordPress
    In reply to: Editing my Header

    You can try something like this and put it the div where the rest of the social icons are. There are other ways to do it (for instance, uploading your own custom IG icon image and setting the code so that it links to your IG page on click) but you could try this first and see if it’s what you’re looking for.

    • This reply was modified 9 years, 8 months ago by kosmicbird.

    Additionally, I would recommend to empty your caches and do a hard reload of the page with your browser to see if that makes a difference.

    If you send a link to your site I can check a little further. There may be some code in your theme that is overriding any paragraph or span styles in your content.

    There are sometimes issues like this when you are using visual editor as the html doesn’t always translate well from the visual editor to the html text editor. I’ve noticed this issue occurs for me usually when I am editing a post and switching between the visual and text editors.

    Go to your post editor and click on “text” to open to the text editor. From there, check to make sure <strong> The text you want to be bold. </strong> html tags are wrapped around the text that you want to make bold. Similarly, check to make sure <em> The text you want to italicize. </em> are wrapped around the text that you want to italicize.

    • This reply was modified 9 years, 8 months ago by kosmicbird.
    Forum: Fixing WordPress
    In reply to: Editing my Header

    HEADER –

    For your logo icon, you can move it’s position by modifying the float property and/or playing with the margin properties.

    To move your logo icon closer to the header text, you could try something like

    #logo a img {
        float: right;
    }

    You would add this code and all other css modifications to your custom CSS stylesheet.

    As for changing the text color of your header, ie “Chicago Metal Supply”… well, you have this on your site as an image. So in order to change the font color from blue to, say, red… you will need to create a whole new image (or modify the original image if possible) with your image editing software and then upload the new image with the new text color to your site. I emphasize – you only have to do it this way because the header text you are using is actually just an image.

    FOOTER –

    To change the footer text color… for instance, if you would like to change the text color of your footer copyright from white to red, you would do something like

    .absolute-footer .right {
      color: red;
    }
    

    When making css modifications, you just need to target which element you want to modify, and then use the appropriate CSS code to make the modifications. If you are using Chrome browser for instance, you can simply right click on an element you want to change and then click “Inspect” to open the browser inspector which will allow you to search each element’s CSS classes and properties to figure out what to target and modify.

    • This reply was modified 9 years, 8 months ago by kosmicbird.
    • This reply was modified 9 years, 8 months ago by kosmicbird.
    • This reply was modified 9 years, 8 months ago by kosmicbird.
    • This reply was modified 9 years, 8 months ago by kosmicbird.
    • This reply was modified 9 years, 8 months ago by kosmicbird.

    Also, could you explain more on what you mean by “page move to home page”? Are you able to view the proper page when you type the permalink in the search bar?

    It sounds like a caching issue. Try to empty your caches and do a hard reload of the page with your browser.

    • This reply was modified 9 years, 8 months ago by kosmicbird.

    Which CSS modifications did you make?

    If the NEXT button on the form disappeared after you made a certain CSS modification, then try changing the code back to what it was before you made the change. If the NEXT button is still not visible after you restored the prior CSS code, then empty your cache and do a hard reload of the browser.

    Thread Starter kosmicbird

    (@kosmicbird)

    Update – So I changed this within the front-end-pm functions.php file

    function fep_get_replies( $id )
    {
          $args = array( 
                 'post_type' => 'fep_message',
                 'post_status' => 'publish',
                 'post_parent' => $id,
                 'posts_per_page' => -1,
                 'order' => 'ASC'
    

    to ‘order’ => ‘DESC’

    It works with the exception that the very first message in the thread still displays at the top. So it shows the very first post, then the newest posts in descending order display below it. How do I fix this?

Viewing 15 replies - 61 through 75 (of 118 total)