Resizing Anspress

What i have done: I use a normal template (not full width) and i disable the stats etc from the Anspress. I add them back using the Anspress widgets and works very well, without streching my page.

Font name

link is not working. please let us know which font icon you are using ? for example .apicon-history::before missed and I don’t know which font you have used , so the content is missing.

translation is incomplete

Did you tried version 2.4-beta2, download here https://github.com/anspress/anspress/archive/master.zip

Endless spinner with particular theme

There may be a JS error, is there any error you notice in console?

“Ask to answer” option when creating a question?

Not yet. will think about it. But you can achieve something similar by creating custom user role.

Suggest badge names for badge extension

I think if you make the icons/images and names hard-wired you risk them just not being bought/used, or even returned for a refund. Names which would be appropriate for one site may be totally inappropriate for another. Personally, I would let site admins name them as they want ~ which resolves the translation issue ~ and I would just allow admins to insert icons or images, maybe from a nice set that is supplied with the plugin.

Suggest badge names for badge extension

Hi Rahul! Can’t wait to see the badges back: you guys are working around the clock! I don’t want to add any extra work or to interfere with current development but I’m already using a badge system for other activities on my site and it would be great to have the same system for everything. It’s called BadgeOS and it’s opensource I believe. You can create your own badges with the name you want and lots of other possibilities like the ones @Dima asked. Plus, it’s compatible with Mozilla Open Badges ! I’m no programmer but I believe it’s just a matter of creating an add-on that basically add Anspress hooks to BadgeOS. This is not only a personal request. BadgeOS is used by quite a few educational websites (I’m an educator) and releasing as Anspress add-on would attract attention to your project. A question & answer system is much better than a regular forum when it comes to education and I’m sure Anspress would benefit from it. 😀

Working with AdSense

I’m using the following WordPress plugin with my website (Anspress included) and from all i have tried, that is the best IMHO. https://wordpress.org/plugins/wp-advertize-it/

Can I set a maximum of 200 reputation per day?

1. //$ap->add_action( ‘ap_added_reputation’, $this, ‘ap_added_reputation’, 10, 4 ); It is currently not active, implementing this action would not work without changing AnsPress core. 2. $row = ap_add_meta( $uid, 'reputation', $action_id, $reputation, $type ); if ( $row !== false ) { do_action( 'ap_added_reputation', $uid, $action_id, $reputation, $type, $current_user_id ); } It is called after reputation already added, only thing you could do is subtract just given reputation post-factum. That would pollute history log. (can’t just remove last row with reputation, it’s not thread-safe, unless there’s some big transaction going above it that I don’t know of) 3. In case first two points are fixed, you’d probably use code like this: add_action('ap_added_reputation', 'my_reputation_limit', 10, 5); function my_reputation_limit( $user_id, $action_id, $reputation, $type, $current_user_id ){ limit = 200; $deny_reputation = false; global $wpdb; $query = $wpdb->prepare("SELECT sum(v.apmeta_value) as points FROM ".$wpdb->prefix."ap_meta v WHERE v.apmeta_type='reputation' AND v.apmeta_userid = %d AND v.apmeta_date BETWEEN now() – INTERVAL 1 DAY AND now()", $user_id); $result = $wpdb->get_results($query); if ($result) { $deny_reputation = $result->points > $limit; } return $deny_reputation; } I don’t know php and sql, there must be syntax errors here.

Suggest badge names for badge extension

Thank you for AnsPress and I love the idea about badges.   Scholar – (become) 10  Up Votes at one Answer Joker – (become) 10 Down Votes at one Answer Question on demant – (ask) 20 Questions Answer on demant – (give) 20 Answers Nevermind – unfollow a Question Be a Star – one Question got over 100 views Lirarian – use for a Question 3 or more tags Mercenary – follow 5 user   are a few additional ideas. Ofcourse some of them could be upgraded (answer on demant / answer storm (40 answers) etc.)