Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2015, 01:59 AM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 4,246
AndromedaKerova is on a distinguished road
Default User Profile Buttons NOT working.

Hi. I'm having some trouble with the user profiles buttons not working.

The "About Me" button is on by default.
The link is: /profile/view/Andromeda
but clicking a button only adds a #buttonname after my username as you can see in my video.

__________________
Failing at being normal since 1990.
Reply With Quote
  #2  
Old 04-26-2015, 02:10 AM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 58,180
Hwona is on a distinguished road
Default Re

Quote:
Originally Posted by AndromedaKerova View Post
Hi. I'm having some trouble with the user profiles buttons not working.

The "About Me" button is on by default.
The link is: /profile/view/Andromeda
but clicking a button only adds a #buttonname after my username as you can see in my video.

I had the same problem when I tried to edit the tabs... for me, one of the tab got caught in a foreach loop, but I don't think that' your case right? Is the tab code in the correct place?
__________________

Last edited by Hwona; 04-26-2015 at 02:17 AM.
Reply With Quote
  #3  
Old 04-26-2015, 02:19 AM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 4,246
AndromedaKerova is on a distinguished road
Default

I have no idea. As far as I know, I've never touched the tabs code. Anything altered in the template.tpl wasn't to do with the user profiles.

The tabs have always been a problem for me as soon as the site was installed.
__________________
Failing at being normal since 1990.
Reply With Quote
  #4  
Old 04-26-2015, 05:03 AM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,926
Kyttias is on a distinguished road
Default

Did this happen after you installed one the Item Shop Mod that I made? If you managed to? If so, read carefully and make sure that you read and did ALL of things, or else you'd have this problem. Be sure to add the lines to your theme's header.tpl, and then, as instructed just two paragraphs down from that, open up inc/tabs.php and delete the contents of the file (but not the file itself). Missing any of that would definitely cause this problem.
__________________
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; 04-26-2015 at 05:09 AM.
Reply With Quote
  #5  
Old 04-26-2015, 04:57 PM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 4,246
AndromedaKerova is on a distinguished road
Default

Yeah I made sure I did those parts.

To be honest, I've never seen them working on my site.

They definitely didn't work BEFORE installing ANY of your mods Kyttias.
When I mod something, I check a certain set of pages in case they break, one of them being user profiles even if the mod doesn't appear to have anything to do with that particular page.

My tabs.php is saved blank.

This is my header.tpl
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>{$browser_title}</title>
{$header->loadFavicon("{$home}favicon.ico")}
{$header->loadStyle("{$home}{$temp}{$theme}/style.css")}
{$header->loadStyle("{$home}{$css}/menu.css")}
{$header->loadAdditionalStyle()}
{$header->loadStyle("{$home}{$css}/tooltip.css")}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> 
<script src="{$home}{$js}/tooltip.js"></script>
<script src="{$home}{$js}/tabs.js"></script>
<script>
$(function() { $("#profile").organicTabs(); });
</script>
</head>
__________________
Failing at being normal since 1990.
Reply With Quote
  #6  
Old 04-26-2015, 06:33 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,926
Kyttias is on a distinguished road
Default

Hmm... what theme are you using? Near the bottom of your template.tpl, is there another link to jQuery? You only need it once in your site, but it must before any other scripts you use. Because we're calling it the header.tpl, we can safely remove it from the end of template.tpl.

And while this shouldn't be relevant, in the header.tpl, that last script tag? Could you add type="text/javascript" to it? Not having it there is HTML5 acceptable, but your page is using a very strict (and very outdated) XHTML as a guideline instead (judging by the top two lines), so it may break it.

So um, those last four lines, try replacing them with this:

Code:
<script type="text/javascript">
$(function() { $("#profile").organicTabs(); });
</script>
</head>
(I'd also like you to get your pages HTML5 ready, so, I'd recommend you change the first two lines to simply:)

Code:
<!DOCTYPE html>
<html>
Err, you can read more about doctype stuff here. It may not actually be the issue, but it helps me rule stuff out.
__________________
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; 04-26-2015 at 06:37 PM.
Reply With Quote
  #7  
Old 04-26-2015, 06:43 PM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 4,246
AndromedaKerova is on a distinguished road
Default

AWESOME! I did all that.
There was an identicle jQuery in the template.tpl just above the konami code scripts.
Removed that, fixed the header.tpl and ta dah!

All working there like it should from the beginning. Thank you Kyttias!
__________________
Failing at being normal since 1990.
Reply With Quote
  #8  
Old 04-26-2015, 07:11 PM
Kyttias's Avatar
Kyttias Kyttias is offline
Premium Member
 
Join Date: Jan 2014
Posts: 857
Gender: Unknown/Other
Credits: 110,926
Kyttias is on a distinguished road
Default

Yay! I'm glad that got figured out. It's always so confusing when the profile tabs break. They break for soooo many different reasons, it seems.
__________________
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
  #9  
Old 04-26-2015, 07:19 PM
AndromedaKerova's Avatar
AndromedaKerova AndromedaKerova is offline
ChibiFur Queen
 
Join Date: Nov 2014
Location: England
Posts: 83
Gender: Female
Credits: 4,246
AndromedaKerova is on a distinguished road
Default

Well the broken tabs has been a problem from pretty much day 1 of both versions of my site.
I joined that codeacademy but obviously it'll be a while before I learn enough to fix things myself.
Just one more step towards allowing a few limited registries for a sort of beta test.
__________________
Failing at being normal since 1990.
Reply With Quote
Reply


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
Where is the formatting for form buttons? Infernette Questions and Supports 4 06-18-2015 07:47 PM
Code to get user profile image Hedgen Questions and Supports 2 04-14-2013 12:46 PM
Menu bar disappears when viewing user profile? Aasixx Questions and Supports 8 08-19-2012 06:01 PM
Affiliate buttons? Bibarel Feedback and Suggestions 0 01-16-2012 02:46 PM
Better Messages Buttons Inf3rnal Mys v1.2.x Mods 2 10-28-2011 12:11 PM


All times are GMT -5. The time now is 05:21 PM.

Currently Active Users: 769 (0 members and 769 guests)
Threads: 4,081, Posts: 32,031, 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 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636