Search Results for 'code'
-
AuthorSearch Results
-
November 13, 2006 at 5:56 pm #51360
In reply to: Dropdown menu listing & Integration with WordPress?
worrypascanada
MemberI beleive you… Don’t worry, I don’t blame your article. It’s very well written; no joking
.Thanks for your support. By the way, nice to meet you.
Hope you can help.
Here is my config.php:
define(‘BBDB_NAME’, ‘per my WordPress wp-config.php’); // The name of the database
define(‘BBDB_USER’, ‘per my WordPress wp-config.php’); // Your MySQL username
define(‘BBDB_PASSWORD’, ‘per my WordPress wp-config.php’); // …and password
define(‘BBDB_HOST’, ‘ localhost’); // 99% chance you won’t need to change this value
$bb_table_prefix = ‘bb_’; // I chose that my bbPress prefix start with bb_.
$bb->domain = ‘www.patrimoineacadien.com’; // Not sure which domain to choose here? http://www.patrimoineacadien.com is my WordPress domain.
$bb->path = ‘/bbpress/’; // My bbPress folder is title bbpress as shown in this FTP path: (/public_html/blogue/bbPress). My WordPress folder is title blogue as shown in this FTP path: (/public_html/blogue/bbPress).
$bb->name = ‘Babillard PatrimoineAcadien.com’;
$bb->admin_email = ‘** MODERATED**’;
$bb->mod_rewrite = false;
$bb->page_topics = 30;
$bb->edit_lock = 60;
$bb->gmt_offset = -4; (Eastern Daytime)
define(‘BBLANG’, ‘fr_FR’);
$bb->akismet_key = ** MODERATED**;
$bb->wp_table_prefix = ** MODERATED**; // I’m sure about my WordPress database prefix!
$bb->wp_home = http://patrimoineacadien.com; // WordPress – Options->General: Blog address (URL) // No trailing slash
$bb->wp_siteurl = http://patrimoineacadien.com; // WordPress – Options->General: WordPress address (URL) // No trailing slash
When I add wp_home & wp_siteur1 URL as http://patrimoineacadien.com , I get the following error: Parse error: syntax error, unexpected ‘:’ in /home/patrimoi/public_html/blogue/bbpress/config.php on line 53 at http://patrimoineacadien.com/bbpress/bb-admin/install.php?step=1 . I retrieve this URL http://patrimoineacadien.com under my WordPress Options General.
November 13, 2006 at 5:51 pm #951Topic: Allowed tags
in forum Troubleshootingdlats
MemberI used
<a href....> here</a>and it simply repeats the code without the backticks. What am I doing wrong?November 13, 2006 at 5:20 pm #51365In reply to: deleting posts in Firefox
travelsuperlink
MemberI found I cannot delete the post too, in both IE6 or firefox.
in firefox, every time I try to delete, it shows the message: “Something odd happened.”
in IE6, when I try to delete, it shows the message: “Processing Data…” but with the error on page, click it shows:
“
Line: 362
Char: 2
Error: ‘new Thread’ is null or not an object
Code: 0
URL: http://www.travelsuperlink.com/forum/topic.php?id=44&replies=1
“
anybody could give some hints what’s wrong, which files I need to copy again? Thanks.
November 13, 2006 at 3:39 pm #51359In reply to: Dropdown menu listing & Integration with WordPress?
astereo
MemberYou’re doing something wrong in the config. (Don’t blame my article
)Chances are, your WP information is not matching up in your BBpress config. Post your config file here (just take out the db passwords) and I’ll be glad to help.
November 13, 2006 at 11:34 am #51253In reply to: how the bbpress’s front page controller works?
ear1grey
MemberYou’ll have noticed that there’s no “topic” subdirectory inside your “forums” directory, so what I think you’re asking is “is bbPress really serving a page that doesn’t physically exist on my hard drive?”
The answer is yes, bbPress generates the page on the fly, so there is no stored page that has the content of that URL.
Apache’s
MultiViewsoption makes this happen because the server tries to find the best match to your URL. It looks first forforumsand finds it, so then it looks fortopicin forums, which doesn’t exist, so it tries the next best thing, which is to look for anindexof some kind, and it finds the bbPressindex.php.When bbPress runs (through index.php) it still sees the originally requested url, so the fact that it’s a request for
topic/242is spotted by the code – it’s a simple as stripping the integer value from the string and using that as the primary key for the database lookup.Briefly, the sequence is that
index.phploadsbb-load.php,bb-load.phploads yourconfig.php, which specifies where your DB is (so the content can be generated),config.phpthen loadsbb-settings.phpwhich is where most of the core request-processing is done.At least… that’s what I got from looking through the code
A core dev. might be able to describe it better.
November 13, 2006 at 10:50 am #946Topic: Add Reflections to bbPress Images
in forum Themesyottabite
MemberOriginally posted at http://forum.blandname.com/topic/11
Using http://cow.neondragon.net/stuff/reflection/ I was able to add reflection to the blandname bbPress theme.
Here’s how it works:
You’ll need two files to make this happen.
- the famed prototype.js – http://prototype.conio.net/dist/prototype-1.4.0.js
- reflection.js – http://cow.neondragon.net/stuff/reflection/reflection.zip
Put both files in either /my-templates or /bb-templates, CHMOD them to 755, and edit your header.php file accordingly.
In my case:
<script type="text/javascript" src="/my-templates/reflection.js"></script><script type="text/javascript" src="/my-templates/prototype.js"></script>Was added before the last div tag in the header.php file.
In order to make the reflection work, make sure to add
class="reflect"to any img tags you wish to have reflecting and looking all mac daddy cool.November 13, 2006 at 1:01 am #49420In reply to: Importing from phpBB
Trent Adams
MemberDid you edit the plugin to have your database username, database name and password? The plugin requires that information hardcoded into the space provided.
Trent
p3t3r
MemberVery nice Theme.. it looks a lot better than my attempt to let bbPress look like K2.
When will you publish it? Do you plan to put the code a plattform like Google Code to make development more accessable?
(Sorry, that my english is a bit crappy, it´s due to I don´t speak and write in english regularily.)
November 11, 2006 at 8:12 pm #51115In reply to: What do you think about my design ?
lordcoder
MemberAwesome
November 11, 2006 at 5:47 pm #936Topic: login problem once again
in forum Troubleshootingfee4ka
MemberMy bbpress is not integrated with WP, it’s a free standing forum. But I have the same problem – I can’t log in. I see only page with log in form and nothing more
I read this: http://bbpress.org/forums/topic/112, then I cleared my cookies and temp files, and still the same 
My forum is: http://www.auto-trivia.ru/forum/
November 11, 2006 at 8:27 am #49418In reply to: Importing from phpBB
pixelfight
MemberI got this message….
Access denied for user ‘root’@’localhost’ (using password: YES)
I am very new to databases, and I really could use some help here
November 11, 2006 at 8:03 am #51315In reply to: BBPress…nothing is working
pixelfight
MemberNevermind..
November 11, 2006 at 4:07 am #51308In reply to: New theme for bbpress-should I make it now?
Atsutane
MemberI dont think they gonna change the theme system for now
November 11, 2006 at 3:57 am #51307In reply to: 500 Internal Server Error
Atsutane
MemberYeah it works now
Thanks for your help
November 11, 2006 at 3:11 am #50923In reply to: Favorites to appear on WP home page?
Atsutane
MemberJust want to let u know. The post count is broken. U can download the new version to fix this
November 10, 2006 at 11:36 pm #51012In reply to: Working as a Page in my theme.
Atsutane
Membernolageek, it was a bug on bbpress 0.73 – https://trac.bbpress.org/ticket/476
For temp solution u need to disable akismet
November 10, 2006 at 5:58 pm #49733In reply to: Email subscription
snowcrash
MemberNot having email notifications is the only reason that stalls me from using bbpress with WP.
While a lot of effort has gone into RSS integration, as others have said, it’s not straightforward for many ordinary users. Email is still dominant.
I hope email notifications will be developed, or least a plugin please
thanks
November 10, 2006 at 12:41 pm #51301In reply to: Theme designers: Use CSS classes, not IDs.
ear1grey
Membergnawph wrote:
The bbPress designers would look foolish changing all of their IDs to Classes and wouldn’t conform.
I’ve already stated that: “I’m not advocating the removal of any of the ID’s from templates”. I am, however, conscious that the reliance on ID based formatting in the default template is more likely to run in to integration problems in the long run.
“Latest and Popular are different tables and shouldn’t be labeled the same”.
Yes,
latestandpopularare different tables (their ids are different), but they are both examples of a certain kinds of table that show an ordered selection of items based on some kind of score (be it date or rating). So it’s better to define what that kind of table is, so use a class.“If code redundancy is an issue you could always go:
#latest, #popular {“Yes, this does have a similar effect, but, if I’m writing a plugin with UI elements then for it’s output to be shown correctly in TemplateX, either:
- I have to add CSS to the plugin which might work with TemplateX, but be incompatible with TemplateY, or
- The authors of X&Y must alter their css to cope with my plugin.
This potential hassle just becomes less likely if template designers take an extra few minutes to consider what the more abstract classes in the design should be!
BTW:
class="tableonmainpage"might be better described as.mainpage > table {}November 10, 2006 at 11:45 am #50444In reply to: Google sitemap
lstelie
MemberHello earlgrey
The 06rc1 version seems to work very well
(note : line 21
$version=0.6rc1;must be replaced by$version='0.6rc1';)The version number is still 051 in the xml file so it may be hardcoded somewhere in the code.
By the way the correct link is 0.6rc1
November 10, 2006 at 1:58 am #51299In reply to: Theme designers: Use CSS classes, not IDs.
gnawph
MemberUsers should have to rethink their CSS. Not using a ID selector just because a “newbie” doesn’t realize there can only be one element attatched to them is lame. The difference between ID and Class is one of the fundamentals of CSS. The bbPress designers would look foolish changing all of their IDs to Classes and wouldn’t conform. These selectors carry semantic meaning and without them your HTML code becomes less proffesional and harder to read.
Latest and Popular are different tables and shouldn’t be labeled the same. If code redundancy is an issue you could always go:
- #latest, #popular {
- <table id=”latest” class=”tableonmainpage” >
-or-
If somebody is going to be digging around and making their own theme they should really take 5 minutes to read a CSS tutorial.
November 9, 2006 at 11:47 pm #51298In reply to: Theme designers: Use CSS classes, not IDs.
ear1grey
MemberThat’s part of it yes…
…but also, using ID based formatting can cause trouble down the line when users want to add more elements to the page and find they have to change the CSS rather than just saying that their new addition
<thing id='latest' />;should be formatted in the same way as<thing id="popular" />;because they’re both the same kind of table.This is a double pain because CSS seems to get stuck in some browser caches so users see the new page with the old CSS.
The shift from “how do I want this to look?” to “what kind of thing is this and what do those things look like?” is (I have found) worthwhile.
November 9, 2006 at 11:36 pm #51297In reply to: Theme designers: Use CSS classes, not IDs.
gnawph
MemberRight. I’m sorry, but I don’t understand your point.
I like the ID elements, much easier to understand the page.
I’m doing a quick check of bbpress’s default templates and I don’t see too many IDs I’d even consider repeating inside the code.
Is your poing that styling more than one ID with the same colors, padding, whatever, is redundant?
November 9, 2006 at 10:47 pm #50441In reply to: Google sitemap
ear1grey
MemberWell done, external bug #1. I have
mod_rewriteenabled, and it works – you appear to have it switched off, so you’ve found something I’ve not seen.I’ll try a build that escapes the loc and put it on the site shortly.
November 9, 2006 at 10:40 pm #51296In reply to: Theme designers: Use CSS classes, not IDs.
ear1grey
MemberUsing anchors for navigation (“jump links”) is a good thing, I agree. I’m not advocating the removal of any of the ID’s from templates. The fact that so many WP and BB elements are identified in the DOM is a good thing – for one thing it makes the identification of objects easier in JavaScript.
It’s just that ID based styles are not as extensible as class based styles – ID styles let you describe the style for
one and only oneelement. Class styles let you describe the style forone or moreelements that declare they are of that type.November 9, 2006 at 10:21 pm #50440In reply to: Google sitemap
lstelie
Memberhello,
Well no, I got
Sitemap errors for http://cafe.saint-elie.com/sitemap.bb.xmlThis Sitemap has the following errors:
Errors
Line:
2
Parsing error
We were unable to read your Sitemap. It may contain an entry we are unable to recognize. Please validate your Sitemap before resubmitting. [?]
Line:
2
Invalid URL
This is not a valid URL. Please correct it and resubmit. [?]
-
AuthorSearch Results