Heavily Customised MyBB Forum (Custom Theme + Addons)

Why are you selling this site?
I started this project last year and have not got round to opening the forum but it has great potential.

How is it monetized?
Not currently.

Does this site come with any social media accounts?
N/A

How much time does this site take to run?
The more time you put into it the more profit you will return, a bit like any website.

What challenges are there with running this site?
Growing the community.

Simulating a custom card game in Fate Core

In the world I created, there’s a famous card game. It has the following characteristics:

  • Complex and numerous rules
  • Spectators can bet during the match
  • The winner is the player who won more “tricks” (no specific definition of what a trick is)
  • Cheating is possible but complicated

Creating the exact rules for such game doesn’t seem worth it (it might take more time that thinking an entire campaign).

How can I simulate a match of such game? I’d like a game to be an entire scene (where PCs might be either spectators or players of the game)

I’d like to have the players have the feeling they’re really playing the game, trying to outwit their opponent, cheat, bluff, etc.

I already know it can be handled as a Contest, but I still see it hard to picture such Contest. Without creating the exact rules of the game, how can I create tension during the Contest? How can players know what kind of skills they might use?

how to make my custom gallery work in wordpress

So am creating a custom theme in WordPress and looking to achieve this enter image description here

I was able to output my category but not too sure how to output the remaining information. As you can see from the image below for each category there is a recent blog post on the left and then other blog post in the same category on the right.

Below is my code please advise what am doing wrong.

<?php  global $  post;     $  args = array(        'posts_per_page' => 4,        'post_type'     => 'post',        'orderby' => 'ASC',                );                        $  query = new WP_Query($  args);             while($  query->have_posts()): $  query->the_post();             $  taxonomy = 'category';             $  term = wp_get_post_terms($  post->ID, $  taxonomy);             ?>                                                 <!-- Left Details Caption -->                                         <div class="col-xl-6 col-lg-12">                                             <div class="whats-news-single mb-40 mb-40">                                                 <div class="whates-img">                                                     <?php the_post_thumbnail('small');?>                                                 </div>                                                 <div class="whates-caption">                                                     <h4><a href="latest_news.html"><?php the_title();?></a></h4>                                                     <span>by <?php the_author();?>   -   <?php echo esc_html(get_the_date()); ?></span>                                                     <p><?php the_excerpt();?></p>                                                 </div>                                             </div>                                         </div>                                           <!-- Right single caption -->                                          <div class="col-xl-6 col-lg-12">                                             <div class="row">                                                 <!-- single -->                                                 <div class="col-xl-12 col-lg-6 col-md-6 col-sm-10">                                                     <div class="whats-right-single mb-20">                                                         <div class="whats-right-img">                                                         <?php the_post_thumbnail('small');?>                                                         </div>                                                         <div class="whats-right-cap">                                     <?php if ($  term && !is_wp_error($  term)) :?>                                         <?php foreach ($  term as $  serv_terms) :?>                                                             <span class="colorb"><?php echo $  serv_terms->name;?></span>                                         <?php endforeach; endif;?>                                                             <h4><a href="<?php the_permalink();?>"><?php the_title();?></a></h4>                                                             <p><?php echo esc_html(get_the_date()); ?></p>                                                          </div>                                                     </div>                                                 </div>                                                                                          </div>                                         </div>                          <?php endwhile; wp_reset_postdata();?> 

WordPress or custom coding better for this project?

I’m a LAMP developer with a ton of experience building custom-coded websites in a variety of PHP frameworks who has been tasked to develop a website for a customer who strongly prefers that I use WordPress. My WordPress knowledge is extremely limited. I have built a couple of simple sites using Envato themes that didn’t really require any custom plugin development, or meddling with source code.

This site would be different. It would be a custom fitness tracking website where users can login, view videos of exercises, and log their workouts. (Yes, I know there are a million of these out there, but this company wants their own).

Here’s an overview of my major requirements:

  • Customer accounts with secure login
  • Paid Subscriptions with multiple levels allowing access to different features
  • Videos of exercises
  • Forms to log progress (time, reps, etc.)
  • Charts and graphs to view progress
  • Leaderboard to show comparisons of members
  • Ability for future iOS/Android apps to integrate with the website/database

From my limited knowledge of WordPress, I would have to build some custom plugins for this. I don’t see anything out there that would accomplish all of these requirements. I’m also assuming that I would need a separate MySQL database to store the majority of this data.

Are these requirements able to be accomplished with WordPress in a relatively straightforward manner? How would a WordPress expert go about tackling this project?

Learndash 3: Custom scoring for quiz questions

I have a project in WordPress + Learndash 3. The whole point of my project is to simulate an exam that that has some weird scoring rules for each question.

Here is how points should be awarded for multiple answer questions:

All multiple answer questions have 5 answers from which 2 to 4 answers are correct (depending of the question) Let’s say some questions has the following answers:

A B C D E = 5 answers from which 2 are correct (A and C)

If I mark correctly A and C I get 5 points:

A B C D E  X   X   1 1 1 1 1 = 5 points 

If I mark A and B I get:

A B C D E X X 1 0 0 1 1 = 3 points 

In this case the user gets 1 point for A because is correct, 0 points for B because is incorrect and marked correct, 0 point for C because it was the correct answer but is not marked, and 1 point for each D and E because they are wrong answers but the user has not marked them as incorrect.

In conclusion I need Learndash Quizez to award:

  • 1 point for each correct answer
  • 1 point for each incorrect answer that user has not marked as correct
  • 0 points for answers that are incorrect and marked as correct
  • 0 points for answers that are correct but not marked as correct

How to apply custom filters for John The Ripper when cracking RAR3 archive password?

My problem is that I’m trying to crack RAR file with is encrypted with RAR3 encryption. Decided to try with John The Ripper. Here are clues I have from my friend.

  1. Max password length is 8
  2. Only capital letters or digits

And I need now filter to make John crack the password without trying to check small lowercase letters. On hashcat it’s easy to do but program do not support $ RAR3$ *1 type of hashes.

Add custom fields in the new and edit the site forms without touching the WP core

I am working on a custom plugin to add some extra fields in each forms of user and site. Therefore, I need to add few custom fields in the both new/edit site and user forms. Just to know if there is a way for me to add custom fields when I create or edit the site and users through Network admin panel without touching the WP core.

How to Filter custom post type by taxonomy?

here is my code trying to make it

  <div class="row"> <div class="col-lg-3 col-md-12"> <div class="card">     <div class="card-body">     <form action="<?php the_permalink() ?>" method="GET">   <?php  $  terms = get_terms([   'taxonomy' => 'topics',   'hide_empty' => false ]);  foreach ($  terms as $  term) :  ?>  <label>      <input       type="checkbox"       name="topics[]"       value="<?php echo $  term->slug; ?>"       <?php checked(         (isset($  _GET['topics']) && in_array($  term->slug, $  _GET['topics']))       ) ?>     />      <?php echo $  term->name; ?>    </label>  <?php endforeach; ?>   <button type="submit">Apply</button>  </form>      </div> </div>     </div><!--end of col1 -->     <div class="col-lg-9 col-md-12"> <div class="row"> <?php $  courses = new WP_Query(     array(         'post_type' => 'courses', // This is the name of your post type - change this as required,         'posts_per_page' => -1,         'tax_query' => array(                             array(                                 'taxonomy' => 'topics',                                 'field'    => 'slug',                                 'terms'    => $  term->slug,                                 'operator' => 'IN'                                 )         ) // This is the amount of posts per page you want to show     ) ); while ( $  courses->have_posts() ) : $  courses->the_post(); // The content you want to loop goes in here: ?> <div class="col-lg-6 col-md-12">                                 <div class="card shadow bounceIn"                                     style="margin-top: 10px; border: none; border-radius: 13px;">                                     <div class="card-header"                                         style="color: white; text-align: start; border-top-left-radius: 13px; border-top-right-radius: 13px; background-color: #EE225D;  border:none;">                                         <h6 style="padding-bottom: 0; margin-bottom: 0;"><?php the_title(); ?></h6>                                     </div>                                     <div class="card-body"                                         style="padding-top: 20px; padding-bottom: 20px; color: #2B2365;">                                         <h6 style="font-weight: 700;"><?php the_field('full_name'); ?></h6>                                         <p><?php echo wp_trim_words( get_the_content(), 30, '...' ); ?></p>                                         <a  href="<?php the_permalink(); ?>"                                             style="float:right; color: #EE225D; background-color: transparent; border-color: #EE225D;">View                                             Course</a>                                     </div>                                 </div>                             </div>  <?php endwhile; rewind_posts(); wp_reset_postdata(); ?>   </div>     </div><!--end of col2 --> </div> 

but when i refresh the page it keeps trying to load and when i remove function rewind_posts it load the page but filters not working i watched many videos trying to solve it but no success code explanation two columns one having the filters and second column having the posts

Does this registry entry for implementing custom protocol handlers in Windows present a security risk?

Background

Some features are not yet available on the web platform and thus require cooperation with a native application in order to provide them. One method for a web application and a native application to communicate with each other is a custom protocol handler.

For instance, the web application can call "mycustomproto://some/params", where "mycustomproto" must first be registered with the operating system as a valid URI protocol. On Windows, this is done in the registry. There are a few keys/subkeys/values etc that must be added to the registry, but only one actually deals with specifying the executable and it’s parameter(s).

Note that once the protocol handler is registered with the operating system, it can be launched by any website that knows of its existence, subjecting it to potential abuse.


Example Windows registry value for this purpose

All of the examples that I’ve found documenting this show the following:

C:\myapp.exe "%1"


Primary Question

Assuming that the registered handler (e.g. "myapp.exe") has zero possible security flaws, is the above example registry value sufficient for ensuring that malicious websites are unable to piggyback additional commands and/or arguments?


Clarifications

  • For the purpose of this question, please assume that the protocol handler (e.g. "myapp.exe") is incapable of exposing vulnerabilities of its own – it’s idle – it launches, does nothing, and quits. This question is specifically related to the browser and/or OS and the "execution" of this registry value.
  • Can malicious actors somehow escape out of the "%1" double quotes and cause the browser and/or OS to run additional commands (e.g. && C:\Win32\do-something-malicious.example.exe)?
  • Similarly, can malicious actors somehow send additional arguments to the protocol handler? Or does the "%1" ensure that the handler will only ever receive a single argument?
  • If this registry value is insufficient to only ever call the protocol handler (and nothing more) with a single argument, is there a better way?