Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 23,426 through 23,450 (of 32,481 total)
  • Author
    Search Results
  • #79465
    kirpiit
    Member

    Plugins are good but as my humble experience goes the less I use of them the better: it is not rare that they conflict with each other. In other cases they also switch unexpected behaviours somewhere. Moreover, that plugin seems to be much more than I need.

    Most probably in this very case a simple code edit in the right template would do, but I do not know where and how to touch. Does anybody have an idea of the needed change, please?

    #79492
    frasermassey
    Member

    Dont have a statistics plugin as far as I know, checked the plugin directory and cannot see it.

    Thanks Johnhiler, I saw that post previous and have checked and they do have start times. I was hoping it was that also :)

    keep suggestions coming please.

    #79437

    In reply to: bbPress Codex – lolz

    johnhiler
    Member

    That url has been mapping to buddypress for a while now… not sure what’s going on, but guessing it’s just random.

    #31811
    frasermassey
    Member

    Hi

    I run a WP site and BBpress forum. Recently upgraded to BBpress latest release version and now when I log in I cannot view any old posts and when I try to create a new topic is reports ‘This topic has been closed’

    On the top of dashboard I get the following…

    Warning: Division by zero in D:inetpubvhostssunstridercats.orghttpdocsbbpressbb-includesfunctions.bb-statistics.php on line 214

    Warning: Division by zero in D:inetpubvhostssunstridercats.orghttpdocsbbpressbb-includesfunctions.bb-statistics.php on line 194

    Warning: Division by zero in D:inetpubvhostssunstridercats.orghttpdocsbbpressbb-includesfunctions.bb-statistics.php on line 174

    Warning: Division by zero in D:inetpubvhostssunstridercats.orghttpdocsbbpressbb-includesfunctions.bb-statistics.php on line 244

    I know this warning is shown if it belives there are no posts but the forum has been fine for a long time and has showing on the overview of the dashboard..

    39 forums

    82 topics

    457 posts

    So the posts are still there although I cannot see them or add to them.

    Any help would be greatly appreciated.

    #31810
    gerikg
    Member

    How do I add forum name to latest discussion.

    so instead of saying,

    call for testers on the 0.9 branch and 1.0 trunk

    to say,

    Requests and Feedback: call for testers on the 0.9 branch and 1.0 trunk

    I’ve tried <?php forum_name(); ?>

    kirpiit
    Member

    The default Kakumei theme shows two variables in the user section of every post, at left.

    You can see them both here as well, in this very post.

    The first one is defined in the profile page as Display name as and links to whatever appears in the Website field.

    The second one is defined in the profile page as User Type (which most often defaults to Member), links to the Profile page of the specific user, and could be changed by the Custom Title field.

    How would it be possible to drop the User Type and just keep the Display name as linking to the user Profile page?

    How does using $wpdb & $bbdb differs from using $results=mysql_query($query);?

    #79386

    They will be fixed in upcoming versions. Its reported in the Trac now. Till they are fixed, bear them & it should not be hard as regular users don’t see them :P

    #31807

    I wrote a plugin which will show some data by a mysql query and I am doing it using $bbdb and I hooked it to the post_post_form but the problem is that the variable intended to store the query result is empty.

    However if I manually call the function in the template it works fine.

    I am using the default theme. What could be the problem?

    #79436

    In reply to: bbPress Codex – lolz

    _ck_
    Participant

    That’s just a domain mapping problem, it’s not the bbpress.org site.

    They just both are parked right now on the same automattic server.

    #79435

    In reply to: bbPress Codex – lolz

    chandersbs
    Member

    I think it’s very cool, I love it.

    #79442

    Didn’t get what are you trying to do.

    Are you trying to move the forums list to your sidebar or what?

    Try cutting the php code out of your theme to the place where you want it.

    #79434

    In reply to: bbPress Codex – lolz

    I was able to login using the forum’s login credentials.

    Here is my profile : https://codex.bbpress.org/developers/ashfame/

    #31802

    Just found this : http://codex.bbpress.org/developers

    lolz! Why it is like that? Looks like someone trying to port BuddyPress theme to bbPress codex by hardcoding links :P

    #79346

    In reply to: Nofollow

    bbpros
    Member

    Found the solution for the “nofollow” in signatures, similar to the one you proposed for posts:

    https://bbpress.org/plugins/topic/bbpress-signatures/page/2/#post-3179

    Ooops, I think we posted at the same time. Ok, I tested it and it works so now all links in the message area are nofollow with no holes and the profile has the follow as I wanted. Very good :) Thank you, mwaterous.

    #79345

    In reply to: Nofollow

    Mark
    Member

    Look for the function add_signature_to_post in bb-signatures.php, line 78 should look like;

    $text.='<div class="signature">'.nl2br($signature).'</div>';

    Change it to

    $signature = nl2br($signature);
    $text.='<div class="signature">'.bb_rel_nofollow($signature).'</div>';

    Signatures problem most likely has to do with bb_send_headers(); on line 297, but I’d have to install it to find out for sure. If I can spare the time, I’ll let you know. ;)

    #79344

    In reply to: Nofollow

    bbpros
    Member

    mwaterous, thank you again. Did I say thank you?

    I followed your advise and created the file functions.php where I placed that line of code and incorporated it to the bbpress theme at the root. This worked equally well. The only url that wouldn’t get the “nofollow” is the one at the signature. Never thought about the upgrade issue :)

    Correct, the signature corresponds to _ck_’s plugin. Never thought about that either. Perhaps I should contact him privately for adding a piece of code? (maybe I should read discussions on this topic too.)

    Style sheet solved. Yes, it was an issue with the “textarea” field. Problem was actually “cache” on my browser that wouldn’t let me see the changes. So I flush the dns and all was working fine.

    I have found another bug in another plugin “subscribe to topics” where after activation admin will only be able to logout from within the forum. Attempting to logout from the admin panel will result in a serious of errors:

    Warning: Cannot modify header information – headers already sent by (output started at /home/skincare/public_html/bbpress/bb-includes/functions.bb-core.php:596) in /home/skincare/public_html/bbpress/bb-includes/backpress/class.wp-auth.php on line 292

    Should I discuss the above 2 topics (signature and subscribe-to-topics) in the corresponding threads?

    #79407

    Cool; phpMyAdmin I can do. :)

    So, I could probably upload that file into the same database as the WordPress install, right, since the prefixes are different? That would help integration immensely, if I’m not mistaken… and then configure bbPress to use WordPress’ user tables (which has been described before in many places)?

    What happens then w/ the old bbPress users? Not that I actually care, much, if we’re using WordPress’ user tables… I guess I just don’t know what happens for the posts made by defunct users. Any advice there?

    (and thanks again, everybody… this is supremely helpful.)

    #79343

    In reply to: Nofollow

    Mark
    Member

    If your theme doesn’t already have a functions.php, you can create one and add that code to it – it will automatically be found and run by bbPress, and it’s a lot safer than adding it to the core code (next time you upgrade, it will overwrite).

    1. bbPress doesn’t have signatures by default, so I’m guessing you’re using a plugin for this? If you are, hopefully the designer has added a filter which you can hook into, but we’d have to take a look at the specific plugin you’re using.

    2. You should have a style.css file in your bb-templates/yourthemename/ directory. Find that file, and do a search for ‘textarea’. It should possibly be under ‘.postform textarea’ to be more specific. Look and see if there’s a font-size attribute there, and up the size.

    #79342

    In reply to: Nofollow

    bbpros
    Member

    Hi, mwaterous. That is FANTASTIC. Thank you!

    I have to run some more tests but I think you nailed it. I tested:

    Test.com

    http://www.test.com (simply written www, no html)

    http://test.com (http: but no html)

    <a/ a tag)

    Except for the 1st one, all were converted into a link and ALL carried the nofollow tag. This is for posting messages by members on regular threads.

    I placed that last line anywhere inside /bb-includes/functions.bb-formatting.php, as I didn’t have any of the other files you mentioned. In case others need this, is it possible to stick this one up? When I researched this subject here I found a few topics with at least 7 or 8 members looking for an answer to this problem. But the only answer was provided by you today.

    Still ONE MORE spammer alert: if a member places HTML in its signature (using the <a tag) this will escape your filter and the signature will go “follow”


    On another subject, if I may…

    1. Signatures: do they only appear in the first post made by the member? I believe so.

    2. I messed up the .css and can’t refix it. The size of the font for the “textarea” where messages are entered is close to nothing and I have to glue my eyes to screen to read what I am writing. This is the only field where the font-size was nuked. Where and in which .css should I fix this?

    Thanks!

    #31801

    I’m wanting to limit the number of tags in my forum to a pre-defined list of 10 topics, and have members click/choose one (or more) when posting. Bonus points for having them in a drop-down menu… :)

    I saw someone wrote in a post, 8 months ago, “I hacked [my forum] so users would tick on tags that are pre-defined…” which is exactly what I want to do. Any ideas how to do that?

    #79415

    In reply to: Links in the Header.

    Didn’t get anything.

    Put the code in between backtick (`) characters. You can find the key above of Tab

    #79414

    In reply to: Links in the Header.

    batrachoid
    Member

    Use backticks ( ` ) to display code. Place one before the code and one after.

    #31800

    Topic: Help!

    in forum Installation
    francesh
    Member

    Hi, I’m a total novice at this. Trying to set up a closed member only forum for a group. Will bbpress work for this? We currently have blog set up for group (irecee.wordpress.com) and want to add link in to access member forum from it. As we have no server for this site, I have uploaded bbpress to my org website (www.moldovavision.org) and hope to link from there. I have uploaded ok into new dir called ‘talk’. What now? I can’t access the weblink to activate it – tried http://moldovavision.org/index.php/talk which is returning an error code:

    CGI Error

    The specified CGI application misbehaved by not returning a complete set of HTTP headers.

    Confused. Can anyone help?

    Thanks a mill

    #79413

    In reply to: Links in the Header.

    InvTrdr
    Member

    Looks like something got changed while pasting the code above. Will try with a few “x” in there. Looks like it removes the a href after <h1>. Will switch around “<” and “>” so code will stick to the page.

    >div id=”header-container”<

    >div id=”header”<

    >h1<>a href=”>?php bb_option(‘uri’); ?<” title=”>?php bb_option(‘name’); ?>”<>span<>?php bb_option(‘name’); ?<>/span<>/a<>/h1<

    </div>

    </div>

    <div id=”container”>

Viewing 25 results - 23,426 through 23,450 (of 32,481 total)
Skip to toolbar