Right now the forum link is http://mysite.com/orca
How do I change it to http://mysite.com/forums ?
Right now the forum link is http://mysite.com/orca How do I change it to http://mysite.com/forums ? |
Change the url value for the Forums block on the naviation builders page. |
Hi thanks that just changes the link if I'm not mistaken. I want my forums to actually be at http://mysite.com/forums Do I just change the folder name? EDIT: nope I changed the folder name and just got PHP errors |
or you can login to your FTP program and change the folder name forums... It still causes PHP errors because the script is looking for files in the folder named orca. |
If you do the ln -s orca forums It will create a symbolic link. It will still find the files in the orca directory. |
Ok thank you very much for that. But do you know if that is the "proper" or recommended way you're supposed to do it with this script? If not I'll just do it your way but if there is a more proper way to do it I'd rather do it the way it's supposed to be done. |
To change folder orca to forums. in file orca/xml/config.php change; $path = $dir['root'] . 'orca/'; // path to orca files to $path = $dir['root'] . 'forums/'; // path to orca files and change; $gConf['url']['base'] = $site['url'] . 'orca/'; // base url to $gConf['url']['base'] = $site['url'] . 'forums/'; // base url Then Rename the orca folder to forums and change links in ADMIN PANEL - Navigation Menu Builder - Forums. Then phpmyadmin your data base : on Tables; AdminMenu - Orca Forum edit the url from ../orca/ to ../forums/ SiteStat - tps edit UserLink from orca to forums SiteStat - pts edit UserLink from orca to forums TopMenu - My Flags link from orca/#action=goto&my_flags=1 to forums/#action=goto&my_flags=1 TopMenu - My Topics link from orca/#action=goto&my_threads=1 to forums/#action=goto&my_threads=1 TopMenu - Search link from orca/#action=goto&search=1 to forums/#action=goto&search=1 After this in ADMIN PANEL - Navigation Menu Builder under forums replace the items with new ie Search, My Topics and My Flags as the original one are not editable. Don't forget to change your RSS urls accordingly That's it.... check it out UK Truck Drivers Forum |
Good tip. I will try this out soon. Have you posted topics and replies for tests in your forums? Also are the groups working? As there are some mod_rewrites in .htacess for groups. I would think they would be but always a test to verify. This is definitely a simple modification that anyone can do!! Thanks for sharing! I'll let you know if I have any problems or issues. gameutopia DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources |
I just saw this post today and thought it would be a good idea to change the folder name so I did and then just corrected the faults as they came up. I have done quite a few tests seems to work fine for me, but please anybody give it a go and post any problems here. |
Quick note there is no such file as: in file orca/inc/config.php in dolphin 6.1x perhaps in this version: /orca/xml/config.php maybe? DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources |
Yes that is correct I have changed above post accordingly |
One more thing....just to make this more easy reading and explaining for those not familiar with the code. I get where you are going, but others may not, so you might want to edit it again or rewrite this....but 2 thumbs up for sure. in file orca/xml/config.php change; $path = $dir['root'] . 'orca/'; // path to orca files no such thing in this file maybe: $path = BX_DIRECTORY_PATH_ROOT . 'orca/'; // path to orca files and: and change; $gConf['url']['base'] = $site['url'] . 'orca/'; // base url no such thing but there is: $gConf['dir']['base'] = $path; // base dir See what I am saying? Are you modding 6.0x or 6.1x? Most are using 6.1x and many are not familiar with any of this. So if you can update this for all the 6.1x code modifications and clearly state that or maybe this for 6.0x and this for 6.1x it will help many of the not so sure. That is as far as I got. You might consider checking the rest of the code and this may be a per/version thing. I haven't had the opportunity to check it all and compare versions, but something to think about. Thanks for all your posts and work on this!! gameutopia DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources |
I am using dolphin 6.1.2 maybe yours is different. In any case if you look in orca/xml/config.php for all instances of orca/ (make sure with forward slash) and replace with forums/ (make sure with forward slash) then that should do the trick. |
Hey lancashiredates This is good stuff if it works for the current version as of this posting 6.1.4. I've looked at my code for 6.1.4 and seems like some files or code is differnt that is why I was wondering. You might consider updating to the current version 6.1.4 some bug fixes and security patches are addressed. I will play with these mods soon. This could almost be posted in a blog for current version. Or addressed at expertzzz!! Thanks again!! gameutopia DialMe.com - Your One and Only Source For Boonex Dolphin Tutorials and Resources |
So no solution for Dolphin 6.1.4? |
This is an important procedure that has been discussed on other threads, and I'd like to thank the guys who contributed to this. Still, what a pain in the ass- this should be part of the program, and who knows how this will affect your configuration when you try to do upgrades. I've always thought the directory name /orca was dumb and really detracts from the professionalism of a site - and is this true- it doesn't work for 6.1.4? Please Boonex, make the directory name "forums" a part of the product (and while you are at it have an official mod for phpBB and other forum technologies). Rob |
I have it working on 6.1.4 will post full instructions soon just doing tests... |
ok instructions for 6.1.4 on this thread: http://www.boonex.com/unity/forums/#topic/Changing-the-name-of-the-orca-folder-V6-1-4.htm |