Search Results for 'code'
-
Search Results
-
Topic: Site integration help
Is it possible for some one to show me how to do site integration with php
sudocode:
If (!loggedin){
echo “Login”;
}else{
echo UserId;
echo Username;
echo UserDisplayName;
}
I want bbPress to do all the authentication I just need to know how to pull that information. Or at least the userId. and I need this on the server side so I can do some other stuff. Thanks
Hi
I’m putting together a forum over at http://forum.photoguides.net
It’s yet to be launched and I’ve been having some trouble with plugins.
The plugins Allow Images, BBcode Lite, BB WYSIWYG Editor don’t seem to be working.
Take a look at http://forum.photoguides.net/topic/test-thread where I’ve tried some tags. When logged in and with the reply form visible there is no editing panel for the wisywyg plugin.
These three plugins all seem to be correctly installed in the my-plugins folder and are active. I’m assuming that because all three aren’t working, there’s some fault with the setup of the site.
Any help would be greatly appreciated

Thanks,
Ash Davies
Topic: Plugins for 2.0 Beta
Can the plugins on the site be used on the 2.0 beta forum as well? Do i just do as i normally would and upload them to my plugins folder?
Thanks
Jon
This is how I start a custom loop for a WordPress loop:
<br />
<?php $custom_posts = new WP_Query(); ?><br />
<?php $custom_posts->query('post_type=post&category=Uncategorized&order=ASC'); ?><br />
<?php while ($custom_posts->have_posts()) : $custom_posts->the_post(); ?><br />
<div class="project"><br />
<a>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_post_thumbnail(); ?></a><br />
<h2><a>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2><br />
<p><?php echo get_post_meta($post->ID, 'rw_services', true); ?></p><br />
</div><br />
<?php endwhile; ?><br />How to start a custom loop in bbpress 2.0, For example, topics from a certain forum or category? (and even show the reply count?)
Hi, I’ve just installed bbpress and I’m having problems with table spacing. The first few letters get cut off in the main index, I’m left with “opic Title” instead of “Topic Title”, and the thread titles are missing the first 2 letters as well. I’ve done a string search for “topic title” in the bbpress directory, but I can’t seem to find the related code. Any advice on how to fix this problem?
http://www.noisechannel.org/forums/
Wordpress 3.1.3
BuddyPress 1.2.8
BP-Framework 0.3.6
Thank you!
Topic: I got this error problem :(
SQL ERROR!
>>> Database: xxxxxxxxxxx (localhost)
>>>>>> CREATE TABLE IF NOT EXISTS
bb_posts(post_idbigint(20) NOT NULL auto_increment,forum_idint(10) NOT NULL default 1,topic_idbigint(20) NOT NULL default 1,poster_idint(10) NOT NULL default 0,post_texttext NOT NULL,post_timedatetime NOT NULL default ‘0000-00-00 00:00:00’,poster_ipvarchar(15) NOT NULL default ”,post_statustinyint(1) NOT NULL default 0,post_positionbigint(20) NOT NULL default 0,PRIMARY KEY (
post_id),KEY
topic_time(topic_id,post_time),KEY
poster_time(poster_id,post_time),KEY
post_time(post_time),FULLTEXT KEY
post_text(post_text)) TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8’;
>>>>>> 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 ‘TYPE = MYISAM DEFAULT CHARACTER SET ‘utf8” at line 16
Key master email not sent!
I am using XAMPP and I tried to integrate it with WP which I installed it into the same database.
can anyone please help me ?
