MyBB Community Forums

Full Version: How to move Mybb to a different folder
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I uploaded Mybb .zip to /forums but in the setup it kinda forced me to install in /forums/upload which is annoying.

How to move it from /forums/upload to /forums?

Is there something like repair_settings.php to tell the Mybb that location has changed?
You were supposed to upload the contents of the 'Uploads' folder, not the actual folder itself.

All you have to do is take the contents in the upload folder and if your using a GUI (which you probably are) drag and drop them into the forums folder. Then go into your ACP and change the cookie settings and bburl appropriately
You could have just uploaded the contents of the upload folder, which is what we state in the Wiki. Smile
[Wiki: Upload_Files] (Broken link, head over to docs.mybb.com instead)
Solved. I just reinstalled.

I renamed "Upload" folder to forums. Anyways, thanks for your help.

Btw, is there a mod, that allows auto embedding videos.

If I paste a URL from Youtube or Dailymotion, it will automatically convert it to a video.

Edit: I uploaded the .zip file and unzipped it using cPanel. Thats why.
panesarv Wrote:Btw, is there a mod, that allows auto embedding videos.

If I paste a URL from Youtube or Dailymotion, it will automatically convert it to a video.
Search for Youtube tags/code mods.
Or you can just add a custom MyCode: http://community.mybboard.net/showthread...#pid197175
That post was very good and I was able to create my first custom BBCode

Btw, How can change it that whenever someone posts a youtube URL it automatically converts to a embedded video

I tried changing

\[youtube\]http\://(www\.)?youtube\.com/watch\?v=([a-zA-Z0-9]+?)(&.*?)?\[/youtube\]

to

\http\://(www\.)?youtube\.com/watch\?v=([a-zA-Z0-9]+?)(&.*?)?\

so that it just converts without writing [youtube] around it.

But it gave me some error and didn't work out
I'm not saying this will work, but try:
http\://(www\.)?youtube\.com/watch\?v=([a-zA-Z0-9]+?)(&.*?)?

Probably won't work but until someone else comes along that's all you've got. Big Grin
Yea that didn't work ^^^^
Use rh1n0's code, but you need to change the replacement to:
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/$1"></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" width="425" height="350"></embed></object>

Note that there may be a slight issue if your URL has some additional query string attached to it, but you should easily be able to edit it out anyway.