Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Off Topic Discussions > Adoptables Buzz

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 07-16-2015, 12:44 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 127,389
Kyttias is on a distinguished road
Default

My forums are about 90% done now. There's more tweaking to be done here and there, but it's good enough for launch. Yes, it's using MyBB still - though it may not look like it! I've removed all traces of references or links to MyBB's profiles, userCP, and private message system as well as countless other MyBB features I just don't need. I'm really glad I managed to get the integrated simultaneous login working, and infinitely glad I managed to replace links to user's profiles with their Mysidia equivalents.
Here's the latest:


I'll be using a separate plugin for managing user avatars between both sites, I just haven't decided how that's going down yet.

As for replacing profile links, for those curious, it's in forum/inc/functions.php around line 5747. Replace:
PHP Code:
return "<a href=\"{$mybb->settings['bburl']}/".get_profile_link($uid)."\"{$target}{$onclick}>{$username}</a>"
With:
PHP Code:
return "<a href=\"{$mybb->settings['homeurl']}profile/view/{$username}\"{$target}{$onclick}>{$username}</a>"
You'll also need to go into the template files through the forum's adminCP (/forum/admin/). "Templates & Style" from the top navigation, then "Templates" from the left navigation. Inside "Default templates" expand "Post Bit Templates" and open "postbit_avatar" and replace what's there with:
PHP Code:
<div class="author_avatar"><a href="{$mybb->settings['homeurl']}profile/view/{$post['username']}"><img src="{$useravatar['image']}alt="" {$useravatar['width_height']} /></a></div
There's a LOT of questions about modifying MyBB I won't know how to answer. Rather than coming to me with questions, I really advise getting on the MyBB forums and asking questions. Or just Googling. Most of my questions were solved that way.
__________________
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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kyt's Novul Sketches Kyttias Art Gallery 4 01-15-2015 07:42 PM


All times are GMT -5. The time now is 04:07 PM.

Currently Active Users: 1502 (0 members and 1502 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636