Strange vBulletin problem - Redirected to main page from Newthread

Discussion in 'Site & Server Administration' started by 99d7737, May 25, 2009.

  1. #1
    I have come across a strange problem on my forum today.
    My vBulletin forum is located in a sub-folder of my domain, wordpress being the main folder.
    Until now everything was working fine, but today when i try to make a new thread, i am being redirected to the homepage and getting an error: Nothing found for Forum Newthread Php?do=postthread&f=18

    What could be the problem here?
    Please help me
     
    99d7737, May 25, 2009 IP
  2. ~kev~

    ~kev~ Well-Known Member

    Messages:
    2,866
    Likes Received:
    194
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Have you made any changes to the htaaccess file lately? And besides you, has your hosting provider made any changes? Is the htaaccess file writable or read only?

    That is the first place I would start, is to make sure that no changes have been made to the htaaccess file. Because that can cause traffic to be redirected on your site. Someone might have gained write access to the htaacess file, put in a redirect and disabled your forum.

    Have you posted this question at the support forums at vbulletin.com and vbulletin.org? If not, you might want to ask over there as well.
     
    ~kev~, May 26, 2009 IP
    99d7737 likes this.
  3. 99d7737

    99d7737 Active Member

    Messages:
    503
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    70
    #3
    Thanks Kev, the issue is resolved at vborg.

    But can you tell me how to display the latest blog posts from my blog on my vBulletin forum sidebar? I just need the titles to be displayed.
     
    99d7737, May 26, 2009 IP
  4. ~kev~

    ~kev~ Well-Known Member

    Messages:
    2,866
    Likes Received:
    194
    Best Answers:
    0
    Trophy Points:
    110
    #4
    Go to vbulletin.com and do a search for "External data provider". You will have to turn that feature on in your forum to start with.


    <script type="text/javascript" src="<insert site name here without the <> be sure to include http>/external.php?forumids=49,108,11,13,12&type=js"></script> 
    <script language="" type="text/javascript">
    <!--
    for (x = 0; x < 10; x++)
    {
    document.writeln("<a <site name goes here>/showthread.php?t="+threads[x].threadid+">"+threads[x].title+"</a><br />");
    }
    //-->
    </script>
    Code (markup):
    Instead of you having to look for the script, here is the one I am using on my wordpress blog. Just replace the <site name here> with your forums address and take out the <>.

    Notice the forumids= and then the numbers. That is where I set the script to display only post from certain forums.

    If you are using wordpress and want to display the recent forum post in a wordpress page or post, you might have to install a "script enabler." Without the script enabler, it should run in the sidebar just fine.

    Between the external data provider settings in vbulletin and that script, you should be able to display what you want.
     
    ~kev~, May 26, 2009 IP
  5. 99d7737

    99d7737 Active Member

    Messages:
    503
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    70
    #5
    Thanks for the help Kev, but i want to display my wordpress posts on vBulletin sidebar
     
    99d7737, May 26, 2009 IP
  6. 99d7737

    99d7737 Active Member

    Messages:
    503
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    70
    #6
    Now i am even getting redirected to the homepage when i try to edit my templates in Admincp. I don't have a .htaccess file in my forum folder, instead i have one on my main folder which also contains wordpress.
    The .htaccess contain:
     
    99d7737, May 29, 2009 IP