sureshdrim (@sureshdrim)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 31 total)

  • sureshdrim
    Participant

    @sureshdrim

    Me too looking for such a plugin where user will be sent an account activation link after registration. User will have to activate his account before he is able to post any comments on the forum.

    This will help avoid creation of spam accounts. Currently even if admin blocks any account, that users starts posting again by creating another account. This can only be stopped by email activation plugin.

    Thanks.


    sureshdrim
    Participant

    @sureshdrim

    @Pimarts:

    The author has used <iframe> tags in the plugin. On validating page that contains facebook like button, shows following markup error:

    1) element “iframe” undefined

    …0px;align:left;margin:10px 0px 0px 0px”></iframe><div id=”ajax-response”></div>

    2) there is no attribute “style”

    …lorscheme=light&font=arial” style=”border:none;overflow:hidden;width:450px…

    3) there is no attribute “src”

    <iframe src=”http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.the…

    The code rendered in browser for this button is as follows

    <iframe src=”http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.thecollegehunt.com%2Ftopic%2Fsupport-ipl&layout=standard&show_faces=false&width=450&action=like&colorscheme=light&font=arial&#8221; style=”border:none;overflow:hidden;width:450px;height:30px;align:left;margin:10px 0px 0px 0px”></iframe>

    Hope author of this plugin “Gautam” (if I am not wrong) is reading this post.

    In reply to: Absolute URL

    sureshdrim
    Participant

    @sureshdrim

    Hi Chrishajer

    if users clicks “Start new Topic” link at top or bottom of the topic page .. it takes to login page if not logged in .. coz I have given absolute URL for login page..till here no problem ..but after user is logged in .. and clicks “Start new Topic” link at top or bottom of the topic page

    (ex. http://www.thecollegehunt.com/topic/germanys-octopus-oracle-keeps-perfect-record )

    it should go to that forums postform page but nothing happens.

    Thanks for help..

    In reply to: Absolute URL

    sureshdrim
    Participant

    @sureshdrim

    Dear Zaerl..

    I tried

    <anchorTag href=”<?php bb_uri(‘forum.php?id=’ . forum_id() . ‘#postform’);?>”>Start new Topic</anchorTag>

    But it didn’t work.

    In reply to: Absolute URL

    sureshdrim
    Participant

    @sureshdrim

    any idea please ?

    In reply to: Absolute URL

    sureshdrim
    Participant

    @sureshdrim

    Isn’t there any solution for above post ?

    I am using Nicer Permalinks which is creating problem with relative URL so I need to provide absolute URL.

    I have a anchor tag on topic page called “Start new Topic” with Relative URL values:

    anchorTag href=”forum.php?id=<?php forum_id()?>#postform” anchorTag

    Which won’t work properly with Permalinks.So I need to write same code using bb_uri() function so that it becomes absolute URL.

    Any idea please !!

    In reply to: Permalinks Error

    sureshdrim
    Participant

    @sureshdrim

    Thanks Zaerl,

    It has solved my problem.

    In reply to: permalinks not working

    sureshdrim
    Participant

    @sureshdrim

    @Chris

    Thanks Chris ..

    In reply to: permalinks not working

    sureshdrim
    Participant

    @sureshdrim

    Hello Chrishajer..

    here is the link.. http://thecollegehunt.com

    If I turn off permalinks its works fine.Problem arises only when I turn on name based permalinks.


    sureshdrim
    Participant

    @sureshdrim

    Hello all..

    In my case I am testing this plugin on localhost.Server software Value &amp; PHP version are as expected.I followed the installation steps correctly,but still couldn’t get this plugin working from a longtime.

    I get following error:

    Oops! This link appears to be broken.

    Please help !


    sureshdrim
    Participant

    @sureshdrim

    Hello Zaerl..

    I think there’s still something missing in ur code.I came out with more simple code which is tested and working good. (not sure if its 100 % reliable)

    function reply_link() {

    global $topic;

    $add = topic_pages_add();

    $last_page = bb_get_page_number( ( isset( $topic-&gt;topic_posts ) ? $topic-&gt;topic_posts : 0 ) + $add );

    $h2 = esc_attr( get_topic_link( 0, $last_page ) . ‘#postform’ );

    echo $h2;

    }

    Hello kevinjohngallagher..

    Actually I was looking for href value of an anchor tag which I want to add below each post.


    sureshdrim
    Participant

    @sureshdrim

    Hello zaerl..

    There’s something wrong.I tried this code but not working as expected.


    sureshdrim
    Participant

    @sureshdrim

    I also tried to get this value from post_form() function declared in bb-includes &gt; functions.bb-templates.php

    But could not solve the problem.

    Please help.


    sureshdrim
    Participant

    @sureshdrim

    ok. thank you chrishajer !!


    sureshdrim
    Participant

    @sureshdrim

    @ kevinjohngallagher Definitely..I will consult you if I come across any major issue which I am not able to solve.

    Thank you for this help.


    sureshdrim
    Participant

    @sureshdrim

    Hello kevinjohngallagher..

    I have done the necessary changes..please have a look and let me know if still something is wrong..plz plz do it for me.

    http://thecollegehunt.com

    But still I feel the index.php page and extra pages like

    http://www.thecollegehunt.com/colleges.php

    doesn’t have a good/descriptive title tag,keyword meta tag and description meta tag.Do you think it won’t affect much on SEO.


    sureshdrim
    Participant

    @sureshdrim

    Thanks a lot Kevin and Chris..

    As mentioned by Kevin above,if I remove the top and bottom code it works fine.But the problem lies with the SEO.By removing these lines,the title mentioned in header.php file will be applied to front-page.php which will be common for all pages.For better SEO title and description of each page needs to be different.

    I tried to put title tag value in header.php as &lt;?php forum_name()?&gt; – &lt;?php bb_title()?&gt; which works really great for topic pages but not the front-page.For front page,title tag value will have just the name of website,this will definitely affect Search Engine Ranking (I think so) as compared to title mentioned above.

    I hope you are getting what I am trying to say.

    Anyways without changing code,pages are properly displayed in IE just by refreshing it.


    sureshdrim
    Participant

    @sureshdrim

    Thank you kevinjohngallagher..


    sureshdrim
    Participant

    @sureshdrim

    @ kevinjohngallagher

    Hey dude you are genius.My problem is solved.

    But just a small doubt-I made a counter (initial value=0) which will count number of posts in foreach loop (Line 33 of topic.php),if counter is equal to 4 – code for ads – reset counter to 0,else increment counter by 1.This works.Ads are displayed after every 4 posts.But only first two ads are visible rest of the ads are invisible i.e a white space is felt at the place of ads after second ad.

    I just want to ask u,is there any policy of google which doesn’t allow to put ads in a loop or doesn’t allow to display same ad repeatedly on a page ? Any idea about this ?


    sureshdrim
    Participant

    @sureshdrim

    Hey Guys..

    I got solution for this problem &gt;&gt;

    In anchor tag put href value as :

    &lt;?php user_profile_link(get_post_author_id()); ?&gt;

    Now whenever someone clicks on any users avatar on topic.php page it will navigate to that user’s profile.

    Thanks !


    sureshdrim
    Participant

    @sureshdrim

    @ Mr_pelle


    Thanks for ur plugin.I tried it but unfortunately it didn’t worked for my forum.I changed the RewriteBase as follows while I was testing it on localhost as my test forum is installed at http://localhost/bbpress/

    &lt;IfModule mod_rewrite.c&gt;

    RewriteEngine On

    RewriteBase /bbpress/

    Then replaced the code of .htaccess with the code in nicer-htaccess &gt; activated plugin &gt; activated permalinks name based option from admin panel.

    But got following error:

    “Oops! This link appears to be broken.”

    in Google Chrome while navigating the forum.

    Secondly even I tried to test ur plugin on my server where my forum is installed at http://www.xyz.com/ so I changed RewriteBase to

    &lt;IfModule mod_rewrite.c&gt;

    RewriteEngine On

    RewriteBase /

    But I could not find any .htaccess file in root folder on server.So I tried to upload it through FTP but got an error :

    “The name you specified is not allowed”

    coz of “.” in .htaccess name.

    Please help..


    sureshdrim
    Participant

    @sureshdrim

    Hi everybody,

    My problem is solved just by overwriting all the bbpress files at my forum http://www.thecollegehunt.com .The same may work for you.


    sureshdrim
    Participant

    @sureshdrim

    What differance does it make i.e. integration with WordPress ??


    sureshdrim
    Participant

    @sureshdrim

    Chrishajer,

    Permissions on my-plugins and my-templates are already set to 755 for both.I set these permissions once again,but of no use.It doesn’t seems to be a simple bug.The last option I am left with is to create new database and upload BbPress once again.

    I will let you know if it works after uploading bbPress and creating new database….


    sureshdrim
    Participant

    @sureshdrim

    Hello Gerikg,

    I tried this but of no use..same error….

Viewing 25 replies - 1 through 25 (of 31 total)