Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 1 through 25 (of 32,482 total)
  • Author
    Search Results
  • #247356

    Tirupati NRI Darshan with Car Rental from Chennai
    Book your hassle-free NRI Tirupati Darshan package. Includes comfortable, private car rental service starting from Chennai.
    Introduction
    • Many Non-Resident Indians (NRIs) visit Tirupati to get blessings from Lord Venkateswara.
    • The Tirumala Tirupati Devasthanams (TTD) provides a special NRI Darshan for devotees who live abroad.
    • If you start your journey from Chennai, it is easy to reach Tirupati with Padmavathi travels.
    • We also help devotees who start from Bangalore with our NRI Darshan Services from Bangalore.
    • This guide explains everything about NRI Darshan Services, Tirupati NRI Darshan Services, and TTD 300 Rs Ticket.
    What is NRI Darshan
    • NRI Darshan is a special entry darshan for people living outside India.
    • It helps them have a peaceful and faster darshan without waiting in long lines.
    • This facility is available for:
    o NRIs
    o Foreign passport holders
    o OCI or PIO card holders
    • Ticket Price: ₹300 (TTD 300 Rs Ticket)
    • Ticket Location: Available only at Supadam Counter, Tirumala (not online).
    • Documents Required:
    o Original Passport
    o Valid Visa / OCI / PIO Card
    o Photocopies of all documents
    o Immigration entry stamp if required
    • Darshan Timings: 12 PM to 6 PM (based on TTD schedule)
    • Children Entry: Free below 12 years with valid age proof.
    NRI Darshan Services from Chennai
    • Padmavathi travels provides complete NRI Darshan Services with car rental and driver.
    • You can start your journey easily from anywhere in Chennai – home, hotel, or airport.
    • Our Services Include:
    o Doorstep pickup and drop for families and groups.
    o Clean and air-conditioned vehicles for comfortable travel.
    o Experienced drivers who know Tirupati routes and entry gates.
    o Assistance for NRI Darshan documents and ticket process.
    o Visit to Padmavathi Temple (Tiruchanur) before Tirumala Darshan.
    • Vehicle Options:
    o Sedan cars – Etios, Dzire
    o SUVs – Innova, Crysta
    o Group travel – Tempo Traveller
    • Inclusions:
    o Car, fuel, toll, and parking.
    o Driver allowance.
    o Help for TTD 300 Rs Darshan Ticket and NRI Darshan entry.
    NRI Darshan Service from Bangalore
    • Devotees from Bangalore can also enjoy NRI Darshan Services arranged by Padmavathi travels.
    • The travel from Bangalore to Tirupati is simple and well-planned.
    • Key Benefits:
    o Pickup and drop at your location in Bangalore.
    o Comfortable car journey to Tirupati and back.
    o Support for ticket and entry at Supadam Counter.
    o Option to visit Padmavathi Temple, Kapila Theertham, and Govindaraja Swamy Temple.
    • Trip Duration: Around 5 hours to reach Tirupati by car.
    • Recommended Start Time: Early morning for same-day darshan.
    • Inclusions:
    o Car with driver and fuel.
    o All toll and parking charges.
    o Assistance for NRI Darshan ticket and document checking.
    Chennai to Tirupati One-Day Trip Plan
    • Start early morning from Chennai.
    • Drive to Tirupati (about 3.5 hours).
    • Visit Padmavathi Temple in Tiruchanur.
    • Go to Tirumala Hills for NRI Darshan.
    • Get ticket from Supadam Counter using passport and visa.
    • Have darshan of Lord Venkateswara peacefully.
    • Return to Chennai after darshan.
    Two-Day Trip Plan
    • Day One:
    o Travel to Tirupati.
    o Visit nearby temples like Padmavathi Temple and Govindaraja Swamy Temple.
    o Stay overnight in a hotel at Tirupati.
    • Day Two:
    o Drive to Tirumala for NRI Darshan (12 PM – 6 PM).
    o Complete darshan and return to Chennai.
    • Travel Tips:
    o Carry original passport and visa.
    o Keep photocopies ready for ticket checking.
    o Confirm darshan time before travel.
    o Ask Padmavathi travels T-Nagar for updated timings.
    TTD 300 Rs Ticket and NRI Darshan Ticket Details
    • Many devotees search for:
    o TTD 300 Rs Ticket Online Booking
    o TTD 300 Rs Darshan Online Booking Availability
    o TTD NRI Darshan Ticket
    • Important Points:
    o NRI Darshan tickets are not available online.
    o Tickets are issued only at Supadam Counter, Tirumala.
    o Regular ₹300 ticket and NRI Darshan ticket are different.
    o NRI Darshan requires foreign passport or visa proof.
    • Helpful Tips:
    o Reach Tirumala before 12 PM for easy entry.
    o Keep all documents ready for quick verification.
    o Get help from Padmavathi travels for smooth ticket arrangements.
    Rules and Dress Code for NRI Darshan
    • Darshan Timing: 12 PM to 6 PM (may change).
    • Dress Code:
    o Men – Dhoti and shirt.
    o Women – Saree or Churidar.
    • Allowed Devotees:
    o NRIs, OCI, and PIO card holders.
    o Children below 12 years free with age proof.
    • Items Not Allowed:
    o Mobile phones, cameras, leather items.
    • Documents to Carry:
    o Original passport and visa.
    o Photocopies and immigration stamp.
    Why Choose Padmavathi travels T-Nagar
    • Padmavathi travels is one of the most trusted travel agencies for Tirupati NRI Darshan Services.
    • Main Benefits:
    o Car rental with experienced driver.
    o Door-to-door pickup and drop service.
    o Help for NRI Darshan ticket and Supadam entry.
    o Custom one-day or two-day packages.
    o Neat and air-conditioned vehicles.
    o Affordable package cost with no hidden charges.
    o 24/7 support team for travelers.
    Nearby Temples to Visit During the Trip
    • Padmavathi Temple – dedicated to Goddess Padmavathi Devi at Tiruchanur.
    • Govindaraja Swamy Temple – one of the oldest temples in Tirupati.
    • Kapila Theertham – Shiva temple located at the foot of Tirumala hills.
    • ISKCON Temple Tirupati – peaceful place for meditation and prayer.
    Travel Tips for NRI Devotees
    • Always carry passport and visa while traveling.
    • Avoid weekends if possible for less crowd.
    • Book your car rental in advance.
    • Keep snacks and water bottles during travel.
    • Confirm darshan timings with your driver or guide.
    • Prefer early morning departure for a one-day trip.
    Conclusion
    • NRI Darshan is a special service that helps overseas devotees have a peaceful darshan of Lord Venkateswara.
    • Padmavathi travels offers full support for your Tirupati NRI Darshan Services, making your journey simple and comfortable.
    • Whether you are traveling from Chennai or using our NRI Darshan Service from Bangalore, we provide safe travel, ticket help, and darshan guidance.
    • Enjoy a smooth, spiritual, and blessed trip to Tirupati with Padmavathi travels — your trusted partner for TTD NRI Darshan Services.

    #247201
    Robin W
    Moderator

    I’m pretty sure that the buddypress function hooks to the new_forum_handler in bbpress, so this should work

    add_action( 'bbp_new_forum_post_extras', 'rew_add_pg', 10 , 1) ;
    
    function rew_add_pg ($forum_id ) {
    	 add_post_meta( $forum_id, '_private_group', 'group1', false );
    }

    Let me know of not.

    #246865
    Robin W
    Moderator
    if (!is_admin() ) {
    add_filter( 'bbp_get_forum_content', 'rewst', 10 , 2 ) ;
    }
    function rewst ($content, $forum_id ){
    	if (!empty ($content)) $content= '<a class="bbp-forum-rew" href="'.bbp_get_forum_permalink($forum_id).'">'.$content.'</a>' ;
    return $content ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    #246845

    In reply to: SEO Index Forum

    Ricsca2
    Participant

    Thanks a lot, I fixed the code with chatgpt, but it didn’t work well with yoast…

    
    
    /**
     * 🔧 Custom SEO meta tags for bbPress forum index page
     * 
     * This snippet replaces the default "Forum Archive" title and adds custom
     * meta description + Open Graph tags (for Facebook, WhatsApp, etc.)
     * 
     * ✅ Add this code to your theme’s functions.php or a custom plugin.
     */
    
    function custom_bbpress_forum_index_meta() {
        // Check if bbPress is active and we are on the main forum archive page
        if ( function_exists('is_bbpress') && is_post_type_archive('forum') ) {
    
            // 🔹 Custom SEO Title
            add_filter('pre_get_document_title', function() {
                return 'Your Custom Forum Title – Your Site Name';
            });
    
            // 🔹 Custom Meta Description and Open Graph Tags
            add_action('wp_head', function() {
                ?>
                <!-- 🧩 Custom bbPress Forum SEO Meta Tags -->
                <meta name="description" content="Join our forum community! Discuss topics, share experiences, and get expert advice about your favorite subjects." />
                <meta property="og:title" content="Your Custom Forum Title – Your Site Name" />
                <meta property="og:description" content="Join our forum community! Discuss topics, share experiences, and get expert advice about your favorite subjects." />
                <meta property="og:image" content="https://example.com/path-to-your-forum-image.jpg" />
                <meta property="og:type" content="website" />
                <?php
            });
        }
    }
    // Hook into 'wp' to ensure bbPress functions are available
    add_action('wp', 'custom_bbpress_forum_index_meta');
    
    #246843

    In reply to: SEO Index Forum

    Vinay PN
    Participant

    Here are some ways to add or customize the title and meta description for the bbPress forum index:

    1. Use an SEO Plugin That Supports Custom Post Types and Archives
    bbPress forums often rely on custom post types and archive templates.

    Ensure Yoast SEO is configured to handle bbPress custom post types and their archives.

    In Yoast SEO > Search Appearance > Content Types and Archives, check if bbPress forums and topics are enabled and configured properly.

    For the main forum index (bbPress’ main forum page), this is often considered an archive page. Yoast allows customization of archive titles and meta descriptions via the Archives tab.

    2. Add Custom Code via Functions.php or a Custom Plugin
    You can programmatically set the title and meta description on the bbPress forum index with code snippets. For example:

    php
    function custom_bbpress_forum_index_seo() {
    if ( function_exists( ‘is_bbpress’ ) && is_bbpress() && !is_singular() ) {
    // Set custom title
    add_filter( ‘pre_get_document_title’, function() {
    return ‘Your Custom Forum Title – Your Site Name’;
    });

    // Set custom meta description
    add_action( ‘wp_head’, function() {
    echo ‘<meta name=”description” content=”Your custom meta description for the forums index page goes here.” />’ . “\n”;
    });
    }
    }
    add_action( ‘wp’, ‘custom_bbpress_forum_index_seo’ );
    This snippet checks if it’s a bbPress page but not a single topic or forum (index page), then overrides the title and adds a meta description.

    3. Use a Dedicated SEO or Meta Tag Plugin
    Alternatively, plugins like All in One SEO, Rank Math, or WP Meta SEO may provide greater flexibility to add meta tags for archive/custom pages.

    4. Use a Page as a Forum Landing Page Instead of bbPress Default
    Instead of using the default bbPress forum index, you can:

    Create a regular WordPress page.

    Use that page as your main forum landing page.

    Insert bbPress shortcodes or specific forum content there.

    This way, you can edit the page’s SEO title and meta description directly with Yoast.

    website design company bangalore

    #246782

    Please see error code below.

    2025-10-03 11:35:01 Error 77.44.13.228 500 GET /wp-admin/post-new.php?post_type=reply HTTP/1.0 https://www.domainname.org/wp-admin/edit.php?post_type=reply Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36 5.70 K Apache SSL/TLS access

    2025-10-03 11:35:06 Error 77.44.13.228 AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Maximum call stack size of 8339456 bytes (zend.max_allowed_stack_size – zend.reserved_stack_size) reached. Infinite recursion? in /var/www/vhosts/domainname.org/httpdocs/wp-content/plugins/bbpress/bbpress.php:169\nStack trace:\n#0 /var/www/vhosts/domainname.org/httpdocs/wp-content/plugins/bbpress/includes/replies/template.php(35): bbPress->__get()\n#1 /var/www/vhosts/domainname.org/httpdocs/wp-content/plugins/bbpress/includes/common/template.php(461): bbp_get_reply_post_type()\n#2 /var/www/vhosts/domainname.org/httpdocs/wp-content/plugins/bbpress/includes/replies/template.php(544): bbp_is_reply()\n#3 /var/www/vhosts/domainname.org/httpdocs/wp-includes/class-wp-hook.php(324): bbp_get_reply_title_fallback()\n#4 /var/www/vhosts/domainname.org/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()\n#5 /var/www/vhosts/domainname.org/httpdocs/wp-includes/post-template.php(174): apply_filters()\n#6 /var/www/vhosts/domainname.org/httpdocs/wp-content/plugins/bbpress/includes/topics/template.php(603)…’, referer: https://www.domainname.org/wp-admin/edit.php?post_type=reply

    Anyone from BBPress help me with this?

    #246738
    Robin W
    Moderator

    without further digging, the function

    echo get_the_post_thumbnail

    seems to support

    thumbnail
    medium
    large
    full

    so you can have for instance

    echo get_the_post_thumbnail($post->ID,'medium',array('class' => 'alignleft forum-icon'));
    echo get_the_post_thumbnail($post->ID,'large',array('class' => 'alignleft forum-icon'));

    you can also play with these settings – see

    https://www.elegantthemes.com/blog/tips-tricks/how-to-change-thumbnail-size-in-wordpress-and-why-you-want-to

    #246737
    andrew55
    Participant

    Sure, this is the code I’m using:

    add_post_type_support('topic', array('thumbnail'));
    add_post_type_support('forum', array('thumbnail'));
    /*
    Plugin Name: bbPress - Forum Icons
    Plugin URI: https://gist.github.com/ntwb/8277457
    Description: bbPress - bbPress - Forum Icons
    Version: 0.1
    Author: Stephen Edgar - Netweb
    Author URI: http://netweb.com.au
    */
    // Original Source: http://www.kristarella.com/2013/04/bbpress-forum-icons/
    add_post_type_support('forum', array('thumbnail'));
    function ks_forum_icons() {
    	if ( 'topic' == get_post_type() ) {
    		global $post;
    	    if ( has_post_thumbnail($post->ID) )
    	    	echo get_the_post_thumbnail($post->ID,'thumbnail',array('class' => 'alignleft forum-icon'));
    	 }
    }
    add_action('bbp_theme_before_topic_title','ks_forum_icons');
    #246733
    Robin W
    Moderator

    which particular code did you use, please post the snippet here

    #246722
    andrew55
    Participant

    Hi, I’m using this code from @stagger-lee to enable ability to create featured images in topics:

    Add Featured Image to New Topics in Frontend WYSWYG

    When ever I create featured image, they all come out to 400px by 400px. Is there a way to set the featured images to a different size, such as 600px by 400px?

    Thank you for any suggestions.

    drjohndimi
    Participant

    Hello.
    I imported a series of topics in a CSV into a new forum that had 4 forums 2 topics.
    The 50 topics showed up on the page section that had [bbp-topic-index] shortcode but not on the one with [bbp-forum-index]. I have uninstalled every plugin, no luck. Only the existing 4 forums and 2 topics display.
    Quite frustrating – I hope someone reading this helps me. Alternatively, I will sadly remove the shortcode. I get error message [This forum is empty.] whenever I click forum that has the topics.
    I use TownPress theme, Advanced Post Block, and bbp style pack if that helps.
    Thank you for helping out.
    JD

    #246714
    Robin W
    Moderator

    you need top take out the “!important” in the rule in your Customizr Child Home style.css line 2858

    to make it

    #bbpress-forums ul.odd, #bbpress-forums ul.even {
      background-color: #EFEFEF;
    }

    and then add this rule

    #bbpress-forums .super-sticky {
    	background-color: blue !important;
    }
    #246692
    Robin W
    Moderator
    function my_bbp_no_reply_email(){
        $email = 'no-reply@sitename.com'; // any email you want
        return $email;
    }
    add_filter('bbp_get_do_not_reply_address','my_bbp_no_reply_email');

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    #246681
    andrew55
    Participant

    I’m usually ok with using css in my child theme, but struggling with this.

    I need to change the background color only of the sticky topics area here:

    https://www.lifeleap.org/community/forums/forum/lifeleap-cafe/lifeleap-institute-related/

    I have the background color set with this css (even and odd):

    #bbpress-forums ul.odd

    But I just can’t figure out how to change background color only on the sticky topics.

    Thanks for any suggestions.

    #246550
    Sirmadsen
    Participant

    I got the editor and this plugin to work by adding a code to my themes functions.php (child theme if you use that)

    function bbp_enable_visual_editor( $args = array() ) {
        $args['tinymce'] = true;
        $args['teeny'] = false;
        return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

    It activates the TinyMCE editor in BBPress.

    #246533
    a7xfanben
    Participant

    When a user quotes another post using the quote button, their post shows the bbcode as plain text. I tried to recreate the issue on my end with a test account (non-admin) in incognito mode, and was not able to recreate the issue. Any idea what could be causing it? (example linked below)

    Wordpress version: 6.8.2
    bbPress version: 2.6.14
    Link: example post with issue

    #246492

    In reply to: Bug https url

    Robin W
    Moderator

    since it is you asking 🙂

    add_filter( 'bbp_make_clickable', 'rewst', 10 , 2 ) ;
    function rewst ($ret, $text ){
    	$ret = str_replace ('http://' , 'https://' , $ret);
    	return $ret ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    #246489

    In reply to: Bug https url

    Ricsca2
    Participant

    But seriously, are you telling me that it is normal that if a user writes www.google.com on bbpress it becomes http://www.google.com and not https:?

    #246485

    In reply to: Bug https url

    Ricsca2
    Participant

    I couldn’t explain…
    If I type www.google.com when I post the topic, it becomes http://www.google.com instead of https://www.google.com

    Try writing a URL with only www and submitting the topic.

    #246466
    Robin W
    Moderator

    This should do it

    .bbp-topics .sticky a.bbp-author-link span.bbp-author-avatar {
        display: none !important;
    }
    #246459
    Robin W
    Moderator

    I’m just a volunteer here – I don’t think this will get added to the core.

    so it will need code, and a plugin is just code with a wrapper.

    If you are concerned about performance, you should be using a caching plugin

    #246455
    andrew55
    Participant

    I have this css in my child theme css file:

    .bbp-topics ul.sticky .bbp-author-avatar {
        display: none !important;
    }

    But it doesn’t hide the avatar. Any suggestions on how to get this to work properly?

    #246443
    Amin
    Participant

    Sorry to bring this ancient topic up! But this issue is stil present after 11 years! It’s not a theme issue, I changed theme to the wordpress default.

    Topics are sorted by freshness in each individual forum, but not in the forum index page at example.com/forum

    I also added this in my custom plugin, bt no success:

    function freshness_topic_order( $args ) {
    		$args['meta_key']='_bbp_last_active_time';
                    $args['orderby']='meta_value';
                    $args['order']='DESC';  //change to ASC to put oldest at top
                    return $args;
    }
    add_filter('bbp_before_has_topics_parse_args','freshness_topic_order');
    Ricsca2
    Participant

    I get this warning in Search Console…

    More than 2,000 of your forum pages are missing structured data for discussion forums.
    Once implemented, Google can identify and display related online discussions on your site in relevant search results features.

    And it redirects me to this guide:

    https://developers.google.com/search/docs/appearance/structured-data/discussion-forum?hl=en&authuser=1

    Is there anything I can do?

    #246401
    thinlizzie
    Participant

    Hi Robin, yes that’s correct. The previous system worked fine but was not really encouraging forum participation so it will be replaced.

    The daily-limit is handled by a simple flag in the usermeta table, all good.

    I’m really just asking if there exists a combo version of bbp_new_topic and bbp_new_reply for me to hook onto, or if I should simply hook onto both of those, separately.

    eg.

    
    add_action( 'bbp_new_topic' , 'my_reward_function' );
    add_action( 'bbp_new_reply' , 'my_reward_function' );
    
    function my_reward_function() {
    
    	// check daily-limit flag, bail if set to today's date
    	// update the user's reward info
    	// set daily-limit flag to today's date
    }
    
Viewing 25 results - 1 through 25 (of 32,482 total)
Skip to toolbar