Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 10,701 through 10,725 (of 11,524 total)
  • Author
    Search Results
  • #2178
    refueled
    Member

    I am working on a new theme and would like your opinions/suggestions:

    http://test.refueled.net/forum/

    Once its done I will be releasing it.

    Thanks in advanced.

    nate.

    #52657
    _ck_
    Participant

    Okay I have a working prototype.

    Who wants to beta test?

    http://ckon.wordpress.com/2007/07/28/new-plugin-bbpress-signatures/

    Okee well just let me know.

    Not responsible for any melted servers or sudden calls from the voyager probe.

    #51562
    fel64
    Member

    I don’t know off the top of my head. What I’d do in this case, as for pretty much every question that’s asked, is open my copy of bbPress and look around in the files. So that sort of thing sounds like a template tag, so I’d look at bb-includes/template-functions.php, then search for “profile_link” or a couple other similar terms if I couldn’t find it.

    This time I tested it and searching for “profile_link” will pretty quickly get you the function you want. But finding out what you need is something you can pretty easily do yourself most of the time. :)

    (Not that there’s a problem with you asking anything, this is just teach-a-man-to-fish thinkin’.)

    #2170
    LMD
    Participant

    There appears to be a problem with the SVN for plugins.

    I’ve had a user who downloaded the latest version of Avatar Upload, only to find the contents of sub-folders to be empty — even though the files are present in the repository when I browsed source in Trac (in both the Trunk AND latest Tag). Somehow they are missing in the automated ZIP download.

    The file structure is:

    trunk/ (and also 'tags/0.7/')
    additional-files/
    avatars/ (contents missing in the ZIP)
    my-templates/ (ditto)
    .

    Is this a one-off blip or is it a bug? Either way, can it be fixed?

    #49631

    In reply to: Emoticons For bbPress?

    mazdakam
    Member

    Please stop pasting huge chunks of code on the forums. Use something like http://pastebin.ca/.

    ok i will do

    listen i want to tell you somthing important :) i downloaded bbEmoticons-0.72 and unpacked it and then send it to my plugin then i go to my admin and try to active it but it show fattal error my bbpress is .8.2.1

    so i tried to download 6th and every time it didnt active!

    now i come and copy the code form here and open new file in php and save it then try to upload it and active it :O

    it get active and work! what is wrong?

    do you test bbEmoticons-0.72 from the original download address i think there is somthing wrong in the original file

    please try it once for me :)

    #2166
    ericender
    Member

    The page isn’t redirecting properly

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    Hi all, I’m not able to get bbPress working. [Firefox, IE, Safari, Opera] can’t show the pages linked from the index page. I’m testing bbPress for use in a University setting.

    The site is here: http://www2.csulb.edu/misc/sandbox/board/

    A test installation.

    Things you might need to know before giving me a solution:

    PHP 4.4.1, MySQL 5

    Apache 1.3.3.7

    The directory it is residing in is a virtual directory.

    mod_rewrite is enabled

    I tried both true/false for $bb->mod_rewrite

    What else do you need to know? Please help.

    #59417
    _ck_
    Participant

    And a report post plugin is born – tested working!

    Needs a few features but gets the job done for now:

    <?php
    /*
    Plugin Name: report post
    Description: allows members to report a post to admin/moderators
    Plugin URI: http://CKon.wordpress.com
    Author: _ck_
    Author URI: http://CKon.wordpress.com
    Version: 0.1
    */

    /*
    instructions: install, activate and put <? report_post_link(); ?> in your post.php template where you want the link to be seen
    optional in stylesheet: a.report_post {color:red;}

    todo:
    1. don't let them report more than once on a post - or more than too many times per minute/hour
    2. auto-delete post if more than x reports from different members
    3. auto-post report into a specified moderator's forum #
    4. maybe ajax xmlhttp call instead of real form post so there's no page movement
    5. it's technically possible to alert a browing mod with a popup directing to the reported post, no email needed
    */

    function report_post_link($post_id=0) {
    if (bb_current_user_can('participate') ) :
    $post_id= get_post_id( $post_id );
    if (get_post_author_id($post_id) != bb_get_current_user_info( 'id' )) {
    echo '<a class=report_post title="report post to moderator" href="#post-'.$post_id.'" onClick="report_post('.$post_id.');return false;">Report</a>';
    }
    endif;
    }

    function report_post_form() {
    if (bb_current_user_can('participate')) :
    if (isset($_POST['report_post_id']) && isset($_POST['report_post_reason'])) {
    echo '<scr'.'ipt type="text/javascript">alert("Thank you for the report. A moderator has been notified.");</scr'.'ipt>';
    $post_id=intval($_POST['report_post_id']);
    // todo: custom response if invalid id, problem sending email - maybe flush output buffer so member gets alert faster
    $to = bb_get_option('admin_email');
    $subject = " reported post by member for moderation";
    $headers = "From: ".bb_get_option('admin_email');
    $message ="report by: ".bb_get_current_user_info( 'name' )." (".bb_get_current_user_info( 'id' ).") email: ".bb_get_current_user_info( 'email' )."rnrn";
    $message.="report: ".wordwrap(strip_tags(substr($_POST['report_post_reason'],0,255)),70)."rnrn".get_post_link($post_id)."rn";
    $message.="post by: ". get_post_author($post_id)."rn"; // add "member since", total posts, blah blah
    $message.="rnrnReport Trace:rn";
    $message.="IP: ".$_SERVER['REMOTE_ADDR']."rn";
    $message.="Host: ".gethostbyaddr($_SERVER['REMOTE_ADDR'])."rn"; // useful but can add a few seconds
    $message.="Agent: ".$_SERVER['HTTP_USER_AGENT']."rn";
    $message.="Refer: ". $_REQUEST['refer']."rn";
    $message.="URL: http://".$_SERVER['HTTP_HOST'].$GLOBALS["HTTP_SERVER_VARS"]["REQUEST_URI"]."rn";
    mail( $to, $subject, $message,$headers);
    }
    echo '<form method="POST" name="report_post_form" id="report_post_form" style="display:none;visibility:hidden"><input type=hidden name="report_post_id"><input type=hidden name="report_post_reason"></form>';
    echo '<scr'.'ipt type="text/javascript">
    function report_post(post_id) {
    var report_post_reason = prompt("Please enter a short but descriptive reason why a moderator needs to review this post:", "");
    if (report_post_reason && report_post_reason.length>9) {
    document.report_post_form.report_post_id.value=post_id;
    document.report_post_form.action="#post-"+post_id;
    document.report_post_form.report_post_reason.value=report_post_reason;
    document.report_post_form.submit();
    } else {alert("report cancelled, incomplete description"); }
    }
    </scr'.'ipt>';
    endif;
    }
    add_action('bb_foot', 'report_post_form');

    ?>

    #2162
    yulaw
    Member

    Hello,

    I have this nifty USB Webserver (which I can run on the computer too from hard disk), to try out forums, blogs, and more.

    Now I stumbled across this BBPRESS, and this looked exactly like the thing I need!

    However! for some reason I can’t install it, and I have been searching through the forums allready, but i don’t have a lot of time today to search through the forums for hours.

    So here’s my problem, I get the dreafull “can’t select DB” error.

    I have no password on my mysql, as its just an standallone webserver which only I, the one behind this laptop, can access, and so it does not require a password.

    To access my webserver by a browser, I type in “http://localhost:8080&#8221;, it uses port 8080 to make sure it doesn’t conflict with 80.

    Anyways, i’ve read a lot of sollutions on how to correct the problem, but for some reason I just can’t seem to solve this! maybe i’m wanting to go too fast, or perhaps I just overlook one tiny thing.

    But its getting a little annoying after a few hours.

    So that’s why I need help.

    This is the first part of config.php which I needed to fill in.

    <?php

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘bbpress’); // The name of the database

    define(‘BBDB_USER’, ‘root’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ”); // …and password

    define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_’; // Only letters, numbers and underscores please!

    // The full URL of your bbPress install

    $bb->uri = ‘http://localhost:8080/bbpress&#8217;;

    // What are you going to call me?

    $bb->name = ‘Test website’;

    // This must be set before you run the install script.

    $bb->admin_email = ‘enigmatic@live.nl’;

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.

    $bb->mod_rewrite = false;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = 0;

    So with “define(‘BBDB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value”, I allready changed it a few times to “bbpress.localhost” or “localost.bbpress” as said in another topic, I tried a lot of things, but to no avail.

    I seriously need help, before i’m going to cry :'(

    I kid I kid, but help is apreciated.

    #56738

    In reply to: Plugin: Avatar Upload

    Sam Bauers
    Participant

    > Using the latest version of your plugin, I tried installing the new version of Avatar Uplaod, but it still wouldn’t read the additional-files directory.

    If you don’t have the CURL library functions installed it falls back to fopen. fopen was failing to retrieve sub-directories.

    I’m fixing it now.

    #59393
    fel64
    Member

    In the right place in front-page.php? It has to be inside the loops that go foreach( $sumthin AS $topic ) { ... }

    I’ve just tried it myself and it seems to work. Comment _in_ that line about the span colour so you can test if it’s working at all.

    #59409
    fel64
    Member
    <?php
    /*
    Plugin Name: Page &raquo;
    Description: Adds &raquo; to the end of topic titles, linking to latest post.
    Author: fel64
    Version: 0.7
    */

    if (!function_exists('is_tags')) {
    function is_tags()
    {
    return is_tag();
    }
    }

    if (is_front() || is_forum() || is_tags()) {
    add_filter('topic_title', 'fel_addlatestlink', 101);
    }

    function fel_addlatestlink($title)
    {
    global $topic;
    $felgtlpl = get_topic_last_post_link($topic->topic_id);
    $title = $title . ' <a href="' . $felgtlpl . '">&nbsp;&raquo;&nbsp;</a>';

    return $title;
    }
    ?>

    That’ll add a little double arrow to the name of each topic which goes to the latest. :)

    #56736

    In reply to: Plugin: Avatar Upload

    LMD
    Participant

    How are you installing the plugin? Are you downloading it directly or are you using the ‘Plugin browser for bbPress’ plugin? If the latter, then I think it’s not downloading properly, you need to do it manually by downloading the current ZIP file, unzipping it and follow the instructions in the readme.txt file.

    Here is the Avatar Upload plugin in the bbPRess Plugin Browser, the newest version of the code is always to be found on that page:

    https://bbpress.org/plugins/topic/46

    Click on the link “Download latest version” — or just click the following download link for now:

    https://bbpress.org/plugins/download/avatar-upload.0.7.zip

    #58597
    fel64
    Member

    Like so? http://192.168.1.29/blogs/bb-admin

    I think $bb_path should be /blogs/test/forums/ and $bb_domain should be http://192.168.1.29

    #1991
    longtex
    Member

    Just installed, forum linked w/WP. Seems okay.

    From the forum I can login and get ADmin link. It works, taking me to Dashboard.

    However, on Dashboard main page, the menu links for Dashboard, Users, Presentation, etc. have incorrect address.

    Blog is at http://192.168.1.29/blogs.test

    Forum is at http://192.168.1.29/blogs/test/forums

    config.php has $bb_domain = “http://192.168.1.29/blogs/test/forums&#8221;

    and $bb_path=”/forums/”

    On the forum the “Admin” link is “http://192.168.1.29/blogs/test/forums/bb-admin&#8221; and works properly. Once there, its “self-link” has been changed to “http://192.168.1.29/blogs/test/forums/bb-admin&#8221; and, of course, doesn’t work. The other links have also removed the “/blogs/test” part of the $bbdomain variable content.

    Any ideas?

    mikelothar
    Member

    I have never coded sql, but i agree for some unknown reason that i don’t think it’s difficult to code. I’m just curious as to why noone ever did so before. In my opinion, this is the only obstacle in bbPress.

    If anyone should decide to give this a go and try to make the plugin, i just have one (more?) request.. and that is that the plugin also indicates a new topic in the forums part, and not only in the latest discussions. The Indicate New Posts plugin fails to do this.

    Who do i have to sleep with to get this plugin? :D

    _ck_
    Participant

    Actually, I just realized there is a cheat way to do zero extra mysql queries and link to the profile.

    <td class="num"><a href="/forums/profile.php?id=<? echo $topic->topic_last_poster; ?>"><?php topic_last_poster(); ?></a></td>

    untested but should work in theory

    This will just use the stored last posted id # instead of forcing bbpress to lookup all their meta data and profile link in the database.

    If your forum uses permalinks, it will just rewrite the url on display.

    #59374
    fel64
    Member

    That’s because you have these seriously weird rules:

    * > .box p {style.css (line 683)
    margin-top:-100px;
    }

    You have them twice, too. Looks like you copied the same code from somewhere twice. Right at the end of the file.

    I recommend that you make a _single_ change, test, repeat. Then you know what’s responsible when stuff breaks.

    [Edit] Yeah. Get rid of the hack. That will fix it.

    Ardentfrost recommended this alternative hack a while back. http://ardentfrost.rayd.org/?p=136

    _ck_
    Participant

    outchy, this plugin is for a completely different purpose.

    You already have the latest posters on the front page, if you want to turn their names into profile links you need to do something like this in your front-page.php

    <td class="num"><a href="<? user_profile_link( get_post_author_id( ) ); ?>"><?php topic_last_poster(); ?></a></td>

    (untested)

    Note because of the way user data is not cached on the front page, this will cause several extra queries per topic listed and probably not a good idea for very busy forums.

    #2153

    Topic: css help

    in forum Installation
    outchy
    Member

    i hate asking this because i thought i was pretty good with css but i must swallow my pride :/ could you guys help me figure out why IE is dropping the “Latest Discussions” part below the “Top Posters” sidebar? it works in Firefox!!

    http://www.manonfire.cc/sk6ers/

    here’s the css:

    http://www.manonfire.cc/sk6ers/bb-templates/superbold/style.css

    #56729

    In reply to: Plugin: Avatar Upload

    fel64
    Member

    Here’s a hacked workaround, though I am not sure it’s a good idea to tap into the user_cache directly. I’d otherwise suggest nicely using bb_get_user() as it checks the cache first but the problem with that is it fetches ALL the data if not in the cache which is overkill. Too bad there isn’t a bb_get_user_meta($id,’metaname’) but oh well – for now replace this top section of code:

    The user _must_ be in the cache at this point if his details are being displayed next to the post, right? Implying that bb_get_user would never need to use a single query.

    There _is_ a bb_get_usermeta() already: https://trac.bbpress.org/ticket/691. It’s in the latest.

    #59330

    In reply to: super beginner :)

    fel64
    Member

    Yeah. So, pick a theme close to what you like and edit it. What else did you want to know?

    Open the theme file for the page you want to edit. Look for the bits you want to change. Change them. For example, to get rid of the tags you go to front-page.php and take out the entire div for hot tags. To put the forums above the latest, look for the block of HTML that’s there for the forums and move it above the block there for the latest. For the header you play around with the CSS.

    I can’t see that you need a little help. I don’t know what help you need at all. Do you have any specific problems? It’s rather annoying that you’re asking for other people to spend their time explaining how to do these things when you don’t seem to have even tried.

    outchy
    Member

    is there a way to tweak this so you can simply list the latest posters on the front page (as username/profile link)?

    #56727

    In reply to: Plugin: Avatar Upload

    LMD
    Participant

    Ok, version 0.7 is released: including the changes by SamBauers as well as an image sharpening (unsharp mask) function.

    @Sam – Using the latest version of your plugin, I tried installing the new version of Avatar Uplaod, but it still wouldn’t read the additional-files directory. This is what it looks like over FTP: screenshot (NOTE: if there is a problem viewing it — error 403 — try cutting and pasting the URL instead – it’s probably my over-zealous image-hotlinking prevention).

    #2145

    Topic: super beginner :)

    in forum Themes
    warmechoco
    Member

    Hello everyone,

    I know a bit about html (but that is not necessary here I guess :p) but nothing about css & php..

    I managed to install bbpress on my website.. I am integrating the forum with Iframes on my website.

    now I would like to have a very cleen and simple forum

    – no hot tags

    – not a big header

    – the forums on top & the latest discussions on the bottom

    the theme I think leans the most to my needs is Superbold for bbPress1 by Refueled (looking at styles). So I’m thinking I could start by editing this theme?

    as you can see I need a little help,

    I have dreamweaver to edit things.

    can someone help me and say me how to start or what is the best thing to do?

    #52444

    In reply to: blockquote?

    I just installed bbpress yetserday on a new domain and have integrated it with wordpress using the plugin, etc. I also have found that the default template has no blockquote support. Even by including the blockquote definition given above by Trent verbatim in my bb-admin/style.css file does no good, here is a view source excerpt of the source file:

    <blockquote><p>[Shakir 5:57] O you who believe! do not take for guardians those who take your religion for a mockery and a joke...</p></blockquote>

    as a test…

    testing blockquote here in bbpress support

    nope. above line doesnt render in blockquoted indent either.

    i think the problem is the insertion of <p></p> tags around every paragraph. Since blockquote is an inline style, the p tags override it. we could get around this by using a div class=blockquote kind of construction instead but wouldt it be nicer if blockquote just worked out of the box?

Viewing 25 results - 10,701 through 10,725 (of 11,524 total)
Skip to toolbar