futurenet
Forum Replies Created
-
Hi @kbat82
thanks for your fast reply…Tryied this piece of code and after some tests (as it didnt work properly) I had to manually move all my slides in the right order.
I rest my case…
Waiting for this “move to top” button. I also gave two other solutions. May the best one win.
Hi @kbat82
this reverses the direction of the slides NOT the order of them.Now I cannot help but wonder if it is clear what I talked about.
I will try once again to explain (although it is so simple)
When I add a new slide, this goes at the very botton of the slides list.
The slideshow will show (in the frontpage) this slide last in order of all slides.
This is logically wrong because when one adds a new slide, expects to be shown first in the slideshow in the frontpage!
So what I do every time, for every new slide, is move this new slide all the way up in the slide list. (Because I want this new slide to be shown FIRST in the slideshow in the frontpage).So there are two possible solutions:
1. when one adds a new slide, this will be added first, up, in the slide list
or
2. a checkbox in settings e.g. “Reverse order of slides” so although the new slide is added in the very bottom of the slide list, the slideshow in the frontpage will start showing slides from the bottom up.Gee, I hope I clarified the case 😉
Hi, after a year I came back to see if there is an update to this issue but still hasn’t been solved…
I think the best solution is to add a checkbox in settings to show slides in reverse order.
Thus all images can be added to the end and no moving of slides is necessary….
With the option “Show slides in reverse order” checked, last slide will be shown first.I still use it despite the luck of this feature. I just move every time the new slide to the top.
It a superb plugin missing a very basic feature.
PS and the code doesnt actually work… every time you add a slide, the code changes the order of all slides. In every new slide added the order is changed creating a mess.
thumbs up !!!
Forum: Plugins
In reply to: [e-mailing service] Change plugin languageDear jooky,
as achsanos said, on installation, I also get the french language, and I cannot change it into english! (I use the greek version of WP)
Maybe you can add the option for someone to change language, somewhere in the plugin’s menu…
Until then, I cannot checkout and use your plugin…
MerciForum: Plugins
In reply to: [Theme My Login] Register to a different RoleContribution to community:
This is how I solved the issue (given that in TML > Moderation > “E-mail Confirmation” is choosen):
1. Insert this code in functions.php
function set_role_on_registration( $user_id ) { if( isset($_POST['role']) ) { $role = 'friends'; } if ( in_array( $role, array( 'friends', 'guest' ) ) ) add_user_meta( $user_id, 'pending_role', $role ); } add_action( 'tml_new_user_registered', 'set_role_on_registration' ); function set_role_on_activation( $user_id ) { if ( $pending_role = get_user_meta( $user_id, 'pending_role', true ) ) { if ( !in_array( $pending_role, array( 'friends', 'guest' ) ) ) return; $user = new WP_User( $user_id ); $user->set_role( $pending_role ); unset( $user ); } } add_action( 'tml_new_user_activated', 'set_role_on_activation' );2. Copy theme-my-login/templates/login-form.php to your current theme’s directory and rename it login-form-2.php
Create a new page titled “Login Form 2” and place in it the following shortcode: [theme-my-login login_template=”login-form-2.php”]3. Edit file login-form-2.php and enter the following code:
<input type="hidden" name="role" value="friends" />just under line:
<p class="submit">4. In front-end, role-based registration is made through page “Login Form 2”
Cheers