Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 13,901 through 13,925 (of 32,503 total)
  • Author
    Search Results
  • #136249
    Stephen Edgar
    Keymaster

    WordPress should be able to automatically update your .htacess file which it looks like it is based on the last ~11 lines of your post above. Those first ~9 lines though could be the problem as it looks like they are from another WordPress plugin or added by your webhost.

    https://codex.wordpress.org/Using_Permalinks#Automatically_updating_.htaccess

    If you don’t know what plugin is adding the extra bits to your .htaccess file try disabling all of your plugins except bbPress, go back to your WordPress permalinks settings and update the settings again which forces WordPress to update your .htaccess file and see how that goes.

    #136244

    In reply to: Import Forums error

    Stephen Edgar
    Keymaster

    None of the forum importers are importing the ‘sticky status’ of any topics at this stage so after importing any topics you need to stick need to be done manually.

    (I can’t see you site at the moment ‘Access Forbidden’ 😉

    I am not sure exactly how WordPress embeds work as a whole…

    Though this via https://codex.wordpress.org/Embeds

    If WordPress fails to embed your URL you will get a hyperlink to the URL.

    #136234

    In reply to: Forum index hierarchy

    Stephen Edgar
    Keymaster

    You would have to code this up yourself, a good starting point would be taking a look at this:
    https://bbpress.org/forums/topic/customising-bbp_list_forums-last-poster-block/

    #136232

    In reply to: SMF Import to bbPress

    Stephen Edgar
    Keymaster

    Cool… After the import you must run the Repair Tools to get everything recounted…

    #136225
    JKrueger
    Participant

    Thanks for the info on the short codes. It has taken forever to find that info.

    Alright, I took and created two pages, “Register Page” and “Lost Password Page”. I published them both and put the URL’s in the appropriate spot in the widget. Then I go to the site and test out the register page and enter my information. When I click register it says, “User registration is currently not allowed”. What do I do from here???

    #136221
    littlesparrowblog
    Participant

    We have bbpress forums installed on our website http://www.hphe.net The forums look great, but when I want to click on a paritulcar user’s profile, the text of the information is overlapping–as if everything is being crammed into the left side of the page. It looks like the screen view needs to expand, but I don’t know how to do that for profile pages.

    I am very much in the beginning stages of learning about code…using WordPress so I wouldn’t really have to deal with any code, but I’m seeing that it would be handy in a number of instances. Any help needs to be explained to me in the most basic of terms. :\

    Thanks for any help.

    #136219

    In reply to: Import Forums error

    Stephen Edgar
    Keymaster

    Cool… Done… Just download again via the link up there ^^^.

    If there are any others hanging about let me know or any other text, paragraph, images etc BBCodes I will add them all in for bbPress 2.5

    #136208
    kriskl
    Participant

    there is a way to do it, someone posted few lines of code last year.. and it works. BUT I cannot find it now here on the forums, and I can’t remember how it was done :((

    please search bbpress forums

    #136207
    Stephen Edgar
    Keymaster

    The full docs for bbp_list_forums is here https://codex.bbpress.org/bbp_list_forums/

    The quick and easy way is via this topic where you can add the code from that gist to your themes functions.php

    how to display list of sub-forums on separate lines, instead of big blob?

    #136201
    Stephen Edgar
    Keymaster

    https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

    Adjust your Forum attributes. These are:
    Types: choose whether you are creating a Forum or category.
    Forum – can contain topics and be the parent of other forums.
    Category – can only contain forums (no topics). Use for organizing your forums.

    #136199
    Blakelock
    Participant

    Hi there, my website is http://www.theyouthlink.com and currently I have a login widget that links to the WP profile page. Preferably, I would like to rewrite the code so that it links to the BBpress forums profile page in order to keep everything front end.

    Any idea’s on how to do this? My current php code for the login widget is: `

    case “profile_link”:
    $return_text = str_replace(“{“.$match.”}”, ““. __(‘Profile’, ‘pwLogWi’) .”<//a>”, $return_text);
    break;

    #136183

    In reply to: Import Forums error

    Stephen Edgar
    Keymaster

    Hmmm… It should work… http://regexr.com?3621e

    Can you find a post with either a [QUOTE] or [MENTION] BBCode to see if these have been converted to <blockquote> which will help work out if any of the BBCodes are being converted to HTML.

    Anand
    Participant

    The site is now up and will be (i hope).

    Thanks in advance.

    Check the urls:
    http://www.wpavenue.com/support/ &
    http://www.wpavenue.com/forums/

    Both have the same shortcode. But the results are different!

    #136175
    Xevo
    Participant

    It’s called “avatar-14” because the size is 14×14 pixels.

    Add this to the bottom of your css file, and it should work.
    .avatar-14 { display: none !important; }

    Anand
    Participant

    Yes, I know. That’s really a bad luck. I will update the thread whence the site will become online.

    However here is a screenshot of the forum index. http://img713.imageshack.us/img713/3991/fy0l.png

    I also asked this question in StudioPress forums. (Earlier i thought the problem was with Genesis themes)

    Xevo
    Participant

    Both pages turn up a 404 from hostgator.

    #136165

    In reply to: Import Forums error

    MediaSVI
    Participant

    Ok I see this file is the bbpress code for the File importer for vBulletin. Forgive me I am new to this stuff but I am getting it a bit slowly 😉

    #136164
    Techknowledgic
    Participant

    I solved this issue by replacing the base to another page and put the code [bbp-forum-index] and the previous page I am not able to add the forums to the same base again

    anyways. Thanks 🙂

    Anand
    Participant

    Hello all,

    I wonder how (& why) bbPress is rendering same shortcodes in different ways? Actually, I am unable to identify the problem.

    Even after disabling all the plugins do not have any role in the broken forum.

    You may take a look on
    http://www.wpavenue.com/forums/ <–This one is broken and “forums” is forum’s base slug.
    http://www.wpavenue.com/support/ <– This works fine

    Both of the above urls are “page” having exactly the same code.

    Other than the missing html structure (on the /forums, forums/topic-tag/docs/, /forums/users/example/) everything is fine.

    The theme is working with twenty-ten. twenty-eleven and twenty-thirteen. But broken with Genesis 2.0 (with sample and custom child theme0) and hybrid themes.

    Waiting for a reply!

    #136162
    Techknowledgic
    Participant

    Hey

    My website’s forum page is http://www.techknowledgic.com/forums/forum and since few mins I created a page under the same name and then removed it and since that time the forums disappeared.

    I can go to a sub forum like this http://www.techknowledgic.com/forums/forum/affiliates-programs/

    but the lists of the forums disappeared from http://www.techknowledgic.com/forums and here is a screenshot of how it was before and now it’s empty http://img694.imageshack.us/img694/6215/rmox.png

    is there any help or any code I have to add to display the forums?

    Thanks!

    #136158
    uksixthman
    Participant

    Hi All,

    I wanted to see if there was an easy way or plugin to change the font and color of the forum text. It does not match my current website and wanted to have uniformity. I am not a heavy coder so simple is better.

    Thanks

    #136154

    In reply to: Import Forums error

    MediaSVI
    Participant

    Question:

    Exactly what code am I to use and where do I paste it..IE

    Do I paste in a VB file before import or in a WordPress/bbPress after import.

    Also there is the child theme stuff to be concerned about. Just know I am in the R&D of all this now before I start converting my site. I do have Blogs/Articles too but not many.

    #136151

    In reply to: Import Forums error

    Stephen Edgar
    Keymaster

    Excellent 🙂

    The vBulletin importer already includes some regex conversion expressions and should be actually converting those for you.

    The actual code from Line #578 is (vBulletin.php)

    
    // Replace '[video=youtube;$1]$2[/video]' with '$2"
    
    		$vbulletin5_markup = preg_replace( '/\[video\=youtube;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin5_markup );
    

    What that is doing using regular expressions is converting anything in the format of
    From: [video=youtube;$1]$2[/video]'
    eg. [video=youtube;yF5sbwb4VTg]http://youtu.be/yF5sbwb4VTg[/video]

    To: '$2"
    eg. http://youtu.be/yF5sbwb4VTg

    (If WordPress settings allow YouTube embeds then we only need to post the YouTube URL to the topic or reply)

    In your case you have an extra string '_share' in your custom BBCode…

    So with copy and paste magic… We end up with this as anxtra regex string conversion:

    
     		// Replace '[video=youtube;$1]$2[/video]' with '$2"
     		$vbulletin_markup = preg_replace( '/\[video\=youtube;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin_markup );
    +		
    +		// Replace '[video=youtube_share;$1]$2[/video]' with '$2"
    +		$vbulletin5_markup = preg_replace( '/\[video\=youtube_share;(.*?)\](.*?)\[\/video\]/', '$2', $vbulletin5_markup );
     

    You can look at this gist which is a little clearer to read and also download the file.

    https://gist.github.com/ntwb/513187363f36b56ec77d/revisions

    You can either add those two lines to your own file or download the gist complete there and it should work for you 🙂

    #136150

    In reply to: Import Forums error

    MediaSVI
    Participant

    I am using V4.2.1

    Ok I got it to work, I had 2 things wrong that I fixed and they where.

    In the Id or Hostname I used the server IP address and in prefix I used lower case, I was using caps.

    It imported all users, forums, topic, days, times awesome.

    Question: my site has a lot of videos and the VB shortcode would put them in like this: [video=youtube_share;yF5sbwb4VTg]http://youtu.be/yF5sbwb4VTg[/video]

    Is there anything I can do to make them appear in the posts?

    Also what will happen when users log into the forum now?

    #136126
    Stephen Edgar
    Keymaster

    It should work just fine, that said if you change a couple of forums to say 1, 2 & 3 make sure none of other forums in the same category have 0 assigned to them.

    https://codex.bbpress.org/getting-started-with-bbpress/#creating-your-first-forum

Viewing 25 results - 13,901 through 13,925 (of 32,503 total)
Skip to toolbar