Search Results for 'code'
-
Search Results
-
Hi all, I have been playing on and off with WordPress, BBPress and Buddypress, mostly to build my own company website.
I have almost completed my quest to make BBpress as functional and user friendly as any other major, paid for, forum software offers, and I think I have even improved to my own preference and proven that BBpress is capable to be better then any commercial package.
Please review my website, I have a demo account as you need to be logged in for all the plugins and hacks to be visible.
I have added quite a few plugins and function snippets, I do not know how to code php or javascript, just basic html and css for the rest I cut and paste until it works, although I do understand what I am looking at with php after 4 years of cut-and-paste…lol
username: demo
passowrd: demo2017Just to let you know, I breed hybrid strains of medicinal Cannabis so you will find this content on my website!!
Hi,
After a day of using the example.php to create a custom import form I finally tried to run it and all I get is Staring Conversion with the little spinner next to it and nothing else happens.
I have stopped it and then chosen another converter just to see what it does and it does run past there telling me No fourms to convert etc …
For curiousity I ran a different conversion and used the wrong username and it did tell me it couldn’t connect. I also did that again using the wrong database and it said it couldn’t connect tot he database. So I am guessing that this starting conversion, spinner, nothing (even after leaving it for 1/2 hour and I do not have a large forum to convert) must be an error after there is a database connection and before the main code runs.
Here is basically what I have done
Renamed example.php to Originalforum.php
Changed Line 4 to * Originalforum converter base impoprter template for bbPress
Changed line 9 to class Originalforum extends BBP_Converter_Base {
Went through line by line and changed as needed, making sure that the case in the tables was the same in the file.
Used example.php, mingle.php and vanilla.php to check each line. For example I used the vanilla.php dates code as the one I am doing has the same format as needed and the mingle.php to add in the bottom the public function callback_topic_status code.
If anyone can point me in the right direction to get past the starting conversion – spinner – nothing else that would be most appreciated. I know once I am past that if there are sql / code errors I will be able to fix those – I just need to be able to get to that stage!
Thank you for your time.
Hi,
I am moving an old site to WP and bbPress and need to convert my old forums. I understand I need to use the example.php in the converter folder and write a converter for each old forum – there are 3 I am gong to convert.
And wouldn’t you know it, the 3 different forums use 3 different date formats!
Here they are
1415922411
2004-09-13 19:25:59
20080407181855From looking around in all of the converter files I see that forum dates are done 2 ways
In example converter – I am guessing that I would use this format to convert the date like 20080407181855 ?
// Forum dates.
$this->field_map[] = array(
'to_type' => 'forum',
'to_fieldname' => 'post_date',
'default' => date('Y-m-d H:i:s')
);
In vanilla converter – I am guessing I would use this format to convert the date like 2004-09-13 19:25:59 ?
// Forum dates.
$this->field_map[] = array(
'from_tablename' => 'Category',
'from_fieldname' => 'DateInserted',
'to_type' => 'forum',
'to_fieldname' => 'post_date',
);
Anyone know how I can convert a date such as 1415922411 to the correct date format – which I am guessing is Y-m-d H:i:s?
Thank you for your time.
Topic: Removing date stamp
I’d like to remove the date stamp from topics and responses. I found a couple of code suggestions trough Google searches but I haven’t gotten any to work. As a work around, I simply changed the wordpress general settings for date and time to Custom, and then left the custom field blank. This almost worked. The date/time stamp changed from, for instance, “11/25/2017 at 7:03 am” to just ” at “. My trouble is that “at”. I’ve been sniffing through the wordpress and theme php files to remove it or change it to a space, but cannot figure out where the “at” is. Can anyone tell me how I can change or remove it?
Topic: Prefix in the topic name
Hello i’m french and sorry for my english.
I have modify the css and template of bbpress and i have copy the files in my host.
But when i create a topic i have “teste Name of Topic“.In local i have check “Topics Loop – Single” and i have find “teste” i have delete this and prefix is deleted but in my host “teste” is not in Topics Loop – Single.
I do not know what can create the prefix.I use bbp pack style and more plugins as bbpress2 bbcode, bp tools bp attachments.
thank you in advance
I keep running into the following error when trying to import my Vanilla 2.x forum database. I’m using WordPress 4.9 and bbpress 2.5.14.
Repair any missing information: Continue WordPress database error: [Specified key was too long; max key length is 1000 bytes] CREATE TABLE GcuHRqrGbbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default '0', meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key(191), meta_value(191)) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci; No data to cleanStarting ConversionAny ideas on what I need to do to get this error resolved?
Topic: Closed topics
Hello.
I would like to create a forum with closed topics. The person just will be able to see the topic the admin and the person who create. Is there any way to do that?And is possible to modify the new topics shortcode? I would like to remove the “Topic tag” and another options in some places. One time the topic are closed, there’s no function for this options.
Thank you for your attention.
Hi. I have a few issues with bbpress. The page I need help with is https://www.thosecrazyvegans.net/forum/
1. The top of the browser tab bar it says Forums Archive – Those Crazy Vegans
however, I would like it to say Forum – ThoseCrazyVegans.net
How do I fix this?2. When someone post a new topic they have to fill out the form at the bottom of the forum, however they cannot select a forum from the drop down menu. How to fix?
3. The search bar does not have an search button. Why and how to fix?
4. Is it possible to edit this page in X Theme Cornerstone. I am not able to.
5. The HTML code that I added to the Forum page does not work. When the New Topic link at the top of the Forum page is clicked, I would like it to go to the New Topic form at the bottom of the page. However, the HTML code that I added does not seem to work. What is the full page code for this?
Forum page code
<a href="https://www.thosecrazyvegans.net/wp-login.php">Login</a> <a href="https://www.thosecrazyvegans.net/register">Register</a> <a href="https://www.thosecrazyvegans/forum#newtopic">Create New Topic</a> [bbp-forum-index] <a href="#newtopic">[bbp-topic-form]</a>Thank you.