Search Results for 'code'
-
Search Results
-
I have setup WordPress on a computer (Raspberry Pi3 running Ubuntu MATE 16.04) and it is working.
I installed bbPress and am trying to import my phpBB Forum http://binnie.id.au/BulletinBoard/index.php
It is unclear exactly what I need to enter in the “Import Forums” dialog.
I have tried many different options. I am assuming that this is asking for MySQL details.My CPanel reports
Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.5.48-cll – MySQL Community Server (GPL)
Protocol version: 10
User: iabi1038@localhost
Server charset: UTF-8 Unicode (utf8)MySQL® Databases shows
Database Size Privileged Users
iabi1038_phpb1 2.32 MB iabi1038_phpb1I have tried
Database Server binnie.id.au
Database Name iabi1038_phpb1
Database User iabi1038_phpb1
Table Prefix phpbb_This chugs along, with no obvious errors, except it seems to find nothing.
No reply_to parents to convert
No replies to convert
No tags to convert
No super stickies to stick
No stickies to stick
No topics to convert
No forum parents to convert
No forums to convert
No passwords to clear
No users to convert
Starting Conversion
Please help me create a new bbp role w/c is VIP.
add_filter( 'bbp_get_dynamic_roles', 'ntwb_bbpress_custom_role_names' ); function ntwb_bbpress_custom_role_names() { return array( // Keymaster bbp_get_keymaster_role() => array( 'name' => 'Administrator', 'capabilities' => bbp_get_caps_for_role( bbp_get_keymaster_role() ) ), // Moderator bbp_get_moderator_role() => array( 'name' => 'Moderator', 'capabilities' => bbp_get_caps_for_role( bbp_get_moderator_role() ) ), // Participant bbp_get_participant_role() => array( 'name' => 'Member', 'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) ), // VIP bbp_get_participant_role() => array( 'name' => 'VIP', 'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() ) ), // Spectator bbp_get_spectator_role() => array( 'name' => 'Guest', 'capabilities' => bbp_get_caps_for_role( bbp_get_spectator_role() ) ), // Blocked bbp_get_blocked_role() => array( 'name' => 'Banned', 'capabilities' => bbp_get_caps_for_role( bbp_get_blocked_role() ) ) ); }I’ve been silently lurking about here for a few months, this is my first official post.
I always try to do my best flying solo per se when it comes to troubleshooting.
Having said that, I have a quick question pertaining to the Codex ‘examples you can use’ in the functionality and layout section; if one of you might nudge me a bit then I would be most appreciative… I’m but a padawan with regard to coding/ comprehending the language, but I’m slowly learning little by little.
For ease of reference, the example I am referring to is for the following (direct copy/paste of statement): “This solution lets you add an “edit profile” to your wordpress menu – this only appears as a menu item if the user is logged in.”
To take this a step further, is it possible to get this working but not yielding it as being a main parent menu item?, perhaps it is achievable by changing some of the code in the example published in the codex?… or adding additional code?
That is, if at present there is an existing menu of Home, About, Accounts, Contact us, etc. etc…. who might be able to provide me with clues on how one could read/interpret/tweak the code provided on that codex page such that the ‘edit profile’ looks and performs exactly as intended, but rather than showing up on the main nav menu to instead have it be revealed, let’s say, under the ‘Accounts’ item, i.e., as a child to Accounts…
Yes this reveals what little I know in terms of understanding how to read code, and/but/so I’d appreciate any helpful suggestions on whether the above scenario is possible.
Thanks for reading 🙂
Cheers,
Hi All,
I already spent two hours working on this, but failed miserably.
I want to change the font of the topics listed in Recent Topics widget as normal, instead of bold style.
Which code should I change?I tried in bbpress.css, line 166, it seems it has no effect at all.
Please see this image: the font is too bold, I want it be normal

Thanks very much.
Hi everyone 🙂
I want my bbPress threads to be automatically marked as “solved” if the question (first message) gets 50 upvotes (yeah, I know that’s weird) and the upvotes/downvotes to get blocked. Yet, I want the thread to remain “open” even while it is solved, allowing users to keep on writing answers.
Is there some code (something like “if $upvotes>=’50’ { $threadStatus=’Solved’ };”) I could use to achieve that?