Search Results for 'code'
-
AuthorSearch Results
-
August 17, 2014 at 8:14 pm #151052
In reply to: phpbb3-bbpress stalls halfway
Stephen Edgar
KeymasterMore than likely it will be some character, troublesome and annoying but nothing much we can do at this stage.
That old
BBConverterplugin is what is now included with bbPress, we merged that code into bbPress core, there are vast improvements in the converter and the phpBB import script in the current release of bbPress 2.5.4 (and more for the next release).I’d love to know more details on why the built in converter does not work for you and if needed get that fixed. 🙂
August 17, 2014 at 7:49 pm #151049Topic: Separate Stickies
in forum Installationakyboy
ParticipantHi Guys,
Is there plugin that separate stickies with extra row or something,..Something in this
fashion: http://www.serdarevic.net/screens/2014-08-17_19-48-16.pngNow there all together with rest of the posts , if i can say?
August 17, 2014 at 7:04 pm #151047In reply to: Multiple Copies of Single Forum on Page?
Robkk
Moderatorit thinks your forum archive as a blog post , hence the read more
i think creating a bbpress.php template should fix it.
August 17, 2014 at 1:29 pm #151043In reply to: Search input redirects to homepage with no results
Robin W
Moderatorok, on the specific forum search, it is probably plugin or theme related
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.
but since you say you don’t really want that, you could disable the forum search
and to add forum searches to the main search use
function filter_search($query) { if ($query->is_search) { $query->set('post_type', array('post', 'pages', 'forum', 'topic', reply')); }; return $query; }; add_filter('pre_get_posts', 'filter_search');This is untested code, I copied it from another forum, but should work, come back if it does or doesn’t to help future readers of this thread!
August 17, 2014 at 12:07 pm #151041In reply to: breadcrumbs space and search button
Robkk
Moderatorhere is the css to size the search button a little better
#bbp_search_submit.button { padding: 9px 15px; border: 0; outline: 0; font: normal 13px/100% Verdana, Tahoma, sans-serif; width: auto; background: #f93; color:#000; }August 17, 2014 at 11:34 am #151040In reply to: breadcrumbs space and search button
Robkk
ModeratorThe above code does not seem to work
well i know for sure this works
input { padding: 9px; border: solid 1px #E5E5E5; outline: 0; font: normal 13px/100% Verdana, Tahoma, sans-serif; width: auto; background: #FFFFFF url('images/bg_form.png') left top repeat-x; background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF)); background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px); box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; }i just cant single out so it only works on the bbpress search button right now
is it possible to revert to the custom wp buttons
what custom wp buttons??
how do i get rid of the space?for the space your trying to remove , does this help??
.entry-header { margin-bottom: 24px; margin-bottom: 0!important; }August 17, 2014 at 7:47 am #151035In reply to: breadcrumbs space and search button
melanie bund
ParticipantHi I apologise “bumping” an old question, i only realised after i had posted so i created this new one.
The above code does not seem to work, is it possible to revert to the custom wp buttons i have created – see below link – sidebar
PLUS, i have commented out the breadrumbs but the space still remains – how do i get rid of the space?http://bunddesign.com/pdm/lets-talk/
Thank you in advance and i apologise again for my former error
MelanieAugust 17, 2014 at 3:54 am #151025In reply to: user_pass error converting from bbPress 1
Stephen Edgar
KeymasterFirstly, we won’t be ‘squelching’ any error reporting in the importer, I wish we could have more, or at least improved error reporting. 😉
I haven’t see that
user_passerror for a long time, are you using the latest 2.5.4 version of bbPress for the plugin side of things?Onto the old bbPress standalone side, what version of bbPress standalone are you using?
For the import to work you need to import from bbPress Standalone 1.2 to bbPress plugin 2.5.x.
Details on upgrading and a general flow of what is required is outlined in the following topic, once you’ve read that post you’ll need to read the replies in that thread to follow along the steps.
August 17, 2014 at 3:45 am #151022In reply to: BBpress forum stats plugin layout
Robkk
ModeratorWill do it later , bout to head to sleep
But yeah it always looks weird whenever that stats widget is in a sidebar , I would put the stats short code in the bottom of some templates
August 17, 2014 at 3:41 am #151021In reply to: phpbb3-bbpress stalls halfway
Stephen Edgar
KeymasterPlease see the following page in the docs for this issue:
https://codex.bbpress.org/import-forums/import-troubleshooting/August 17, 2014 at 3:37 am #151019In reply to: BBpress forum stats plugin layout
Robin W
ModeratorI’d say the issue was more with the widget not taking up the column space it could – rthe widget below is much wider. This is fixed usually with css rather than widget code.
Sorry but an training today or I’d take a look, perhaps rob will
August 17, 2014 at 3:33 am #151018Robin W
Moderatoryou could do, but since you’re into code, I’d just amend line 1157 on bbpress/includes/common/widgets.php, and make a note to change it again on upgrades
Not the recommended way, but practical !
August 17, 2014 at 2:04 am #151011In reply to: vBulletin 5 to bbPress Migration
Stephen Edgar
KeymasterThere are two files attached here,
vBulletin5.phpandconverter.php:
https://gist.github.com/ntwb/02aff28553ae63e6a614
You can also download both in a zip file via this link.You need to place
vBulletin5.phpin the folder `/includes/admin/converters/
andconverter.phpin the folder/includes/admin/A couple of notes, you’ll need to make sure your vB5 tables do NOT include a table prefix, if they do this will not work and you will need to rename all of your tables to remove the prefix.
You can confirm this by opening your vB5 database in phpMyAdmin
<img src=”https://i.cloudup.com/czW3RJAK-9.png” alt=”” />
If yournodetable name is the same as mine in the above screenshot your good to go, if it is a prefix it it would look similar toprefix_node(the prefix could be named anything)One other important note, the main difference with this version of the importer is to support vBulletin 5 ‘comments’ which are like bbPress threaded replies, allowing users to reply to replies, these vBulletin replies will NOT work as expected unless you have enabled bbPress threaded replies setting before you import your forums. Also if you reset and delete your forums or uninstall the bbPress plugin this setting will be reset and you need to enable it again.
P.s. More my bad, I appeared to not hit submit on this post when I uploaded these yesterday 😉
Let me know how it goes 🙂
August 17, 2014 at 1:13 am #151009In reply to: Default template confusion?
Stephen Edgar
KeymasterExcellent, glad your on track to getting your custom templates up and running 🙂
Your correct, we don’t have a donate button, but we’re always on the lookout for extra hands, we need more docs on doing what you doing currently, Robin has already written some introductory docs here.
Pretty much anything goes, we need lots of docs written for our codex and anyone can create new and/or edit existing docs, so if you feel the urge to contribute that way if that’s your thing, that would be great. 🙂 If not we’ll also be having some other initiatives in the new future. 🙂
August 16, 2014 at 11:33 pm #151005In reply to: disable front end editing
Stephen Edgar
KeymasterIf you don’t switch you will constantly have the same issues you are asking us how to fix.
You should implement that same fix again and yes, it will cause issues with your sidebar but you should find that your other issues will be fixed.
What I meant by ‘Source Code’ is to include the contents of the
bbpress.phpin your new topic, copy and paste it into your topic and surround that ‘source code’ using thecodetoolbar button on the topic form..August 16, 2014 at 11:22 pm #151004In reply to: disable front end editing
cybarmitzvah
ParticipantThe only reason I would be a bit concerned to do it again is because my sidebar is fine for now, but if I switch it, then all my users would be confused for the few day while we figure it out. Also whats my source code?
Sorry, I am new to this,
JB
August 16, 2014 at 8:35 pm #150986In reply to: disable front end editing
Stephen Edgar
KeymasterIndeed it would have helped and by switching back you have enabled the error to occur again, redo what you did and then create a new topic and include the source code of your
bbpress.phpfile and the name and link of the theme you are using and we can help get your sidebar back.August 16, 2014 at 8:02 pm #150979In reply to: Importing SMF
Stephen Edgar
KeymasterOh! The version included in bbPress 2.5.4 is the r5191 version, the smf3 you refer to is older than that, essentially there is no need to download any files from trac manually to replace the files that already exist in bbPress 2.5.x.
That said “if” you do download any versions of the importers from trac, you need to match the main bbPress
converter.phpfile, this is not the ‘dropdown’ you refer to.Looking closer at your original message, indeed you did use the
smf_prefix, my bad.Can you open up phpMyAdmin and open the
smf_memberstable and post a screenshot like mine below (if there is sensitive data there then just the column headers would be fine)
For some reason it appears your table is missing the
member_namecolumn and that is why the error occurs.What version of SMF are you trying to import?
And lastly, no forum is to big for bbPress 😉
August 16, 2014 at 5:55 pm #150973In reply to: 2.5.3 Easy change bbpress title font and color
Piani
ParticipantI havent tested any of the siggestions below. But you can play around with changes as example and change parameters:
#bbpress-forums div.bbp-forum-title h3, font-size: 30px; color: #CC00CC; }….ad this as as separate controls in the code above.
Find colors that you want at: http://www.w3schools.com/tags/ref_colorpicker.asp
You dont need uch change. Just add controls on the text types you want to change woth an } to close the code.
August 16, 2014 at 5:41 pm #150972In reply to: add a "Featured Image" to a forum
freshwater
Participanton her site/post she said we can control the icon size by css or add_image_size. can anyone give exact code for us? i don’t know what “name” we’re supposed to add size to in her above code.
and / or could we see the css code exactly and i guess we put this code in our child theme?
thank YOU!
August 16, 2014 at 5:02 pm #150970In reply to: mobile layout
Yolle
ParticipantHi!
I finally managed to do it.
I added this code so the avatar is at the top of the text#bbpress-forums div.bbp-reply-author { float: none; text-align: center; }Then when the text was below the avatar I inserted this code to the mobile part of the css:
#bbpress-forums div.bbp-reply-content { margin-left: 20px; padding: 0 0 0 0; text-align: left; }Thanks for getting me on the right track.
It concerns a closed forum and I was already preparing an access for you but then I managed by myself.
Thanks again!August 16, 2014 at 4:43 pm #150969In reply to: breadcrumbs space and search button
Robkk
Moderatoryou can try this for right now, im not sure how it works though
input #bbp_search_submit.button { padding: 9px; border: solid 1px #E5E5E5; outline: 0; font: normal 13px/100% Verdana, Tahoma, sans-serif; width: auto; background: #FFFFFF url('images/bg_form.png') left top repeat-x; background: -webkit-gradient(linear, left top, left 25, from(#FFFFFF), color-stop(4%, #EEEEEE), to(#FFFFFF)); background: -moz-linear-gradient(top, #FFFFFF, #EEEEEE 1px, #FFFFFF 25px); box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; -moz-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; -webkit-box-shadow: rgba(0,0,0, 0.1) 0px 0px 8px; }August 16, 2014 at 4:30 pm #150967In reply to: Facebook and Twitter is header…
Robkk
ModeratorIt has nothing to do with bbpress.
contact your theme developer
make a topic on wordpress supportor you can
create a folder called images in your theme if you dont have one already find a facebook icon and rename it fb.jpg
and use this
<a href="fbico"><img style="border:0;" src="fb.jpg" alt="Like Me" width="42" height="42"></a>and just place it in the right template file
then position with css
links with images:
http://www.w3schools.com/html/tryit.asp?filename=tryhtml_imglink
August 16, 2014 at 4:28 pm #150966In reply to: 2.5.3 Easy change bbpress title font and color
freshwater
Participantwm, this worked perfect, THANKS, i’ve been searching on/off to do this for 1.5 years, (i’m not sure if that says about me?) LOL! i would like to do something extra, do you know how? i would like – your code enlarged the Forum Parent text size, how can i also enlarge the Child Forums that display under the enlarged Parent Forum text?
and can we change the font color in your code?
Thanks a BUNCH!!!
August 16, 2014 at 2:02 pm #150959Robin W
Moderatoryes, you would be looking in the usermeta table 9noramlly called wp_usermeta at meta-key wp__bbp_subscriptions
this is comma deliminated, so if I was user ID 3, and was subscribed to topics 10, 12 and 15, and forums 1, 3 and 6, I would see
user_id 3
meta_key wp__bbp_subscriptions
meta_value 1,3,6,10,12,15So to add category 246, you would just add this to the end, or create if not there
Someone cleverer than me out to be able to give you a sql string or two that would do this which you could run on phpmyadmin.
Logically you’d create two statements, the first would say
for all the user_id’s if wp_bbp_subscriptions exists, then make the meta_value equal to the meta_value concatenated with ‘,246’
Then second one
for all user_id’s if wp_bbp_subscriptions does not exist, make meta_key wp_bbp_subscriptions equal to 246.I’m not good enough at sql to code this without lots of checking – anyone good at this stuff?
-
AuthorSearch Results