Search Results for 'code'
-
Search Results
-
I’m calling the wp-headers in forum as advised in seamless integration thread. I need to add a link to the forum profile in the header as users get confused when they only see the admin tab for wordpress. I have the loginanywhere script, and need a link to the users profile edit somewhere in this code:
`echo “<div class=’greeting’>nHej, “; echo $user_identity; echo “! Inställningar | “;
echo “Logga utn</div>n”;`
My forum is here: http://www.doublepeace.se/forum/
I’ve got sloppy members not closing their tags and the markup runs through the rest of the page. Doesn’t WP already do auto close on tags? Did bbpress not pick up that part of the code?
After trying to add code between backticks, all I’m left with is something like this:
`m`
Instead of:
<img src="http://www.yourimghosthere.com/yourimage.gif" />Deactivating plugins didn’t fix it, and nothing else has changed other than the upgrade. Is anyone else running into this?
Edit: okay, at least now I know it works on the bbPress forums. I’ve no clue where to look to fix this, can anyone toss out an idea or two?
‘code’ works, so long as I don’t include the brackets around the code I’m trying to show.
You may notice that the table row highlighting doesn’t work in IE (at least in IE 6.0 which many people use)
I found this easy, drop-in solution to use IE’s HTC support
http://www.xs4all.nl/~peterned/csshover.html
save this file into your template folder
http://www.xs4all.nl/~peterned/htc/csshover.htc
then add this to your stylesheet
body {behavior:url("/path-to-your-template/csshover.htc");}optionally but recommended, you might also want to add this to your .htaccess in apache since it probably won’t serve the right mime type for HTC by default which breaks XP sp2
AddType text/x-component .htcNow :hover can work on almost anything in IE just like real CSS browsers.
Hello,
After installing the software successfully, all database tables were created ok but when I clicked on the link to login it repeatedly told me the forum software wasn’t installed. On checking I noticed two bizarre things:
1. Although the placeholder topic had been created and other tables populated, the forum table had no entries, it was empty, i.e. it had not created the first forum detailed in the installation to match the topic that was there. Creating a temporary entry with the id of the successfully created made the forum work, but then…
2. When I logged in as the user I created during the installation there was no admin option so I check the user meta table and it was down as ‘member’ and not ‘key master’.
I am using the latest bbPress (downloaded this morning), running php 5.2.3 and mysql 5.0.41. Both are near enough out of the box installations and working fully (the only change to mysql was to set password in legacy mode).
Please help as I can’t do anything!
btw, one other minor question completely unrelated. Why when I look at people’s code listed in forums or hyperlinks, is it chopping off the entry at the end of the line and not wrapping? I’m using firefox, haven’t checked against IE.
I have had wordpress 2.2.1 up and running for a while. I just tried to install bbpress, using the table prefixes ‘wp_’, since I think that is necessary to have any authors registered on my wp site to be able to get on to bbpress, and vice versa. My bb’s config.php has the same database info as my wp’s config.
When I ran the install.php file for bb, I recieved some errors:
Second Step
Now we’re going to create the database tables and fill them with some default data.
bbPress database error: [Incorrect table definition; there can be only one auto column and it must be defined as a key]
ALTER TABLE wp_posts ADD COLUMN post_id bigint(20) NOT NULL auto_increment
bbPress database error: [Key column ‘post_id’ doesn’t exist in table]
ALTER TABLE wp_posts ADD PRIMARY KEY (post_id)
bbPress database error: [Multiple primary key defined]
ALTER TABLE wp_tags ADD PRIMARY KEY (tag_id)
1. Created table wp_forums
2. Created table wp_topics
3. Created table wp_topicmeta
4. Created table wp_tagged
5. Changed default value of wp_posts.post_status from publish to 0
6. Added column wp_posts.post_id
7. Added column wp_posts.forum_id
8. Added column wp_posts.topic_id
9. Added column wp_posts.poster_id
10. Added column wp_posts.post_text
11. Added column wp_posts.post_time
12. Added column wp_posts.poster_ip
13. Added index wp_posts FULLTEXT KEY post_text (post_text)
14. Changed type of wp_tags.tag_ID from int(11) to bigint(20) unsigned
15. Changed type of wp_tags.tag from varchar(255) to varchar(200)
16. Added column wp_tags.raw_tag
17. Added index wp_tags KEY name (tag)
bbPress database error: [Unknown column ‘post_id’ in ‘field list’]
SELECT post_id, poster_id FROM wp_posts WHERE topic_id = 1 AND post_status = 0 ORDER BY post_time
bbPress database error: [Unknown column ‘post_id’ in ‘where clause’]
SELECT * FROM wp_posts WHERE post_id = 114
Finished!
Now you can log in with the username “admin” and password “*Your WordPress password*”.
However, when I try to log in to my wordpress admin area as the ‘admin’ now, I receive the error:
“You do not have sufficient permissions to access this page.”
I am able to log into bb, but there are multiple errors on each page; this is repeated many times on the page:
“bbPress database error: [Unknown column ‘post_id’ in ‘where clause’]
SELECT * FROM wp_posts WHERE post_id = 0
Anonymous.”
I would just remove the bbpress completely, just to get wordpress login working again, but bb seems to have altered my wp user data?
thanks
