Search Results for 'code'
-
AuthorSearch Results
-
February 23, 2010 at 8:52 pm #85197
kevinjohngallagher
MemberHi dbneeley,
You’ve asked a great set of questions, and i’m afraid my answer is going to fall well short of code012’s.
Basically, i’d suggest asking that question on the BuddyPress website. At the risk of looking like passing the buck, BuddyPress is using a hacked/modified version of bbPress, so most of the things we’d have to say on this forum would be from a standalone viewpoint and might not give the depth of answer you’d want.
But if others chip in like code012 did, then you may have just gotten lucky.
Take Care
February 23, 2010 at 6:04 pm #83764In reply to: Modifying header to display image issues
chrishajer
Participant@kevinjohngallagher – I wish the
STYLE="FORTHRIGHT"didn’t get stripped out of your comment.The source of that page was awesome the day they put it up. Here’s an archive of it, I think:
February 23, 2010 at 6:00 pm #83763In reply to: Modifying header to display image issues
chrishajer
Participant@uhclem – I think you have exactly the right attitude to be involved with bbPress. Some tips:
1. Don’t modify any core bbPress files. Restrict your modifications to files in the my-templates and my-plugins folders. If you don’t have those folders, create them. They will be at exactly the same level as bb-templates and bb-plugins.
2. To start modifying the look of your forum, make a folder inside the my-templates folder, call it whatever you want (something unique, but it doesn’t matter. Maybe it a filename with no spaces though, like
newtheme.) Now, copy every single file from the kakumei folder into this new folder. Now open up style.css and change the line that saysTheme Name: Kakumeito say something likeTheme Name: Custom Theme by uhclem. This name can have spaces in it. It’s this Theme Name that will show up in your bbPress admin section when you go to select a new theme in the Appearance tab. The screenshot will be the one from kakumei, but that’s only because you didn’t change it yet. You can worry about that later. If your new theme name does not show up in the bbPress admin, you did something wrong.The files that end in
.phpare just like HTML files, but they are processed by the web server before sending to your browser. If you put just HTML into a file with a php extension instead of a htm or html extension, it will display just as if you had named it with html or htm. Try it.Now, you need to look through some of those existing php files and see what’s going on. You will see some plain old HTML but you will also see some stuff inside blocks that look like this:
<?php do something(); ?>PHP code will being with a
<?phpand end with?>– the stuff inside those brackets is PHP code that will be interpreted by the web server before sending it to the browser. Any PHP code in a file with a PHP extension will not be sent to the browser. It is processed, for good or bad. If you get a white screen, it means you probably have a syntax error in your PHP code.You can edit the PHP files with notepad, just as you did with batch files, but it’s better to use an editor with syntax highlighting, so you can see when you make a mistake in your PHP. Notepad++ is good and free on Windows. http://notepad-plus.sourceforge.net/uk/site.htm
Once you get to that point, you can learn about all the cool things you can do with PHP and bbPress.
February 23, 2010 at 2:54 pm #33251Topic: Page links
in forum PluginsVect
MemberHello. I want to do in my plugin that page links would be /page/2/ , /page/3/. By default it is /page/2 , /page/3 . I have this code in my plugin:
function my_get_topic_page_links_filter( $_links ) {
$_links = bb_paginate_links(
array(
'format' => bb_get_option('mod_rewrite') ? '/page/%#%/' : '%#%/',
)
);
return $_links;
}
add_filter( 'get_topic_page_links', 'my_get_topic_page_links_filter' );
But it is not work properly. What I’m doing wrong? Please help.
February 23, 2010 at 1:00 pm #85278Olaf Lederer
Participant@kevinjohngallagher, what you say is so true
February 23, 2010 at 9:35 am #85318In reply to: Fatal Error! Help
directory-sieve
Memberjust rename the plugin folder and you will be able to enter the wp admin, as renaming will automatically deactivate the plugin
February 23, 2010 at 9:33 am #85298In reply to: Really basic stuff
directory-sieve
Memberwhy not start paid support? that can be useful for the funds and at the same time noobs will get proper support without having to work on the codes which they would never understand…
February 23, 2010 at 8:26 am #85277kevinjohngallagher
Memberis it safe to rely on these old plugins
No.
a new version, hopefully is coming soon
It’s not.
In honesty none of us know when it is coming, the “weekly” IRC meetings have not been taking place for the last 6 weeks, 1 bug in the last 3 weeks has been fixed and 20 are still outstanding, etc etc. Matt hasn’t been seen or heard of since threatening to leave the project.
How will backwards compitability be in the future of BBPress
It won’t.
It is not an aim. Never has been.
Will most of these standard functionality-plugins be built in
No.
Mostly because everyone’s definition of “standard” is “plugins i want”.
I have used hours and hours to customize my Kakumei theme, and will all that work go to waste with a new version
Some of it will, some of it won’t.
Will it apply to the next bbpress themes at all
From what i’ve seen in subversion, you won’t need to change to many things in your theme to make sure it is bbPress1.1 compatible. But you will probably have to make some changes – it is the nature of software.
Or am I gonna have start all over again?
It depends on your theme, plugins, and custom code.
I doubt anyone will have to start all over, but some poeple will have more work than others.
In your specific case, given your lack of coding abilities and reliance on the default theme, i doubt youi’ll have much coding to do – but it is likely that some things will have to be changed.
===========================================================
I say this alot, but bbPress is not currently ready for use for people with no technical knowledge.
Database setup, editing files and FTP are a minimum to get the defaults going.
Some basic web development knowledge is needed to edit your theme.
Slightly above basic knowledge is needed to edit any functionality.
That is just where this software is and will be for a long time. I don’t say this to cause offence, i say this to save people difficulty.
========================================================
P.S. Marius,
You also don’t have to upgrade.
Almost all of the issues you bring us could have been solved easier if you were using bbPress0.9
February 23, 2010 at 8:07 am #83760In reply to: Modifying header to display image issues
kevinjohngallagher
MemberAh GeoCities, how i miss all those animated GIFs

Well mate, if you’re up for the challenge I’d start at something like http://www.w3schools.com/ (HTML, then CSS, then PHP sections). 9/10 it’s learning by doing and asking when stuck.
Also, I’d strongly suggest installing and playing around with WordPress before bbPress. It’s not a requirement at all, but they’ve nailed the separation of Presentation, Data, Logic so it’s easier to know where to edit – while in bbPress it’s all still bundled in together most of the time – making it hard to know where to edit if you’re new.
Effort will get you very far with bbPress though, it just needs to “click”. Don’t be a stranger

Kev
February 23, 2010 at 7:57 am #85334In reply to: Changing display name
kevinjohngallagher
MemberHi Jtrory,
Sadly, that specific example is exactly the same way of doing it as WordPress, so it isn’t going to change anytime soon. Not that you’re wrong though mate, and glad you got it worked out
February 23, 2010 at 5:26 am #33226Topic: Is bbpress licenced?
in forum Installationkaderjan
MemberHi guys,I’ve been thinking to build a commercial website with bbpress, is bbpress licensed? if bbpress’s code is licensed, how about plugin that I wrote,do I have to share it as well? pls advise, thanks
February 23, 2010 at 5:13 am #83759In reply to: Modifying header to display image issues
uhclem
MemberThanx Kevin, I don’t feel you’re being anything but helpful. No sweat!
Back before the beginning I used to hand code with a GeoCities website. And long before that I had a Vic20…I hate to admit it but I’m responsible for far too many of those useless Usenet ng’s that still exist (alt.worms.out.of.a.hot.cheese-log ,etc.) So I kind of know a little. Anyway, I’m not scared to break the interwebs. …Algore can just build another one.
I could probably snag some code from somewhere, paste it *somewhere* and tweak it to work as I desire (or close to it), I just need to know where to do this.
Like these “php” files; Where are they and how do I edit ’em? (with NotePad like a batch file?)
I’m a 50+ year old bench jeweler but with a little help from kind folks I learn little bits of other interesting stuff. If I knew where/how to edit these files I’d chance messing up my bbPress board. I can always just make another one and stick it in the same directory on my server. The few people who have joined the various boards I’ve been testing out get a little panicky when everything changes all of a sudden , but they’ll get over it.

Thanx!
February 23, 2010 at 3:11 am #85333In reply to: Changing display name
jtrory
MemberAs usual I seem to figure these things out on my own through dumb luck.

For anyone as confused as me about this, what you need to do after logging in under Admin is to edit your profile and enter your desired display name as your first name. My problem was that I had left this blank when installing bbPress. If you save that and go back to the Edit panel you will now find that this name is included in the dropdown menu of available ‘display’ names.
Honestly, I really love bbPress so far but it sure does make things unnecessarily complicated.
February 22, 2010 at 11:39 pm #82101In reply to: BBPress Polls for 1.02 or other polls working?
johnhiler
MemberIf you give me keymaster access, I can run some quick tests for you? The site wouldn’t be affected for more than a few minutes…
EDIT: Please don’t feel obligated in any way… if you’d rather not give access to a stranger, I completely understand!
February 22, 2010 at 9:35 pm #82098In reply to: BBPress Polls for 1.02 or other polls working?
Marius-
MemberThat would the ideal thing, that “Send” button inlude the poll as well. But theres absolutely no way to include the poll during topic creation now.
Did you scan with firebug? Cause I dont see the code for the save button anywhere in the php.
February 22, 2010 at 9:28 pm #82096In reply to: BBPress Polls for 1.02 or other polls working?
johnhiler
MemberAh thanks for resetting it to default! Hmm, it definitely looks like an issue with the plugin/version compatibility. I also just tested it on a 1.0 install, and saw a similar issue.
Your best would be to ask a programmer to take a look at the plugin and see if they can spot the issue! I bet it’s a pretty minor one, if everything else works except for that one button.
February 22, 2010 at 9:00 pm #82093In reply to: BBPress Polls for 1.02 or other polls working?
Marius-
MemberJohnhiler, the translation has nothing to do with it. In the admin panel, you can type in what you want there, it doesnt affect the functionality.
The theme IS Kakumei. None of the code is touched, exept for some CSS colors.
–
If you turn on Firebug, and you inspect the canclebutton, you will see that there seems to be no code at all for a save button present.
–
I have reset the polls to default settings, just to prove that.
–
You see at the plugins site here on Bbpress, that more users are having the same problem:
https://bbpress.org/plugins/topic/bbpress-polls/page/3/
There, user Michael888 says to me that version 1.1 of BBpress might include poll functionality.
Is this next upgrade far away. Am I just wasting my time with this old plugin?
February 22, 2010 at 8:37 pm #85317In reply to: Fatal Error! Help
Ashish Kumar (Ashfame)
ParticipantI am afraid that I still didn’t get the point

I mean how? Any examples?
February 22, 2010 at 4:00 pm #85296In reply to: Really basic stuff
uhclem
MemberThank you all!
I was able to put up a picture but I wonder if there’s not an easier way to go?
I mean all that code and stuff, while it may be poetry to you; Non curo. Si metrum non habet, non est poema.
kevinjohngallagher
Memberjohn13uk,
What Terms and Conditions is this “person” breaking?
The GPL does not mean free, you can easily and leagally sell code that is compatible with a GPL licence. If you don’t like this, just ignore it, no-one is forcing you buy it. As annoyed as you may be, the person you contacted (he didn’t contact you) at no time said he would pass it on for free.
As much as SoftInfo is being a bit of a wanker, and he is, it’s not worth the hassle.
If you have the ability to do the “customisation and other stuff”, making this basic (and pretty awful looking theme) shouldn’t really be an issue. You have the theme folder and pages already.
SoftInfo:
At no point does ChrisHajer suggest he’s accepting money for theme’s someone else created. Please be careful when making accusations against others, especially well respected people.
selling [GPL themes] are the are against wordpress policy?
Yes. Premium themes, such as the ones you link to, sell services that come with the themes (usually minimum support contracts). We’ve been over this road countless times.
If you don’t sorry to me then I’ll leave bbpress
Oh no!!
Don’t let the door hit your ass on the way out
Pomy
Participant@ john13uk .. Dear I’m not breaking the rules… I’m asking if you are interest then I can make it for you as its clone.. and If its against the bbpress rules ..then why you are asking about this bborg theme.. why you do not make your own theme?
why you want to use bborg theme while its bbpress.org property? why ? Premium themes and services is not a big deal or new thing in market.. even you can buy wordpress premium theme and its services from various resources over the internet… are they people breaking the rules?.. are the are against wordpress policy?..
Open your eyes and see the links
even chrishajer who is the moderator of bbpress.. also selling his services off list..for confirmation you can visit this link
https://bbpress.org/forums/topic/will-pay-to-get-our-forum-fixed
and i can also tell me many more people who are selling his services off list .. who are the member of bbpress.org/forums
Note: The _ck_ have left the bbpress after depression who creates people like you.. who wants everything free free free free huh…and who don’t want to promote coders duh..
I think its enough .. or I should write more?
so be polite and be extra careful to write any bad comment against any programmer… If you don’t sorry to me then I’ll leave bbpress
I think you’ll understand .. and you’ll say sorry to me

Thanks alot
February 22, 2010 at 8:35 am #85330In reply to: warning message help
kevinjohngallagher
MemberHi jansummers,
You’re bbPress install has content being sent to the browser before all the processing is finished.
9/10 this comes from a ‘new line’ at the end of a user created php file (theme or plugin).
The fact you’re getting this error via the Plugin API strongly suggests such an issue is with a plugin. Have you edited one? have you got a new one installed recently?
Without more info, the only suggestion we have can give is this:
1) Change back to the default theme and see if it the bug still occurs.
2) Start deactivating plugins one at a time and see if it still occurs.
3) If you’re using the default theme and all plugins are deactivated, try re-uploading bbpress. Its unlikely that’ll make any difference, but its covering your bases
February 22, 2010 at 8:29 am #85316In reply to: Fatal Error! Help
kevinjohngallagher
MemberMorning matey,
The issue quiktipz is having is that a wordpress plugin is causing a fatal error. Deleting this plugin will effectively ignore that error but will create another one with in wordpress. And it’s not solving the issue at hand

For new users, quick fixes like this usually end up in hours of following the rabbit down the hole and not solving the original issue.
February 22, 2010 at 5:05 am #85305In reply to: Formatting of header
Ashish Kumar (Ashfame)
ParticipantGive the containing DIV a fixed height and then it won’t let other DIVs shift up when the content is less
February 22, 2010 at 2:40 am #85324In reply to: Ah, WP, BBp, and Buddypress done!
56alifar
BlockedGreat work gofastbargains,
Check out mine completely integrated forum
http://www.jahw.nl/forums
-
AuthorSearch Results