Search Results for 'code'
-
Search Results
-
I’m translating bbpress to spanish (using a custom mo file) and so far there are 3 phrases that I can’t translate;
In topic view I can’t translate;
” You must log in to post. “
” Posted 2 weeks ago # ” (in this case “weeks” appears translated but not the rest of the phrase)
” Allowed markup: a blockquote br code em strong ul ol li img.
Put code in between
backticks. “I can’t locate them, where ca I find them so I can hand translate? or what do you need to put in the .po file so it works?
Topic: Cannot access profile page
Got a bit of a weird error happening – Let me begin
Yesterday I did a bit of work sorting out my quite frankly flaky forums – Got everything working quite nicely but then I decided to remove the Avatar Upload plugin because I couldn’t get it looking nice against the users in the forums in the time I had left
However having turned it off I then found I couldn’t access any of the user profile pages including my own – I just get a completely blank page
I’ve removed the calls to show the avatar on the profile page itself but its still falling over
The site error log is reporting the following:
[Wed Aug 15 04:24:42 2007] [error] [client 86.158.248.246] PHP Fatal error: Call to undefined function bb_get_header() in /home/httpd/vhosts/<sitename>/httpdocs/forums/profile.php on line 1, referer: http://<sitename>/forums/
Now I know that this simply isn’t true – bb_get_header() is part of the core and its more likely that one of the plugins has gone screwy but I’ve tried turning off the plugins but I’ve done quite a bit of customisation and the majority of the plugins don’t die quietly – they cause major blow-outs if not available so I’m now having to go through all my template code and put if blocks around them to stop them
The list of plugins I have installed are as follows
Limit Latest Discussion 0.73
Simple Onlinelist 1.5
My Views 0.05
BBPress Private Messaging 0.80
Posts since last visit 0.5-beta
Report Post 0.11
Avatar Upload 0.8.2
Private Forums 5.2
Use Display Name 0.7.2
bbPress signatures 0.14
My Views module – Started/Participated Topics 0.05
Any help would be really appreciated
As everyone knows, if a user registers in bbpress instead of through wordpress(mu) that user doesn’t get a default role set.
I’ve dug and dug on both the bbpress and wpmu forums and haven’t found a fix for this. I did find a fix that apparently works for wordpress, but I tried it for wordpress mu with no luck.
The 4th post in this thread explains a way to set roles in wordpress mu.
I imagine that a plugin with the combination of the two solutions would allow users to register through bbpress and get a default role on the main wordpress mu blog. But, unfortunately I have no clue what I’m doing. If anyone has a free minute or two to look at the bits of code and maybe hack something together that would be awesome.
Oh, and I’m using the latest versions of both bbpress and wpmu.
Topic: DIV placement problems
Hi,
I have a problem placing a div. I want 2 divs placed in 1 div. I only get 1 div in the div, but the other 1 is giving me problems.
This is the code I have:
body
{
background: #fff;
margin: 0;
padding: 0;
height: 100%;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
}
.draggable {
position: absolute;
border: 1px solid #0090DF;
background-color: #68BFEF;
text-align: center;
}
#drag1 (= the green one)
{
position: absolute;
border: 1px solid #fff;
background-color: #9c0;
padding: 2px;
margin-left: auto;
margin-right: auto;
}
#drag7
{
top: 10px;
left: 250px;
}
#drag7 div (= the red one)
{
cursor: move;
background-color: #900;
height: 50px;
width: 50px;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body>
<div id="drag1" class="draggable">Drag by handle</div>
<div id="drag7" class="draggable"><div></div>Drag by handle</div>etc
And this picture will explain excatly what I need (the green div under the red one):
http://www.sourceskins.com/voorbeeld.jpg
Thanks for the help
. bbPress rocks.
. Anyways, I got the code that Detective wrote to work once I pulled my head outta my butt!