Search Results for 'code'
-
AuthorSearch Results
-
February 28, 2007 at 3:26 am #54950
flatworm
MemberThanks, I will try.
I suck at code file editing, but sometimes i get lucky.
February 28, 2007 at 3:09 am #54949Fakey
MemberTrent, does the maintainer of the code know the localhost problem exists (yes, even with path-to-url.2.php plugin)? The only way I’ve managed to get around it is by directly editing the “bb-templates/kakumei” files.
Also, another note, I’m using lighttpd on a windows machine. This probably adds to the slash havoc.
February 28, 2007 at 3:05 am #53891In reply to: Bozo problem
huntherx17
MemberI’ve been trying to trace which code assigns the post status to “2” for every post but I cant seem to find it since it marks every post a spam, bozo or not bozo. I dunno why.
February 28, 2007 at 2:36 am #55094In reply to: Installation Problem (last time was a disaster!)
fel64
MemberI think the contents of your bbpress folder (config.php, bb-includes, bb-images etc) should have been uploaded to /otherblog/forums, and your .htaccess file should go next to them in the /otherblog/forums folder. Good luck
February 28, 2007 at 12:45 am #53890In reply to: Bozo problem
wsokc
MemberThanks Trent! u’re the savior…
February 27, 2007 at 11:30 pm #54907In reply to: Integrating Aggrss into bbPress theme?
CMoseley
MemberI’m not sure exactly what your asking. I copied and pasted the code in my WordPress template into my bbPress template. Works fine in WordPress, gives me the above error in bbPress.
The code I used was:
<?php
if ($rs = aggrss('http://onctalk.com/wp-commentsrss2-custom.php'))
{
// dump the structure
//echo "<pre>";
//print_r($rs);
//echo "</pre>";
echo "<a href='" . $rs[link] . "' style='color: #000000; font-weight: bold;' >" . $rs[title] . "</a>";
echo $rs[description] . "<br />";
foreach ($rs['items'] as $item)
{
echo "<p><a href='" .$item['link']. "'>" . $item['title'] . "</a><br/>" .html_entity_decode($item['description']). "</p>";
}
if ($rs['items_count'] <= 0) { echo "Sorry, no items found in the RSS file <img src='http://www.soderlind.no/wp-includes/images/smilies/icon_sad.gif' alt='
' class='wp-smiley' /> "; }
}
else
{
echo "<!-- It's not possible to reach RSS file -->";
}
?>February 27, 2007 at 10:08 pm #55085In reply to: “/” Escaping issue within my posts
Null
MemberIt happens on this forum as well. You get more \every time you edit a post one is added.
Excample (used the code tags):
echo '<li><a href="link-to-your-thingy.com">Thingy-name</a></li>';I didn’t add any in it Also code between the code tags shouldn’t be altered at all.
Every time I edit this post (and leave the in) it wil ad 1 more…
Edit:
LOL seems to be fixed now :S
February 27, 2007 at 9:39 pm #55062In reply to: WordPress + BBpress vs. WordPress + Vanilla
flatworm
Memberif ( !defined('BBPATH') )
define('BBPATH', dirname(C:AllProgramingphp&mysql SERVERwordpressbbpress) . '/' );
require_once( BBPATH . 'C:AllProgramingphp&mysql SERVERwordpressbbpress' );
?>Are this last lines correct if the path to my bbpress is: “C:AllProgramingphp&mysql SERVERwordpressbbpress” ?
February 27, 2007 at 6:44 pm #54673In reply to: Import SMF to bbPress
vedmak
Member>>The only thing I can say is: have you deleted all occurrences of ut8_encode? There are more than one.
I deleted all ut8_encode. You can see my script.
>>If so, please send it to antiswen at yahoo dot es (yep, es, not com).
I don`t know spanish (yahoo dot es?), that is why i put it on my blog.
Download my script and SMF db
February 27, 2007 at 6:30 pm #50946In reply to: Quote Option
fel64
MemberHas anyone made a plugin for quoting posts? Is it under development? It’d be great.

By the way, Trent, not sure if you still use the same CSS but instead of declaring
border-xxxx:for each side you can simply declareborder:and it’ll apply for all sides.
February 27, 2007 at 8:21 am #55061In reply to: WordPress + BBpress vs. WordPress + Vanilla
fel64
MemberHave you entered all the right details in your
config.php? Since you’re sharing databases it should have the same database info (name, user, password) as wordpress’swp-config.php.Yeah I call this a debugged version – Chrishajer sums it up nicely.
February 27, 2007 at 4:14 am #54342In reply to: Updated to Desmond But Theme Not Working
kirkk
MemberTo fix this, i have uploaded all my files and directories without installing them on localhost… First, i uploaded wordpress to my web server and installed it then uploaded bbpress and installed it on web server…
… before of that “above” , i had installed both of them on my localhost then i had uploaded them to my web-server, but that moment i had problems with slashes. Because there is an confusing section about slashes between the normal windows and web server…
And i recommend that do not change the folder name of your “bbpress” after u upload it to your web server . I tried it two or three times after i installed both of my wordpress and bbpress on my web server, it caused slashes to head backwards…
Now i have solved all my problems

forward to hearing from you with the same

(sorry for my english if i made any mistake, it is not my first language)
February 27, 2007 at 3:23 am #50263In reply to: Users dont receive password after registration
master5o1
ParticipantI am looking for a similar/same fix. I have no smtp/mail sending abilities, and I am looking for a way to print it nicely on screen. Can one of you please explain the above ‘fix’
I’ve just begun attempting to use php so I don’t quite understand yet.
February 27, 2007 at 12:54 am #54341In reply to: Updated to Desmond But Theme Not Working
ccmve
MemberI’m having a similar problem.
I’ve uploaded my custom theme to /my-templates/mytheme
The default theme is in /bb-templates/kakumei/
The site is working fine, but I see this error: “Theme not found. Default theme applied.” And I cannot switch to my custom theme. The reason is in the URL to the custom theme in the presentation>themes panel:
http://
forum.mybbpress.com/bb-admin/themes.php? theme=C:\WWW\PUBLIC\forums.mybbpress.com/ bb-templates/mytheme/&_wpnonce=36ec0251ebObviously that URL won’t work. I’ve uploaded both plugins above. Neither worked. How do I fix the URL to mytheme?
February 26, 2007 at 11:47 pm #54404In reply to: REQ: Theme demo switcher like phpBB
lonemadmax
MemberNew version, same link. No need to touch core files now. It relies on the bb_foot action to inject the box. More info in the README.
February 26, 2007 at 11:12 pm #54624In reply to: Plugin: bbMenu 1.0
fel64
MemberUse function_exists( string $function_name );
I don’t know how your plugin works, but if you made any calls to hooks then they simply won’t be called (as far as I understand it). Your code will probably also not be loaded. This plugin inactive shouldn’t be a problem?
February 26, 2007 at 11:04 pm #55056In reply to: WordPress + BBpress vs. WordPress + Vanilla
fel64
MemberWhat do you mean by manual?
You have to change some settings in config.php, but that’s it. Nothing a monkey with a keyboard and a human to do the work for him couldn’t do … really, it’s simple.
No editing code or the like. Even if it’s in a different subdomain you barely have to do anything.Certainly doesn’t sound as much work as installing Vanilla – bbPress is set up to use mostly the same tables as WP already …
February 26, 2007 at 11:02 pm #53925In reply to: post or reply by email
fel64
MemberWhile it sounds like somewhat useful functionality, I don’t want it – if it was enabled by default in bbPress, I’d even want to turn it off. Anything that means users can just visit once, know that they’re going to get any answers and never have to come back is that you’re going to get a lot of users who do just that. I would much rather they check regularly, sometimes see something that catches their eye and hang around … It just sounds like a feature that hinders a community building up.
February 26, 2007 at 9:20 pm #1486Topic: WordPress + BBpress vs. WordPress + Vanilla
in forum Installationflatworm
MemberIt requires alot of pain in the *** to install Vanilla on WordPress.
I do not want to do it manualy.
<b>Does this thing require a manual hookup?<b/>
Does it still have the bug that had to be solved by editing the code?
February 26, 2007 at 9:19 pm #54672In reply to: Import SMF to bbPress
lonemadmax
MemberI’m very sorry to hear that. The problem is most probably in the script; as I said, I’m a complete newbie to php and databases, and just modified the script without really knowing how much of it worked. The only thing I can say is: have you deleted all occurrences of ut8_encode? There are more than one. Also utf8_decode may give you problems, but I don’t think they’d be the ones your seeing.
Is there any chance that I could get a dump of your database? (A fake one, with russian characters in fake posts and fake users from SMF in the same conditions as the real one, so that I can play with it here.) If so, please send it to antiswen at yahoo dot es (yep, es, not com). Oh, and please zip it or something so that yahoo doesn’t mess with the text.
February 26, 2007 at 8:13 pm #54621In reply to: Plugin: bbMenu 1.0
Null
Membersuleiman, I am still trying to figure out why the damn thing won’t install for you. I am kinda busy at the moment so it could take some time.
For template builders I have the following message:
If you build a template and want to make it compatible with bbMenu you can use the code below.
It shows the bbmenu if it is installed, if not it will show nothing (or your own hardcode menu).
……..Changing code…….. stay tuned……….
February 26, 2007 at 5:42 pm #54275In reply to: Patch: Categories for version 0.8
spencerp
MemberSam, you ROCK!
That worked like a charm!!Thanks so much for posting the correction here, I just ran this one, and it worked!

patch -p0 <categories-build719.patch
Just wondering though Sam, when another patch is submitted, would I/”we” just use same method as before, or..? Cause I’m thinking, it would merge badly right? Or something might go awry right?
Since the patch basically creates files/ applies changes to the specific files.. and running another patch, would/could just make things messy right? Thanks again for adding the correction here…

spencerp
February 26, 2007 at 3:06 pm #55052In reply to: 3 question about bbPress
john24
MemberThank you. I am going to check the plugins for my needs and just have to find someone to fix my kitchen sink
February 26, 2007 at 12:46 pm #55007Fakey
MemberOh no, quite the contrary. The results are shown fine too. The problem is when the titles are show a local variable
$topicsis created:<?php
foreach ( $titles as $topic ) :
$count = $topic->topic_posts;
?>This is all fine and dandy, but, as you can see,
$topicis a local variable and won’t be any use further down the page when the code checks whether results have been returned or not.I hope I’m making myself clear. Let me reiterate just for kicks: The title results show up fine, but the php code prints “No results found.” as well. Just change
$topicsto$titlesin the following code in the template file “search.php”:<?php if ( !$topics && !$recent && !$relevant && !$users) : ?>
<?php _e('No results found.') ?>
<?php endif; ?>February 26, 2007 at 8:47 am #54274In reply to: Patch: Categories for version 0.8
Sam Bauers
ParticipantTo patch:
1. copy the patch file to the base directory of your forum
2. cd to the base directory of your forum
3. apply patch using:
patch -p0 <categories-buildXXX.patch
Where XXX is the build number.
Make sure there is no space between “<” and the start of the filename. That was a mistake in my instructions.
-
AuthorSearch Results