I forgot to give a big thankyou to jaim3! Thanks mate! Your script just made life a million times easier for me!
Cheers!
to run a script to convert phpbb2 data to bbpress i had to add add this handler to the .htaccess folder in the root of my site:
AddHandler application/x-httpd-php5 .php
That got the script running, but then I was unable to access my bbpress install. I’d receive:
Cannot select DB
So I took the “AddHandler application/x-httpd-php5 .php” out and it seems to work perfectly.
Phew!
Does that mean that bbpress doesn’t work with php5?
cheers!
Adam Teale
kickass! yes our server was set by default to php4. The server guys said:
We have checked our server logs. The reason for the issue is not related to the memory limits for your account.
The file_put_contents() function is only available in PHP 5.
By default our servers handle any requests to .php file through the PHP 4 interpreter. By default the PHP 5 interpreter processes only files with .php5 extension.
If you want to change this in a way that .php files are processed by the PHP 5 interpreter you should put the following line in your /www/blog/.htaccess file:
AddHandler application/x-httpd-php5 .php”
I’m trying to amass a list of links to sites related to bbPress (authors’ sites, info, etc) for the website. If you have a site of that nature, you can email me, or post it here to be added.
<?php bb_stylesheet_uri(); ?> does work for me!?
Anyways, you can also do something like following I did in bbpress-mobile plugin:
<?php $stylesheet = (bb_get_option('uri') . 'my-templates/mobile.css'); ?>
<link rel="stylesheet" href="<?php echo $stylesheet; ?>" type="text/css" />
Trent
mdawaffe,
I’m sorry, I just saw your request today, so I was not able to give your suggestion a try, but it looks like the issue was resolved.
I have been focusing on our templates for our WordPress site the last 2 weeks, but now I am back in the mix to get our forum up and running.
Its good to be back @ bbPress.
All the Best,
Orion
Hey Community,
I am trying to link to an image in the “my-templates” directory for my bbpress template. When editing templates in WordPress I used:
<?php bloginfo('stylesheet_directory'); ?>
Is there something similar that I can use for bbPress?
I tried:
<?php bb_stylesheet_uri(); ?>
& it didn’t work.
Anyhow, any help would be greatly appreciated.
Thanks,
Orion
unreasonable request….. ow sorry
Perhaps, but if you’re looking for ease, it’s WAY easier to get the user to add what they want than to ask all plugin creators to add variables into their plugins. The second request is probably unreasonable even… especially when bbpress REALLY takes off and there are 98120948124 plugins available.
Yeah, I’ve got that. Seems like this might be something to add to the next version of that plugin.
Anyway, thanks again Atsutane for your great plugin and the fast updates!
Well they way I want it, makes it possible to auto update the available menu links… Or it has to check every plugin page if it has a page available…
Perhaps its easier to ask this question when I release the plugin…
I’m working on a patch (it’s basically finished actually) that addresses bug 520. If it is not accepted in the trunk (core code) then I might develop it into a plugin instead.
i believe it is the latest version – i downloaded it today – .75 i think
it would be so so so nice if this works!
Cheers Trent
I’m running IE6 with service pack 2 also. Not sure why it would be blocking me. The forums RSS links here don’t work for me. When you click on the RSS link it gives the address of feed:https://bbpress.org/forums/rss/topic/571 – should it be dropping the http://?
Hmm….maybe the function name changed? What version of bbPress? 0.75?
Trent
Strange. I have XP service release 2 with newest version of IE6 (prior to having to upgrade to IE7) and can see my feeds and the ones of the forum.
https://bbpress.org/forums/rss/
What version of IE6 are you running and what URL?
Trent
hey guys,
I seem to get the same error as Jaxxx:
Fatal error: Call to undefined function: file_put_contents() in phpbb2bbpress.php on line 383
anyone got any ideas?
cheers
Adam
Anything is possible.
Instead of doing it the way you’re suggesting, why not have what you’re doing interact with s010’s site options plugin and let the end user add what pages he wants to the menu system. Then you simply put the values needed into an array and foreach them out dynamically. The user can call the pages whatever they want and link to whatever page they want in the menu.
Maybe using a array? Like
$menu['FAQ'] = 'faq.php';
Passing this through a filter so everybody can add his links via filter in his plugin…
I tested it out and it sent me an email when I posted a new topic. That works for now. But, like we said, an “add forum to favorites” plugin is needed. For anyone reading this, what we are talking about is strictly for the plugin called notification_all.php which can be foun here:
https://bbpress.org/forums/topic/313?replies=34#post-1784
Hi,
I am in the proces of making a nice menu plugin. It has al the features like drag & drop etc etc. This works great. Now I want pluginbuilders, who have made a plugin and use a new page like the memberlist plugin, to be able to easy add their page to the menu.
I would like to do something like this (dont mind the wrong syntaces, its for some easy explaining):
In my menu.php plugin page I’ve added something like:
function get_menu_pages ()
select $menu_titel, $menu_page from bb_menu where blablabla
I need 2 variables now: $menu_titel and $menu_page
A new plugin adds in its plugin page these variables:
Excample: memberlist plugin
$menu_titel = Memberlist
$menu_page = memberlist.php
This works, no problem so far, but what happens if in another plugin page is added:
Excample: FAQ plugin
$menu_titel = FAQ
$menu_page = faq.php
How will function get_menu_pages () react? Will it only get the first variable from the memberlist plugin, or will it get both, or will it simply crash. Is this even possible at all?
The reason I want to do it this way, is that plugin builders can easily add their page to my menu plugin by simply filling in the $menu_titel and $menu_page variables on their own plugin page.
Hope this makes any sence and if this doesn’t work, what solutions are there for this?
Any news on the roles-based forum permissions. It is the only feature holding me back now … I have been exploring all sorts of options involving more advanced forums (smf, phpbb etc …) but those involve crappy bridges, none of which work well or look nice. I love bbpress’ simplicity … so, any way to restrict certain forums to certain users? I don’t even need it to be roles-based. I’m OK just selecting users individually to have access to a specific forum.
If I’m not mistaken Trent, I think that plugin notifies the ADMINISTRATOR of ANY post to ANY topic. Since it does not add any visible subscription option to any forums, I can only assume that’s what it does. The only other possibility is that it emails EVERYONE when ANYONE posts ANYTHING ANYWHERE on bbpress, which would be a disaster. Can anyone verify what exactly notify_all does? I installed it, but could not see a difference.