Need some quick help

Discussion in 'PHP' started by cmstester, Sep 20, 2008.

  1. #1
    I'm trying to incorporate bbpress into my site, everything looks great except when I go to add a new topic, I can't figure out where I went wrong in the script that makes it skew. Can someone please take a look and help me out?

    if you go to http://cmscritic.com/bbpress and log in with test/test and click add new you'll see the problem.

    My ad on the right is being pushed down.. because my hot tags and search aren't staying fixed in the content left <div> but i'm not sure how to correct it.
     
    cmstester, Sep 20, 2008 IP
  2. Digivillage

    Digivillage Banned

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I can do script installation/configuration for $45. Please PM me for details
     
    Digivillage, Sep 21, 2008 IP
  3. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #3
    Try these small modifications, what i've edited were :

    in your css file, search for this line
    #user_login2,#searchform {
    	width: 200px;
    	font-family: Arial, Tahoma, Verdana;
    	padding: 2px;
    	margin: 0px 5px 0px 0px;
    	border: 1px solid #BECFDF;
    	}
    Code (markup):
    Replace it with : ( seperate the two , make the searchform's width 160px )
    #user_login2 {
    	width: 200px;
    	font-family: Arial, Tahoma, Verdana;
    	padding: 2px;
    	margin: 0px 5px 0px 0px;
    	border: 1px solid #BECFDF;
    	}
    	
    #searchform {
    	width: 160px;
    	font-family: Arial, Tahoma, Verdana;
    	padding: 2px;
    	margin: 0px 5px 0px 0px;
    	border: 1px solid #BECFDF;
    	}
    Code (markup):
    Second, in your 'add new' page, there is a slight error near the google ads script. Search for :
    </div>
    
    <div id="contentright">
    <script type="text/javascript"><!--
    google_ad_client = "pub-9997825104879368";
    /* 160x600, created 9/19/08 */
    google_ad_slot = "5393612071";
    google_ad_width = 160;
    google_ad_height = 600;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>
    <div style="clear:both;"></div>
    Code (markup):
    replace it with
    
    
    <div id="contentright">
    <script type="text/javascript"><!--
    google_ad_client = "pub-9997825104879368";
    /* 160x600, created 9/19/08 */
    google_ad_slot = "5393612071";
    google_ad_width = 160;
    google_ad_height = 600;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div>
    <div style="clear:both;"></div>
    </div>
    Code (markup):
    Note that the </div> at the top was moved to the bottom, because previously that </div> closes the right part of your page.

    hope this helps.
     
    ads2help, Sep 21, 2008 IP
    cmstester likes this.
  4. cmstester

    cmstester Well-Known Member

    Messages:
    200
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #4
    Wonderful. You fixed it, thank you! +rep for you!
     
    cmstester, Sep 21, 2008 IP
  5. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #5
    Thank you. =) By the way, what is the use of rep? i am kinda new here.
     
    ads2help, Sep 21, 2008 IP
  6. cmstester

    cmstester Well-Known Member

    Messages:
    200
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #6
    i believe it just gives you more reputation and by doing so you become more of an authority on digitalpoint
     
    cmstester, Sep 23, 2008 IP