Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 26,876 through 26,900 (of 32,466 total)
  • Author
    Search Results
  • #67605
    _ck_
    Participant

    You don’t need to tamper with the regex.

    Essentially you are adding the attibutes incorrectly.

    This is wrong: 'wiki' => array('a','href')

    That means set a new tag called “wiki” with the attributes “a” and “href”. But really only “href” is an attribute.

    I could help you more if I understood what <wiki></wiki> was supposed to do.

    #66073

    Though I hesitate to say this out loud, it is possible to integrate bbPress 0.9.0.2 with WordPress 2.6.x (I have a site running the two and logins to one part work in the other, cookies are properly set and cleaned up, etc.), BUT it requires plugins to both bbPress and WordPress (or, alternately, modification of core code) and I’d venture to guess that it might substantially weaken the cookie security introduced in WP2.6. If anyone is desperately interested, I can share details, but it’s messy.

    #3983
    benzilla069
    Member

    Hi I’m currently modifying your wiki post script(source once i’ve finished it) and I’m combining looking at your bbcode plugin and I’m trying to add a simple <wiki>something</wiki> tag and I’m having a trouble getting my head around how you do it.

    Looking at this code:

    $complex1 = array('wiki' => array('a','href'),'img' => array('img','src'));

    foreach($complex1 as $bbcode=>$html){

    if($bbcode=='wiki') {

    var_dump($text);

    /*$text = preg_replace('/(.+?)[/'.$bbcode.']/is','<'.$html[0].' '.$html[1].'="$1">',$text);*/

    }

    else {$text = preg_replace('/(.+?)[/'.$bbcode.']/is','<'.$html[0].' '.$html[1].'="$1">$1</'.$html[0].'>',$text);}

    }

    Now I was thinking removing everything after ‘wiki’ would work but nothing works. It calls var_dump at the moment but it calls it for all posts in the topic.

    Any ideas? I haven’t used regular expressions before so I’m a bit lost.

    #56069

    In reply to: Spoiler plugin?

    fantatier
    Member

    No, as I can see out of the plugin code the Javascript files has to be called “enhancedss.js”. If it is not called like this, the plugin is not able to find it. Am I right?

    #67572
    jpope
    Member

    Thanks for the input. I’m pretty sure I’m off in the wrong direction, I’m just trying to dig through what the WP and BB code are doing under the covers so that I have a better understanding of where this problem is coming from. It’s simply the analytical part of me wanting to understand the whole system.

    As for why, I am currently calling a few bbpress functions from my wp pages.

    I’m actually reviewing what I’m using now to see if I can just eliminate the use of the bbpress functions on the WP pages. I think I can probably just eliminate the need (at least for now).

    That said, I still want to dig in and get to the bottom of this. It seems like there should be a really easy answer for this (btw — I don’t think it’s the 404 problem from the other thread you linked).

    Thanks again for the feedback. Given I’m doing this on my own time, I may not get back to it for a while (I have funded development to finish for work). I’ll post back when I have a chance to re-review this.

    #67598
    Shagalaga
    Member

    sure :-)

    put this Code:


    <script src=”http://js.anonym.to/anonym/anonymize.js&#8221; type=”text/javascript”></script>

    <script type=”text/javascript”><!–

    protected_links = “”;

    auto_anonymize();

    //–></script>


    in your footer.php, just before </body>

    i dont know how secure it is, but i use it to avoid any trouble, my users could do, eg somebody post a link to an illegal site

    i think it makes the backtracking harder

    #67568
    jpope
    Member

    So I have confirmed that this happens even if I set both bbpress and wordpress to the default themes, so it is definitely not something in the themes I’ve customized.

    I really wish I could find the code where wp is determining the post ID of the home/front page as I suspect that is the best place to start trying to tackle this.

    #67471

    In reply to: Accents in username

    Amir Habibi
    Member

    meitershaker: ;-) be patient!!

    #67596
    Shagalaga
    Member

    ok, did it myself, with a little code in the footer

    #67578
    _ck_
    Participant

    A new feature this month is an analysis of Server and PHP software popularity. What’s interesting is how Apache use is slowly being eroded by other options. Also, PHP4 is still VERY popular (1 in 3 servers use it!)

    Server Popularity (alphabetical order)
    
    Abyss/2.0.0.20-x2-win32 : 2
    Apache : 800+
    Apache/1.3 : 900+
    Apache/2 : 40+
    Apache/2.0 : 800+
    Apache/2.2 : 1000+
    Ideawebserver/v0.50 : 3
    Lighttpd/1.4 : 15
    Litespeed : 20
    Microsoft-IIS/5.0 : 12
    Microsoft-IIS/6.0 : 80+
    Microsoft-IIS/7.0 : 2
    Nginx : 19
    Nginx/0.3 : 2
    Nginx/0.5 : 17
    Nginx/0.6 : 10
    Nginx/0.7 : 2
    Webserverx : 16
    Zeus/4.3 : 2

    (abnormalities and unknown entities have been dropped)

    PHP Popularity (by version)
    
    4.3 : 200+
    4.4 : 900+
    5.0 : 40~
    5.1 : 200+
    5.2 : 2000+

    #67577
    _ck_
    Participant

    bbPress is being used in over 80 countries (or regions).

    Here is a sample in order of popularity:

    .  1. United States
    2. Germany
    3. Spain **
    4. United Kingdom
    5. Russian Federation
    6. Italy
    7. Turkey
    8. France
    9. Sweden
    10. China
    11. Denmark
    12. Netherlands
    13. Canada
    14. Japan
    15. Europe
    16. Romania
    17. Czech Republic
    18. Brazil
    19. Norway
    20. Austria
    21. Poland
    22. Australia
    23. Switzerland
    24. Hungary
    25. India
    26. Chile
    27. Belgium
    28. Argentina **
    29. Indonesia
    30. Finland
    31. Ukraine
    32. Saudi Arabia
    33. Greece
    34. Lithuania
    35. Israel
    36. New Zealand
    37. Slovakia
    38. Latvia
    39. Mexico **
    40. South Africa

    ** This list is subject to some inaccuracies based on guesstimates of language used or target audience. For example, a page in Spanish may be intended for an audience in Mexico, Argentina, or in Spain. A page in Arabic may be intended for several countries in the middle-east, etc.

    #67576
    _ck_
    Participant

    bbPress is currently installed on at least 5,000 sites.

    Here is a breakdown of bbPress forums by total posts:

    Posts 		Count
    0 - 99 3,000+
    100 - 999 640
    1,000 - 4,999 180
    5,000 - 9,999 52
    10,000 - 49,999 44
    50,000 - 99,999 12
    100,000 - 499,999 7
    500,000 - 999,999 2

    By my calculations, a bbPress forum will break a million posts by the end of this year!

    #67534
    peterve
    Member

    yes – creating the autoload plugin apperently did the trick !!!

    (I still need to test if all functionality works, but at least I can now see the posts :-) )

    thank, this issue is resolved for now

    #67489
    threevisual
    Member

    tried clearing cookies too, still have the same issue :(

    #66708

    In reply to: bbPress 1.0 alpha

    chrishajer
    Participant

    Same database or same tables within the database? Same database, sure, just use a different table prefix, like bbalpha_ or something.

    For the same tables, I would need to look at the schema changes between 0.9 and 1.0, but I *believe* there are changes, which means it would not work to use the same exact tables.

    edit: _ck_ beat me to it :-)

    #58814
    scott-hack
    Member

    I have high hopes that bbPress becomes everything that everyone wants it to be. I wish I was a coder, so I could contribute!

    meitershaker
    Member

    yes _ck_

    #67408

    In reply to: Server Overload

    clementine
    Member

    _ck_ FINALLY I did it… The admins had to recompile my Apache… and we’ve had lots of problems… but now I have it….

    (edit)

    IT’S F****NG flying :D Thanks So SO MUCH!!!!!

    _ck_
    Participant

    Did you comment out the line I listed above in the plugin?

    #3970
    leoleoleo
    Member

    I installed BBcode Lite for bbPress and BBcode Buttons plugins in bbPress 1.0 Alpha. The URL button not work show the original code not URL.How to fix it? Thanks.

    #67541
    Sam Bauers
    Participant

    This can be changed in the templates just look for these functions in your templates and set $size to the integer you would like:

    post_author_avatar($size)
    post_author_avatar_link($size)
    bb_get_avatar( $user->ID, $size )

    meitershaker
    Member

    erf, the bbcodes are already not displayed :'( :'(

    i try to make:

    code strong test /strong /code

    but i can’t see the strong balise.

    #56068

    In reply to: Spoiler plugin?

    citizenkeith
    Participant

    Ok, I’m giving this a try but it doesn’t seem to be working.

    I created a plugin directory that I call “bb-spoiler.” Inside is “spoiler.js” (my renamed enhancedss.js file) and the plugin itself, which I named spoiler.php.

    Here’s my spoiler.js file:

    <script type='text/javascript' language='Javascript'>
    function s_toggleDisplay(his, me, show, hide) {
    if (his.style.display != 'none') {
    his.style.display = 'none';
    me.innerHTML = show;
    } else {
    his.style.display = 'block';
    me.innerHTML = hide;
    }
    }
    </script>

    Am I doing something wrong here?

    #66742

    In reply to: Sitemap generator

    chrishajer
    Participant

    Nice to see you around :-)

    #66741

    In reply to: Sitemap generator

    ear1grey
    Member

    Glad to see the GPL bit is working :) Employment is stifling any development time for me at the moment, so I’m way quieter than I’d like to be!

Viewing 25 results - 26,876 through 26,900 (of 32,466 total)
Skip to toolbar