Forum Replies Created
-
In reply to: Plugin: bb-Topic-Views
fel64, thanks for changing it for me. However i get an error when i replace the function with yours, then add <?php $view_count = get_view_count(); echo $view_count; ?>
The error is:
Fatal error: Call to a member function on a non-object in bb-topic-views.php
Actually, adding <?php display_view_cont(); ?> was the very first thing i tried adding earlier. But it didn’t do anything. I have no idea how to write php but am always trying to edit files and see what i can achieve by myself. But in most cases end up getting no where.
In reply to: Plugin: bb-Topic-ViewsIs there a way to stop it showing next to the topic title and place it wherever I want? I was thinking of making an extra column to add views in to, instead of having them appear in the title link.
In reply to: Hack: bb replies as wp comments; using bb API?Nevermind i figured it out. You put < code > tags on this line:
$topic_id = $wpdb->get_var(“SELECT topic_id FROM <code.>$posts_table</.code> WHERE <.code>post_id</.code> = $felpostID LIMIT 1;”);
Now it works great, big thanks!
In reply to: Hack: bb replies as wp comments; using bb API?I get this error on my comments page
WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘
wp_bbpress_post_posts
WHEREpost_id
=]SELECT topic_id FROM
wp_bbpress_post_posts
WHEREpost_id
= 32 LIMIT 1;In reply to: How to PERMANENTLY delete a post?God only knows why the option to permanently delete posts wasn’t put in to start with. It seems like a no brainer really
In reply to: Plugin: Avatar UploadOk sure. Though bare in mind this is probably a really crappy way of doing it, but hey, I don’t even know php, so give me some credit for trying hehe.
I deleted bb-avatar-upload.php from /my-plugins/ and put it in my wordpress plugins folder. Then at the top of the file I put:
include(‘/path/to/blog/forum/avatar_function.php’);
I created avatar_function.php myself and pasted in the contents of the bbpress config file. The reason I didn’t use the original file is because the follow was causing an error when logging in to the admin panel.
require_once(‘/path/to/blog/wp-blog-header.php’);
define(‘wp_bb’,true);
That’s basically it. I’ve checked about every page and everything is working fine, so i’ve no idea if there’s any potential problems doing this, but all I know is it works as far as i can tell.
In reply to: Plugin: Avatar UploadW00t! I’ve figured out how to display the avatar next to comments in wordpress. Though the way I have done it i’m worried it’s going to cause problems.
Now if only there was a way to display a default image if the user hasn’t uploaded one. Not that it’s a big deal. Thanks
In reply to: Emoticons For bbPress?I used this plugin and the row of smilies show beneath the edit form, but they are unclickable. An even when I just type in etc, they don’t appear in the post.
In reply to: Plugin: Avatar UploadAh i was hoping it would be something simple like inserting a bit of code in the comments page rather than needing a plugin to call stuff from the database. Being rubbish at php that kind of thing just confuses me, so will have to cross my fingers that someone else does it
In reply to: Plugin: Avatar UploadIf you use wordpress aswell, I don’t suppose you know of a way to include the avatar next to the users comments? That would complete a perfect avatar mod.
In reply to: Custom profile data and avatarAh that custom profile addition plugin is *almost* perfect. It works great, I’ve added custom fields, they appear in my profile/edit-profile. The only problem (and its minor) is that I can’t find out how to change the size of the text field for the Bio part. Would like a big scrollable box for that. Also I can’t find what file the profile data is stored in so i can change the appearance. Any clues? An thanks alot!