View Single Post
  #2  
Old 02-23-2015, 05:51 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 91,343
Kyttias is on a distinguished road
Default

If the AdminCP doesn't give you enough control over the links, check out where the links are stored in the MySQL database itself, in the adopts_links table.

The column linktext is the name of the link. The column linkurl is the page that the link will go to. By default, all top level parent links redirect to the index of the site (yoursite.com/index). The column linkparent as more to do with the links below the parent links. This tells the links on the drop downs which parent they should be under. These numbers correspond with the id column (look to the left, its one of the first columns). Lastly there's linkorder. These are done by tens, with lower numbers coming first (and thus showing up first, if you're reading left to right).

So, in short - rename the linktext whatever you want. Change the linkurl to whatever you want. Rearrange the order however you want.

If you want a forum, MyBB is compatible and can be integrated. This should be done before ANY members other than the Admin are added, so logins correspond correctly - and this is what I mean by compatible - logging into your main site will log you into your forum, and logging in is disabled on the forum side. No separate log in. All you have to do from there is make your forum theme match your main site.

First of all, make sure you have both fresh installation of Mysidia Adoptables and MyBB forum. Open the file /inc/config_forums.php, enter each empty field for the database info of your MyBB forum. Then Change the variable mybbenabled from 0 to 1. The very last step is to disable registration on the forum. It is all said and done, new users will have accounts created from both the adoptables site and the forum from now on. In Mys v1.3.4 they also log into site and forum accounts simultaneously! The forum stats is automatically updated whenever a new registration is completed, so there is no need for admins to update forum stats in ACP from now on. Note the forum integration has been upgraded and thus it should work with the latest version of MyBB.

As a final step, inside the MyBB installation, the .htaccess file it comes with is incorrectly named htaccess.txt - rename this to .htaccess. (If you have trouble renaming this, perhaps this article can help?)
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it.

Last edited by Kyttias; 02-23-2015 at 05:59 PM.
Reply With Quote