AWOL
Forum Replies Created
-
Forum: Plugins
In reply to: [Network Posts Extended] Filter by current user?Thanks for the quick responses! I will try it out when the update is available. I did try the author=’1′ but that does not seem to work, either directly as a shortcode in a page or in a template. It wasn’t listed in your documentation either so is this something in the update?
Forum: Plugins
In reply to: [Network Posts Extended] Filter by current user?Hi,
No, that’s not exactly what I am after but I think I might be able to make it work. Basically I want the currently logged in user to be able to view all their posts from across the network on their frontend profile page, so I want to add a shortcode in a template to do that. I think I can achieve it by creating a function/action to call the current user and place it into the shortcode, which then creates a new shortcode that I can put in the template using do_shortcode. I was hoping that there might already be a current user filter for the built in shortcode. Thank you anyway.The settings for the hooks are visible on all 3 sites, and it allows me to add and configure hooks, no problem there. But any hook I add and configure on sites 2 and 3 do not work; specifically the ones I have added are daily visits, publishing content and reward for buying (this last one only on site 2). Site 1 has all hooks working, which are daily visits, publishing content, registrations, links and referrals. I assume from your answer that hooks are meant to work on subsites, so I will continue to look to see if another plugin is causing a conflict.
OK, I have found a plugin that handles it – Network Posts Extended – if anyone else is interested. A little tricky to set up right but it works.
Ok, but that doesn’t really answer my question – with the free version, how do I display listings from subsite 2 on subsite 1, and vice versa, where the plugin has been activated individually on each site? All I need is the lists of listings and the individual listings opening on their own subsite. I would like to have a ‘summary’ page where all listings from all subsites are visible. You haven’t said if that is possible?
OK thank you. Maybe it is something you could consider adding to a future update?
OK thank you, but that sounds like I would have to replace the Simple Memberships plugin with your addon to achieve what I want? I really wanted to know if it is possible with the free version to put listings submitted in one part of the network also on another part of the network, and if so, how to do it? Does the plugin need to be network activated? At present I have activated it on each individual subsite as I wasn’t sure if network activation was possible, plus each subsite has slightly different needs.
Hi,
OK, so this is in the file buycred-shortcodes.php. Below is the small block of code from lines 202 to 208 in the original, where I have added a line after 205 and edited line 208 (which becomes 209 below because of the added line). This is the modified code.<?php // No amount given - user must nominate the amount if ( count( $amounts ) == 0 ) { $dosh = get_post_meta( get_the_ID(), "_field_61", true ); ?> <input type="text" name="amount" class="form-control" placeholder="<?php echo $mycred->format_creds( $minimum ); ?>" min="<?php echo $minimum; ?>" value="<?php echo $dosh; ?>" readonly/>
To summarise, I added this line after 205;
$dosh = get_post_meta( get_the_ID(), "_field_61", true );
and changed this original line (208)
<input type="text" name="amount" class="form-control" placeholder="<?php echo $mycred->format_creds( $minimum ); ?>" min="<?php echo $minimum; ?>" value="" />
to this (which became 209)
<input type="text" name="amount" class="form-control" placeholder="<?php echo $mycred->format_creds( $minimum ); ?>" min="<?php echo $minimum; ?>" value="<?php echo $dosh; ?>" readonly/>
I really can’t see why these edits would affect the backend, but if they have, please let me know what I can do to correct it. Thanks.
Hi, Oh I am sure it is a clash of css between my theme and your plugin; I will get around to adjusting the css to deal with it – I was just trying to help ronemjay understand. As its not on the frontend its low priority for me. Thanks.
Just for further information, I have been doing more investigation, and even though I get the message that the payout has failed, it is going through in the purchase log. So it seems that the problem is only that the admin Pending Payments panel is misbehaving, and not anything further. I had a quick look through the changes made by yourselves in the update files, but nothing jumped out at me to suggest what it might be. So I am still looking into whether it might be the changes I made, but replacing my edited file with the original file (which didn’t change in your update) has made no difference. Just to describe my change, I added a couple of lines and edited one value so that when users want to buy using the mycred buy form, the amount was already prefilled with a value taken from the Classified Listing post, and the field was made read only.
OK thank you for confirming.
Hi, and thank you for the reply. Yes, I was aware that the transaction ID is randomly generated, and I wasn’t planning on trying to use it in the way you said, trying to find the post. What I was hoping to get from you was that if the code I attached in my opening post was altered somehow so that the transaction ID was instead something that included the post ID, that this would not cause any problems or have any impact elsewhere in the plugin, and that I would then be able to rig something up which would automatically change the CL post so that someone else would not try or be able to buy the same points again. I want to be able to tie the CL post and the purchase of points together, and have the post automatically become unavailable once the points are sold, and not have to manually change things every time.
I can’t imagine there is anything other than the myCred log that references the random transaction ID number, so I think I should be fine to go ahead and make alterations, but I just wanted to check before doing so.Hi ronemjay,
I am just a mycred plugin user, but the close button is there, you just can’t see it! I have the same on my site. I think it is just a CSS issue but so far I have not been able to find how to change it – I think the background colour of the square containing the ‘X’ needs to be changed (or the colour of the ‘X’) but my efforts to do so have failed so far. If you hover your mouse pointer over the top right corner of the pop up and move a little bit left and down, the pointer becomes a hand (or whatever displays in your browser when you are over a link) and you can click to close the popup.I know this is not my topic, but I have noticed something that may be connected to the problem – I set up an email notification and realised that in the Senders Email and Reply To boxes that the default “%admin_email%” had been truncated to just “min_email%” in both; I retyped the template tag in both and updated, and they had again been truncated. So I have now put the actual email address instead and that updates fine. Is it possible that this is why the emails have not been arriving?
OK thank you, marking as resolved.