Jim
Forum Replies Created
-
Forum: Plugins
In reply to: [Mixed Media Gallery Blocks] Wrap caption in lightboxThank you. The premium version may be the way to go, although my site is non-profit. I did find that the following code allows the caption to wrap:
/* Get captions to wrap in light box */ .pgc-rev-lb-b-view div.pgc-rev-lb-b-item-title { white-space: normal; }That said, it still doesn’t look as nice as some of the examples on the website, with centered title and caption below the images.
Forum: Plugins
In reply to: [Asgaros Forum] How can I use “Varela round” as font for forum!?“Varela Round” vs. “Varela round”?
Forum: Plugins
In reply to: [Asgaros Forum] How can I use “Varela round” as font for forum!?You mention clearing cache but not which one. There is always a browser cache. There may be a plugin that caches pages, preventing you from seeing changes. And your hosting company may have some caching software sitewide (you would have to ask them).
Try adding a query to the url, like “?a=b” to break a cache.
Forum: Plugins
In reply to: [Asgaros Forum] activate issue@dg78,
Did you try deactivating other plugins before activating Asgaros to see if the problem persists?
Jim (not Asgaros support)Forum: Plugins
In reply to: [Asgaros Forum] WordPress 5.9 and crashingNo problem here. Did you try disabling all other plugins in Site Health troubleshooting?
Forum: Plugins
In reply to: [Asgaros Forum] Can my theme use its user classes for the forum?Yes, that should do it. To be clear, I am not Asgaros support, just a user.
You might specify that the hook needs to have access to the user id and the user role (to see if it is a candidate), so that you can assign the forum user group to the user.
Forum: Plugins
In reply to: [Asgaros Forum] Can my theme use its user classes for the forum?No, I don’t think giving the forum user group the same name as the theme’s user group will make things work the way you want.
Whether you can use an action hook depends on a few things: when and how the final user role is assigned (during registration? afterward manually by you?) and whether there is an action hook in either wordpress or the theme when that happens to trigger some code that would assign the corresponding forum user group to the user.
Since you are paying for the theme, I suggest you ask on the theme’s support web site about a hook to use when the user role is assigned. If not, it may not be hard to do it manually unless you get overwhelmed with thousands of candidates.
Forum: Plugins
In reply to: [Asgaros Forum] Can my theme use its user classes for the forum?Your theme looks pretty complex, coming with WP Jobs Manager, private messaging, etc. Not sure what all it does. You mention people are candidates or employers. I assume those are user roles created in the theme.
I’m still not sure what you’re trying to do with the forum. It sounds like only candidates should see and use the forum?
Forum user groups could accomplish this. Forums are organized into categories. In category settings, you can set what user group(s) will have access to the forums in that category. You could just use one category and set it to a user group Candidates.
But I don’t think the forum will recognize/use the theme’s roles by default. You can create a Candidate user group. You can manually assign new members who get the candidate user role to the Candidate user group. It is also quite possible that it could be done with an action hook automatically.
Forum: Plugins
In reply to: [Asgaros Forum] Can my theme use its user classes for the forum?Your question is not really clear, at least to me. The stuff you saw about simplepress applies to Asgaros Forum too; it links to the WordPress login and registration page, no separate login, no PM. What you’re trying to achieve with user admin and classes I can’t really tell. Do you mean user roles? That is taken care of automatically, you shouldn’t need to do anything.
Forum: Plugins
In reply to: [Asgaros Forum] Restrict ‘New Topic’ access to only admin and moderator@preethisk, in Forum > Structure, where you can edit forums, you can set up each forum to require approval for new posts. When editing the forum, use the Status menu to choose Approval.
Forum: Fixing WordPress
In reply to: I’m having difficulty customizing my site after changing themesIt looks like your site was set up with Visual Composer, which I’m unfamiliar with (based on all the vc_ shortcodes and classes). Shortcodes show in your staging site; classes in the active site. I’m guessing maybe VC is deactivated on the staging site, or the theme is incompatible with VC.
Hopefully somebody more knowledgable can chime in. For the record, the best links for people to see your sites are:
Active: https://cynthiaweirr.com/
Staging: https://staging9.cynthiaweirr.com/Your site content is not being lost, it’s just not being presented correctly. You could switch your staging site to Newspaper to see if it then looks like the public site. That said, there are still a few glitches with the main site in Newspaper that you would have to sort out.
Forum: Fixing WordPress
In reply to: After manually updating it still says, there are updatesI noticed that with the standard 5.9 update also. After a while the notice of remaining update went away, so I don’t think it’s a problem.
Forum: Fixing WordPress
In reply to: I’m having difficulty customizing my site after changing themesIt’s hard to know in what way that view is jumbled without knowing what it looks like in the Newspaper theme. In any case, changing themes can be a complex job, especially when you have a lot of custom css. Such css often is theme-specific, and must be adapted and rewritten for the new theme.
Forum: Developing with WordPress
In reply to: redirects after logging inThanks, but that’s just a plain old redirect. It overrides everything. But this works, keeping the redirect requested in my shortcode if present, otherwise redirecting to the home page.
function fp_login_redirect( $redirect_to, $request, $user ) { if ($request == '') return home_url(); else return $request; } add_filter( 'login_redirect', 'fp_login_redirect', 10, 3 );Forum: Developing with WordPress
In reply to: redirects after logging inThanks. It looks like I would have to get the PRO version just to do the page-specific redirects I do with my shortcode. Beyond that, I’d like to avoid all the unneeded code that comes with a plugin.