Forum Replies Created
-
In reply to: Freshness for Category
consider me tuned ! π
In reply to: Freshness for CategoryNo problems, if you’d like the last post date rather than freshness, use this plugin
In reply to: Freshness for CategoryPut the following code in your functions file
function change_no_topics ($anchor) { if ($anchor=="No Topics") { $anchor=" " ; } Return $anchor ; } add_filter ('bbp_get_forum_freshness_link','change_no_topics') ;
This will blank it.
If you want it to say the same each time, just change the $anchor=” ” to whatever you want it to say.
If you don’t know how to do any of this, come back
In reply to: Impossible to edit repliesNo problem !
In reply to: Make Forum Category Index page look like Topics page@kvr28 great looking modification. Just tried it and it fell over with a parse error :
Parse error: syntax error, unexpected ‘=’ in….line 44
which is
bbp_has_forums(βpost_parent=β.bbp_get_forum_id());
Any ideas?
In reply to: Removed Spam But Topic Remains CurrentWhen you say “The spam is removed “, if you’ve only marked it as spam, then the post still exists, and the system may recognise this – whether it should is another matter !
Try going into Dashboard>replies and deleting the offending reply.
In reply to: Importing Users from Kunena1Yes (at least it was in my case) – unless the old system used the same password system, then the encrypted password is alien to WP, so unless it just believes that all users are genuine, then it has to reject users.
Password lost works as a good mechanism as it sends email to user, so confirms identity.
I just created a page in my menu headed “old forum users” and put a message in there that they wuld need their password reset for security reasons, and to click lost password. I then used the [bbp-login] and [bbp-lost-pass] shortcodes to display that on screen under the message.
In reply to: Import old users without an email / passwordif you’re happy with rough and ready, I’ll try and cut some next week ! should be a simple couple of loops (but they’re never as simple as that !)
In reply to: Import old users without an email / passwordNo problem – I spent several weeks getting my head around importing from a flat file database, in similar circumstances !
The real issue here is whether you can get email addresses. If you can, then if you import users as per my previous, they can use “password lost” to re-do their passwords, and then it’ll all be fine.
The problem otherwise is that posts link to user-id’s not names, so yes when they register they’ll get a new ID, and the old posts won’t show as theirs. Additionally logon names need to be unique so they can’t register with any existing username !
OK so what would I do?
I’d do as previous and create a user table to import, but call each user ‘old_xxx’ – you can do this before import, effectively your placeholder.
As each user registers, you can run some code around the posts to remap them. You’ll get a registration notice, so if you cut some code, then you can just run this each time someone registers. Basically you would just enter there old username and their new one. The code would look up the old ID, the new ID, and then run through posts to remap to the new user. If you’d like help with that, just let me know and I’ll try and cut a quick loop code that you can run straight on the website (pw protected of course)
In reply to: Getting errors in my logok, you need to eliminate whether it is a plugin or theme issue
Check other plugins
Check that no other plugins are affecting this.
Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.
Check themes
If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.
and come back and let us know
In reply to: Shotcodes not workingCheck other plugins
Check that no other plugins are affecting this.
Turn off all other plugins apart from bbpress, and see if that fixes the problem. If the problem is resolved, add back one at a time to see which is causing the conflict.
Check themes
If plugins are not the cause, then it may be a theme issue. Switch to a default theme, such as twentytwelve, and test.
In reply to: Getting errors in my logtry running the forum repairs
Dashboard>tools>forums>repair and run one at a time
In reply to: phpBB3 Import Finds NothingSo you’re fixed !
In reply to: Block UserIt could with some coding, but this message probably applies to many situations eg not logged in
Try this in your function file
//This function changes oldtext to newtext function rchange_translate_text( $translated_text ) { if ( $translated_text == 'oldtext' ) { $translated_text = 'newtext']; } return $translated_text; } add_filter( 'gettext', 'rchange_translate_text', 20 );
where old text is the old text, and new text the new.
If you have more than one of these functions (seem to think I have given you this solution for another part), then just make sure the function name is unique eg this ones called rchange… so next time maybe call it schange… and change it in first and last lines to match.
In reply to: Shotcodes not workingwhat shortcodes?
what software versions of bbpress, buddypress and wordpress are you running?
what theme?
what plugins are you running?
url of your site?
when do you get 404 – logged in, not logged in?etc.
We would love to help you, but give us a fighting chance of working out what is wrong by giving us some details π
Come back and we’ll do our best to hep you !
In reply to: Impossible to edit repliesand this on their site seems to suggest issues
http://help.olegnax.com/discussion/2099/retro-with-buddypressbbpress/p1
In reply to: Impossible to edit repliesthis just posted in wordpress
https://wordpress.org/support/topic/cant-edit-own-post-with-bbpress?replies=1
is that the same website?
In reply to: Search Results Returned but list emptyand if you make it public does it work?
In reply to: Import old users without an email / passwordThis does presume that you’ll be doing a manual re-register – ie that the users will send you a name and email and you’ll just amend the username created in the conversion. If you want an automatic registration, then come back as that may be really complicated !
In reply to: Import old users without an email / passwordI imported from an access database (ditto conversion to sql) so know what you’re going through! see https://bbpress.org/forums/topic/documented-import-from-snitz-access-database/ for a blow by blow of how I did this and presume you’re already well into using custom importer https://codex.bbpress.org/import-forums/custom-import/
Now given that you’re going to re-register users, then we only need the topics to be assigned to a user which exists, which then when they re-register you can set up properly.
So for instance if you have a topic with the author name of “fred” – then you need a user fred to exist. This needs to be at ID level.
So in essence you’ll need to import
topic with author ID
User with same IDMinimum info to create a user is (in theory – it may be less) ID, username, email and password.
In my case they mapped from a snitz access forum (via sql) as follows
MEMBER_ID _bbp_user_id
M_NAME user_login
M_PASSWORD _bbp_password
M_EMAIL user_emailSo I would go about it this way.
What we need to end up with is a topics/replies table that has a author ID (number) against each topic/reply.
In a user table, we then need that same ID, together with name, password and email.So first I’d go back to my lotus notes and see if topics has an author ID. If not we’ll need to create one (we’ll do that in a minute).
Then from the topics and replies lists create a set of autor names and (if it has them) ID’s
Create a user table (in my case in excel, but presume you’re familiar with creating in lotus notes) with the following headings
ID NAME PASSWORD EMAIL
If your topics/replies doesn’t have user ID’s then you just need to populate this table with unique ones, I’m pretty sure that you can just start with 1 and increment them – wordpress will assign new ID numbers as they come across starting with the next number that wordpress is not using.
For password, just put anything – and they can all be the same
Emails must be unique in theory, but don’t need to exist so abc@def.com is fine (you’ll be fixing these as they register, so doesn’t matter). But as you’re importing directly into the database, I reckon you could get away with them all being a single fictitious one. But if you have the skills, I’d create them as increments eg abc1@def.com, abc2@def.com just in case
so now you have a user table to import.
If you topics and replies don’t have author ID’s, then now go back to the topics and replies tables and run macro to populate a new column using name against the user table you’ve just created to populate with id.
Now we have topics with ID’s an da user table to import. Just check that column names match the importer, convert it all to sql, and off you go !
In reply to: Change the color of the linkyou’re welcome !
In reply to: Change the color of the linkThis comes from your theme’s main style, in my case
a:link { color : #EEEEEE !important ; }
if you want to change this throughout your site, then drop this into your style.css (or amend the current setting)
If you just want it in bbpress
#bbpress-forums .bbp-author-name a:link { color : #EEEEEE !important ; }
should work
In reply to: Forum visibility and readabilityNo, nothing you can do, but I’ve just made an error in my plugin, and I think I have solved the problem above by chance !!
The plugin will let you do this, but you’ll have to wait for the plugin though as it is still in dev – expect a week !
I should be able to get content in as well with luck !
Sorry can’t be sooner, but a lot of code to write properly now I know it works !
and of course no guarantee that I won’t find some major flaw !
In reply to: Help with "facebook-style" page preview for my blog?No problem, not an area I’m any good at, but maybe someone else reading may have the knowledge !
Hope you get fixed !
Yes, it is in the long list I have, and I have failed you !
As per your other post, this is all in related area, and I’ll try and have a look at this also !