Search Results for 'theme'
-
Search Results
-
I just updated to 2.6 and all looks great except there are 2 cover photos on single member pages…any ideas? I am using Kleo theme.
Hello!
I just read everything about the same fatal error that was resolved for a multisite but in my case there is just a normal wordpress install in a subdirectory of my server.My Installation is as follows:
WP version: 4.5.3
Web server: Apache (Linux serv01.esm7.siteground.biz 64-bit #13 SMP Tue Mar 15 13:23:00 EET 2016)
ABSPATH: /home/csrhella/public_html/csrh/community/
WP_CONTENT_DIR: /home/csrhella/public_html/csrh/community/wp-content
WP_PLUGIN_DIR: /home/csrhella/public_html/csrh/community/wp-content/plugins
Table prefix: red_acdc_
Peak memory usage: 43 MB
Current memory usage: 43 MB
Memory limit: 256M
PHP version: 5.4.45 – show PHP information (phpinfo)
MySQL version: 5.6.28
Curl version: 7.30.0 / SSL: OpenSSL/1.0.2h / libz: 1.2.3
OpenSSL version: OpenSSL 1.0.1p 9 Jul 2015
MCrypt: Yes
I have WP_DEBUG=TRUE
The Theme is a premium one: “THRIVE”
and my installed plugins are as in the image.My problem is that when I install the Buddypress plugin I get the following message:
Notice: get_currentuserinfo is deprecated since version 4.5! Use wp_get_current_user() instead. in /home/csrhella/public_html/csrh/community/wp-includes/functions.php on line 3658
Fatal error: Call to undefined function bp_get_current_group_id() in /home/csrhella/public_html/csrh/community/wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 487
PLEASE HELP!
Hello – I have the latest WordPress version installed along with the latest Woffice theme update. However when I update buddypress to the latest version 2.6.0 the whole site breaks and this error appears:
Fatal error: Call to undefined function bp_get_current_group_id() in /home/.../public_html/.../wp-content/plugins/buddypress/bp-groups/classes/class-bp-group-extension.php on line 484Any thoughts?
I’am able to get the site working again, when I restore to a saved backup…
ThanksTopic: Color text in status updates
I found this code online, and I would like to use it in my BuddyPress installation.
<?php function MineToWeb($minetext){ preg_match_all("/[^§&]*[^§&]|[§&][0-9a-z][^§&]*/", $minetext, $brokenupstrings); $returnstring = ""; foreach ($brokenupstrings as $results){ $ending = ''; foreach ($results as $individual){ $code = preg_split("/[&§][0-9a-z]/", $individual); preg_match("/[&§][0-9a-z]/", $individual, $prefix); if (isset($prefix[0])){ $actualcode = substr($prefix[0], 1); switch ($actualcode){ case "1": $returnstring = $returnstring.'<FONT COLOR="0000AA">'; $ending = $ending ."</FONT>"; break; case "2": $returnstring = $returnstring.'<FONT COLOR="00AA00">'; $ending =$ending ."</FONT>"; break; case "3": $returnstring = $returnstring.'<FONT COLOR="00AAAA">'; $ending = $ending ."</FONT>"; break; case "4": $returnstring = $returnstring.'<FONT COLOR="AA0000">'; $ending =$ending ."</FONT>"; break; case "5": $returnstring = $returnstring.'<FONT COLOR="AA00AA">'; $ending =$ending . "</FONT>"; break; case "6": $returnstring = $returnstring.'<FONT COLOR="FFAA00">'; $ending =$ending ."</FONT>"; break; case "7": $returnstring = $returnstring.'<FONT COLOR="AAAAAA">'; $ending = $ending ."</FONT>"; break; case "8": $returnstring = $returnstring.'<FONT COLOR="555555">'; $ending =$ending ."</FONT>"; break; case "9": $returnstring = $returnstring.'<FONT COLOR="5555FF">'; $ending =$ending . "</FONT>"; break; case "a": $returnstring = $returnstring.'<FONT COLOR="55FF55">'; $ending =$ending ."</FONT>"; break; case "b": $returnstring = $returnstring.'<FONT COLOR="55FFFF">'; $ending = $ending ."</FONT>"; break; case "c": $returnstring = $returnstring.'<FONT COLOR="FF5555">'; $ending =$ending ."</FONT>"; break; case "d": $returnstring = $returnstring.'<FONT COLOR="FF55FF">'; $ending =$ending ."</FONT>"; break; case "e": $returnstring = $returnstring.'<FONT COLOR="FFFF55">'; $ending = $ending ."</FONT>"; break; case "f": $returnstring = $returnstring.'<FONT COLOR="FFFFFF">'; $ending =$ending ."</FONT>"; break; case "l": if (strlen($individual)>2){ $returnstring = $returnstring.'<span style="font-weight:bold;">'; $ending = "</span>".$ending; break; } case "m": if (strlen($individual)>2){ $returnstring = $returnstring.'<strike>'; $ending = "</strike>".$ending; break; } case "n": if (strlen($individual)>2){ $returnstring = $returnstring.'<span style="text-decoration: underline;">'; $ending = "</span>".$ending; break; } case "o": if (strlen($individual)>2){ $returnstring = $returnstring.'<i>'; $ending ="</i>".$ending; break; } case "r": $returnstring = $returnstring.$ending; $ending = ''; break; } if (isset($code[1])){ $returnstring = $returnstring.$code[1]; if (isset($ending)&&strlen($individual)>2){ $returnstring = $returnstring.$ending; $ending = ''; } } } else{ $returnstring = $returnstring.$individual; } } } return $returnstring; } ?>I run a Minecraft themed social networking site so I thought it would be a cool idea to integrate this function into status updates (Minecraft Wiki).
In theory people will post:
§4This is red text and it’ll get saved as is in the database, but it will show in color in activity feeds.
The thing is that BuddyPress blocks font tags in status updates.
I’m going to share with you some different techniques I tried:
I went inside activity/entry.php and inputted the function at the top of the file, and then I replaced
<?php bp_activity_content_body(); ?>With:
<?php MineToWeb(bp_activity_content_body); ?>That was a no go.
I also tried editing bp-activity/bp-activity-functions.php but there is so many references in the file and I’m not even entirely sure where to look. All I accomplished with editing this file is that it strips the § from the status update before submitting it to the database (which is the complete opposite of what I want), and it doesn’t make it colorful.
Anybody familiar with BuddyPress? Wanna lend me a hand? Thanks a bunch.
WordPress 4.2.2 running Vantage Premium theme
BuddyPress Version 2.5.3
Website is WaxUnion.com
I haven’t been able to get buddypress to work now for awhile.
Everything was working great and just one day it stopped working.
I’m pretty sure I didn’t make any updates or anything that caused the change.
The links are under the social link in the menu.
I cant access profiles, members, activity stream, or the register page it all just loops back to the homepage with page title at the top of screen. If i turn off buddypress then the register page works fine.
Since the problem I have updated buddypress, turned off all other plugins to check conflict, and double checked all settings… nothing has seemed to help.
I have read that possibly there is a database / file problem maybe where maybe certain files are not in the right spot in the control panel / database and that could case this problem, but I’m not sure.
I could really use some help or maybe pointed in the right direction … Thanks
Topic: BuddyPress and Lighttpd
Hello humans!
I have a problem with BuddyPress instalation on my www server with Lighttpd.
Background:
Wordpress is installed in root catalog of my webserver.
I have changed permalinks for good one.
My lighttpd config looks:server.modules = ( "mod_expire", "mod_auth", "mod_evasive", "mod_status", "mod_access", "mod_alias", "mod_compress", "mod_redirect", "mod_rewrite", ) server.document-root = "/var/www" server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) server.errorlog = "/var/log/lighttpd/error.log" server.pid-file = "/var/run/lighttpd.pid" server.username = "www-data" server.groupname = "www-data" server.port = 1234 server.tag = "blablabla" server.error-handler-404 = "/404.html" index-file.names = ( "index.php", "index.html") url.access-deny = ( "~", ".inc" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) compress.cache-dir = "/var/cache/lighttpd/compress/" compress.filetype = ( "application/javascript", "text/css", "text/htm$ # default listening port for IPv6 falls back to the IPv4 port include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port include_shell "/usr/share/lighttpd/create-mime.assign.pl" include_shell "/usr/share/lighttpd/include-conf-enabled.pl" $HTTP["remoteip"] !~ "127.0.0.1" { url.access-deny = ( "" ) } server.dir-listing = "disable" ## rewrite URLs url.rewrite-once = ( "^/(wp-admin|wp-content|wp-includes)/(.*)" => "$0", "^/(.*.php)" => "$0", "^/(.*)$" => "/index.php/$1", "^/(.*)?/?files/$" => "index.php", "^/(.*)?/?files/(.*)" => "wp-content/blogs.php?file=$2", "^/(wp-.*)$" => "$1", "^/(avatars/.*)" => "$1", "^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "$2", "^/([_0-9a-zA-Z-]+/)?(.*.php)$" => "$2", "(?.*)$" => "index.php$1", "." => "index.php" ) server.max-keep-alive-requests = 0 server.max-keep-alive-idle = 15 server.max-read-idle = 15 server.max-write-idle = 15 server.max-fds = 512 server.max-connections = 256 connection.kbytes-per-second = 0 server.kbytes-per-second = 0 server.chroot = "/" ssl.engine = "disable" evasive.max-conns-per-ip = 250 #server.max-request-size = 1 server.range-requests = "disable" server.follow-symlink = "disable"User profiles works fine.
Problem:
Pages like member, activity, register show blank page.Any ideas why?
First I had only:
"^/(wp-admin|wp-content|wp-includes)/(.*)" => "$0", "^/(.*.php)" => "$0", "^/(.*)$" => "/index.php/$1",Then I read somewhere that I should add:
"^/(.*)?/?files/$" => "index.php", "^/(.*)?/?files/(.*)" => "wp-content/blogs.php?file=$2", "^/(wp-.*)$" => "$1", "^/(avatars/.*)" => "$1", "^/([_0-9a-zA-Z-]+/)?(wp-.*)" => "$2", "^/([_0-9a-zA-Z-]+/)?(.*.php)$" => "$2", "(?.*)$" => "index.php$1", "." => "index.php"But nothing happend 🙁
I also tried to incerase memory but it also didn’t help
This is fresh wordpress installation with 2016 theme and without any additional plugins.
I always use my lighttpd server for wordpress and everything works perfect till now.
Could you please help me?
Hi
We have installed the newest version ( also tried the 2.6.0-beta1 )
And set it up accordding to guide:
– enable user registration
– create empty pages and mapped buddypress to themWhen we vist /register we can see the form generated by buddypress, but when we click “Complete sign up” we get redirected to the front page.
– No errors in the php error logWe use a theme, but we also tried with a clean WP with only this plugin, and we have the same problem.
Please advice.